Since I'm messing around with root and experimenting with other things, I find myself reseting my device a lot. The problem is, whenever I reset, I lose all the highlighting I've done in my books. Is there anyway to save this highlighting?
I'm not sure how .epub works, but is the highlighting part of the file, or just something that the nook color does?
Hate to bump my own thread, but it's been a week. Was wondering if anyone knew how to do this?
Maybe just saving the readers data catalog would do it?
Most programs have some settings and so under /data/data/
I have no idea if it works for you or not, but it can't hurt to try.
Note that browsing /data with astro or so makes it appear empty since you don't have read rights there as a normal user.
Sent from my NOOK Color using XDA App
Solution: For those of you wondering how to save annotations,
Using root explorer, navigate to /data/data/com.bn.nook.reader.activities/databases
In this folder you will see a few files, one of which is annotations.db
This would also be a convenient way to view all your annotations in one place.
Related
I apologize if this has been answered earlier.
I use a stock N1 with ADW.Launcher and a bunch of other apps. I recently noticed that even when I uninstall an app from my phone, there are some directories / files that remain on the phone.
Is there any reason why these do not get deleted when the app is unistalled.
May be the same answer as installers written for windows. If the developer didn't do a good job with cleanup, you get trash leftover you need to manually clean.
i agree with both above. i found devs dont do good with uninstalling and leaving folders left behind, i wonder if there is an app that clears them?
The best way is to realize what should and shouldn't be there and manually take care of it. To write an application to clean up after 50,000+ other applications that are messy. Would be a programming nightmare and I would not want to support such an application.
or someone could make some sort of app similar to those on pc, montors what and where files are being installed to so if uninstall doesnt take em out alteast you know where to look exactly.
Edit: better yet, the app itself can uninstall everything on the users request! now that would be an app i wouldnt mind paying a good buck for.
I agree, apps itself should uninstall everything with user consent.
Also I don't think a lot of us mind taking the manual route as long as we know what to delete ..
Any way to find out what files belong to what apps?.... or is it the same as on any unix/linux platform.
thats what i was trying to say. windows has a simple app that makes a txt file of all files being installed including registery. launch the app to monitor first, install like normal. in this case, the app itself will make a database of the app then the user can use that app to delete everything catched that was installed. that would be very nice. i find myself doing google search to see where files came from and when i see i uninstalled that i have to delete it myself. this would save me lots of time. i dont really worry about it though i have a list of apps i must install and with all the froyo i keep wiping the os to try new roms. until everything is stable ill worry then but for now im good.
garryvirdi said:
I apologize if this has been answered earlier.
I use a stock N1 with ADW.Launcher and a bunch of other apps. I recently noticed that even when I uninstall an app from my phone, there are some directories / files that remain on the phone.
Is there any reason why these do not get deleted when the app is unistalled.
Click to expand...
Click to collapse
do you mean the directories on the sd card?
Yes directories and files on the SD card.
-------------------------------------
Sent from my Nexus One
garryvirdi said:
Yes directories and files on the SD card.
-------------------------------------
Sent from my Nexus One
Click to expand...
Click to collapse
You could have data that could be reused if you decide to use the app again. Settings, preferences, keys, notes, photos etc..
I do hope that the default folder for apps defaults to something like /sdcard/appdata/ instead of the root folder /sdcard/ (unless explicitly set)
I have been wondering if it is possible to modify where programs store their external data on the SD card, but have not been able to find an answer yet.
Example...
I have the program "FolderOrganizer" and it stores it's backup data to /mnt/sdcard/FolderOrganizer. Now what I would like to do is to clean up my SD card a bit by moving all my program saves to the /mnt/sdcard/Android/xxxxx folders. This way I know where all my backups, skins and etc are located at while keeping my file structure clean.
I have been using Root Explorer to poke around and see if I can find any indication of where these programs set their external save directories at (xml files etc), but I have not been able to figure it out yet.
I bet it is something easy that I am just missing. Can anyone help out or point me in the right direction?
djstaid said:
I have been wondering if it is possible to modify where programs store their external data on the SD card, but have not been able to find an answer yet.
Example...
I have the program "FolderOrganizer" and it stores it's backup data to /mnt/sdcard/FolderOrganizer. Now what I would like to do is to clean up my SD card a bit by moving all my program saves to the /mnt/sdcard/Android/xxxxx folders. This way I know where all my backups, skins and etc are located at while keeping my file structure clean.
I have been using Root Explorer to poke around and see if I can find any indication of where these programs set their external save directories at (xml files etc), but I have not been able to figure it out yet.
I bet it is something easy that I am just missing. Can anyone help out or point me in the right direction?
Click to expand...
Click to collapse
No... it's not something you're just missing... there is no standard and as a result it's almost impossible to achieve what you're aiming for. I too wish for the same, everything simply under <sdcard>/android/ ...
Some apps are hard coded in their code, some allow the user to select, some store in /data/data/xxx/shared_prefs/ - it's a lottery.
djmcnz said:
No... it's not something you're just missing... there is no standard and as a result it's almost impossible to achieve what you're aiming for. I too wish for the same, everything simply under <sdcard>/android/ ...
Some apps are hard coded in their code, some allow the user to select, some store in /data/data/xxx/shared_prefs/ - it's a lottery.
Click to expand...
Click to collapse
Thanks for the response. That is a bummer though, I was really hoping to be able to tell everything where to write to. I currently have a ext4 partition on my SD and that is where all my apps install to... if I can't tell the apps where to save on my SD partition, it would be nice to at least move it all to the ext4 partition.
There is crap all over on my SD card and my OCD is starting to kick in!
Yeah, I know the SD card can get messy... it's really stupid and annoying... Unfortunately, there is no SD card data saving guidelines for developers... and writing to an ext partition is completely out of scope for market apps because not all users have ext partitions... it would be nice, though, to have apps save data under one common folder... say /sdcard/data or /sdcard/Android... maybe we need to petition developers or Google!!
I agree with the saving to and ext partition. I just think it is silly that you can't at least specify a directory to save external data. I know some apps allow this, but I guess that if Google forced a change then everyone would have to change their code.
I wonder what would happen if you took out your SD and tried running those apps. Where would they write to then?
djstaid said:
I agree with the saving to and ext partition. I just think it is silly that you can't at least specify a directory to save external data. I know some apps allow this, but I guess that if Google forced a change then everyone would have to change their code.
I wonder what would happen if you took out your SD and tried running those apps. Where would they write to then?
Click to expand...
Click to collapse
Apps that require the sdcard for storage will usually either give an error when run without an sdcard or just not work at all.
I am also pretty anal about my storage and neatness, and I have given up on my sdcard being organized. What I have done is create folders with capital first letters to bring them to the top of the listing when browsing by default sort, at least I can find what I want easily without sifting through all the data folders..
That is pretty much what I have done. I guess it it better than nothing. If I knew more about programming I would try and build something to look for and modify those paths. I just never really understood/got into the whole programming thing... that is why I ended up in Infrastructure. lol
djstaid said:
That is pretty much what I have done. I guess it it better than nothing. If I knew more about programming I would try and build something to look for and modify those paths. I just never really understood/got into the whole programming thing... that is why I ended up in Infrastructure. lol
Click to expand...
Click to collapse
I'm with you there, long time (20+ years) building and repairing pcs, 0- years programming.
As far as building something to modify the paths used by programs accessing the sdcard in Android, that seems a nearly impossible feat. Each program would have to be modified, requiring reverse-coding (baksmali) each one individually, modifying the code, and recompiling (smali). This would also require re-signing and reinstalling each application, making updating from the market impossible, and would take a lot of work.
Due to the fact that applications are "sandboxed" (so to speak) in Android, I wouldn't think there was a global %externaldata% path variable that can be modified from /mnt/sdcard to /mnt/sdcard/Android, I am pretty sure that path is set in each application.
Though, I could be wrong. However, it is worth noting that if it is a global variable, changing it would result in applications that are already properly coded to use /mnt/sdcard/Android/%appname% or /mnt/sdcard/data%appname% to instead attempt to write the data to /mnt/sdcard/Android/mnt/sdcard/Android/%appname% as they would append their string to the global variable.
I believe, all we can do is petition developers to use a more structured data path in their programs, and learn to live with disorder!
daveid said:
I believe, all we can do is petition developers to use a more structured data path in their programs, and learn to live with disorder!
Click to expand...
Click to collapse
lmao!
this is true though... at least I know that I am not alone. haha
I am definitely with you all on this. I found this post after having the same epiphany just now. There needs to be more structure to the use of external storage. These little things are what set our OS apart from say, the "forbidden" iphone...
I have actually tried digging into different apps to see where the store locations are set at and have had no luck. I guess if I knew how to program or at least modify that one part of the app I would have more luck.
Problem with that is if I modify something in an app and it gets updated, I would have to do it all over again. I guess that is the gift and curse of having such an open OS. I will post back here if I figure something out though. I have been digging into the Android OS a little more, but I am still having problems understanding how it all works underneath.
... from /system/app
Which of them would save me some resources (assuming I don't care about the built-in nook functionality), and which of them would make things go kablooey?
Wordsmith9091 said:
... from /system/app
Which of them would save me some resources (assuming I don't care about the built-in nook functionality), and which of them would make things go kablooey?
Click to expand...
Click to collapse
Why do you think they would save you resources?
Plus I think you might want to avoid doing that until there is a full ROM and Recovery, if you screw up /system I think you're hosed.
Without recovery it is possible to brick the NC by deleting stuff as previously stated.
I did try some cautious renaming of B&N stuff with the end result that while the NC worked, it showed as not registered and this made it a bit difficult to de-register and reset...
And not only did the B&N stuff not work (since it wasn't registered!) there were a few other glitches as well.
As a note from my earlier Android experiments: if you do want to try getting rid of something, don't delete it! Renaming it is just as effective and has the added plus of being easily restored AS LONG AS THE THING STILL WORKS AT ALL.
I usually append .bak to things like text messaging, facebook and twitter since I don't use or want them.
/system can be recovered regardless of changes to the file-system as long as you don't play around with the factory fallback stuff which is on a different partition completely. The minute you start messing with that all bets are off.
The /system partition will be restored if the device doesn't boot 8 consecutive times.
Well, so far I've deleted the library, the shop, the built-in app launcher and a few other items with no ill effects (other than, you know, not having the library and the shop). I got rid of one that looked a little borderline scary -- but I'm being a little reckless here and didn't note the name. Maybe a BN specific applicationservice apk?I think that's why selecting settings from the B&N bottom notification bar doesn't work anymore (but selecting settings from within Zeam gets me there). Got rid of the home apk.
I know, I could play it a lot safer just renaming these things. But I'm living on the edge (besides, I could always get back to a stock system setup if I screw things up badly enough to force the 8 reboots).
I'll soon look at this a little more methodically and see if there are any B&N-related services running that I don't think I'd really need ... then go for them too. After all, just deleting things that may or may not be running from boot ... it's a fun reckless experiment, but it doesn't necessarily save any resources (other than space in system).
If you manage it I would be interested in knowing about it- especially if the Nook for Android app can be installed and actually work, afterwards!
That had been my goal when messing with it.
Methinks I found one too many packages that had "bn" in the name for my own good. lol
So, I highly dislike the stock pdf viewer and decided to go with repligo reader.
is there anyway for me to change the default app for viewing PDFs such that when i select the book from my library, it automatically opens in repligo?
ive tried the normal manage apps method, but couldnt find any solution since.
ideally, if i could just remove the stock pdf viewer, im sure the nook would ask whihch program i would like to use, but i dont wanna go changing all sorts of files in /system/apps without knowing what does what.
ive also heard alot about aldiko? would anyone recommend this app compared to repligo?
You could try freezing the default pdf app with Titanium backup, and see if it gives you the option to pick another default. That way, you aren't actually uninstalling it...
Not sure if it'll work, but could be worth a try.
will give this a shot and report back thanks
I have a Moto X with Republic Wireless 4.2.2 and am wondering how I automate the following...
Anytime I shoot a video or take a picture on the phone I would like to have the phone automatically make a copy of the file to a different (specific) directory on the phone for backup purposes. I would also like to know if I can do this without rooting. I'm pretty sure I can make a script or something to do it, I just don't know how I would have it act upon seeing a new file created. Also I would prefer it operate in the background without any notifications.
Thanks
EntityPacket said:
I have a Moto X with Republic Wireless 4.2.2 and am wondering how I automate the following...
Anytime I shoot a video or take a picture on the phone I would like to have the phone automatically make a copy of the file to a different (specific) directory on the phone for backup purposes. I would also like to know if I can do this without rooting. I'm pretty sure I can make a script or something to do it, I just don't know how I would have it act upon seeing a new file created. Also I would prefer it operate in the background without any notifications.
Thanks
Click to expand...
Click to collapse
I'm not sure how to do that but you can always backup to google +. It won't share the images unless you ask it to. I've found it quite useful for a phone that only has 16gb of storage.
brian Marshall said:
I'm not sure how to do that but you can always backup to google +. It won't share the images unless you ask it to. I've found it quite useful for a phone that only has 16gb of storage.
Click to expand...
Click to collapse
This. I'm not sure having two copies of an image or video on the same device gives you any real redundancy. However letting them sync with G+ gives you a reliable backup.
Why would you backup the same image or video onto the same device? All you're doing is using more storage, of which is limited.
Thanks guys but I want to do what I said specifically. Nothing more, nothing less. The automated part is optional. I would be fine with having to hit an icon to kick off the process.
EntityPacket said:
Thanks guys but I want to do what I said specifically. Nothing more, nothing less. The automated part is optional. I would be fine with having to hit an icon to kick off the process.
Click to expand...
Click to collapse
you can use rsync to do this. Android doesn't come with it, but you can install it by following instructions here: http://linux.wxs.ro/2011/08/05/rsync-your-android/. There's probably also apps in the play store that provide rsync.
'rsync -a --delete /src/ /dest/' will keep the directory /dest/ in sync with /src/
create a shell script with that in it, and you should be able to schedule it using tasker, or there are apps out there to create icons for shell scripts.
Thanks that's more what I'm looking for. Would that require rooting the phone?
Yeah....I don't get it. 2 sets of the same pics on the same drive is no fail safe at all. If you have a problem where you can't access the regular gallery stored pics, I doubt you'll be accessing the other folder either. Seems pointless?
Are you sure what you want to do is really what your trying to do?
Flashing roms or whatever won't wipe your pics by accident. And if for some strange reason your pics get wiped, chances are your backup pics will get wiped at the same time, since they are both on sd card.
Plus you'll have 2 sets in your gallery. Unless they are put in a backup apps file....which again...will be wiped along with your pics if something happens to your sd card folder.
Makes no sense.
Sent from my XT1058 using Tapatalk
EntityPacket said:
Thanks that's more what I'm looking for. Would that require rooting the phone?
Click to expand...
Click to collapse
The instructions indicate that you should copy it to /system/xbin/ and set the permissions to allow execute access. In order to be able to write to that directory you will need root.
In order to execute the command, you will not need root access. Assuming you're copying to someplace you have write access to.
I haven't tried this, but there's a "busybox non-root app" in the play store that contains rsync. You should be able to install that, and then you'll have access to rsync.
Look at bittorrent sync. You set it up to back up a specific folder or folders on your phone and using torrent technology, you can have it back up to your PC. I use it for exactly this purpose. All my photos of my kids and videos are automatically backed up to an external hard drive.