Renaming files with a script for scripter - Galaxy S III Q&A, Help & Troubleshooting

Hello
I have two files. Lets call them file1 and file2.
The thing is, both of them are apex Homescreen backups
Since i wanna quickly switch between Homescreens without other launchers. So i am using apex backup/restore functionality which creates an apex home screen backup file. But apex can keep only one backup. But if we rename the first backuped file, apex can create another backup. We can restore both by renaming one file to its original name. Hope you guys understood what i mean...
As you can see, this renaming can be a pain in thumb! So i am thinking is i can create a script that renames files. I will use inbuilt scripter in romtoolbox pro for executing these scripts.
Is this possible?If yes, can anyone please tell me how to create such a script?

Related

Vlingo widget doesn't work after modifying image

Hi all,
I've modified the background and button images for the Vlingo widget, re-signed the apk, and installed. The application itself works great, and the widget shows on the screen, but nothing happens on press. Could this be because I deleted the original META_INF folder (the re-sign batch re-creates that)? Not sure what else could be causing this.
Process:
Download fresh copy of Vlingo.
Pull the apk to my PC.
Extract contents to folder.
Modify appropriate images.
Zip all files back up.
Rename to .apk.
Use sign batch file, which creates another .apk.
Rename that new .apk to com.vlingo.client.apk.
Use adb to install the new apk.

[Q] Modifying ROMs

I am modifying Bionix's Fusion ROM. What I did is just replaced Swype and Launcher Pro with a themed version, removed Mediahub, Titanium backup and Pandora. I am doing all of these just by drag&drop and delete using winrar (from /system/app/ and /data/app/ directories).
Anything else I should know before I proceed to flashing? Like a index file or something I need to edit?
Anyone? I just find out if theres a structure to these .zip roms..
make sure you sign before you flash

Custom transitions for X8

for ROOT
please backup with Xrecovery before trying this. Sometimes when I tried to change transitions for other downloaded on the internet I had bootloop.
I’ve managed to change transitions in X8 to Stock Android (sliding left and right).
I’ve prepared framework-res.apk file that you have to switch with the original one.
You can try to prepare your custom transitions by changing the files in .apk in res/anim folder. You have to change files that begin with semc_activity. You can find animation .xml file on the Internet. To swapping files you can use WinRAR.
In framework APK there are files called activity_open_*.xml and semc_activity_open*. I’ve just deleted the semc* files, copy and renamed the other files so that they begin with semc_*.
Installation using propc method:
Extract the zip file into root of your sd card. (make sure the files are in root).
in adb shell, use this command:
_________
su
cd /sdcard
sh reframe.sh
_________
I think you can also swap the framework-res.apk file using root explorer, but I didn’t tried it.
I advice to use these custom transitions together with LauncherPro because it has custom fancy applaunch animation. With ADW launcher there’s probably no transition when launching app (I don’t know why). You can use SpareParts application to change the speed of transitions.
Remember – backup first with xrecovery.

Adding data to preinstalled apps

I'm working on a custom ROM for my Toshiba Thrive and I'd like to install some apps with data already placed on installation, but I can't find out how. An example would be ADW as a launcher. Right now, it boots and immediately goes to the welcome screen for a fresh install of ADW. I'd like to make a default theme for ADW so that when someone installs the ROM, they can avoid that initial setup of ADW. Please help!
Anybody?
I have solved this as follows:
apps installed and configured. then searchin the folder /data/data to the folder of the app. this directory you can integrate directly into your rom.
look in the rom has it this way:
/ data
-data
-name of the folder
/ META-INF
/ system
/ boot.img
important is that in the updater script-line
package_extract_dir ("data", "/ data");
inside.
Sorry 4 google-translate
Thanks! I'll give this a shot.
Well this did not work. It created data directories, but not under the root folder. They fell under System.

[Q] how to/should i add folders to backup scripts in addon.d

i want to save some custom apps that i have moved to system when i install CM updates. so i want to add them to a script in addon.d
these app folders seem to have the apk and an empty lib folder. adding the apk seems easy, but how exactly do i tell the script to also backup the 'lib' folder and restore it?
thanks.

Categories

Resources