[Q] How do I back up unknown Clock/Weather widget? - Droid 2 General

Hey guys,
So somehow I managed to find a nice weather/clock widget that pretty much perfectly resembles the HTC kind. I'm not really sure how I got it to be honest, I think I scanned a bar code online, but I'm not sure.
How do I make a back up of this widget? I want to update to the newest Fission rom, but don't want to lose it. I'd love to share it with you guys, if you all can help me copy it. I am rooted, and have root explorer. Thanks.

Is it called weather widget? if so Fission Rom Manager has a download for it right in the app

rhannahs19 said:
How do I make a back up of this widget? I want to update to the newest Fission rom, but don't want to lose it. I'd love to share it with you guys, if you all can help me copy it. I am rooted, and have root explorer. Thanks.
Click to expand...
Click to collapse
All you have to do is navigate to the /system/apps folder with terminal emulator and then find the .apk that is your widget and then copy it to your sdcard after you flash just put the .apk back in the place you got it from.
here's the code:
Code:
su (root access)
cd /system/app ([B]c[/B]hange [B]d[/B]irectory to /system/app)
ls (lists files in the directory)
mount -o rw,remount -t ext3 /dev/block/mmcblk12p1 /system
(mounts the location /dev/block/mmcblk12p1 as /system with file system ext3 as read and write)
cp "yourweather".apk /sdcard/"yourweather".apk
(copies "yourweather".apk to sdcard with the name "yourweather".apk)
mount -o ro,remount -t ext3 /dev/block/mmcblk12p1 /system
(unmounts the location /dev/block/mmcblk12p1 as /system with file system ext3 as read only)

Thanks guys, I think I got it.
I got it from the /system/apps folder using Root Explorer.

Ah that's a handy code bit, thank you!

rhannahs19 said:
Thanks guys, I think I got it.
I got it from the /system/apps folder using Root Explorer.
Click to expand...
Click to collapse
Yep that's the same one that comes with fission. They even have some different backgrounds and stuff for it if you want it in an add-on.
Sent from my DROID2 using XDA App

Related

[SOLVED] Uninstall Swype?

I need to uninstall swype and reinstall it. Ive tried over writing it with the default apk but its not removing a theme I installed with metamorph. If I can uninstall it, a fresh install should fix it.
I just dont know how to remove it
I don't know if you want to go to this extreme, but I did. I fudged up the phone real good by removing and installing stuff. I finally got fed up and flashed it back to stock and applied root again. This time I'll keep my fingers out of it. I hated touchwiz in the beginning, but now it's kinda growing on me. I've never had an iphone but the home and drawer remind me of iphone wannabe. It's okay for now.
Sent from my SPH-D700 using XDA App
There a tool over at sdx-developers that can remove that when root explorer can't. I forget the name of it. There's also a pay app in the market that I think is called root manager that can successfully remove crap too. I didn't have much luck putting the general swype 1.61 in. It refused to install. That's when I think I just flashed it back to factory image. A full reset/wipe wouldn't fix it either.
Sent from my SPH-D700 using XDA App
I had to do this a few days ago for similar reasons. This is what I did:
First, you have to open your browser or other app with a text field. Select the text field then long press the text field again and switch the input method to the stock android kb.
Next, you have to make sure /system is mounted as r/w. The early versions of the the rooting scripts did not remount correctly but the newer ones supposedly fix it. I just looked in the initial rooting .bat file (on the PC) for the remount command and used adb to remount /system.
You can test if it's remounted correctly by renaming Swype.apk to Swype.bak with Root Explorer then going up a level and back to /system/app. If it's not mounted correctly it will show as Swype.apk again. If it shows as Swype.bak still, then you just have to copy the original Swype.apk to /system/app and then switch input method back to Swype!
Sent from my Epic 4G using XDA App
yea its mounting in r-r, thats def my problem, cant change swype.apk with root explorer
so i need to re-root?
I don't know what's causing it but root explorer doesn't seem to work properly on the phone (not sdcard) filesystem in the system app folder. It's stuck in rw mode. People have said different things why but I forgot. I did noobnl's latest flash and it's still not working right. His script is removing the old root and my phone doesn't have that on there. I don't know what to tell ya. Maybe I should look for another root file manager.
kennethlongshaw said:
yea its mounting in r-r, thats def my problem, cant change swype.apk with root explorer
so i need to re-root?
Click to expand...
Click to collapse
I don't know if re-rooting will fix it or not. You could try. Here's the exact steps I took using adb from the PC:
Code:
adb shell
su
ls /system/app/S* (just shows Swype.apk is in fact in /system/app)
mount -t rfs -o remount,rw /dev/block/stl9 /system
mv /system/app/Swype.apk /system/app/Swype.bak
ls /system/app/S* (just to confirm Swype.apk is now Swype.bak)
cp /sdcard/download/Swype.apk /system/app/Swype.apk (or replace first argument with path of the good Swype.apk on your phone)
ls /system/app/S* (just to confirm Swype.apk and Swype.bak are both there)
reboot (reboots the phone, dunno if its really necessary)
dwyw42 said:
I don't know if re-rooting will fix it or not. You could try. Here's the exact steps I took using adb from the PC:
Code:
adb shell
su
ls /system/app/S* (just shows Swype.apk is in fact in /system/app)
mount -t rfs -o remount,rw /dev/block/stl9 /system
mv /system/app/Swype.apk /system/app/Swype.bak
ls /system/app/S* (just to confirm Swype.apk is now Swype.bak)
cp /sdcard/download/Swype.apk /system/app/Swype.apk (or replace first argument with path of the good Swype.apk on your phone)
ls /system/app/S* (just to confirm Swype.apk and Swype.bak are both there)
reboot (reboots the phone, dunno if its really necessary)
Click to expand...
Click to collapse
mmmm. That fixed. it. I owe you a beer
kennethlongshaw said:
mmmm. That fixed. it. I owe you a beer
Click to expand...
Click to collapse
Hi guyz.
I cant delete swype.apt file from /system/app/*
i am using SUFBS program (reed/write option enabled)
i tried use command in terminal:
Code:
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
but i get only;
Code:
permission denied
z4root show info that my phone is rooted
PDA i5800XXJI2
any ideas how to del that file? :]

Fascinate/Vibrant Widgets on Captivate

Sorry if this has been mentioned before (I did search before posting), but there are a few widgets from the other Galaxy S phones that are rather nice, the weather clock in particular. I know there is a Fascinate dump out there, but can I just extract the apk and install it, or is there something else that I need to do. Any help is appreciated.
Sent from my SAMSUNG-SGH-I897 using XDA App
I would like to know this as well. Have subscribed to this thread.
Sent from my SAMSUNG-SGH-I897 using XDA App
Download the firmware that has those widgets and pull the apks and install them on your firmware of choice
If anyone does this post it please, if you link a how to ill do it.
Well, i pulled the APK's out of the ROM, but I'm not able to install them. I'm really new at this, so forgive me for the ignorance. there are ODEX files that accompany the apks...do i have to do something with those on order to install the widgets?
you'll need to use adb shell once you copy the files to a location on your internal sd card
you'll need to mount system as r/w first so do this, so:
adb shell
su (your device needs to be awake and unlocked so you can verify the SU request)
mount -o remount rw /system
cp /sdcard/xxxx.odex /system/app
cp /sdcard/xxxx.apk /system/app
reboot
the reboot is just for good measure. i've used this technique to get apps onto the phone, but as usual YMMV. If you post up the apk and odex files as a zip i'll give them a shot.
uiskibum said:
you'll need to use adb shell once you copy the files to a location on your internal sd card
you'll need to mount system as r/w first so do this, so:
adb shell
su (your device needs to be awake and unlocked so you can verify the SU request)
mount -o remount rw /system
cp /sdcard/xxxx.odex /system/app
cp /sdcard/xxxx.apk /system/app
reboot
the reboot is just for good measure. i've used this technique to get apps onto the phone, but as usual YMMV. If you post up the apk and odex files as a zip i'll give them a shot.
Click to expand...
Click to collapse
Do you have o remount /system as read only or will the reboot do that?
alphadog00 said:
Do you have o remount /system as read only or will the reboot do that?
Click to expand...
Click to collapse
the reboot will do that
What kind of cool stuff do they have?
Do tell!!
I had asked about putting the Samsung Touchwiz widgets on if using Launcher Pro. Was told no.
Would this method allow that for them?
Well, I've uploaded the files to Rapidshare, but thanks to the restrictions on my noob account, I can't link to the files.
rapidshare files 421816817 Samsung_Fascinate_Widgets zip
OK, major problem.
I copied the ODEX and APK's to the System/App folder and rebooted...now my phone will get stuck at the "Galaxy S" logo page and the display stops working. connecting via USB to the computer allows me to access the system via ADB, but I can't get the display running. What's the command in ADB to remove the files I just copied over?
adb shell
su
mount -o rw,remount /dev/block/st19 /system
rm /system/app/[name of widget file].*
Sgt_Bilbo said:
OK, major problem.
I copied the ODEX and APK's to the System/App folder and rebooted...now my phone will get stuck at the "Galaxy S" logo page and the display stops working. connecting via USB to the computer allows me to access the system via ADB, but I can't get the display running. What's the command in ADB to remove the files I just copied over?
Click to expand...
Click to collapse
Thanks for that info. Phone is back to normal. Now, back to the topic at hand. Anyone had success at getting these widgets working on the Captivate?
Sent from my SAMSUNG-SGH-I897 using XDA App

[Q] Unable to delete/move shutdown/startup WAV file after JID6 update

I updated JID6 using ODIN
Rooted using OCLF One click
Using Root Explorer I am unable to modify these files after JID6 update.
Previously i was able to move/delete these files. Not anymore.
Current Permission is rw-r--r--
I tried to modify my permsission, but it does not permanently apply. Does anybody else have this problem.. Even after its been rooted, i can't make these permission changes therefore i can't move/delete these files.
Bootup: system/etc/PowerOn.wav
Shutdown: system/media/audio/ui/Shutdown_128.ogg
Did you remount /system rw?
busybox mount -o rw,remount /system
samlot said:
I updated JID6 using ODIN
Rooted using OCLF One click
Using Root Explorer I am unable to modify these files after JID6 update.
Previously i was able to move/delete these files. Not anymore.
Current Permission is rw-r--r--
I tried to modify my permsission, but it does not permanently apply. Does anybody else have this problem.. Even after its been rooted, i can't make these permission changes therefore i can't move/delete these files.
Bootup: system/etc/PowerOn.wav
Shutdown: system/media/audio/ui/Shutdown_128.ogg
Click to expand...
Click to collapse
I have the exact same problem. I posted a thread pretty much identical to this one. Still no answer...
busybox mount -o rw,remount /system
worked for me. Once remounted I could rename the startup/shutdown sounds.
Thanks guys for responding, Thats it. Once I installed Busy Box i was able to move those files again. I guess after the JI6 update, it removes your previously installed busy box. I coulda swear i had busy box already installed when i was using titanium backup. But then I remember i had to Re-Root the phone as well.
rmeden said:
busybox mount -o rw,remount /system
worked for me. Once remounted I could rename the startup/shutdown sounds.
Click to expand...
Click to collapse
So just to be clear....type that string exactly as shown into terminal on the phone and that's it? Then I can delete (not rename) the sound files?
yes. you should have needed to do it the first time, too... /system is always mounted read-only.
and you also need a root shell (su)
chui101 said:
yes. you should have needed to do it the first time, too... /system is always mounted read-only.
and you also need a root shell (su)
Click to expand...
Click to collapse
Sweet! That worked for me! I had to change back to the samsung keyboard because everytime I used the , key in terminal SwiftKey would crash.
No more obnoxious startup/shutdown sounds! Woooo hoooo! Made my Friday!

Cannot modify system or delete bloatware anymore?

Ive upgraded to Eugene's Unnoficial ODIN 2.2 ROM and so far its working pretty good but I cant seem to modify anything in the system. Anyone know why? Tried deleting some bloatware with root explorer and android mate but neither work. Am I missing something here? Worked fine in 2.1.
not sure about the 2.2 rom, but with the JI6 update you had to mount system as rw
Mount as read/write:
Code:
mount -o rw,remount -t rfs /dev/block/stl9 /system
Mount as read-only:
Code:
mount -o ro,remount -t rfs /dev/block/stl9 /system
obviously you do this at your own risk
I used titanium backup and it worked for me...I'm using same froyo rom as op
Sent from my SGH-T959 using XDA App
in root explorer you have to toggle the mount as r/w button at the top, and then you can just toggle it back to r/o...kind of cool so you don't accidentally butt-delete your settings.apk or something
bstromberg said:
in root explorer you have to toggle the mount as r/w button at the top, and then you can just toggle it back to r/o...kind of cool so you don't accidentally butt-delete your settings.apk or something
Click to expand...
Click to collapse
Tried that. Still doesn't work. Also tried terminal remount. Doesnt seem to work either. Ill try titanium next.
jrharvey said:
Tried that. Still doesn't work. Also tried terminal remount. Doesnt seem to work either. Ill try titanium next.
Click to expand...
Click to collapse
Install BusyBox off of market, then open the app and click install for the newest busybox, now remove the bloatware
AustinKnight45 said:
Install BusyBox off of market, then open the app and click install for the newest busybox, now remove the bloatware
Click to expand...
Click to collapse
Thanks. Busybox did the trick. I definately did not have it on the stock ROM when i removed all the bloatware before.
In the mount commands above, swap out 'rfs' for 'yaffs2'
I am kinda having the same problems, however I don't have Root Exp, and all my apps in /system/app are -r-. When I try the mount -o rw,remount -t rfs /dev/block/stl9 /system it says Blah blah blah operation not permitted.
I am trying to push a new mms.apk and can't even do that. Says "Read-only file system"
Any help is appreciated
Edit: after installing the newest busybox, I could push in the new signedmms.apk, however all the apps are still -r- in /system/app

Backing up Swype/QuickOffice; restoring on custom ROM [UPDATED 11/13]

OK so I installed the latest CM6.1 Nightly and was able to backup and then restore both QuickOffice and Swype. NOTE: I am NOT providing any apks for backup purposes or if you somehow lost yours. These are merely directions for how to get Swype/QuickOffice off your phone and back on.
BACKUP:
(In a terminal w/ ADB)
Code:
adb pull /system/app/Swype.apk .
adb pull /system/app/Quickoffice.apk .
adb pull /system/lib/libSwypeCore.so .
After installing a custom ROM....
Code:
adb install Quickoffice.apk
adb push libSwypeCore.so /system/lib
adb install Swype.apk
tuzonghua said:
I was wondering if it is possible to pull the Swype/QuickOffice .apk's from my G2 (currently stock ROM), flash a custom ROM (say, Desire Z or CM6), and then re-install those .apk's. I figure it will throw some kind of error (e.g., Swype will say it's not configured for my device) because of different ROMs but just thought I'd ask.
I know how to pull, push, and install apk's from ADB so I'm not asking for how to do it. Just if it is possible.
Click to expand...
Click to collapse
I would love to know this as well. If you figure it out would you mind PMing me the details on how to do it?
Once a more stable version of CM6 or some other ROM comes out, I'll be trying it myself. Just as a reference, the ADB commands for doing this are:
Code:
C:\>adb pull /system/app/Swype.apk
C:\>adb pull /system/app/Quickoffice.apk
then after installing a custom ROM...
Code:
C:\>adb install Swype.apk
C:\>adb install Quickoffice.apk
I was able to use ES File Explorer and press menu>manager>app manager> then long press the Quick office app to back it up to the SD card, still trying to find the Swype apk though, going to do some digging with SUFBS (another file manager) and see if I can't get a hold of the Swype apk
This would be pretty awesome once we figure this out. Using Swype is the main reason why I'm still on the stock ROM. I tried out Sense and if it can come with Swype, I'll be one happy camper.
Did anyone try the above poster's method on pulling the apk?
Sent from my T-Mobile G2 using XDA App
tuzonghua said:
Once a more stable version of CM6 or some other ROM comes out, I'll be trying it myself. Just as a reference, the ADB commands for doing this are:
Code:
C:\>adb pull /system/app/Swype.apk
C:\>adb pull /system/app/Quickoffice.apk
then after installing a custom ROM...
Code:
C:\>adb install Swype.apk
C:\>adb install Quickoffice.apk
Click to expand...
Click to collapse
Quickoffice will work, but Swype will not. Swype has some libraries that you have to copy as well. Beyond that, I've not tested it. Find those Swype specific libs in the stock ROM and copy them as well, and maybe you might be ok.
Any chances you guys can send me the original Swype.apk that pre-installed on the G2? I stupidly deleted it off while doing Titanium things. Thanks.
See the post above from Dyndragon. I don't know what specific libs also go with Swype so the apk alone won't be enough.
Sent from my T-Mobile G2 using XDA App
tuzonghua said:
BUGS:
- Cannot use voice input with Swype after restoring to custom ROM
Click to expand...
Click to collapse
This is working fine for me on the CM 12 nightly. I used the same steps as you so try it with that?
Is there a way to get these files from a backup without having to back up the CM rom and then restore the stock, grab the stuff, and then go back to cm rom?
Sent from my T-Mobile G2 using XDA App
Popokrew,
No, AFAIK, and I cannot provide them here.
root file explorer
/system/app long click and copy what u wanna backup.
Sent from my T-Mobile G2 using XDA App
tuzonghua said:
Popokrew,
No, AFAIK, and I cannot provide them here.
Click to expand...
Click to collapse
No worries. Ill restore the backup, grab it, and go back to cm once the RC comes out. I noticed the google apps are also missing and I know cm can't provide those so I'm sure there is a backup procedure for them.
Sent from my T-Mobile G2 using XDA App
Hey guys, I was able to back everything up and while I was able to install the swype apk, whenever I go to copy the libswypecore.so file I have issues. Both through adb and root explorer. Any ideas? I'm going to attempt to do it through an update.zip + clockwork recovery now
tuzonghua said:
OK so I installed the latest CM6.1 Nightly and was able to backup and then restore both QuickOffice and Swype. NOTE: I am NOT providing any apks for backup purposes or if you somehow lost yours. These are merely directions for how to get Swype/QuickOffice off your phone and back on.
BACKUP:
(In a terminal w/ ADB)
Code:
adb pull /system/app/Swype.apk .
adb pull /system/app/Quickoffice.apk .
adb pull /system/lib/libSwypeCore.so .
After installing a custom ROM....
Code:
adb install Quickoffice.apk
adb push libSwypeCore.so /system/lib
adb install Swype.apk
Click to expand...
Click to collapse
Ok, I got it, I'm not sure if everyone has to do this or if it was just an oddity for me but
A. For those that quickly jumped on the rom band wagon without thinking about backing up swype. You can just open any g2 stock rom as an archive and get the files from it.
B. This is what I had to do to install it.
Turn it from Read-Only to Read/Write
Code:
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Then you have acess to the system folder to copy the swype lib file so...
Code:
adb install Quickoffice.apk
adb push libSwypeCore.so /system/lib
adb install Swype.apk
[/QUOTE]
Then close that access up
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
And your good to go.
REMEMBER SWYPE WILL NOT FUNCTION WITHOUT THAT LIB FILE!
If you are already on the custom rom and don't have the files, you can grab the files from the stock rom posted in this forum.
Sent from my T-Mobile G2 using XDA App
adb wont let me adb push libSwypeCore.so /system/lib . Says it is read only. I just installed cm6.1 and would like to have swype back.
Thanks for any help.
popokrew said:
If you are already on the custom rom and don't have the files, you can grab the files from the stock rom posted in this forum.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
And where is this located?
i got this to install. but when i go to use swype it says something about i cant use this version of swype with this phone.... do anyone know anything about this? if you do post some info. thanks!
i'm using the g2 with sense ui.
shaneleelevin said:
Ok, I got it, I'm not sure if everyone has to do this or if it was just an oddity for me but
A. For those that quickly jumped on the rom band wagon without thinking about backing up swype. You can just open any g2 stock rom as an archive and get the files from it.
B. This is what I had to do to install it.
Turn it from Read-Only to Read/Write
Code:
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Then you have acess to the system folder to copy the swype lib file so...
Code:
adb install Quickoffice.apk
adb push libSwypeCore.so /system/lib
adb install Swype.apk
Click to expand...
Click to collapse
Then close that access up
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
And your good to go.
REMEMBER SWYPE WILL NOT FUNCTION WITHOUT THAT LIB FILE![/QUOTE]
Just FYI, you don't need all the extra stuff when you're remounting /system, you can just say
Code:
mount -o remount,rw /system
It already knows where it's mounted from and what it is, neh?
Also, I have a Swype Beta login, so I wanted to install the newest beta, and before you can install with the Swype Installer, you have to delete /system/app/Swype.apk and /system/lib/libSwypeCore.so both before the new beta runs right (if you leave the library it just FCs as soon as you enable it).

Categories

Resources