Annotations (autobackup) - Nook Touch Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SYNCHRONIZE ANNOTATIONS
Synchronise your nook annotations and bookmarks for copy and paste (for example to Evernote)​
Backup /databases in /data/data/com.bn.nook.reader.activities/
Delete /databases in /data/data/com.bn.nook.reader.activities/
Create /databases in /media/my files/
Create symlink by terminal or adb or root explorer
Code:
su ln -s /media/My\ files/databases /data/data/com.bn.nook.reader.activities/
Synch (by dropsynch) folder /databases in /media/my files/

Updated.

Ooh, I suppose this may be useful for synching between Nooks, too? But even if not, simple autobackup is itself awesome, thanks for the tip!

dxcore35 said:
SYNCHRONIZE ANNOTATIONS
Synchronise your nook annotations and bookmarks for copy and paste (for example to Evernote)​
Backup /databases in /data/data/com.bn.nook.reader.activities/
Delete /databases in /data/data/com.bn.nook.reader.activities/
Create /databases in /media/my files/
Create symlink by terminal or adb or root explorer
Code:
su ln -s /media/My\ files/databases /data/data/com.bn.nook.reader.activities/
Synch (by dropsynch) folder /databases in /media/my files/
Click to expand...
Click to collapse
I do not know exactly how to do the commands for steps 1 and 5.
Is 1 just copying the folder files to other folder or is it necessary any special backup command?
For point 5 is there any special command?
Thanks in advance, I'm updating from a NST to a GLOW and it would very interesting to be able to keep bookmarks and annotations.

1. Step 1 is simply copy files where you want (for example in root explorer)
2. Step 5 contain only install dropsync (app) setup patch to /media/My\ files/databases and set your autosynch folder on dropbox
That's all!

The [little] problem with this approach – most of the time you want to do merge, not sync (i.e. overwrite)

How to Copy Step 1
I am stuck on step 1 although I have installed dropsync and created the folder databases in /media/my files. I can't find a copy command in adb shell. Therefore I did an adb pull but noticed that the pull didn't pull over the empty folders "lib", "files" but did pull over databases and shared_prefs folders. Therefore do I need the lib and files folder inside the /media/my files/database folder and if I create them do permissions matter? Or is there an easier way to copy things over. Thanks

dpippin said:
I can't find a copy command in adb shell.
Click to expand...
Click to collapse
You need to install busybox...

Thank you...
Worked great thank you.

dpippin said:
Worked great thank you.
Click to expand...
Click to collapse
You are welcome

Hi dxcore35,
thanks a lot for this, I've been looking for a way to do this for so long...
however, I'm new to the concept of symlink (one in a long list)
so I looked it up and I understand what it does, but I still cant figure out how to create it, do I just connect to my NST via ADB and type the code you provide?
I know this is old but if someone will be so kind as to point me in the right direction I'll write a howto for newbs like me in the general forum (it's already taken me a couple of hours to get this far and I know many people like me are desperate to sync their notes)
Taking 2minutes of your time WILL save me who knows how many hours of googling and messing things up on my nook
so that would be your good action of the day
cheers

An unrelated way to backup the annotations, etc:
Code:
adbsync e:\dbs data/data/com.bn.nook.reader.activities/databases /h
(This uses my adbsync utility.)

Related

Open Cramfs image for JF1.51 CRB43-US using Cygwin

OPEN CRAMFS WITH
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SHELL...
I have finally figured out how to open or make Cramfs images using Cygwin. And it is much more easier to use then my previous thread on How to Theme JF1.51 CRB43-US using Ubuntu. If you don't believe me, take a crack at it. Themers get on your grind. Your going to laugh when you see how easy it is to do. I would have not continued to explore Cygwin option for Cramfs if it wasn't for Binary100 100 and the others that had problems with the Ubuntu way, like bboy_201. I didn't forget about you...
I hope that all of you guy/gals that were having trouble with the Ubuntu way, suceed with this method.
Complete Setup in 7 steps
1)Download and install Cygwin.
2)When you reach the select package menu open Devel.
3)Scroll down to the Cramfs and select 1.1-1 26k.
4)Click next to finish the setup.
5)Right click on the Cygwin icon on your desktop and click on Open file location.
6)Open the home folder. You will see your name there. Make a shortcut of your name and place it on your desktop.
**Everytime you open Cygwin, this will be your default folder**. This is why we placed it on our desktop.
7)Open the shortcut folder and hide the .bash_profile, .bashrc,and .inputrc folders(right click-->properties-->click Hidden). This is so that you have a clean folder to work with. You can rename this folder to help you identify it later.
Your setup is completed!!!
Now what???
Download the Theme template !!!
You MUST use the ORIGINAL files from the framework and app's folders of CRB43-US to prevent problems/foreclosers!!!
To easily open an image, you:
Place the framework.cramfs from the template in your shortcut folder.
Run Cygwin Shell and simply type:
Code:
cramfsck -x framework framework.cramfs
Now look in your shortcut folder, you will see a folder called "open" with all the framework folder files inside.
Now you can edit the framework-res.apk, Xml's, jar,etc...
Making your custom image is just as simple, when your finished modifying ,type:
Code:
mkcramfs framework framework.cramfs
Your new custom cramfs image is in the shortcut folder ready to be placed in the Update.zip
RichieDaze you are the man, now working on Windows Server 2003!
Great tutorial now I can port my theme for more users thanks!
What a wonderful tool you have discovered! Finally I can edit the ROM I want to use.
I prefer to use the "Tmobile" stuff just in case problems arise. Have been using ADP.
Thanks again for the super info and tut!

Dena Theme v1.1 for I9000XXJPK

So i have modified The Dena theme from JPH for JPK
1.You need a rooted JPK
2.download root explorer and install
3.download Dena Themev1.1 and unpack it
4. Copy the unpacked files to your Galaxy s
5:Open root explorer and copy framework-res.apk and twframework-res.apk
from sdcard to system/framework directory
6.copy settings.apk from sdcard to system/app directory
7.Restart your Phone and it work perfectly
Link:
rapidshare.com/files/420925248/Dena_Theme_V1.1_For_I9000XXJPK.zip.html
No Pass
Any pics possible?
here some pics
yfrog.com/1233401109p
yfrog.com/ng74387340p
open this links and there are two pics i cant post it here i am new!!! sorry
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank you very much pharaohdk!!!!!
nice theme..got other link..RS server seems to be busy atm..^_^
nice theme
thanks
hello,
auto rotation in notification bar removed ?
in stock jpk i have wlan bluetooth gps vibration autorotation
Problems with the file copy. I get a no space for copy error.
Yes, idem for me :x
Alexzander said:
Problems with the file copy. I get a no space for copy error.
Click to expand...
Click to collapse
i got the same error also..you will need to remount first..
mount -o remount, rw /system
thats should be okay then..^_^
doesn't work, cause the phone not able to boot after cping the 3 files.
it didn`t work for me either ...
I get a no space for copy error too ...
is it possibile that the one click lag fix could be causing it ?
anyway my phone booted with normal skin ... but got few odd vibrations on startup
EDIT:
Managed to get it working using Android SDK tools. ROOT needed
Connected my phone via usb with the computer ... USB debuging needs to be enabled before connecting the phone.
copy the files included in Dena Themev1.1 to your internal SD card.
1. adb shell
2. su (grant su rights on your phone when asked)
3. mount -o rw,remount /dev/block/mtdblock3 /system
3. rm system/framework/twframework-res.apk
4. rm system/framework/framework-res.apk
5. rm system/app/settings.apk (if no file is found try Settings.apk ... no ide if it matters tho)
6. cp sdcard/twframework-res.apk system/framework
7. cp sdcard/framework-res.apk system/framework
8. cp sdcard/Settings.apk system/app
Then reboot your phone manually.
Worked for me with a few minor bugs tho.
So i suggest you bacup the original *.apk`s
cp: no found
help me
Install busybox.
And a please would not have been too much
Sent from my GT-I9000 using XDA App
that is those buttons and wallpapers wearing? thanks

[Q] Possible to Move Titanium Backup into Rom?

Hi guys i was wondering if its safe to move titanium backup into the rom, like installing it on the internal, then copying the app from the data/app folder to the system/app folder with root explorer? it is an important app so just want some tips if anyone has done it.
Thanks
Yep. Been doing that for quite a while. Better copy the apk file from data/app folder to SD. Afterwards do an uninstall of the app just to properly remove the app components. Then copy the TB apk file you saved on the SD card and paste it on to system/app folder. Don't forget to change the permissions and then reboot.
Make a NAND backup to before doing it as a precaution.
If you are going to flash a new ROM, you can put the apk file on the system/app prior to flashing. No need to update the permissions afterwards.
When you say, change the permissions, what do you mean? and change them to what? when i select the permissions option theres loads of boxes, some ticked and some unticked, therefore which ones do i need to tick and untick? thanks
Just long press on any existing app under system/app folder and select permissions via root explorer. find out what boxes that are checked. you need to set the same permission for Titanium apk.
It should be like this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Root explorer being a paid app, you can set required permissions with Terminal emulator easily:
Anything in /system/app or /data/app should have permissions : rw-r--r-- / 644
So command is :
Code:
chmod 644 /system/app/com.keramidas.Titaniumbackup-1.apk
Check the file name.
This thread is awesome. I have 100 mb free in my system rom, and I'd like to move some apps over to it since I don't have too many options with my CDMA Desire. Thanks!
Okay, maybe I'm missing some final steps here. I've copied the apk files to the SD card, uninstalled the app, changed the permissions, then rebooted. I used Adobe Reader and Google+ since I don't use them often, and wanted to try something that wouldn't matter too much if I goofed it up. Well, the apps just forced closed when I tried to open them after rebooting. So I thought I had to install them (long press on apk file and click install). Well, that defeated the purpose because it installed them to internal memory. So was I supposed to do something else, or did I miss a step? And now I've got some stray files on the internal memories, since that has now shrunk. I was able to "uninstall updates" to Google+ and get rid of most of it, but I don't see where to uninstall them so I can start over.

How can I backup my JB GN via USB

Hi mates, i've been trying to backup (to Windows 7) my JB GN via USB (MTP) unsucesfully, suddenly the backup process just shut itself and when I tried to backup via AirDroid just takes forever.
Is there an app or a way to backup my GN to my PC, the entire /sdcard content, my GN is not rooted.
Thanks in advance.
Enrique.
Piece by piece.
Or:
Code:
adb pull /data/media/ /SDCARD/
This will backup your SDcard to a SDCARD folder on your C:\ drive.
Well, I have installed JDK 7, Android SDK, downloaded tools for USB and set the $PATH env on Control Panel, yet I dont manage to get the 'adb' prompt from windows cmd, is there anything I'm missing or should I do an adiccional steps?
Thanks.
Jubakuba said:
Piece by piece.
Or:
Code:
adb pull /data/media/ /SDCARD/
This will backup your SDcard to a SDCARD folder on your C:\ drive.
Click to expand...
Click to collapse
[SOLVED] How can I backup my JB GN via USB
After installing the afore mentioned software, I closed the previously oppened windows prompt (duh! my fault!), created the folder 'SDCARD' in C: drive, and afterwards I executed the following command from the promt:
Code:
adb pull /storage/sdcard0/ /SDCARD/
Which from Astro File Manager I see its the location of my data; currently as I write I see the backup working.
SpecRek9 said:
Well, I have installed JDK 7, Android SDK, downloaded tools for USB and set the $PATH env on Control Panel, yet I dont manage to get the 'adb' prompt from windows cmd, is there anything I'm missing or should I do an adiccional steps?
Thanks.
Click to expand...
Click to collapse
Well, after proceeding as mentioned above I now check the sizes of my backup and of the sdcard0 partition at my GN and they are almost 1.4GB different, what does this mean? It's because of the 'formatting' space reduced (not sure if my english can explain what I meant) or what can it be?
Thanks all for your replies.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Windows][ADB] Easy way to backup & restore your apps

You need adb to run these files !
Download Android SDK , adb is one of its components.
Also you will need to have USB Debugging enabled on your phone and adb drivers instaled on PC.
( Many of you may already know that you can backup your applications in a nexus device through cmd commands. )
Feature is included in all roms and with one command you backup or restore all your apps.
Although it is easy i got tired of checking/writing the command everytime i need it.
So i made 2 ".bat" files to make my life easier.
It's a Windows executable file which runs the command with one click.
Just put the bat files in your user folder ( cmd default folder ) and double-click to backup/restore ur apps.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
denpeirazei said:
Most of you already know that you can backup your applications in a nexus device through cmd.
Feature is included in all roms and with one command you backup or restore all your apps.
Although it is easy i got tired of checking/writing the command everytime i need it.
So i made 2 ".bat" files to make my life easier.
It's a Windows executable file which runs the command with one click.
Just put the bat files in your user folder ( cmd default folder ) and double-click to backup/restore ur apps.
Click to expand...
Click to collapse
Cool man.. and thanked you.
You made my ass more laaaazzzzyyyy..
Also can u please make it work on Win7 versions. :good:
you can also use airdroid with usb tether or wifi, and snappea
Rohit02 said:
Cool man.. and thanked you.
You made my ass more laaaazzzzyyyy..
Also can u please make it work on Win7 versions. :good:
Click to expand...
Click to collapse
It works in any windows version.
I usually add the -shared flag as well to b/u sd card contents.
ADB b/u is a great tool indeed.
thanks for this man...
BTW I made this simple batch file to install apk from windows pc using the command :
Code:
adb install <name of apk>
just drag and drop the apk on this install.bat file... make sure that install.apk is in the same folder as that of adb..
this might make your life even more easier..

Categories

Resources