SMS Messages on sd card?? - Hero CDMA Themes and Apps

Hi Everyone,
Wanted to ask if any of you know of a way so that I can store my sms messages on my sd card. So that whenever I change roms or wipe they are always back on my phone? Kind of the same idea as pictures that are taken are always found in the album. Any ideas on this??

Changing ROMs will not erase your texts. Wiping will.
Anyway, the easiest thing to do is just use any of a dozen Market-available backup programs to back up your messages.

I was wondering about this same possibility because backups/restores take longer and longer and the amount of sms/mms grows.
After not finding a suitable way to do this I decided to go with SMSBackup.
http://code.google.com/p/android-sms/
Click to expand...
Click to collapse
It is also in the Market. It is the one by Christoph Studer.
Basically it backs up all sms/mms to your gmail under a Label (SMS by default).
When you first set it up it will ask if you want to back up all messages currently on the device and it will continue to due so as messages are sent/received.
After I did this I was able to delete all of my old messages and have them readily accessible from Gmail at any time.
IMHO it is a great solution.

crunchybutternut said:
After not finding a suitable way to do this I decided to go with SMSBackup.
Click to expand...
Click to collapse
It is a good tool.
I use the same SMSBackup *and* another one called "SMS Backup & Restore". It backs up the SMS messages in a simple XML file, which is nice because you can edit it to remove the oldest ones before restoring. The same guy also makes a tool to backup the call log.

I dont see why you cant make a script to mount image on the SD card to wherever those files are saved... maybe along the lines AppsToSD works with UnionFS, although its kinda pointless to have a whole other partition for this, theres no reason you cant have a .sqsh image on the card... I totally understand this, I hate loosing all SMS's with every wipe, and I hate to have to download an App from the market to do this and then have to restore it everytime... call it SmsToSD, lol... I'm far from a linux expert, but I honestly think I could probably whip this up, and I DO understand why this would rock.

Seems like we could just make a symlink????
EDIT:
ln -s /whatever/the/sms/directory/is /sdcard/smsfolder
I think....maybe... I dunno.

Kcarpenter said:
Seems like we could just make a symlink????
EDIT:
ln -s /whatever/the/sms/directory/is /sdcard/smsfolder
I think....maybe... I dunno.
Click to expand...
Click to collapse
All fun and games until you (the general "you") pop out your card..?

capenter that sounds like a great idea, theres probably more complications to it than it looks like there is cuz it probly woulda been done already

There are lots of things I can think of that could happen, anyone want to take the plunge?? lol. I can come up with the script.

I would be willing to try this out... This is exactly what I was talking about.

jerrygon said:
I would be willing to try this out... This is exactly what I was talking about.
Click to expand...
Click to collapse
+1 on this, write the script I'll test it !

Working on this now. I will let you know when I am done.

Awesome... Let me know...

SOOOO...
I think we can:
cp -a /data/data/com.android.providers.telephony/databases/mmssms.db /system/sd/sms
then:
ln -s /system/sd/sms /data/data/com.android.providers.telelphony/databases/mmssms.db
BUT - I can't find the apps2sd script to A: See if this is how they do it and B: add to it...
Anyone knows where it is at, let me know...maybe boot.img.
You could probably do this in adb, but I don't think it will stick.

Kcarpenter said:
Anyone knows where it is at, let me know...maybe boot.img.
You could probably do this in adb, but I don't think it will stick.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=512743
thread describing A2SD, I'll take a look tonight after I get off work and see if I cant make it work... Frankly, this would actually be a feature I'd use, anyone know if the storage method for SMS is different between 1.6 and 2.1? I dont think its something they would have changed, and the backup and restore program seems to work for 2.1

jmhalder said:
http://forum.xda-developers.com/showthread.php?t=512743
thread describing A2SD, I'll take a look tonight after I get off work and see if I cant make it work... Frankly, this would actually be a feature I'd use, anyone know if the storage method for SMS is different between 1.6 and 2.1? I dont think its something they would have changed, and the backup and restore program seems to work for 2.1
Click to expand...
Click to collapse
I'll take a look at this tonight, thanks for digging it up. I wasn't able to pull my init.rc last night - for some reason it just would never show up on my SD card. Tried 50+ times. Maybe I'll be able to get it tonight.

Kcarpenter said:
SOOOO...
I think we can:
cp -a /data/data/com.android.providers.telephony/databases/mmssms.db /system/sd/sms
then:
ln -s /system/sd/sms /data/data/com.android.providers.telelphony/databases/mmssms.db
BUT - I can't find the apps2sd script to A: See if this is how they do it and B: add to it...
Anyone knows where it is at, let me know...maybe boot.img.
You could probably do this in adb, but I don't think it will stick.
Click to expand...
Click to collapse
wouldnt it be (from the */databases directory) be:
"ln -s /system/sd/sms/mmssms.db ./mmssms.db"?
as usage is "ln -s target link_name"
I just cp'd it to /system/sd/sms/* and rm'd it from the original dir, did a wipe, gonna rm it again and setup the symlink to see if its kosher, Obviously there is probably a better way to do this... gonna work on it a little maybe saturday, I would really like this on my dream as I change roms almost daily.
*edit/update* this DOES cause my messaging application to crash, probably need to change permissions to make it actually function... later.
*EDIT!!!1!!*: YES!!!! this does work, just needed to "chown radio ./mmssms.db" from the /data/data/com.android.providers.telephony/databases/ directory... YAY!!!, now just to incorperate this into a update.zip to script that will check for a /system/sd/sms/mmssms.db file and make a symlink to it if its found... fantastic!

OK this is something i have been looking for.
So Im a little confused on the steps on how to do this, can anyone make a list of the steps for me ty

dragonslave02 said:
OK this is something i have been looking for.
So Im a little confused on the steps on how to do this, can anyone make a list of the steps for me ty
Click to expand...
Click to collapse
No one has ever perfected it
But you would:
Code:
cp -a /data/data/com.android.providers.telephony/databases/mmssms.db /system/sd/sms/
then
Code:
ln -s /system/sd/sms /data/data/com.android.providers.telelphony/databases/mmssms.db
then
Code:
rm /data/data/com.android.providers.telephony/databases/mmssms.db
Then reboot.... that should in theory work for you.
Like I said no one has ever sat down to perfect it.
EDIT:
Looking at that, something seems wrong, but I don't have time to figure it out (Same reason it has never been perfected)
Don't blame me if you loose your SMS trying it.

jmhalder said:
I dont see why you cant make a script to mount image on the SD card to wherever those files are saved... maybe along the lines AppsToSD works with UnionFS, although its kinda pointless to have a whole other partition for this, theres no reason you cant have a .sqsh image on the card... I totally understand this, I hate loosing all SMS's with every wipe, and I hate to have to download an App from the market to do this and then have to restore it everytime... call it SmsToSD, lol... I'm far from a linux expert, but I honestly think I could probably whip this up, and I DO understand why this would rock.
Click to expand...
Click to collapse
This is exactly what came to mind when I read the thread title. Downloadable apps are a workaround. This is a solution.

Related

[HOW-TO] Edit your user.conf

With all these new "hero" builds coming out/updates for them, it is important to have optimal settings. Many people are not sure how to do this so I thought I would take my time to write a quick how to.
I have also attached a user.conf that is setup with comp cache and backing swap, swappiness of 80. I set the cpu scaling from 384 to 528 Mhz. You may edit this with notepad++ if you would like swap instead. Just open the user.conf with notepad++ and make the changes you want (the file is pretty self explanatory) Just be sure to set compcache to 0 along with backing swap
Place the "user.conf" on your sd root, and use the commands mentioned below
P.S. I apologize in advance to the moderators if you feel this is not in the appropriate place or not necessary, just trying to make things a little bit easier
In Terminal type:
Code:
$su
#sh /system/bin/rwsystem
#cp -f sdcard/user.conf /system/bin/user.conf
*If your ROM does not support "rwsystem"* use:
Code:
mount -o remount,rw /dev/mtd/mtdblock3 /system
Once again, I have attached a user.conf along with the JAC kernel that includes the script which allows you to use "rwsystem" (If your ROM supports the kernel)
Here is the link to the JACSki kernel with ttc_smokee's gps fix and Soul Life's script which will allow you to use "rwsystem"
http://www.4shared.com/file/133261717/84fd2884/JACHEROSki_Kernal-_Update.html
*Just like anything else on this site, I am not responsible for you bricking or damaging your device*
CHeErs
Post here if you would like any kind of walkthrough for "dummies" reguarding user.conf's or user.init's or
kingklick said:
*If your ROM does not have a kernel that supports "rwsystem" use
Code:
mount -oremount,rw /dev/mtd/mtdblock3 /system
Click to expand...
Click to collapse
You missed the space between -o and remount...
cx92001 said:
You missed the space between -o and remount...
Click to expand...
Click to collapse
works as-is
some progs accept arguments like that
some don't
mount happens to be one that does
alapapa said:
works as-is
some progs accept arguments like that
some don't
mount happens to be one that does
Click to expand...
Click to collapse
Good to know. Thanks
alapapa said:
works as-is
some progs accept arguments like that
some don't
mount happens to be one that does
Click to expand...
Click to collapse
yah it does work without the space, thanks, but i edited the space in anyway to prevent more posts like that
Are these edits needed/beneficial for those not interested/using hero ROMs?
I recall MikeTaylor had a file, but i know so little on what these can do. Thanks for doing this man.
s15274n said:
Are these edits needed/beneficial for those not interested/using hero ROMs?
I recall MikeTaylor had a file, but i know so little on what these can do. Thanks for doing this man.
Click to expand...
Click to collapse
Not needed, however I'd say most would argue they are beneficial changes for most ROMS... ie) cyanogen uses comp cache on his builds.
and no problem man my pleasure. My way of giving back to this great site
If you do not know how to edit these files post here and ill make you a user.conf to your liking
kingklick said:
With all these new "hero" builds coming out/updates for them, it is important to have optimal settings. Many people are not sure how to do this so I thought I would take my time to write a quick how to.
I have also attached a user.conf that is setup with comp cache and backing swap, swappiness of 80. I set the cpu scaling from 383 to 528 Mhz. You may edit this with notepad++ if you would like swap instead. Just be sure to set compcache to 0 along with backing swap
P.S. I apologize in advance to the moderators if you feel this is not in the appropriate place or not necessary, just trying to make things a little bit easier
In Terminal type:
Code:
$su
#rwsystem
#cp -f sdcard/user.conf /system/bin/user.conf
*If your ROM does not have a kernel that supports "rwsystem" use
Code:
mount -o remount,rw /dev/mtd/mtdblock3 /system
Once again, I have attached a user.conf along with the JAC kernel that will allow you to use "rwsystem" (If your ROM supports the kernel)
Here is the link to the JACSki kernel which will allow you to use "rwsystem"
http://www.megaupload.com/?d=K39IKK7A
*Just like anything else on this site, I am not responsible for you bricking or damaging your device*
CHeErs
Click to expand...
Click to collapse
Rwsystem is not kernel dependent, its a script I wrote that made its way into a few other builds. Just a script which resides in bin or xbin directory, nothing more or less.
soulife said:
Rwsystem is not kernel dependent, its a script I wrote that made its way into a few other builds. Just a script which resides in bin or xbin directory, nothing more or less.
Click to expand...
Click to collapse
o ok kool. I was mislead by a few others saying it was in the new JAC kernel silly people.... Anyway thanks for the fix soul life
you did a great thing by adding that script
Just changed the "kernel file" to the kernel with gps fix.
cheers!
More Detailed HOW-TO
Thanks for the post. I am in middle of (will take about a year, LOL) writing a HOW-TO on user.conf settings so that it will be easier to understand what needs editing and what settings are best. Currently, I am using a 64MB linux-swap with compcache and have been playing around with tweaking the settings to make my phones run "perfectly." This is much more difficult than it sounds when you take into account the various options such as backing swap, linux swap, swap files, compcache and swappiness settings. This all, of course, is system and user dependent. I use my G1 and my myTouch differently and have different apps installed on each so therefore, my settings are different for both. I still haven't come up with the perfect strategy but I am pretty close.
How about expanding this out (I don't mind actually posting it) to include more details on what each setting means and what the possible benefits/problems are with each. I use this (http://forum.xda-developers.com/showthread.php?t=542899) userinit.sh file along with the user.conf. I wrote one script to pull the user.conf from system/sd to my SD card and one that pushes it back to system/sd when I'm done with it. I use "Text Edit" to edit the user.conf right on my phone so I do not need to use ADB and Notepad++. This takes the PC out of the picture so I can tweak the settings wherever I happen to be.
I don't think there is ONE user.conf file that is good for everyone. It all depends on what the user's intentions are with his or her phone. Your default swappiness is set to 80 but that can vary. I am up in the air on that one testing between 30 and 100. But like I said, user dependent.
AndroidAppCritic said:
Thanks for the post. I am in middle of (will take about a year, LOL) writing a HOW-TO on user.conf settings so that it will be easier to understand what needs editing and what settings are best. Currently, I am using a 64MB linux-swap with compcache and have been playing around with tweaking the settings to make my phones run "perfectly." This is much more difficult than it sounds when you take into account the various options such as backing swap, linux swap, swap files, compcache and swappiness settings. This all, of course, is system and user dependent. I use my G1 and my myTouch differently and have different apps installed on each so therefore, my settings are different for both. I still haven't come up with the perfect strategy but I am pretty close.
How about expanding this out (I don't mind actually posting it) to include more details on what each setting means and what the possible benefits/problems are with each. I use this (http://forum.xda-developers.com/showthread.php?t=542899) userinit.sh file along with the user.conf. I wrote one script to pull the user.conf from system/sd to my SD card and one that pushes it back to system/sd when I'm done with it. I use "Text Edit" to edit the user.conf right on my phone so I do not need to use ADB and Notepad++. This takes the PC out of the picture so I can tweak the settings wherever I happen to be.
I don't think there is ONE user.conf file that is good for everyone. It all depends on what the user's intentions are with his or her phone. You default swappiness is set to 80 but that can vary. I am up in the air on that one testing between 30 and 100. But like I said, user dependent.
Click to expand...
Click to collapse
o ok very kool. Although, I did mention in my OP the HEro ROMs and what not, so I figured most people interested would be in the HEro scene. These settings seem to work best for me on 75% of the hero ROMs Ive flashed. DOesnt mean its "right" just whats worked for me. Just wanted to give back to this great site, and help the new comers because we have all been there at some point
P.S. PM me what you think I shoulld change/add to this thread to make it offical. Thank you in advance
ChEerS
Yeah, I just noticed the Hero thing. I suppose that I would like to see (somewhere on XDA either here or a new post) a very detailed explanation of all the possible settings, what they do and how they may or may not affect each other. When I was first trying all of this out I had to search very long to find explanations. If a noob wanted to know what swappiness was, for example, they would have a difficult time finding a good explanation. Even the experts can't agree so how is a novice supposed to understand it.
Perhaps this would be a good place for people who know to informally contribute and it can eventually be moved to its own thread, a sort of compache, linux-swap, backing swap, swappiness manual. A one-stop shop for all things memory related with links to the various XDA threads that can help them accomplish what they want to do.
My G1 and myTouch fly right now with next to no lag but it took me quite some time to get all the settings the way I like it (sort of, still perfecting them). I want the same for everyone.
AndroidAppCritic said:
Yeah, I just noticed the Hero thing. I suppose that I would like to see (somewhere on XDA either here or a new post) a very detailed explanation of all the possible settings, what they do and how they may or may not affect each other. When I was first trying all of this out I had to search very long to find explanations. If a noob wanted to know what swappiness was, for example, they would have a difficult time finding a good explanation. Even the experts can't agree so how is a novice supposed to understand it.
Perhaps this would be a good place for people who know to informally contribute and it can eventually be moved to its own thread, a sort of compache, linux-swap, backing swap, swappiness manual. A one-stop shop for all things memory related with links to the various XDA threads that can help them accomplish what they want to do.
My G1 and myTouch fly right now with next to no lag but it took me quite some time to get all the settings the way I like it (sort of, still perfecting them). I want the same for everyone.
Click to expand...
Click to collapse
Yeah I agree cuz when I was trying to root my phone and stuff around fiveish months ago... and I had to do the whole runaround because there was not any good organized information like now it is pretty close. But we definitely have a ways to go to get some good stuff for n00bs... lets get it done.'
AndroidAppCritic said:
Yeah, I just noticed the Hero thing. I suppose that I would like to see (somewhere on XDA either here or a new post) a very detailed explanation of all the possible settings, what they do and how they may or may not affect each other. When I was first trying all of this out I had to search very long to find explanations. If a noob wanted to know what swappiness was, for example, they would have a difficult time finding a good explanation. Even the experts can't agree so how is a novice supposed to understand it.
Perhaps this would be a good place for people who know to informally contribute and it can eventually be moved to its own thread, a sort of compache, linux-swap, backing swap, swappiness manual. A one-stop shop for all things memory related with links to the various XDA threads that can help them accomplish what they want to do.
My G1 and myTouch fly right now with next to no lag but it took me quite some time to get all the settings the way I like it (sort of, still perfecting them). I want the same for everyone.
Click to expand...
Click to collapse
yah for sure bro. Maybe you and me should put a detalied one together... This was intended to be a crude easy guide for pure n00bs who just want a "faster" phone. Most n00bs are not too concerned with what "swappiness" is and the technical difference between CC or linux-swap. Thats just my opionion though brother
Sorry if this is a stupid question but what exactly do I do with the two files? Do I rename the kernal update as update.zip and run that after I'm done installing the Hero ROM of my choice (I was looking at doing drizzy's)? Then what do I do with the user.conf file?
markdt098 said:
Sorry if this is a stupid question but what exactly do I do with the two files? Do I rename the kernal update as update.zip and run that after I'm done installing the Hero ROM of my choice (I was looking at doing drizzy's)? Then what do I do with the user.conf file?
Click to expand...
Click to collapse
Ima change the OP thanks anyway, if you have recovery 1.4 you can actually flash "any" zip meaning it does not need to be renamed. MOst ROMS now have this kernel built in, however MOdaco 2.2 DOES NOT, so if you plan on using modaco 2.2, flash this kernel. FLash MOdaco (or whatever ROM is missing this kernel) THEN flash the kernel right after without rebooting.
as far as the user.conf goes, put it on your root and use the commands i provided in the OP.
ChEeRS

[REQUEST] Integrate switchrom.sh instead of nandroid in the recovery menu.

Is it possible. I have a magic so no keyboard here... I cant execute the commands needed to perform switchrom.sh. If it could be integrated in the menu it wold be much appreciated.
It seems more complete backup as it packages the /system/sd folder...
You can execute commands with the adb shell command. So you are only limited to where adb is, ie next to a computer/laptop.
I know cyan has mentioned adding the ability to select a nandroid back up to restore to his next recovery image, i just figured with how actively he is developing his donut rom he hasnt had time. I am sure once things slow down with the rom we will get his next recovery image "when its ready"
if possible this would be a wonderful addition to the already elegant recovery image, not that going into terminal or using adb is overly difficult especially the way the script is setup, but im always looking to have it one click shorter
zambezy said:
Is it possible. I have a magic so no keyboard here... I cant execute the commands needed to perform switchrom.sh. If it could be integrated in the menu it wold be much appreciated.
It seems more complete backup as it packages the /system/sd folder...
Click to expand...
Click to collapse
And this is why I think the HTC Magic is a step down from the G1. Both the same except one has a keyboard and the other doesn't... pointless.
However... good request.
jugg2000 said:
And this is why I think the HTC Magic is a step down from the G1. Both the same except one has a keyboard and the other doesn't... pointless.
However... good request.
Click to expand...
Click to collapse
It also has more memory...
mer6 said:
It also has more memory...
Click to expand...
Click to collapse
Memory is not such a big issue, running aps2sd and linux-swap makes the G1 cope just as well with everything. I would say that my G1 runs faster than my wife's Magic with the same cyanogen ROM.
IMO the biggest "upgrade" is the battery: much longer life and charges faster. HUGE difference!
Another nice feature is the glowing trackball (I'm jealous).
OK, enough with this off-topic. I second the request for integrating switchrom in the recovery. (and I would like to add a request for the ability to restore ANY nandroid backup).
pascanu said:
Memory is not such a big issue, running aps2sd and linux-swap makes the G1 cope just as well with everything. I would say that my G1 runs faster than my wife's Magic with the same cyanogen ROM.
IMO the biggest "upgrade" is the battery: much longer life and charges faster. HUGE difference!
Another nice feature is the glowing trackball (I'm jealous).
OK, enough with this off-topic. I second the request for integrating switchrom in the recovery. (and I would like to add a request for the ability to restore ANY nandroid backup).
Click to expand...
Click to collapse
lol cyanogen is pretty busy, I'm sure hes fiddling with Roms so much he finds little time for anything else, this including recovery images which have
"switchrom" built into them
Wouldn't this a better directed at amen_ra in the magic section?
twistedumbrella said:
Wouldn't this a better directed at amen_ra in the magic section?
Click to expand...
Click to collapse
well id like that feature in a recovery image too. it would make it a lot more convenient and cyan is the man when it comes to recovery images (and everything g1)
i love switchrom... i got a second g1 last night, got it rooted, new spl, new radio, and got everything up and running. decided to pull one of my backups from my actual g1 and try to flash it. pulled it from my normal g1, put it on sdcard/switchrom/ and voila! it worked. now im immediately back to where i was. switchrom definitely makes things a little easier.
palosjr said:
i love switchrom... i got a second g1 last night, got it rooted, new spl, new radio, and got everything up and running. decided to pull one of my backups from my actual g1 and try to flash it. pulled it from my normal g1, put it on sdcard/switchrom/ and voila! it worked. now im immediately back to where i was. switchrom definitely makes things a little easier.
Click to expand...
Click to collapse
... you can easily do that with nandroid.
persiansown said:
... you can easily do that with nandroid.
Click to expand...
Click to collapse
i know. just letting it be known that it works
persiansown said:
... you can easily do that with nandroid.
Click to expand...
Click to collapse
Nandroid doesn't backup your ext partition with all your apps.
I don't know how anyone would integrate switchrom, you still need to type to name your backups. I personally would like it just for the fact I wouldn't have to mount system/sd then type the path out and what not
pascanu said:
OK, enough with this off-topic. I second the request for integrating switchrom in the recovery. (and I would like to add a request for the ability to restore ANY nandroid backup).
Click to expand...
Click to collapse
Dumfuq has taken the great innovations started by devsk and, IMO, completed the switchrom script. You can now backup/restore only nandroid, only ext, or both, along with other advanced options included. This script is not in that thread's OP, so you need to go HERE to get it. I've already PM'd cyanogen about it, so he's aware.
B-man007 said:
well id like that feature in a recovery image too. it would make it a lot more convenient and cyan is the man when it comes to recovery images (and everything g1)
Click to expand...
Click to collapse
That's nice... even though the original op request was due to the lack of hardware keyboards, which a G1 has. You go ahead and put all your faith in one guy who is busy as is, and ill release the integrated switchrom version I made to everyone else k?
Speaking of which
Zero Enhanced Recovery Images:
G1: http://twistedumbrella.slackdev.com/Zero_DRC-1.0.img
MT3G: http://twistedumbrella.slackdev.com/Zero_HRC-1.0.img
To use switchrom on these, run "sh sbin/switchrom.sh"
This will list the available commands for future use
This is only until I integrate the menu option directly
Original Thread: http://forum.xda-developers.com/showthread.php?p=4365404#post4365404
twistedumbrella said:
That's nice... even though the original op request was due to the lack of hardware keyboards, which a G1 has. You go ahead and put all your faith in one guy who is busy as is, and ill release the integrated switchrom version I made to everyone else k?
Speaking of which
Zero Enhanced Recovery Images:
G1: http://twistedumbrella.slackdev.com/Zero_DRC-1.0.img
MT3G: http://twistedumbrella.slackdev.com/Zero_HRC-1.0.img
To use switchrom on these, run "sh sbin/switchrom.sh"
This will list the available commands for future use
This is only until I integrate the menu option directly
Original Thread: http://forum.xda-developers.com/showthread.php?p=4365404#post4365404
Click to expand...
Click to collapse
Impressive and quite amusing at the same time. Great work Twisted.
twistedumbrella said:
That's nice... even though the original op request was due to the lack of hardware keyboards, which a G1 has. You go ahead and put all your faith in one guy who is busy as is, and ill release the integrated switchrom version I made to everyone else k?
Speaking of which
Zero Enhanced Recovery Images:
G1: http://twistedumbrella.slackdev.com/Zero_DRC-1.0.img
MT3G: http://twistedumbrella.slackdev.com/Zero_HRC-1.0.img
To use switchrom on these, run "sh sbin/switchrom.sh"
This will list the available commands for future use
This is only until I integrate the menu option directly
Original Thread: http://forum.xda-developers.com/showthread.php?p=4365404#post4365404
Click to expand...
Click to collapse
is this the same as cyanogens and JF recovery with added switchrom or is it a completely new recovery image?
Why not just use Amon Ra's recovery image? Has alot more features than cyanogens one plus the switchrom you want. I used to hate mounting /system/sd before i backed up

Install App From another Android?

I got my self the hero, and my wife the Moment. I am slightly jealous of the hardware she has..but that aside, I am in love with my Hero.
However, she does have one app that i really want and the market place does not have. I assume this is an app installed by sprint.
It is Photo and Video uploader. You set an email address or other location and after a video or photo is taken, it automatically uploads the photo to the predetermined destination. GREAT FOR BACKING UP PICTURES! But, her camera hardware blows. 3.2 MP and it is sooo slow. So picture quality is no where near that of the Hero's 5 MP.
So the real question here - -
Can I ADB into her phone and just take the .APK and ODEX file for this app and push it to my phone? Is it that easy???
Some apps are that easy. Give it a try and find out! The worst thing you'll get is some force closes.
However most stock apps require files from /system/lib that help run that apk. And they don't have the same naming convention therefore you won't know which one(s) it is amongst the 100s there. But I always say try and see what happens.
And if it works upload that .apk for the rest of us!
Thinking out loud here...well..you get the point.
Could I copy all of system/lib and only copy the files that dont already exist?
That could be a giant waste of space though, and it could still rely on a file that I have, not just one that isn't there....
Also since I am not "installing" the app, could Apps2SD hinder me? I am not entirely sure how a2sd works other than tricking the phone into using the SD card as a partition and unioning it with the existing part.
I love how open android is supposed to be, but how the darn manufacturers kill us with the different platform crap.
thedudejdog said:
And if it works upload that .apk for the rest of us!
Click to expand...
Click to collapse
Am I aloud to do that? I have seen XDA Mods get on to some people about uploading APK's. I guess I should read the EULA for that app before I do?
Kcarpenter said:
Thinking out loud here...well..you get the point.
Could I copy all of system/lib and only copy the files that dont already exist?
That could be a giant waste of space though, and it could still rely on a file that I have, not just one that isn't there....
Also since I am not "installing" the app, could Apps2SD hinder me? I am not entirely sure how a2sd works other than tricking the phone into using the SD card as a partition and unioning it with the existing part.
I love how open android is supposed to be, but how the darn manufacturers kill us with the different platform crap.
Click to expand...
Click to collapse
Copying the ../lib/ over and not replacing existing files could work. lol. As for apps2sd... you kind of have two ways you can try installing this. Without copying the lib and all that just try putting the apk on to your sdcard and browsing to it using astro or linda (a file manager) and click on the apk and installing it. See if it errors out or fails. If it does, THEN try copying it and the odex to /system/app (if it has an odex I'm pretty confident you won't be able to install it using package manager). If that still fails then you can go crazy and trying copying the lib ha.
Kcarpenter said:
Am I aloud to do that? I have seen XDA Mods get on to some people about uploading APK's. I guess I should read the EULA for that app before I do?
Click to expand...
Click to collapse
I don't remember if I read it on here or ppcgeeks but I believe officially the only stock apk's not allowed is quick office. But don't quote me on that.
So I hooked up to the Moment through ADB last night.
Found out really quickly that I can SU with it....
There is a "non permanent" hack out there to become root, but I tried it and still couldn't mount the file system to copy from it.
Any ideas guys?
From what I understand the Moment uses an FS16? file System? Something Odd that non of the other droids seem to be using.
Just an Idea, thought I would throw it out there.
Does the temporary root allow for running applications as root an the device itself?
There is an app in the market called root explorer that allows copy/paste/cut/delete from the system/app folder.
It may be possible to use that app to copy the needed filed to your sdcard and then extract them from there.
This would all be contingent on the app being able to mount the directory as r/w though, so who knows, worth a shot though i guess.
rockcrawler said:
Just an Idea, thought I would throw it out there.
Does the temporary root allow for running applications as root an the device itself?
There is an app in the market called root explorer that allows copy/paste/cut/delete from the system/app folder.
It may be possible to use that app to copy the needed filed to your sdcard and then extract them from there.
This would all be contingent on the app being able to mount the directory as r/w though, so who knows, worth a shot though i guess.
Click to expand...
Click to collapse
This root doesn't allow you to run Root apps. not sure why, seems like root would be root.
After some reading, the root method that is being used on the Moment is not the safest. Apparently if you skip a step you have a brick. And with no Nandroid backup at the moment(pun?) I would HATE to attempt it. Apparently though Root sticks until you reboot. There is an INit. script that runs and resets the permisions.
I know, "Don't skips steps and you'll be ok"
I may get brave and try it tonight...
as far as I can tell you cannot install this app on the hero. I'm not sure what the app is called and unless it starts in the /data folder it is under the system dumps
http://www.4shared.com/file/149766091/c3a7ee61/momentsystem.html
nelson8403 said:
as far as I can tell you cannot install this app on the hero. I'm not sure what the app is called and unless it starts in the /data folder it is under the system dumps
http://www.4shared.com/file/149766091/c3a7ee61/momentsystem.html
Click to expand...
Click to collapse
ROCK ON! Thanks for the link to the dump, I hadn't thought about looking around in one of these.
I will post what I find out.
WOOT IT WORKS!!!!!
So any how the application is in that Dump under apps, its only an APK
xms-android-1.0.42-prod.apk
If you are interested in what it does:
You setup predetermined "places" Flikr, FB, EMAIL, what ever.
Any picture or video you take automatically gets put in an upload queue and it sent to your predetermined places.
I am using it for back up, I have 2 kids and sometimes the cell phone is the quickest way to snap a great picture. Keeping these pictures in mutltiple places, like your 7 gig google account, is a nifty way to backup.
I am waiting for a Mod to get back to me if I can post the APK or not. I don't want to get in trouble.
wonder if their youtube app has better picture quality than ours?
BrianDigital said:
wonder if their youtube app has better picture quality than ours?
Click to expand...
Click to collapse
I will let you know in a few minutes. As soon as I get done with my WiFi teether I will compare the two. Pretty sure they should be the same.
EDIT: I am not sure if it is hardware or not. Running the same youTube video side by side - Our HERO has better color quality, Deeper blacker. The Moment has slightly sharper edges to the pictures, not quite as blurry. the moment does not go "Full Screen" for videos either which could be contributing to the sharper look to things. My assumption would be that this is a difference in the hardware. Quality of youTube videos seems to have diminished over the years anyways, none of the really look "good" any more. Probably in an effort to save bandwidth.
However, if you want to take a look personally, I will post the APK for you. Just please don't blame me if you forget to back up the original and want to revert....I love disclaimers.
I was trying to use that picture uploader, for me it stalls on picking a new location. Wonder if it is because I am on gutted rom and missing some pointers somewhere
BrianDigital said:
I was trying to use that picture uploader, for me it stalls on picking a new location. Wonder if it is because I am on gutted rom and missing some pointers somewhere
Click to expand...
Click to collapse
I am using MoDaCo + Optimizations w/ ZipAlign. Not sure if its worth the switch for you or not.
I have never used Gutted so I do not know what it offers/doesn't have.
Gutted is as vanilla as our Rom can get. It's quick too
that's pretty cool and sounds like a great idea for backing up pics so what all would I need to do to get this and install it I have root access already
Kcarpenter said:
WOOT IT WORKS!!!!!
So any how the application is in that Dump under apps, its only an APK
xms-android-1.0.42-prod.apk
If you are interested in what it does:
You setup predetermined "places" Flikr, FB, EMAIL, what ever.
Any picture or video you take automatically gets put in an upload queue and it sent to your predetermined places.
I am using it for back up, I have 2 kids and sometimes the cell phone is the quickest way to snap a great picture. Keeping these pictures in mutltiple places, like your 7 gig google account, is a nifty way to backup.
I am waiting for a Mod to get back to me if I can post the APK or not. I don't want to get in trouble.
Click to expand...
Click to collapse
Wow... that's a really cool program... and just so you know, you can "install" it using adb and it still works fine
Code:
adb install xms-android-1.0.42-prod.apk
Then it will install in /data/apps (or if you have apps2sd, on the sdcard under /system/sd/apps)
Works great on the Sprint Hero and MoDaCo ROM
Kcarpenter said:
I am waiting for a Mod to get back to me if I can post the APK or not. I don't want to get in trouble.
Click to expand...
Click to collapse
The only rule regarding it would be
6. Do not post warez.
If a piece of software requires you to pay to use it, either pay or find your cracks and serials somewhere else. We do not accept warez nor do we permit any member to promote or describe ways in which Warez, cracks, serial codes or other means of avoiding payment, can be obtained.
Click to expand...
Click to collapse
which your app doesn't fit in to. Posting it is not outside of the rules and should be fine.

Removing Stock Live Wallpaper

I wanted to get rid of all the ugly live wallpaper that comes with the phone. Any idea on how to do this? I guess I just don't know where to look. Thanks!
menu>wallpaper then choose something else
that's really not what I meant. I want to remove it entirely. No sense having a bunch of stuff that I'll never use taking up space.
the_grobe said:
that's really not what I meant. I want to remove it entirely. No sense having a bunch of stuff that I'll never use taking up space.
Click to expand...
Click to collapse
While in adb shell in recovery, do
ls /system/app
Look for anything with "LiveWallpaper" in the name. You'll want to either rename or move any of those files to some other folder (I'd strongly suggest not actually removing them).
For example, you might have a command like
/system/bin/mv /system/app/HtcLiveWallpapers.* /sdcard/appbackups/
or something along those lines (your mileage may vary)
As with anything on these boards, I am in no way responsible for any damage you might do to your phone. But if you are careful this is a pretty simple and harmless operation.

[Q] Disabling Android 2.2 DropBoxManager

Good Day Folks.
I'm a Noob in need of help and i'm hoping the more experienced among us might be able to assist. I have an issue with disappearing phone storage. Over the course of a week I realized that I was losing about 1MB a day. My phone would basically be dormant and I would still see my storage space dropping by this amount everyday.
Cache cleaning didn't work. Later I realized that Android creates a bunch of log files in Data/System/Dropbox that was responsible for the disappearing phone storage trick I've been seeing for a while now.
I know now that Google has incorporated into Android as of the 2.2 iteration, a DropBox Manager that's responsible for logging all of the events that take place during the course of a running Android session. Everything from what took place at boot to force close details.
I understand that this is used for debugging purposes but I'm no developer . So my question is.... Can this DropBox Manager be disabled....somehow.
I really don't need all these files (and its A LOT OF THEM) being created as they serve no practical purpose for me. Not sure if anyone else might have noticed this but I'm hoping to receive some help. Even if it means pointing me in the right direction so I can work on it myself.
I really don't have a clue on how to start. Any help will be appreciated....Seriously...
Currently using G1 with CM6 Magpie running on EZTERRY's 2.6.34.7 kernel.
Its perfect except for this annoying problem.......
Hm what happens if you rename the directory. It might throw some errors in the logger, but probably won't create anymore files.
I just deleted the content of my dropbox folder, the DropboxManagerService was throwing some errors that he could not open files, but the phone was fine, no FCs or anything.
Renaming the directory just results in a random reboot. My guess is that when Android tries to create a new log, its unable to find the directory and then it just freezes and after a while it reboots. Once restarted it just reappears... I've tried that too.
And its true.. Its ok to delete the files. Its what I do currently. All of those files in Data/System/Dropbox as well as the ones located in Data/Tombstones are ok to delete. As I said, its just used for debugging purposes. Whats really annoying though is that, no matter how many times you delete anything, they just get repopulated just as fast as they're deleted. I'm ok with micro-managing my memory and phone storage (its a G1 after all) but this is ridiculous. It just creates too many of these log files too quickly.
If there was a way to turn the DropBoxManager service off then that would be the end of it all.
What's unusual about it too is that in my particular case, the contents of these text files just have two things listed in them. Pertaining to my online accounts associated with the phone: My Google account and My Whatsapp account...
It just repeats the same thing over and over again. I'm starting to think that the event data might actually be synchronization data or at least synchronization attempts made at regular intervals. But ultimately i'm guessing....
I really don't have a clue... Have you ever heard of anything like this on XDA......possible resolutions of this issue?
epolaris said:
I really don't have a clue... Have you ever heard of anything like this on XDA......possible resolutions of this issue?
Click to expand...
Click to collapse
Not yet .
What about replacing the folder by a symlink to /dev/null ?
You could also try to change permission on the folder.
Ok... I'm a real Noob but I'll take a shot.. When you say symlink what do you mean.
I'm not really familiar with Android at that level yet its really just flashing and such.
But I know a symlink is really just a reference to a location that the OS would interpret and follow (like a pointer i think). So, is it that you're suggesting some sort of redirection where the Data/System/Dropbox directory is pointed to another arbitrary location. Kind of like a creating a dead link that Android is unable to follow up on. Or maybe, redirecting the folder to an entirely new location that Android would then follow. I'm not sure... How do you perform a symlink in Android... I'm willing to try.
You can do it with a console on the phone it self or using adb shell. You need root of course.
You could make a link to another location where you have more space?
Or you change to permissions of that directory to write only.
Or you can mount a different file system to that directory that is read only.
On how to do that just google a bit for linux tutorials on that topic.
I have just googled a bit and it seems you can't symlink directories to /dev/null.
If all that doesnt help post again, there might be an option to make an app delete the files automaticly, first time they get created.
If that would be an option too let me know, im in the mood to program something intresting .
Disabling Android 2.2 DropboxManager [RESOLVED]
I took your advice and did the research you suggested and it worked.
The first thing I tried was changing the permissions on the "Data/System/Dropbox" directory and it worked. But I didn't use CHMOD and console command line to do it.
I have a program called Root Explorer that allows me to permanently change the permissions on any file or folder I select. I set all of the offending folders to read only and the log files stopped being written to those folders.
These are the directories I set to read only:
1. "Data/System/Dropbox"
2. "Data/System/UsageStats"
3. "Data/Tombstones"
Since changing the permissions on these folders my phone storage has stopped dwindling out of control. No additional programming necessary
Disabling the DropBoxMangerService itself is not necessary which is good.
I'm going to take your advice and read up some more on Linux commands (specifically Ubuntu as its what I currently use).
You have been very helpful, thanks for the advice. If you have any ideas about Froyo ROMS (Maybe even Gingerbread ) I should try let me know.
Thanks again....
I have also found these files. They can take MUCH space in memory and nothing seems to delete them. I made the dropbox system folder RO but I think this is a bug. It should be reported to the dropbox team. Is there a bug report form somewhere? I did not find it... Just found the forum, QA,...
[edit]I reported it in the forum... Just see http://forums.dropbox.com/topic.php?id=41227 [/edit]
vax said:
I have also found these files. They can take MUCH space in memory and nothing seems to delete them. I made the dropbox system folder RO but I think this is a bug. It should be reported to the dropbox team. Is there a bug report form somewhere? I did not find it... Just found the forum, QA,...
[edit]I reported it in the forum... Just see http://forums.dropbox.com/topic.php?id=41227 [/edit]
Click to expand...
Click to collapse
You are mistaken: /data/system/dropbox, has NOTHING todo with www.dropbox.com !
See http://developer.android.com/reference/android/os/DropBoxManager.html
Dark3n said:
You are mistaken: /data/system/dropbox, has NOTHING todo with www.dropbox.com !
See http://developer.android.com/reference/android/os/DropBoxManager.html
Click to expand...
Click to collapse
Hey, just looked at your SD Maid app (looks cool).
So what do you know about /data/system/dropbox? I just read that htc uses the dir to store phone events which is then sent to the htc cloud of spying-on-your-ass. But since non-htc phones have this dir, is htc merely misusing the directory and it has other legit uses, or is this a directory we should try to keep cleaned out?
(I like the idea of changing perms so nothing writes to it if that's the case.)
600 MB additional free storage
Hi all
Just found a smart way to increase your Dropbox account with 600 MB:
1 Sign into your existing Dropbox account (or create a new account)
2 Goto https://www.dropbox.com/free
3 Follow instructions ... and voila 600 MB additional free storage
Mittaa said:
Hi all
Just found a smart way to increase your Dropbox account with 600 MB:
1 Sign into your existing Dropbox account (or create a new account)
2 Goto https://www.dropbox.com/free
3 Follow instructions ... and voila 600 MB additional free storage
Click to expand...
Click to collapse
Yay, nice to see you didn't read the thread at all.
This has nothing todo with dropbox.com
Yea other day I got the SD Maid, and the Pro version after I saw how handy it was. I too on my G1 (with 2.2) see that dropbox folder.. and lately Ive been thinking its causing my G1 to constantly reboot. When I look, it has 300+ files in it. So I clear that folder and seems to stop rebooting for a lil while.
Not sure what the deal is here however, been trying to find out. HOWEVER it only seems to reboot once its connected to the internet, so I am wondering if this is where it tries to upload and so. Not really sure. That and its hard to tell in logcat whats going on before it reboots.
Thanks
Excellent information. This works on my Sony Ericsson Xperia Pro MK16a, Rooted. Thank you so much. My best regards.
Try to change the permisions of the folder, I'm not sure if it would work but you could try ^^
Sent from my GT-I9001 using xda premium
All is ok
All was fine. The permissions :laugh:changed with root explorer. Thank you so much
Note completely disabled but only 1 file in the /data/system/dropbox folder with these Android shell commands (or use Sqlite3 editor):
content insert --uri content://settings/secure --bind name:s:dropbox_max_files --bind value:i:1
Or for Android 4.2+
content insert --uri content://settings/global --bind name:s:dropbox_max_files --bind value:i:1
settings put global dropbox_max_files 1
Reboot.
more dropboxmanager settings:
dropbox_age_seconds
dropbox_max_files
dropbox_quota_kb
dropbox_quota_percent
dropbox_reserve_percent
I've been using the advice from this thread to control this "dropbox" data collection directory for several years now until I updated to 9.0 and found that the folder and default permissions were restored after every reboot. Was irritating bc I can use root to modify /system but no longer have control over my own data partition Something is over-riding my root-user!!!
I tried different apps, TWRP's FM, adb, and almost gave up when init.d scripts wouldn't work either. init.d will work tho. A simple script to run
Code:
#!/system/xbin/sh
busybox rm -f /data/system/dropbox
at boot. You can probably chown and chmod if you want but I just deleted it. Just put it in your init.d folder and make sure you give it the correct permissions (root:shell -755), then immediately perform a soft reboot. Use hardware keys if you have to. You want the phone to go immediately OFF, no spinny wheels or "powering off" notifications. That's the only way I could get rid of the damn thing.
Anyway, I came across this thread while searching for a solution and thought I would add this in case any other paranoids like me are concerned about this mysterious "dropbox" directory. This will probably break any ability for google to troubleshoot your phone but I don't think that's real anyway. It's just spyware as far as I'm concerned.
p.s. (off-topic) Thanks @Dark3n I'm also a frequent SD Maid user btw and in case you happen to read this, I thought I might mention I intended to send a donation via your app the other day (i like to show love when ppl share badass works) but balked at the only available option for "pizza," not bc I don't appreciate it that much but I can afford a little every now and then. If you add a smaller option, "coffee" or beer or whatever, maybe even an outside of googlePlay option, BTC perhaps. I'd be happy to shoot a few dollars at you.

Categories

Resources