[Q] Script Help - App Data Sync - Android Q&A, Help & Troubleshooting

Hi all,
Just wanting a little bit of help with a script to sync a folder from one device to another? (main purpose is for game progress).
Over wifi if possible. even FTP would is fine.
Though the tricky thing is i want the script to check which has the latest version and only sync the newest.
Can someone give me a draft script? i can generally work out the rest.
Or even just a link to a site that can help would be great. (will press thanks!).
I can script well with VBS though linux stuff is all new.

Related

New tool : Extended ROM manager

Hi - first major post so bear with me!
After 'cookin' my own extended ROM a few times, I realised that harvesting the various CABs was only the first step - I then had to trawl this (fabulously informative) forum (and wiki) and identify each CAB to see if I actually wanted it in this particular ROM – sometimes I’d find a picture (really helps), and sometimes not, either way I would always forget what something was and have to re-find it.
So I wrote a utility to help me - and I'm sharing with everybody else 'cos that's just the kinda guy I am. XtendROM scans a folder (I’m old-school so I still call ‘em directories, but I’m trying to speak windoze here) and treats that folder as the ‘library’ – it is from there one can select which CABs you want to include. I’ve set things up for the Himalaya (I have an XDAII) so the default extended ROM size is 64Mb, although it only warns you if you go over that.
The principal is simple - deliberately so. Information on the CAB files is stored in TXT files and the preview images are stored as GIFs, BMPs or JPGs (always the same name as the CAB file, with an extra file-extension). I’m thinking that we could post TXTs/images and maybe even CABs in this thread, thereby making cooking a ROM as easy as downloading the CAB/TXT/image, saving it to the ‘library’ and choosing it for your ROM.
Drag & drop should work (to some extent at least) and the ROM files can be moved up/down in the config.txt file easily enough – after all I made this for my own use and getting the information from the web-pages is sometimes the trickiest part. I’ve recently added an option to copy the selected CAB files into a separate folder, this way I can easily copy the new files into the new ROM without having to search manually (computers ARE here to make life easier – allegedly).
Um, I think that’s about it – consider this a first-release so I’ve undoubtedly missed stuff, and I’m pretty sure I’ve forgotten to save some settings into the registry (I’ve had to get on with some real work, but this version works okay – mostly). Of course, if this utility kills your system, turns into potted-plants or does anything else I’m not expecting then you’re on your own – if you have doubts then don’t use it, I ain’t getting sued just for sharing my stuff.
I'll be adding some TXTs/images/CABs here myself at some point - I'm just too busy with other stuff at the moment (patience, I'm told, is a virtue).
Any problems, comments, questions or thoughts then please post here – knowledge is a thing best shared.
:edit: - I forgot to mention above, but when a file is copied the file-extension is automatically checked and the approriate command inserted into the CONFIG.TXT - for example, copying a .EXE file will default to 'EXEC', whereas a .TXT file would generate a CPY1/CPY2 command (to copy into \Windows).
Toodz,
- StarFux -
Excellent, let's me try and I will post my feedback later.
Thank a lot.
cool program.... downloading now...
thanks
No further comments?
Just checkin'-in... so, no feedback? Must be just that good then ...
-sf
Thank you krab.. Let's me try..
Some TXT files to get things started
Attached are some TXT descriptions from xda-developers - the zip-files are named according to the username of the person who wrote the text (all credit to them, not me) - I've just compiled the data into a format that XtendROM will make use of.
yann.zip - from http://forum.xda-developers.com/viewtopic.php?t=6470
sin.zip - from http://forum.xda-developers.com/viewtopic.php?t=16916
Just unzip into your chosen library folder.
S'all - have fun.
-sf
besides of having one error on my first run .. just forgot wat it is .. i think you've done a greate job .. now its much easier to create config.txt and to avoid .. further error if i created it in notepad .. btw tnx for the tool m8 ..
...very nice looking tool )))
THANX
buzz
What a great application
Thanks for sharing
Now maybe we can create all huddle together and create a central library for all known extended ROMs so we can cook our own ExtROM
Thanks for all the positive feedback! - I'm working on some tweaks to cope with creating compressed ROMs at the moment (thanks to some great feedback) - I'll post here when I've sussed it
Thanks again!
-sf
Giving up
Hi all - well excessive demands on my time from work & home have meant I've been unable to tinker with my util, so I'm giving-up trying to find time and have decided to sleep more instead.
If anybody else wants to play with it (it's written in Delphi 7 & uses a few libraries but could be played with), then PM me and I'll send you the source so that you may continue development (if desired).
Hope everybody continues to enjoy the util anyway - L8rz.
-sf

New to Windows Mobile

Let's pretend I'm new to windows mobile. (I am). Can anyone tell me HOW I get to these HKEY directories that everything is edited in. If anyone could give me a step-by-step instruction on how to install or modify anything at all in the phone, I would greatly appreciate it.
Please start the steps right after the 'Turn on phone' step, as I am fairly confident I have that under control. Every time I've asked this question on other forums I just get links to different forums with no helpful information below a certain level of expertise. I have never coded or done anything other than drag and drop folders, etc so a dumbed down version of how to start and I can learn from there. Anything! PLEASE!!! I hate having this amazing machine and not being able to utilize it.
oh, Touch Pro, sprint
First you need to install a registry editor. The two most used are PHM (free http://www.phm.lu/Products/PocketPC/RegEdit/) or Resco Explorer (paid http://www.resco.net/pocketpc/explorer/). I prefer Resco, but everyone has their own pref.
And installation, you fire it up and simply navigate it to your registry. Pretty straightforward.
I downloaded the free one but it isn't showing up in my phone. I navigated to its folder on my pc and everything seems to be zipped. when I unzip the file extensions are *.001 and I can't open or access them. am I doing something wrong ?
also, if anyone can explain to me how to install .net framework ?
warrenmrogers said:
also, if anyone can explain to me how to install .net framework ?
Click to expand...
Click to collapse
i assume you need the new 3.5 .net compact framework.
http://www.microsoft.com/downloads/...49-3c6b-42f1-9fd9-0041345b3385&displaylang=en
You simply download and install the file on your computer (not your mobile device). This file will install the framework on your computer and will activate the add/remove programs on the sync center, so the next time you connect your touch pro it will ask to install the program. Then you just follow any instructions displayed on your touch pro for final installation and you're set to go!
here's on .Net http://www.fuzemobility.com/?p=470
It has an extra app to choose a default .Net.
There's also a Tips and Tricks section and a walk through for TouchFlo3D at fuzemobility.com that you may want to try.
I can relate to this problem.
warrenmrogers said:
Let's pretend I'm new to windows mobile. (I am). Can anyone tell me HOW I get to these HKEY directories that everything is edited in. If anyone could give me a step-by-step instruction on how to install or modify anything at all in the phone, I would greatly appreciate it.
Please start the steps right after the 'Turn on phone' step, as I am fairly confident I have that under control. Every time I've asked this question on other forums I just get links to different forums with no helpful information below a certain level of expertise. I have never coded or done anything other than drag and drop folders, etc so a dumbed down version of how to start and I can learn from there. Anything! PLEASE!!! I hate having this amazing machine and not being able to utilize it.
oh, Touch Pro, sprint
Click to expand...
Click to collapse
I have a Alltel HTC Touch Pro. The software that came with it does not work with Vista. I googled active sync for Vista, I got links to Windows Mobile Device Center. I installed that onto my desktop. It syncs my phone to my desktop, but only shows my device memory and the storage card. I have installed downloaded and installed net.frame. When I downloaded Advanced Config Tool and draged and drop (also copied & pasted) into the device memory and tried to click the cab. file it only shows that it will go to the c: drive on my desktop. I do not see anything showing for the windows on my device. Hopefully someone can post some useful infomation about this. Yes I did use search, that lead me here. There are lots of complete noobs. Before we can add useful information for others. ( like showing off the really cool function of these new phones we have to be able to use them ourselves. Thanks for any help.
Here's some tips that might help you:
When plugging your Touch Pro into your PC via USB, you should be prompted on the Touch Pro whether you want to connect as "ActiveSync" or "Disk Drive". You should click "ActiveSync" for installing applications.
If you are using your desktop PC and download an application for your Touch Pro, it will typically be .exe or .cab. The .exe files are intended to run on your desktop PC first, and will then trigger an installation to your Touch Pro through ActiveSync (Windows XP) or Windows Mobile Device Center (Windows Vista).
If the file is a .cab, it is intended to run on your Touch Pro directly and will install the program. To move a .cab to your Touch Pro, you use the explore feature in ActiveSync (or similar feature in Mobile Device Center), and drag and drop. (Alternatively, you can download .cab files directly onto your phone from the source website using the Opera web browser). Once the .cab is on your Touch Pro, you use the file explorer program on your phone to naviagte to the file and then execute it.
When you install programs onto your TouchPro, a dialogue appears on the phone to walk you through the installation. To save your phone's shared memory, you can install programs to your memory card. Unfortunately, some applications work best when installed onto the phone versus installing them onto the memory card.
Hope that helps
Thank you very much for your reply. I'll give this another try. I had the Alltel HTV Touch Flo awhile back and was running XP on the desktop. If I remember correctly, I saw my device in the tree layout with the software running XP. I gave the Touch Flo to a family member and got a BlackBerry Curve. Wanted to go back to a windows platform for the versitilty of programs. I know everything has a learning curve to it. With lots of reading and study, trial and error, and help from generous people here. Noobs like myself can get a lot more use and enjoyment from their devices. Each new version that comes out is getting faster, more powerful, and has more features. Others see these things that we have and want one. It would be helpful if we could help them to see all the possibilities that are there. The I Phone gets a lot of attention with commercials and has opened up for new apps being developed. There are as many, if not more apps for widows. We just have to learn to implement them with our device. I know I did not start this thread, but others can see the original posters title and understand their, and my question. Thanks again to the reply, and to anyone else who comes up with more help for the noobs.

Retrieving stock apks (mainly TrackID)

Greetings. Been haunting this place for awhile, happy to finally have root.
After the phone is rooted the last step is something that sweeps up a bunch of SE's stock apps that most people don't want. What about us who actually liked a few of them, though?
I would have liked to keep the app called "TrackID," and am wondering if there's any way to get it back? I can't really find like a repository for the base APKs (I might want the Mixi plugin for Timescape back in the future, as well).
Can someone rip these out somehow for individual installing?
Here it is:
http://rapidshare.com/files/403753839/trackid.apk.html
Just install the apk.
Its works for me.
Nice threat, nice anwser.
It works fine with me too.
Thanks!
Preventing the rooting process from removing apps
Hello, You could just enter the step4 folder and open the cleanup.sh file in notepad or similar.
Remove the line saying rm *packagename here*. Then your app will only be copied to your SD, but it will also remain on the phone.
track id request
i couldnt download the package, the link no longer works :-(
Could someone uóad it again to another server? Because its a common problem and will br of much help thanks
http://balsat.hopto.org/builds/seX10-system/index.php?dir=..%2FseX10-system%2Fdir%2Fsystem%2Fapp%2F
ok... but now...
I have the app already installed, but now evertime it tries to connect it says "authentication error".... help?
I gave up and rooted the phone again, i went from steps 1 to 3 with no problems, using track id everytime to make sure it worked, and it did, I even used the cleanup script and it was there working very well...
So, I used steps 4 and 5 (for the X10a) But now it wont work... it says "authentication error".... what gives?
Sorry for my english, I´m from mexico...
Everything on my phone is working fine...
For TrackID I can only say that it was probably a rights issue.
Use chmod or Root Explorer to set the rights(644).
For step 4 and 5 i cant help,i have only a 3 step X10i ,sorry.
But dont give up, i think u find the help here on XDA.

[Q] Howto access Win7 Shares from Gen8 Archos?

Hi,
i know most of u guys are "nerds" (like me?!?!) and use linux - but sadly im still on win7 with my main shares
Anyway i did a lot of research now on google and several forums about how 2 access the win7 shares from our archos (mainly from the video and music app)!
Bit I didn't found a damn way without looseing my whole securtity settings -> most solutions are going to disable whole security and allow guest access,...
(Well actualy i got the problem of all others: u type in login + pw and press ok - and u get asked again and again for it)
Anyway some ppl use cifs as far as i read but I even dont get what cifs exactly does (somehow mounting network folders as far as I read - but it seemed to be steady - and does it work from music and video app?)
So any help appreciated
regards
FrEcP
http://en.wikipedia.org/wiki/Server_Message_Block#Common_Internet_File_System_.28CIFS.29
The problem with W7 is that it introduced some new features and encrypts in a different way.
All other windows versions where patched so that they can work.
But as it is a close source thing of MS it takes some time until it gets into samba or ther tools.
Did you read http://forum.archosfans.com/viewtopic.php?f=63&t=45908
and tried http://www.jankamp.com/2010/11/windows-share-manager/ ?
y found those links about deinstalling win live - and using share manager - sry i didnt wrote that.
But share manager rly disables all security as far as i understood - anyway it also didnt work for me somehow.
So seems using an external explorer or perhaps cifs - dunno if that work and how - seems to be the only options
u got a good source on howto use cifs with UD if that works? As far as i understood its "mounted" in a local folder and the n accessible!?!?
EDIT:
searching on my own i think - dont want begging u with things i can find on google
anyway update for http://code.google.com/p/urukdroid/wiki/UrukServices is needed
So you are using Uruk?
And you started the cifs server via UrukConfig?
It is up to UD 1.5RC1 normally off after the start.
yes this is what i did so far - but i didnt edit the config file yet

[Q] Galaxy S3 - Read web requests or apk decrypt?

I was wondering if there's a way to read the data being sent from my phone.
There is app that I'm working with and I need to read what kind of requests it makes (eg. Either GET or POST and where)
I installed Charles and Fiddler but the app doesn't load fully. I also did a TCP dump, and nothing.
If this is not possible, is it possible to fully decrypt and apk?
I used apk to java but I get a bunch of errors when I load the output on eclipse. It looks like there are code missing.
Any help is appreciated.
Thanks.
PS: Yes, I did search before posting.

Categories

Resources