[Q] Changing Google Search on UK Touchpad - TouchPad General

I have been trying to change the Google option under Just Type to use google.co.uk on my Touchpad (in the UK).
After a bit of searching through the config files, I presumed it would be a matter of changing the reference in /usr/palm/universalsearchmgr/resources/en_gb/UniversalSearchList.json as that file also contains the reference to amazon.co.uk and the other standard search options.
However, even having changed that, rebooted, cleared browser cache, selecting Google in Just Type still goes to google.com and gives me US references first.
Has anyone got any idea what I am missing or have I got the wrong file?

OK, I can now answer my own question after some further searching on the internet. It seems this has been documented on PreCentral in the past.
Just editing the localised file in /usr/palm/universalsearchmgr don't complete the change. To finish things off and get the TP to re-read that file, I needed to delete the universalsearchprefs.db file in /var/luna/preferences and restart.

Do you mind linking to the thread, hopefully there is a quick guide that I can follow as I need to change mine to UK to....
Thanks.

I got the basic information from here:- http://forums.precentral.net/hp-touchpad/298297-just-type-browser-google-settings.html#post3160050
However, in the end, I did everything just using Internalz Pro (after loading that with Preware). It was a case of editing /usr/palm/universalsearchmgr/resources/en_gb/UniversalSearchList.json (after saving a copy) and then deleting /var/luna/preferences/universalsearchprefs.db and then rebooting the TP.

How did you edit UniversalSearchList.json? If I navigate to it with Internalz & try to open it I get a blank Impostah window that just hangs.

I just set Internalz to Master Mode in the Preferences (at the bottom) and I could edit. I am not running Imposter so don't know if that has an effect.

thanks for this info, this was bugging me and your fix has worked a treat
cheers
Dan

Related

Divining application registrations

Hey guys:
Quick question. I've got a bunch of apps registered on my phone. Every time I flash a new ROM I need to reenter all of those serial numbers. I was looking at the UC customization threads to see if maybe I could just create a provisioning XML to create the appropriate registry entries automatically. Problem is don't think all the apps store their registration information in the registry.
So a couple questions:
1. I've found a good way to see registry changes (and thus figure out which keys I need to update), but I can't find the equivalent for the file system. Is there a tool that can take a snapshot of the file system on the phone, and then show diffs of the current file system with that snapshot? (That way I could figure out the additional files I'd need to copy over to make apps think they're registered.)
2. Is there another mechanism, other than registry and file system, that apps use to set themselves as registered? I couldn't think of anything... but then I'm hardly a hacker. (Even though... and correct me if I'm wrong... this is not technically hacking -- the serials are valid, I just don't want to reenter 10 of them every time I flash)
3. (And this probably belongs more in the UC thread): for some reason my provisionining file has no effect whatsoever. I've verified syntactical correctness of the file, and that cabarc can successfully create a CAB out of it. I've verified that the file is "installed" during the customization step. Yet, after a reset I see none of the changes specified in the provisionining xml. Any idea how I can debug this? Is there a log file that the config program leaves somewhere?
Thanks!

[Q] Applications not working - Not signed with trusted certificate

This is my first post, so apologies if this is in the wrong place or has been asked before (I have searched and found some answers, but none of these worked)
Basically, last night whenever I tried to use an application on my HTC HD2 I was getting the following error message:
"The file xxx cannot be opened. Either it is not signed with a trusted certificate, or one if its components cannot be found. If the problem persists, try reinstalling or restoring this file."
In searching for the solution, a lot of people are saying that I need to edit the reistry. (Specifiaclly HKEY_LOCAL_MACHINE\Security\Policies\Policies DWord = 0000101a - Change value from 0 to 1)
I have tried downloading the recommended registry editors on the forums (Resco Explorer etc.) but am unable to install because the "program is from an unknown publisher." I click yes to get pass this initial message, like I always have done in the past, and the following is displayed:
Installation was unseccessful. The program or setting cannot be installed beacause it is not digitally signed with a trusted certificate."
I have also tried using a program recommended called CeRegistryEditor and using my PC via ActiveSync to edit the registry, but am getting an error message "Access Denied!".
Does anybody know any other way of editing the registry? Am I actually doing the right thing? Are there any security settings that I need to disable to allow CeReistryEditor to edit the registry?
This is really bugging me, I have only been without my apps for about 12 hours throughout the night but it is hard to live without them!! I REALLY don't want to perform a hard reset and will do anything to avoid this!
When I get this I just remove evertyhing to do with it on the phone and re download it (the cab file usually) and it seems to work.
thanks for your reply. I have tried this but when I try and reinstall I am getting the message: Installation was unseccessful. The program or setting cannot be installed beacause it is not digitally signed with a trusted certificate.
I think that the security settings have been changed, but I cant see how to change them with editing the registry which I am struggling to do
Can I ask what app you are trying to install? Or is it any app?
Multiple Apps that were running OK yesterday, but not today. I think it is all the apps that I have downloaded from Omarket.... Omarket isnt working either!
Hi,
Any luck on this. I m also facing similar issue after installing Android on my HD2.
I have the exact same issue after running Android from SD card. No application (non-stock ones) are working anymore. Like 3rd party certificates are being blocked or something...
For everyone with this problem, download Mobile Registry Editor and connect your phone to your PC via USB, then start the Editor and go to "HKEY_LOCAL_MACHINE\Security\Policies\Policies" and search for the DWord "0000101a" and change the decimal to "1", that will fix your problem. This problem happens to me if I "reboot" while in Android instead of turning the phone completely off and then back on.
Edit: Added link to download.
As a side note, I always did this to mine while running Windows Mobile, then booted Android after fixing the registry.
and when this is not possible
Hi,
i have the same issue after loading android from the sd-card.
But, i am not able to change the reg, access denied, also with ceregistry unlock tool.
So, what can i do?
regards
Nine
Niine said:
Hi,
i have the same issue after loading android from the sd-card.
But, i am not able to change the reg, access denied, also with ceregistry unlock tool.
So, what can i do?
regards
Nine
Click to expand...
Click to collapse
Hi,
I also have the same issue after loading android from the sd-card. I have also re-installed the stock rom and the problem still persists. Im also unable to install any reg editors as keep getting the "not signed with a trusted certificate".
I read that a cooked rom may be a solution around this but I liked the set up I had and wanted to keep my original rom so any other suggestions would be appreciated.
Thanks
Lee
Exactly the same problem.
Non-stock programs not working after failed boot of android from SD card, and I'm unable to change any registry entries either. Practically I'm locked out of my phone, just the basic functions working. Any help would be greatly appreciated!
if forget where I originally found this link (its on xda some place)
http://www.internet-tools.co.uk/blog/wp-content/uploads/2008/11/sda_unlock.zip
but run this first and you no longer get the access denied when using the mobile registry editor , hope it helps.
I have the same problem, just remove the program that was not working, pull out your memory card , then delete the files in the sd card except the application installer, hard reset your phone, and remember to go to SETTINGS-UPDATES&FEEDBACK-ERROR REPORTING-DISABLE ERROR REPORTING, and turn off your phone, put in the memory card and turn your phone on and install the application one by one, the application installed will work as normal, Good Luck, remember to back up your data before hard reset
larrytango said:
if forget where I originally found this link (its on xda some place)
http://www.internet-tools.co.uk/blog/wp-content/uploads/2008/11/sda_unlock.zip
but run this first and you no longer get the access denied when using the mobile registry editor , hope it helps.
Click to expand...
Click to collapse
i tried this methode but unfortunately this message pops up all time:
"phone is not unlockable"

Basic Setup with Stock and Market for GTAB

I did this basic setup for my woot acquired GTAB. The primary reason was to keep the stock ROM but get the fully functional Android Market. I wanted to give these instructions out to real newbies who may want to do the bare minimum to keep their TAB up and running with all apps and without doing a flash with custom ROM. I wanted to include a more step by step for people who are less tech savvy so please bear with the details if you are a tech guy.
1. Get the Over The Air update to update to 3588. The OTA push happens automatically if you have connectivity (wifi is setup). You can also check it via the updates app that should have come with the stock ROM.
2. Download the enhancement pack - TnT Enhancement Pack v3.1.4b file from http://www.megaupload.com/?d=74HGJNEL to your desktop or laptop. The file name should be TnT_Enhancement_3389_v3_1_4b.rar
3. Try opening the file using winzip or any zip program. If it doesn't install winrar version available at http://www.win-rar.com/download.html.
4. Extract contents to a local folder on your computer using the zip/ winrar program. It has files update.zip, a recover folder that contains a command file
5. Connect your TAB to the computer with the min-usb cable and activate the usb transfer (I think it comes up with that option)
6. GTAB should show up as another drive in your system. With windows explorer browse this drive to locate the "sdcard" folder.
7. Copy the update.zip and recover (containing command file) folder from the location you extracted on your computer (step 4) into the sdcard folder identified on step 6.
8. Power off
9. Power on by pressing and holding the volume + button and the power button simultaneously.
10. The TAB should show a open box screen in a few seconds and after some time should turn back on to the main screen with new apps installed. You should see the market apps icon as well
11. Do the market fix remedy to see all applications in the market by steps below. I added an alternate market fix (if you don't see all apps)
a) Run market
b) Open settings->applications->system applications
c) Force close Google Services Framework, then Force Close Market
d Go back to Google Services Framework, then clear data
e) Run market and confirm you get an error
f) Reboot
g) Wait 2 minutes and try Market to get all applications
h) If this doesn't work, look at the directions again and make sure you follow them exactly
Alternate market fix Steps - I haven't tested this but looks like a few extra steps (You need Titanium Backup installed and have opened Market and surfed around a bit. Thanks to blackjaguar who pointed to this)
1. Settings->Applications->System applications->Market then Clear Cache (if any) then Force Stop
2. Go back one and then Google Services Framework then clear data then Force Stop
3. Go to home and open Titanium Backup
4. Select Backup/Restore tab
5. Select Google Services Framework
6. Select Wipe Data
7. Go to home and open market (it will error and close)
8. Reboot your tablet
9. Open Market and you will have full market
The above steps are detailed in another thread
The below steps are the bare action items from this detailed link
http://forum.xda-developers.com/showthread.php?t=885940 _ However I found it misses some things for the newbie. So this thread.
CAVEAT - I am still new to all this and this is my first HOWTO. Use at your own risk .
Thanks to all the hard working Devs at XDA especially Roebeet and rothnic. A lot of work has gone in creating these files.
Almost
I just got my gtab from woot and basically wanted the same thing you did: the stock gtab plus the market. I followed your directions after spending the last week reading the massive amounts of posts on this forum. The only thing I did differently was installing CWM between steps 1 and 2, and repartitioning to the recommended 2048/0. It seemed like most people end up having to do that at some point. Your market fix however, didn't work at all for me. There's another fix posted by tsm26 that worked great for me. Its slightly different:
http://forum.xda-developers.com/showpost.php?p=12563333&postcount=4400
The only app I still can't find in the market is Firefox, but luckily its available from ftp.mozilla.org.
EDIT: Just got the acore process problem, and had no contacts or /data/data folder at all. Used this fix and the problem is gone. Looks like it works for TnT Enhanced as well:
hipBob said:
from other parts of the forum i went with the fix of using titanium backup to wipe data related to contacts (believe there were three separate items, contacts, contact synch, and something else). btw, I am running VEGAn 5.1.1.
Click to expand...
Click to collapse
blackjaguar said:
I just got my gtab from woot and basically wanted the same thing you did: the stock gtab plus the market. I followed your directions after spending the last week reading the massive amounts of posts on this forum. The only thing I did differently was installing CWM between steps 1 and 2, and repartitioning to the recommended 2048/0. It seemed like most people end up having to do that at some point. Your market fix however, didn't work at all for me. There's another fix posted by tsm26 that worked great for me. Its slightly different:
http://forum.xda-developers.com/showpost.php?p=12563333&postcount=4400
The only app I still can't find in the market is Firefox, but luckily its available from ftp.mozilla.org.
EDIT: Just got the acore process problem, and had no contacts or /data/data folder at all. Used this fix and the problem is gone. Looks like it works for TnT Enhanced as well:
Click to expand...
Click to collapse
I am going to update this with alternate market fix for anyone who is interested. Thanks.
Step 6 confused?
Just received my gtab and following your steps to install this upgrade, however after connecting gtab to laptop I see 4 folders at the root of "E:" when browsing through windows. I assume that "E:" is the sdcard directory and these folders are located in it. The folders I can see in this directory under the windows "E:" drive are - .android_secure, Android, DCIM & LOST.DIR. However if I browse to the "sdcard" folder using the file explorer on my gtab I don't see the .android_secure folder, but do see a folder called "update.zip", that I don't see when browsing the "E:" drive in windows. Now I am really confused? Do I delete or rename the "update.zip" directory currently residing in the "sdcard" directory on the gtab and then copy over the recover and update.zip folders that I just downloaded?
My tap ui version is 1.1-3389.
Are there any suggestions?
I think you need to disable the USB sharing and you will see the files.
This worked like a charm. I decided not to root and mod, at least for now, so getting the market is great. I didn't show the sdcard directory, but I had update and an empty recovery directory, so I just replaced them (after copying the old update.zip). It wiped out the photos and videos apps on my main screen, but I found some interesting replacements. And the market fix worked great too.
But I still can't find Words With Friends... Just checked the market from my laptop and it thinks it's not compatible with my device. Oh well.
I followed the instructions to the T and the market wont work... someone please help!!!!!
The first set of instructions did not work for me, but the alternate set did work. I now appear to have a full market. Awesome!
Just for the record, I am running the stock ROM updated to the latest VS release.
EDIT: Whoops, spoke too soon. No apps will download from the Market. When I try to download a free app, I get a "Starting download..." message but that's it. I'm also doing this at work... I think port 5228 might be blocked. Is this the reason? I will attempt from home tonight...
Help!
gunajay said:
10. The TAB should show a open box screen in a few seconds and after some time should turn back on to the main screen with new apps installed. You should see the market apps icon as well
Click to expand...
Click to collapse
I've gotten to this point, but how long is some time, it has never turned back on to the main screen and now really won't boot at all, just goes to a blank screen and sit there.
Any ideas? Any help would be appreciated! Hope I haven't done something terribly wrong!
Spoke too soon?
Maybe I spoke too soon. Doing the market fix got me a lot more on the market, but there's still a lot of apps that I can't get. So many devs put their apps in market and nowhere else. Don't they realize that this is not itunes? (BTW, I've hit web sites that send me to itunes to download their apps...) How many other devices has google not approved for the market and are stuck like this? Even Firefox is undownloadable on my Android. Is that really the market fix or should I be able to access more?
So frustrating, but finally something seems to work
OK, new theory. Apparently I had to do the market fix twice. I also followed the video on this post:
http://forum.xda-developers.com/showpost.php?p=9817939&postcount=17
That's not the gtab, so it looks a little different in the menus, but the steps still worked. I guess it threw in an extra step of clearing cache on market and force stopping it before stopping google services framework. Well, Firefox doesn't show up in market, but so far everything else does. Now I have to try to remember everything I've been trying to download.
I had to do the Market fix twice, but that was no sweat.
Perfect, gunajay; thank you very much for your concise directions.
gunajay said:
I did this basic setup for my woot acquired GTAB. The primary reason was to keep the stock ROM but get the fully functional Android Market. I wanted to give these instructions out to real newbies who may want to do the bare minimum to keep their TAB up and running with all apps and without doing a flash with custom ROM. I wanted to include a more step by step for people who are less tech savvy so please bear with the details if you are a tech guy.
1. Get the Over The Air update to update to 3588. The OTA push happens automatically if you have connectivity (wifi is setup). You can also check it via the updates app that should have come with the stock ROM.
2. Download the enhancement pack - TnT Enhancement Pack v3.1.4b file from http://www.megaupload.com/?d=74HGJNEL to your desktop or laptop. The file name should be TnT_Enhancement_3389_v3_1_4b.rar
3. Try opening the file using winzip or any zip program. If it doesn't install winrar version available at http://www.win-rar.com/download.html.
4. Extract contents to a local folder on your computer using the zip/ winrar program. It has files update.zip, a recover folder that contains a command file
5. Connect your TAB to the computer with the min-usb cable and activate the usb transfer (I think it comes up with that option)
6. GTAB should show up as another drive in your system. With windows explorer browse this drive to locate the "sdcard" folder.
7. Copy the update.zip and recover (containing command file) folder from the location you extracted on your computer (step 4) into the sdcard folder identified on step 6.
8. Power off
9. Power on by pressing and holding the volume + button and the power button simultaneously.
10. The TAB should show a open box screen in a few seconds and after some time should turn back on to the main screen with new apps installed. You should see the market apps icon as well
11. Do the market fix remedy to see all applications in the market by steps below. I added an alternate market fix (if you don't see all apps)
a) Run market
b) Open settings->applications->system applications
c) Force close Google Services Framework, then Force Close Market
d Go back to Google Services Framework, then clear data
e) Run market and confirm you get an error
f) Reboot
g) Wait 2 minutes and try Market to get all applications
h) If this doesn't work, look at the directions again and make sure you follow them exactly
Alternate market fix Steps - I haven't tested this but looks like a few extra steps (You need Titanium Backup installed and have opened Market and surfed around a bit. Thanks to blackjaguar who pointed to this)
1. Settings->Applications->System applications->Market then Clear Cache (if any) then Force Stop
2. Go back one and then Google Services Framework then clear data then Force Stop
3. Go to home and open Titanium Backup
4. Select Backup/Restore tab
5. Select Google Services Framework
6. Select Wipe Data
7. Go to home and open market (it will error and close)
8. Reboot your tablet
9. Open Market and you will have full market
The above steps are detailed in another thread
The below steps are the bare action items from this detailed link
http://forum.xda-developers.com/showthread.php?t=885940 _ However I found it misses some things for the newbie. So this thread.
CAVEAT - I am still new to all this and this is my first HOWTO. Use at your own risk .
Thanks to all the hard working Devs at XDA especially Roebeet and rothnic. A lot of work has gone in creating these files.
Click to expand...
Click to collapse
Everything is working great using this Enhancement Pack and Market Fix. My question is whether my gTab is still considered stock with these changes? The forum messages about the new firmware update all caution against applying it if you are running an alternate firmware from 3588. I don't know if I am under the Enhancement Pack and Market Fix scenario or not.
no sdcard - help please
Hello all, found this post and as a complete newbie I was excited to see what the GTAB could be transformed into. Not quite ready for custom ROMS so I figured I'd start with Clockworkmod and trying to install the standard android market.
Problem is when I hook up my gtab I don't see an "sdcard" folder... Anybody have any ideas why that would be? How do I work around it?
I have the following folders:
.android_secure
Android
clockworkmod
DCIM
download
kindle
LOST.DIR
Master
Music
Photos
recovery
Videos
update.rar
Thanks in advance for your help!
Will this work with 4349?
Does anyone know if gunajay's instructions will work with with Stock 4349 and Market?
andasolo33 said:
Hello all, found this post and as a complete newbie I was excited to see what the GTAB could be transformed into. Not quite ready for custom ROMS so I figured I'd start with Clockworkmod and trying to install the standard android market.
Problem is when I hook up my gtab I don't see an "sdcard" folder... Anybody have any ideas why that would be? How do I work around it?
I have the following folders:
.android_secure
Android
clockworkmod
DCIM
download
kindle
LOST.DIR
Master
Music
Photos
recovery
Videos
update.rar
Thanks in advance for your help!
Click to expand...
Click to collapse
SDCARD is the folder that is mounted on your computer when you connect via USB. The list above are the contents of your SDCARD.
Doh. ;-) That worked. Thank you very much for the explanation K J Rad!

[Q] can someone please clarify steps to get Android Market on my G Tablet for dummies

just bought a G Tablet and it only has Google Market which is some Hadongo bs or something.. It's brand new out the box.
anyways, can someone please help me get android market on it.
so here is the steps I saw on XDA(http://forum.xda-developers.com/showthread.php?t=861044) to get android market:
0) Backup in Clockwork Mod. Please. I don't want you mad at me if this messes up your ROM.
1) Get the paid version of Root Explorer installed on your G Tablet. Apparently the free version lacks a text editor. If you only have the free version, the text editing step will need to be done in a separate program, or you will need to copy build.prop to your desktop, edit it there, and copy it back. Or use adb to push an edited build.prop to your tablet. Just buy Root Explorer though, it makes this very easy.
2) Browse in Root Explorer to /system. Then click on Mount R/W.
3) Long click on build.prop and click on Open In Text Editor.
4) Scroll down to the line ro.build.fingerprint=....
You are going to replace that with the following text:
ro.build.fingerprint=google/passion/passion/mahimahi:2.2/FRF91/43546:user/release-keys
5) Now you are going to click on Save and Exit. And then remount the /system directory as R/O.
6) Now you are going to re-do the original Market Fix. I used the simple version illustrated here: http://www.youtube.com/watch?v=7l-ny...eature=related First, make sure Market is running, and browse around in it for a few seconds. If you don't do this, there may be no cache to clear and for some reason the market fix may not work. Then, go to Settings->Applications->Manage Applications->Running and scroll down to Market. Then hit Clear Cache, followed by Force Stop **DO NOT CLEAR DATA FOR MARKET, JUST CACHE**. Then go back, scroll down to Google Services Framework, hit Clear Data, then Force Stop.
7) Now try starting Market again and you get the famous Market Error. Now shut down the G Tablet, then turned it back on. Wait for Wifi to connect to your network before doing anything! I forgot to do that on the first try, so I rebooted again, waited for wifi to connect this time.
8) Now restart Market again. It seems to have sourced the fingerprint from build.prop somewhere in steps 6-7. Searches for previously missing apps now show up. Voila! A truly full market!
the first thing I don't understand is Long click on build.prop and click on Open In Text Editor.
When I try to edit build.prop it says "YOUR DEVICE MUST BE ROOTED"
the second thing: Now you are going to re-do the original Market Fix. I used the simple version illustrated here: http://www.youtube.com/watch?v=7l-nySibzeA&feature=related
The youtube video was removed....
if someone can please fix the steps for dummies i would really appreciate it!
thank you guys so much!

[Discontinued/Files Removed] Tasker Project for Snapchats (Requires Root)

[Edit] Discontinued indefinitely. App creation was a little out of my league when I began trying to make it. Then Snapchat started encrypting files in more complicated ways than I had experience with, so I couldn't keep up and unfortunately had to drop all efforts. This project will no longer work and no further effort has been made to continue progress. I apologize for the lack of communication.
There are other resources out there that are still working, however. If you need help finding such things, you're welcome to PM me to ask what I'm referring to.
Discontinued until further notice. Currently working on an app that does all of this and more. For those who previously downloaded this and find it suits their needs for the most part, enjoy it, and consider checking out the app in the future. To others, I will let you know when I release the app. It should be much improved from the current project (and it doesn't require Tasker).
Due to a request to release my tasker project, which silently, neatly, and automatically copies and renames the snapchats you receive to a separate folder, I created this thread. Please try the latest version before asking for help with an issue. Most issues have probably been solved at this point.
There are still bound to be a few kinks in this, but I have spent lots of time getting it to work as much as possible (I am rather proud of the regular expressions that I created myself, even if they might be overkill).
Attached is the project if you just want to import it and let it go to work. Just extract from the zip and import in tasker by clicking a Project at the bottom of the Profiles tab (not the + sign, but an icon to the left of it)
To describe it simply: upon receiving a notification from snapchat and noticing a file change in the directory where the files are stored, it runs a series of commands that copies and saves them to the SDcard/Snapchat/Saves(/Vids) with filenames of "[DATE] - [TIMEMS] [NAME OF SENDER].jpg" (or .mp4). TIMEMS is the time in milliseconds from some time in January 1970. It keeps the task from overwriting your saves and it orders them nicely.
If I end up making any drastic changes, I'll probably come back and include them here. If you take it and make any changes that simplifies the process or makes it work better, feel free to share.
Good luck!
The new version (5-8_v5) has been released (small update from v4)! PLEASE READ BEFORE USING:
Requires Tasker's Accessibility service to be running (Android Settings> Accessibility> Tasker) to catch the notifications—only if you want the usernames to be automatically parsed and used; if you don't turn it on, it'll give you a Variable Query every time it finds a file loaded. Also if you don't turn it on, run the Folder Fixes task on your own, cause it's supposed to run the first time you get a notification.
When this first runs, it assumes that you have the folder/directories created. I don't know when snapchat creates them (during install or after receiving the first snap), so if you get errors related to not finding the file then try re-running the Folder Fixes associated task.
If you see something asking for text with the title Username, that's the Variable Query I mentioned. That's asking for the person's name who sent it, if you know it. If you don't know it at the time of asking, you can put anything in there and it'll copy with that attached (you can always go to the folder and rename it yourself)—otherwise, you can close it (or wait 15 seconds) and rerun the task on your own time.
Besides that, don't touch anything and you should be fine!
Changelog (5-8_v5):
Small update to 5-6 which stops the task and, therefore, the %Last[whatever] variables from being created if the Username variable is unset when it gets to the part where it copies (equating to no copies being made, regardless).
Because of that, now you shouldn't have to delete variables manually.
An unmentioned change in 5-6 was that I changed the flash message. It now flashes the names of each file it creates. This can be turned off—Action 37 in the Copy/Rename tasks.
(v2) Figured out the other reason why duplicates were happening with images. It has now been updated. (The only way this could backfire [same for videos] is if you get two different snaps of the exact same filesize in the same time period—very unlikely)
(v2) Made the Variable Query nicer looking.
(v3) Fixed some variable references that were funky
(v4) Fixed the profiles getting turned off and staying off by accident under certain scenarios
(v5) Changed it so no user input is required to turn off the profiles. If the 4.2+ one runs at all, it stops and turns off the other one.
(v5) Changed the %Last[etc] variables from creating excessive arrays with the same numbers.
Changelog (5-6):
Revamped the way it checks for previously copied snaps. It should be foolproof now, giving no duplicates while still not missing any.
Added an Array Clear for the %Username variable at the end of the copy/rename tasks.
Added a Variable Query if it's going to copy something but %Username is not set (see above for usage)
You can delete the Variable Set %Notification from the Update Username task if you want. It's just there for me so I can check it as a global variable. It isn't referenced anywhere else in the project.
Changelog (5-4_v2):
TONS of error fixes caused by insufficient permissions and directories are now included in the run-once profile.
Added profile (and associated tasks) which should fix the problem that users were having about the video folder not existing
(v2) Optimized the way it turns off profiles. This should automate the above-listed stuff. So even if you have all the profiles on, it should turn off the ones that don't work (unless both of them work). Still, in case the run-once wasn't turning off when done, now it will.
(v2) I consider this the first fully stable release. However, you're welcome to note if it doesn't work for you.
Changelog (5-3):
The received_video_snaps folder will no longer be allowed to be deleted by Snapchat
No more error messages when saving video snaps
If the %Username(1) variable is unset, it will flash a Variable Query, which you should type the person's name in.
The only issue with this is for videos. You will just need to go back to the other screen and load the video again.
If/Then was deleted in the Username catching task to catch multiple usernames better.
Profiles should now only trigger once per file change. I would check from time to time to make sure they are still in the "on" position. It should be fine, but I won't assume anything.
Project icon changed to Snapchat icon
Changelog (4-29):
has been significantly enhanced from the original. It now does a much better job:
Preventing duplicates saves
Not running indefinitely
Running efficiently and quicker
Having less confusing global variables
Picking up the username (currently testing to see if this can be done even better, but I basically need to wait for a certain type of notification. It should be better regardless)
Edit, I think it's safe to delete the If and End If in the Update Username task, which might work for trying to pick up multiple usernames at the same time. This hasn't been extensively tested, but I'm pretty sure it's the correct decision
Automatically catching videos when they're loaded
I also fixed a few rather large errors that might have been in the previous release
Donations are accepted!
NEWEST Version is on the bottom (I'm not really sure why people are downloading the original version at this point... it's just there for reference. I may just remove that one if it tricks people that much...)
I should probably note that this does require root, because you have to change the permissions of the files for tasker to be able to read them.
Hello, is it possible to make one with this conditions with just a simple task...
Whenever I receive new snapchat notification, I then open tasker and just run that particular task.
What I want the task to do is just copy everything and remove the ".nomedia" extension from snapchat folder into a new folder in the memory card.
The reason I want this is that Snapchat isn't so popular in my country. Therefore, I only receive Snapchats once in a while and I only want to save the images sometimes. Not all the times. Moreover, i dont wanna keep tasker running in the background.
Thanks a lot!!
rfkw said:
Hello, is it possible to make one with this conditions with just a simple task...
Whenever I receive new snapchat notification, I then open tasker and just run that particular task.
What I want the task to do is just copy everything and remove the ".nomedia" extension from snapchat folder into a new folder in the memory card.
The reason I want this is that Snapchat isn't so popular in my country. Therefore, I only receive Snapchats once in a while and I only want to save the images sometimes. Not all the times. Moreover, i dont wanna keep tasker running in the background.
Thanks a lot!!
Click to expand...
Click to collapse
That should be rather simple. If you wanted to use my project, you would do that by deleting or turning off all the profiles in the project, and then you'd only need the tasks named Run & Rename Snapchat Image and Run & Rename Snapchat Video and get rid of some of the extra features that you don't need. For example, you could get rid of a bunch of the steps in the tasks.
[deleted]
This would technically work for both images and videos, but to get it to actually find the videos, you'd have to find a way to run the task while snapchat is loaded and the video says "Tap to View". I'd suggest setting up a gesture.
By the way, in the project I have, tasker only runs when each profile is active. That's why they're there, to prevent the battery drain that would otherwise occur. The profile states are rather infrequent (when you receive a snapchat notification, and when a file is changed in the directories listed), so I haven't really noticed battery drain from that.
You're also aware that you have to do this BEFORE you view the snapchat, right? Otherwise, you could just take a screenshot...
An alternative to the above method would be to use the Copy Dir command on those directories, or the FolderSync app, but you'd still need to change or add the correct file extension (jpg and mp4). Fiddle around with it; you might be able to figure out a way to add the extension.
Disregard below, I figured it out, it wasn't so clear about long pressing the icons at the bottom of the screen to get to the projects dialog. Done now! Thank you shenkenstein
I'm unable to import the prj file. I tried multiple things until I just changed it from snap.prj.xml to snap.prf.xml and the Tasker was able to see it in the import dialog. But once I select it I get:
Error: the import contains more than one profiles​
I'm thinking there's something missing in my Tasker. I keep hearing references to 'projects' but no such tab exists in my UI. I've gone to preferences and unchecked 'beginner mode' with very little changes.
What am I missing?​
shenkenstein said:
An alternative to the above method would be to use the Copy Dir command on those directories, or the FolderSync app, but you'd still need to change or add the correct file extension (jpg and mp4). Fiddle around with it; you might be able to figure out a way to add the extension.
Click to expand...
Click to collapse
I actually tried setting up a simple copy dir commad. Just copy dir from the receivedsnapchat folder to a random folder on my sdcard whenever I run Snapchat.
However, it doesnt seem to work. I guess it's something to do with the chmod thing which I'm not familiar with. Am I right?
Thanks for your help tho! I'll try out the steps you listed. Hopefully I can get it to work.
---------- Post added at 01:13 PM ---------- Previous post was at 12:18 PM ----------
shenkenstein said:
On second thought, what you want would just be easier to create a task with:
A1: List Files [ Dir:/data/data/com.snapchat.android/cache/received_image_snaps Match: Include Hidden Files: On Variable:%nomedia Continue Task After Error: On ]
A2: List Files [ Dir:/data/media/Android/data/com.snapchat.android/cache/received_video_snaps Match: Include Hidden Files: On Variable:%nomediavid Continue Task After Error: On ]
A3: Run Shell [ Command:chmod 777 %nomedia() Timeout (Seconds):0 Use Root: On Store Output In: Store Errors In: Store Result In: Continue Task After Error: On ]
A4: For [ Variable:%filestocopy Items:%nomedia() ] --- don't forget the () after nomedia
A5: Copy File [ From:%filestocopy To:Snapchat/Saves/%TIMEMS.jpg Use Root: Off Continue Task After Error: On] -- here's where I have an issue, because I'm pretty sure you need to tell it the original filename of the file, minus the nomedia part (the variables stored in %nomedia will be the entire filename, including directories). That's why I find it easier to create my own filename, so I'd use something like %TIMEMS as I have listed. You could also change the directory here. You COULD keep the old filename using tasker's variable search replace function with a regex to select everything but the nomedia part, but I think that's not worth the effort.
A6: End For
Click to expand...
Click to collapse
Alright managed to get it working. Currently for A5, I've set it to To:New Folder. This new folder is a folder on my sdcard.
The question I have is, if I'm using %TIMEMS.jpg, how would it rename the files? Would it be sequenced or will all the files have the same name?
Would it be 1TIMEMS.jpg, and next pic would be 2TIMEMS.jpg, 3TIMEMS.jpg and so on? Or would it be the original filename with TIMEMS at the back, ie. "adlfkadlfhadlfTIMEMS.jpg"?
Thanks!!
rfkw said:
Alright managed to get it working. Currently for A5, I've set it to To:New Folder. This new folder is a folder on my sdcard.
The question I have is, if I'm using %TIMEMS.jpg, how would it rename the files? Would it be sequenced or will all the files have the same name?
Would it be 1TIMEMS.jpg, and next pic would be 2TIMEMS.jpg, 3TIMEMS.jpg and so on? Or would it be the original filename with TIMEMS at the back, ie. "adlfkadlfhadlfTIMEMS.jpg"?
Thanks!!
Click to expand...
Click to collapse
You can see for yourself by doing a flash %TIMEMS. It always comes up with different numbers, such as 1367028766502 or 1367028766586. I don't think tasker is fast enough to do multiple commands in the same millisecond. Does that make sense?
And chmod is the shell command that gives the files permission to be read, write, and executed. You can read about it online if you really want, but if it's not working you either don't have root or didn't check use root. In fact, the Copy Dir alternative would probably require use root to be checked as well, but again, because we're wanting to change filenames, I don't think that's the command we want.
Bumping because of new version.
You can delete the old project and add this one if you have the older version. Deleting a project is done much the same way adding one is.
Vid done!
I installed and when I load a video, I get a message "Vid Done" When I exit Snapchat, I get a Tasker Error, List Files: file not found: /data/media/Android/com.snapchat.android/cache/Received video snaps. What am I doing wrong? I'm a noob, sorry if it's a dumb question.
Hi! I've imported it to Tasker, and everything seems fine there. However, it simply won't do anything and I've tried everything with my extremely limited knowledge.
I receive a Snap, but nothing shows up in /storage/sdcard0/Snapchat/Saves/(or Vids depending). Running Xperia P, with JB 4.1.2
I've checked that the images or videos do show up in the folders specified by the project, it just seems like it doesn't recognize I have gotten a snap?
Dahlmo said:
Hi! I've imported it to Tasker, and everything seems fine there. However, it simply won't do anything and I've tried everything with my extremely limited knowledge.
I receive a Snap, but nothing shows up in /storage/sdcard0/Snapchat/Saves/(or Vids depending). Running Xperia P, with JB 4.1.2
I've checked that the images or videos do show up in the folders specified by the project, it just seems like it doesn't recognize I have gotten a snap?
Click to expand...
Click to collapse
Do you have tasker enabled in accessibility settings? If not, then the profile won't get the username from the notification. If you don't want to enable it, you can add a Variable Query for Username(1) in the copying task. Then, that'll always ask you for that variable when it finds the file added. Just put whatever you want there (though it's designed for the person's name)
As my project is set up, the file won't copy if the username isn't set, and it won't set if tasker can't access the notifications.
I've just added:
If %Username(1) ! Set
Variable Query: Variable %Username(1)
End If
to my copy tasks right before the For, For, Run Shell, etc... commands. That should take care of that situation, if it's the problem, and if I release a new version it'll have it :good:
wdgewood said:
I installed and when I load a video, I get a message "Vid Done" When I exit Snapchat, I get a Tasker Error, List Files: file not found: /data/media/Android/com.snapchat.android/cache/Received video snaps. What am I doing wrong? I'm a noob, sorry if it's a dumb question.
Click to expand...
Click to collapse
No, it's not a dumb question. It's because the File Modified profile picks up when Snapchat deletes the file as well as when the file is copied by tasker (but the task that gets that error message is what allows it to not run every time this happens). It's not a significant error, UNLESS you aren't seeing it copy the files. You can turn those flash error messages off in Tasker Preferences>Action>Flash Problems.
Edit: I just fixed the error message from displaying even with the flash problems option checked. Go to the SnapVid File Added profile, click the File Modified part of it, and add /received_video_snaps/ after /cache/ so that it looks like "/data/media/Android/com.snapchat.android/cache/received_media_snaps/" without the quotes. I'm surprised I didn't notice that myself. Haha, thanks for pointing it out. That'll should also prevent the task from running while you're sending videos (because I saw a folder named sending_video_snaps there too before it deleted it again).
Edit 2: Nevermind, the error still came up, but it's only when snapchat deletes the folder. Also, my profile doesn't activate with that folder added, which is probably why I left it at /cache/. What's happening is the Video File Ready task is trying to List Files and it's not finding the folder in which it's supposed to search. I don't know any way around this because it keeps deleting the folder, even if you add it manually. --more on this below--
shenkenstein said:
Do you have tasker enabled in accessibility settings? If not, then the profile won't get the username from the notification. If you don't want to enable it, you can add a Variable Query for Username1 in the copying task. Then, that'll always ask you for that variable when it finds the file added. Just put whatever you want there (though it's designed for the person's name)
As my project is set up, the file won't copy if the username isn't set, and it won't set if tasker can't access the notifications.
Click to expand...
Click to collapse
After enabling it in the accessibility settings it still isn't working fully.
In Tasker, I imported the SNAP.prj.xml file, and the profiles "Snapchat Notification, Snap File Added and SnapVid File Added" are all set to on. Tasker says there are "no active profiles" but I assume that is due to the snap.prj.xml file being under the "two people" tab, and not the "house" tab.
I see that under vars on the home tab I have "%Username1 someoneIrecievedfrom" so something must be work. Just not getting any files I assume. Again, this (adding variables and such) is out of my league, so I apologize for seeming a bit technically impaired.
Dahlmo said:
After enabling it in the accessibility settings it still isn't working.
In Tasker, I imported the SNAP.prj.xml file, and the profiles "Snapchat Notification, Snap File Added and SnapVid File Added" are all set to on. Tasker says there are "no active profiles" but I assume that is due to the snap.prj.xml file being under the "two people" tab, and not the "house" tab.
I see that under vars on the home tab I have "%Username1 someoneIrecievedfrom" so something must be work. Just not getting any files I assume.
Click to expand...
Click to collapse
If you run the Run & Rename Snapchat Image task by itself, does it work then?
Hmm. Don't worry about the username variable, then. The "no active profiles" is fine, because these profiles are set to be active only for the event itself (which is like a split second long). The only other thing I can think of, without seeing your run log, is if you don't have root or haven't given Tasker root access. So, also try turning on the Run Log and noting where you get an error.
Breakthrough!
I just had a major breakthrough with the videos folder deletion problem (which ends up creating errors and stuff). [deleted]
That literally disables Snapchat's ability to delete folders in the cache folder, but it allows it to create new folders and files within the new folders. Theoretically, you could also do this same function to the received_video_snaps folder, and it would never be able to delete the files within the folder. Unfortunately, if you did that then every time you hit "load" in snapchat, it would load a new file into the folder, so you'd probably get multiples. But that could be done to the images folder without any issues, I think.
[deleted]
Dahlmo said:
After enabling it in the accessibility settings it still isn't working fully.
In Tasker, I imported the SNAP.prj.xml file, and the profiles "Snapchat Notification, Snap File Added and SnapVid File Added" are all set to on. Tasker says there are "no active profiles" but I assume that is due to the snap.prj.xml file being under the "two people" tab, and not the "house" tab.
I see that under vars on the home tab I have "%Username1 someoneIrecievedfrom" so something must be work. Just not getting any files I assume. Again, this (adding variables and such) is out of my league, so I apologize for seeming a bit technically impaired.
Click to expand...
Click to collapse
I'm having this issue too. I have a rooted Galaxy Nexus and have enabled Tasker in Accessibility settings. I've attempted to run the ''Run and Rename Snapchat Image' when I had a pending one and it did not work. I could, however, see the file in the directory (/data/data/com.snapchat.android/cache/received_image_snaps) when I checked it out via Root Explorer. I also could see my contact's name in the %Username value.
My Run Log from when I manually run that task with an active Snapchat is attached with the 5-3 profile.
a10waveracer said:
I'm having this issue too. I have a rooted Galaxy Nexus and have enabled Tasker in Accessibility settings. I've attempted to run the ''Run and Rename Snapchat Image' when I had a pending one and it did not work. I could, however, see the file in the directory (/data/data/com.snapchat.android/cache/received_image_snaps) when I checked it out via Root Explorer. I also could see my contact's name in the %Username value.
My Run Log from when I manually run that task with an active Snapchat is attached with the 5-3 profile.
Click to expand...
Click to collapse
Thanks for the Run Log.
Well, your answer is that the List Files command (label List nomedia) is failing to find the files in the folder. I can think of only two possible reasons for this (and I think it's #1):
1. Check the permissions of the folder /received_image_snaps/ and tell me if it's missing read permissions for group or other (I think Tasker falls under Other, but I forget). If it is, try manually adding those permissions (check the boxes); you might want to add permissions to execute as well, just in case. I can set up another command in the run-once profile to solve this for everyone if it fixes it for you, so let me know.
2. In the List nomedia command, I have it set up to match any files in there which have a character or more followed by .nomedia (this is under Match, listed as "+.nomedia"). If the files you see in that folder don't match this regex, it won't list them. You can safely delete this entirely without any negative side-effects. Nothing gets put in that folder that doesn't match that regex, anyway, for me.
shenkenstein said:
Thanks for the Run Log.
Well, your answer is that the List Files command (label List nomedia) is failing to find the files in the folder. I can think of only two possible reasons for this (and I think it's #1):
1. Check the permissions of the folder /received_image_snaps/ and tell me if it's missing read permissions for group or other (I think Tasker falls under Other, but I forget). If it is, try manually adding those permissions (check the boxes); you might want to add permissions to execute as well, just in case. I can set up another command in the run-once profile to solve this for everyone if it fixes it for you, so let me know.
2. In the List nomedia command, I have it set up to match any files in there which have a character or more followed by .nomedia (this is under Match, listed as "+.nomedia"). If the files you see in that folder don't match this regex, it won't list them. You can safely delete this entirely without any negative side-effects. Nothing gets put in that folder that doesn't match that regex, anyway, for me.
Click to expand...
Click to collapse
Yeah, the permissions were not set to allow it reading. Now it gets to the end before it fails. I've uploaded the run log as well as a screenshot of the error it pops out. It's worth noting that the file it "can't find" both exists and has 777 permissions set.
a10waveracer said:
Yeah, the permissions were not set to allow it reading. Now it gets to the end before it fails. I've uploaded the run log as well as a screenshot of the error it pops out. It's worth noting that the file it "can't find" both exists and has 777 permissions set.
Click to expand...
Click to collapse
Strange. I normally only see the copy file error if the file itself doesn't have permissions (which would be the result of the previous command not working) or if the %Username1 variable doesn't exist, but you noted clearly that it did work, and the variable should still be there from when it found it earlier.
And I think I just duplicated this error. It's so mundane that this is the case, but it's quite a big issue, so I'll have to update the version in a bit. Try adding a Saves folder in your Snapchat folder in your sd card. I was about to doubt this would be the case until I tried a different folder in my task.
Though, I'm confused why your screen still showed that error. Something's still awry I think...

Categories

Resources