LineageOS 17.1 camera and saving photos to SD - Galaxy S 4 Q&A, Help & Troubleshooting

Hi everyone,
I have a glorious 2014 Galaxy S4 GT-I9505 and love it so much that I recently gave it a new lease on life by installing LineageOS 17.1.
I'm having trouble trying to save photos to me SD card. Here's what I did.
1. First I tried using the SD card as Adopted Storage, but I found out that everytime I rebooted the phone the SD card would become corrupted. After reading of similar experiences by other users I dismissed Adopted Storage as not stable enough.
2. Formatted the SD as External, found out that the Camera app bundled with LineageOS 17.1 can't write to SD, so I installed Open Camera. Open Camera works great and can save photos to the SD card, but when I open the last picture taken by tapping the thumbnail I cannot swipe back to the previous photos, I can view only the last one, so I'm forced to exit the camera app and open the gallery app to review/delete photos. I also installed other gallery apps like Simple Gallery and Camera Roll and associated them with pictures, making sure that Open Camera would use those apps to show the last photo, but even so there's no way to swipe back to previous photos. What is odd is that all the gallery apps that I tried allow me to swipe between photos when opened outside the Camera app. It's only inside the camera app that I can't swipe.
Another problem, I don't know if related or not, is that gallery apps won't read EXIF data from images stored on the SD card. They can read the image content but not the EXIF data... how can that be?!? It's all in the same file! This is quite puzzling and utterly frustrating.
Is there a way to get camera and gallery apps to operate as expected on LineageOS 17.1?
Thanks,
Bitman7

I found a very good solution: the fbind module for Magisk. It's exactly what I needed because it allows (among other things) to mount a DCIM folder on the SD card to the internal DCIM folder. This module should be advertised more, it's a godsend and I almost gave up before finally finding it.

Bitman7 said:
I found a very good solution: the fbind module for Magisk. It's exactly what I needed because it allows (among other things) to mount a DCIM folder on the SD card to the internal DCIM folder. This module should be advertised more, it's a godsend and I almost gave up before finally finding it.
Click to expand...
Click to collapse
On my side also I encountered a few issues with camera and gallery bundled apps within LineageOS 17.1, thus after I felt upon your posts, I installed Magisk and fBind module on my J5 in order to be able to create symlinks ; However, after hours of reading about Magisk or fBind here and there, I basically have still no clue about how to use any part of it...
I mean, everything is setup and I get I have to use commands such as these ones to redirect OS attempts to read/write files :
"from_to Pictures .fbind/Pictures
from_to WhatsApp .fbind/WhatsApp"
...But where ? In a "terminal" console ? But which one ? Nowhere noone is explaining it, as if it were obvious (!)
I have ADB installed and working on my windows computer, but it does not interact with Magisk or its modules when I plug USB... Do I have to trigger recovery mode and use "ADB shell" in TWRP ? Will then these fBind commands be available ? Will they work only for the further reboot ? Or maybe do I need an app offering a linux terminal running on the phone ?
Do I need to write these commands somewhere so they will be executed in a .txt file at each boot ?
Is it a linux formatted .sh file as some other stuff related to Magisk ? Where does this file must be placed ?
I mean, everywhere people are talking (well, writing) about that, they mention stuff such as "data/data/adb/", or any other directories I can't find anywhere within my own internal or added SD cards...
I used to be a "self-made" (profesional) developper, I coded in Java, Lingo, Lua, Python, PHP, etc... and a (profesional) 3D modeler... But I never felt as much lost as I am just right now with that stuff after hours of searching to get the basical how-to. It's like all people using this stuff was aware of the how-to even before it was released (?)
Please, would you consider give me (and possible other readers coming here) just a few hints on how to start, once Magisk and fBind are installed ? Let's say I want Pictures and Whatsapp redirected to SD card with fBind, what must I exactly do ? Thank you very much for your reading, I hope you'll get a few minutes to help !
If not, I guess I will end up in trying something like the App2SD app, however, I'd rather feel less dumb and understand better how Magisk works

Vivec said:
Please, would you consider give me (and possible other readers coming here) just a few hints on how to start, once Magisk and fBind are installed ?
Click to expand...
Click to collapse
Hi,
just type "fbind" from an elevated terminal to call up the wizard (i.e. su<ENTER> fbind<ENTER>). You'll be presented a menu, from my notes you should choose "m) Media to external" and follow the instructions (it will ask you for paths to folders that you want moved to your SD card, such as DCIM/Camera). The contents of the internal storage folders will be automatically moved to the bound folders on the SD card (e.g. DCIM from the internal storage will be copied to .fbind/DCIM on the SD card). Thanks to binding, the same contents will still be visible in both folders.
The wizard works by creating and editing a "/data/adb/vr25/fbind-data/config.txt" file which you can also edit manually if you are feeling adventurous.
Hope this helps,
Bitman.

Thanks a lot for your answer(s), however, I still don't know at all which terminal you're talking about ? ... Also, I have no access to any "/data/adb/vr25/fbind-data/" directory, at least with windows with USB. What am I missing, please ?

Vivec said:
Thanks a lot for your answer(s), however, I still don't know at all which terminal you're talking about ? ... Also, I have no access to any "/data/adb/vr25/fbind-data/" directory, at least with windows with USB. What am I missing, please ?
Click to expand...
Click to collapse
You can use any terminal emulator app (I'm using Terminal Emulator but there are literally thousands - chances are you have one pre-installed). If you're familiar with Linux, it's just the same as a Linux command prompt terminal. If you are familiar with Windows, it's similar to a command prompt window where you type commands.
The /data directory is not accessible from Windows via USB, at least not normally (you only have access to a subset of the root directory); you'll need root access. There may be Windows apps for root access to Android devices out there, but I never used any. I use X-plore File Manager on my phone.
-- Bitman

Allright, thank you so much ! Sorry for such a noob question but I just never tried to use linux on my phone before... I also get better now why adding SU for an app, such as for an explorer might be useful. I still have to find out a few things but you just saved my day... And maybe more

Related

Non-root users How to move apps to sd

Hey this took me a few hours but its relatively simple. you'll need a little knowledge of DOS or maybe i'll just spell out everything for the noobs being that i'm one. IF YOU HAVE MANUALLY INSTALLED FROYO AND THE OPTION TO MOVE APPS TO SD IS STILL GREYED AND CAN'T BE SELECTED JUST DO THIS.(i'm running windows vista)
1. download and install the android sdk (unzip folder on desktop for easy access)
2. go to my computer then click on C:\ create a new folder here called android
3. go back to the sdk folder on the desktop then open it and go to tools
4. copy the contents of the tools folder to the android folder u just created
5. connect your phone in debug mode if u don't know how to do this go to settings then applications then developement then enable the usb debugging.
6. after doing that you should be prompted to install the drivers 3 will install automatically and one will fail once that one fails select "I DON'T HAVE DISC" then browse for drivers go back to the desktop where u have the android-sdk-windows folder, then go to the usb drivers folder and press ok the adb utility driver should now install. you will also be prompted to reboot the computer in order to access it do so.
7. once rebooted connect ur phone in debug mode again. it should connect smoothly. Now open up a command prompt.
8. From here you'll need to set the path to the android folder to get access to the adb commands do this by typing "path=c:\android" to test it just type adb and you should see all sorts of crap comming up in dos if that happens ur golden.
9. Now all u do is type adb shell you should now see this sign "$" if that happens ur golden now just give the command "pm setInstallLocation 2"
10. you should see the message pm setInstallLocation 2 after which the dollar sign will appear again.
11. exit then reboot you phone and UR GOOOOOD
7
Has anyone else tried this? I assumed that the apps had to support copying to SD in order to work, but Last.FM and a few other apps I have updated to 2.2 support today, and yet I still can't copy them to SD.
xSiraris said:
Has anyone else tried this? I assumed that the apps had to support copying to SD in order to work, but Last.FM and a few other apps I have updated to 2.2 support today, and yet I still can't copy them to SD.
Click to expand...
Click to collapse
i updated to froyo last night and i have been trying to move the apps to sd but it was all greyed and couldn't be selected. i finally figured it out about an hour and a half ago after reading up on adb and stuff i decided to give it a test run cuz what ppl were saying about the apps didn't make any sense. so i tried that and VOILA worked like a charm let me know if it works for u. it did just fine for me
Apps to SD works fine with stock Froyo. The developer just has to support it. One app that does support it that I have found so far is "Armadillo Roll".
After you install, go to manage applications and you will see that the "move to SD" is not grayed out and you can in fact move it over with stock froyo.
thats a way around it man screw the developers
lordvikon said:
thats a way around it man screw the developers
Click to expand...
Click to collapse
have you rebooted your phone yet?
Well, this has been discussed in a couple of threads before, and yeah, it's a working workaround...
pm is the the package manager application which install apks.
installLocation is a parameter which has 3 values...
0 - auto (phone or app decides where to install)
1 - force internal (forces apps to install in the internal memory)
2 - force external (forces apps to install on the sd card)
So, in short, in adb shell or a terminal enumlator, if you type
> pm setInstallLocation 2
all apps will be forcefully installed on the sd card, and you can move them to the phone.
But be careful, if you install widgets and some other aps which run as background processes, they will be killed if you mount ur sd card.
Also, if you have an apk file, u can force install that to the sd card via the adb install command without performing any of the above steps.
> adb install -s AppName.apk
-s forces the app to be installed on the sd card, without that flag, the phone or app will decide where to the app will be installed...
craigacgomez said:
Well, this has been discussed in a couple of threads before, and yeah, it's a working workaround...
pm is the the package manager application which install apks.
installLocation is a parameter which has 3 values...
0 - auto (phone or app decides where to install)
1 - force internal (forces apps to install in the internal memory)
2 - force external (forces apps to install on the sd card)
So, in short, in adb shell or a terminal enumlator, if you type
> pm setInstallLocation 2
all apps will be forcefully installed on the sd card, and you can move them to the phone.
But be careful, if you install widgets and some other aps which run as background processes, they will be killed if you mount ur sd card.
Also, if you have an apk file, u can force install that to the sd card via the adb install command without performing any of the above steps.
> adb install -s AppName.apk
-s forces the app to be installed on the sd card, without that flag, the phone or app will decide where to the app will be installed...
Click to expand...
Click to collapse
so far so good! Thanks for the tip!
Used with adb but I understand you to mean this command will work using terminal emulator app? this would be an easy way to control which apps go to the sd card.
Thanks again for the original post and the clarification. I do love Android and Froyo is rockin' more every day!
help
I downloaded a terminal app and typed
pm setInstallLocation 2
And the dialog gives me an explanation of what the 0 1 2 is and dosen't move the apps. What am I doing wrong?
Ah, this actually works. You have no idea how it feels to move those space hungry navigation apps to the sd card. Perfect!
Thanks!
Awesome! It works, now I can install more games that take up way too much space
Thanks!!
How did you guys do it, I tried with a terminal on the phone but no dice. Did I do something wrong?
glwinkler said:
How did you guys do it, I tried with a terminal on the phone but no dice. Did I do something wrong?
Click to expand...
Click to collapse
Erm, I just followed instructions. I'm on unrooted N1 with Froyo.
Remember to reboot your phone for it to take effect. As Froyo categorizes apps in the application manager, you can tell which apps are installed on sdcard straightaway.
Only downside is once this takes effect, all future apps that you install will immediately be installed to your sdcard. May screw up apps that have background tasks or widgets.
lordvikon said:
thats a way around it man screw the developers
Click to expand...
Click to collapse
disgusting comment.
Without the developers you would have nothing. NOTHING.
Don't do this, you're gonna end up with malfunction applications and then you're gonna get pissed at the developers for your own stupidity.
As i have written on my blog, you need to be aware of a few things:
"Don’t move apps that require a background service running all the time. Things like twitter, widgets, streaming apps (internet radio) and IM apps (you need the notifications even if you use the SD card for something else) should stay on the internal storage because they will break when you’ll use your sd card as a mass storage on your PC.
All the apps you’re going to install from now on will default to the SD card. In case you know for sure that the app uses a background service we advise moving it to the phone’s internal storage."
What you can do is to enable this trick, move all the apps you want to the sd card and reverse the trick so all your future apps will default to whatever setting they have.
lordvikon said:
Hey this took me a few hours but its relatively simple. you'll need a little knowledge of DOS or maybe i'll just spell out everything for the noobs being that i'm one. IF YOU HAVE MANUALLY INSTALLED FROYO AND THE OPTION TO MOVE APPS TO SD IS STILL GREYED AND CAN'T BE SELECTED JUST DO THIS.(i'm running windows vista)
1. download and install the android sdk (unzip folder on desktop for easy access)
2. go to my computer then click on C:\ create a new folder here called android
3. go back to the sdk folder on the desktop then open it and go to tools
4. copy the contents of the tools folder to the android folder u just created
5. connect your phone in debug mode if u don't know how to do this go to settings then applications then developement then enable the usb debugging.
6. after doing that you should be prompted to install the drivers
7
Click to expand...
Click to collapse
Done step 1-5 and when i connect phone i dont get prompt to install drivers???
Please help
This worked like a charm, just gotta remember it when I install new apps (or revert it)
glwinkler said:
How did you guys do it, I tried with a terminal on the phone but no dice. Did I do something wrong?
Click to expand...
Click to collapse
If you want done from terminal, you need root(su). or use ADB save you from trouble.
The only issue with this method is market lost most of downloaded apps link after reboot the phone. Untill you install or upgrade any apps, then the link will refresh.
Use AppBrain check for any update first, then only need install one update. Go back to stock market, everything come back.
BTW: leave phone idle for 1 min after start the phone, otherwise some apps(home screen or app draw) will show default Icon. Phone need time to refresh the apps from SD.Hope next android release can mount SD before phone try to search for Apps(Like the APP2SD on root).

No write permission on pushed+ overwritten sdcard directories?

So I have something pretty strange going on.
I had a replacement device sent to me, and I decided to wholesale transfer the contents of the original device's sdcard to the new N7.
I adb pulled and then pushed the entire /sdcard/ over to the brand new device, which I did in recovery directly after rooting. I only installed the OTA first.
Now however, the pushed folders have incorrect permissions, and I can't find anyway to modify their contents. That means I can't delete, no files will go to the Download folder, all that stuff. The only work-around I have found is I can rename those folders,e.g. Download -> Download_old, thereby getting Chrome and Dropbox to now use a new Download folder with write permission, allowing them to work.
But I pushed over 7 gigs of stuff, and now it is permanent, which isn't really an option. When I finish those books, I want to delete them. When I am done with GTA3, I would like those files gone, and so forth.
Attempts to fix permissions, mount through ADB shell, those things haven't worked. When I open a shell and attempt to change permissions with chmod, the command goes through but the permissions do not change. This has been attempted as root. The files aren't corrupted, at least not in the sense that I can play games with the game files, read the .pdf's and so forth.
Any advice? I guess I could reflash the stock image, but I would rather not go through getting those files on again, especially if the only way to have managable permissions is to not overwrite, but to push each folder's contents individually. I of course will do this if no one has any thoughts, but I figured it could benefit others to commit this to posterity.
I have actually found a couple people with this problem, but after recieving advice similar to the steps I outline above, they disappear with no solution i could find.
Any ideas?
Update: Well, it has been 8-9 hours, and this post is already pushed to the bottom of page 3 in the forum queue, with 17 views. Gotta love these outreach devices. 8 milliom people asking questions and nobody answering them, lol.
Well, I am just going to reflash the stock image instead of giving this an artificial bump and waiting longer. You would be suprised how many things don't work without write to sd privileges, especially on a device with no emmc or removable storage. I have been playing with it for awhile, but like I said, I can't even remove files after su, so you know that something is serious. When superuser rights fail, you're in trouble.
For those imaginary future researchers, sorry no non-destructive solutions here. But if you want to send me a fellowship, I can share screenshots of the carnage.
i have exactly the same problem.
flashed new rom and wiped the device.
wanted to restore all my pictures and files.
restore went well...but could not write to the folders or delete them.
rename was the only possible thing. did not find a solution either. just hat to wipe.
won't push anything on the device via adb.
next time i'll do it the simple GUI way!

[USER Tips] HD/HD+ Stock Root User Tips from LeapinLar

When I originally bought the Nook HD+, I made several futile attempts to get ADB working so I could sideload apps to it. I was so frustrated that I was ready to give up and return it. But I finally got it going and with the help of a few smart users here was able to get it rooted and installing apps directly on the device. So, to save some other users the same frustration I had, I thought I would outline what I did to make this device hum.
Update 12/27/2012: A lot has changed since I first created this tips thread. I am updating it to the latest information. Most of the steps below are not necessary anymore since I now have a new thread here which lets you do these things easily with a special version of ClockworkMod (CWM) recovery for the HD and HDplus. And the text here has been modified to reflect that and include the HD.
Update 11/02/2013: Since B&N has included the gapps and Play Store in version 2.1.0 and above and since verygreen developed the new boot.img that removes B&N /system file protection scheme and I updated my HD/HD+ CWM thread to account for those changes, I decided to give this thread an update. I have added comments to the sections in italics below where necessary
If you have questions or comments on this post, reply to this thread. Please do not send me private messages or emails. By posting in the forums others get a chance to help you and if I answer your question in the forum, others can see my response and it may help them too.
1. Setting up ADB
ADB is very useful for many things but you do NOT need ADB to root anymore. Look at my thread referenced above to use CWM to root.
Also, rather than use ADB via USB, it is much easier to use a Wireless ADB app available in the Play Store.
If you want to know how to set up ADB with USB, click on the "show content" button below.
The first thing you need to do is get ADB working on your PC so that it can connect with the HD+. The instructions to do that is on B&N's own site here. (But you really don't have to do all that, see below). To make it easier for XDA users, I have attached to this post the drivers downloaded from B&N site. Download and unzip that file to your PC.
To install the drivers, do the following (I tested this on Windows XP and Windows 7):
1. On your HD+ go to settings, device information, developer options, and make sure check "Enable ADB" is not checked.
2. Plug in the device to the PC with the USB cable. MTP should install.
3. Unplug the device, go to settings again and check 'Enable ADB'. Plug back in.
4. New devices will try to install. When they do, work your way through the options until you get to the choice "include this location in search" (the terminology is a little different in Win7) and browse to the location you unzipped the driver files above. Continue and the driver should install. In Windows 7 just one device will pop up. On Windows XP, two may. (Edit: If you are having trouble with this step, go to the B&N link I have above and read and follow section 4.6 of that guide. You can skip section 4.6.2 since you unzipped those drivers earlier. But do all of the remaining steps in section 4.6).
5. An "Android Composite ADB Interface" will install. If the computer says it needs to reboot to finish. Do it.
6. If, when it starts back up, and after installing ADB below, it does not work, you may need to go the Device Manager and look to see if "Android Composite ADB Interface" device has a yellow exclamation point by it. If it does, update the driver with the B&N driver again.
7. Create a file named adb_usb.ini and put 0x2080 in it with no line feed or carriage return. Go to \documents and settings\ and open your users folder and create a folder named .android and put that file in it.
8. I have attached a file named adb.rar below. Just unrar the adb.rar file. There will be three files there that you can put in a directory (any name you want).
9. Open a command prompt and cd to wherever you copied those adb files. If you set your path to that directory, you can have the prompt set for any directory, like where your apks are stored. Type 'adb devices'. It should go through some commands ending with a list of devices connected. The serial number of your HD+ should be listed. You can now run ADB commands.
2. Sideloading Apps
Once Unknown Sources is activated by my CWM zip above, you do not really need to install apps this way anymore.
Once you have ADB connected to your HD/HD+, it is very easy to sideload install apps. Just have your command prompt set to the location that you have your apk's stored and type "adb install xxx.apk", where xxx.apk is the name of your app. It is best to name the apk to something simple with no underlines or special characters in the name. It does not matter what you name it, the real name is inside the apk. The app should install. I would start with a launcher app since sideloaded apps cannot be seen in the stock launcher. Then I would install AnyCut which I have attached to this post. This app allows you to put the Home command on your launcher's home screen so that after you make your launcher default, you can get back to the B&N home page. There is a trick mentioned in the B&N guide referenced above that lets the stock app drawer see your sideloaded apps. On the Apps screen, hold the volume up button while you press the "Apps" word at the top of the screen for 2-3 seconds. An "Extras" screen will pop up showing all of the sideloaded apps. You have to do this every time you want to see it.
3. Rooting the HD/HD+
Rooting is now very easy using CWM in the referenced thread above. If you want to use the older manual method, click on the "show content" button below. But be warned these older methods no longer work on version 2.0.5 or newer.
Verygreen came up with the original scheme to root the HD+. But it had a problem. The HD+ checks on boot to see if /system has changed, and if it has, it will not boot. It tries this 8 times and on the last time the "8 failed boot" procedure kicks in and your device is wiped clean (including your storage space) and the factory ROM is re-installed. He later modified it to survive a reboot. Someone0 developed another scheme where he can root without modifying /system directly. So the next time it boots, it boots normally. See his thread here.
ONCE YOU HAVE ROOT, DO NOTHING THAT MODIFIES /SYSTEM OR IT WILL NOT BOOT AND END UP RESETING ITSELF. Also do not install anything that installs to /system, like busybox, AdFree and a few other apps. Ignore this warning with Universal Root rev3 or higher.
4. Setting OTA (Over the Air) Updates from B&N to Manual
When you first register the HD/HD+ it will automatically update itself to the latest version. To protect yourself against further updates that might jeopardize your ability to root or add other mods, you should try to block further automatic updates. But it seems that making this mod is no longer effective, B&N updates anyway.
Again, I have a CWM zip that will do this for you in the referenced thread above. If you want to see how to do it manually, click on the "show content" button below.
EDIT: (2/22/13) I have a new way to block OTA that seems to work so far. Another user (thanks greenya!) discovered this and I have come up with a way to implement it. I use the app AdAway to put my own black list of sites to not allow access to. If you want to try this, you must be rooted. Get AdAway either on the 1mobile.com market or at its developer's site (http://code.google.com/p/ad-away/). Before you do anything go to its preferences and change the target hosts file to /data/data/hosts. That way it will not reset the device. Then go to "Your Lists". Add this site to the black list: su.barnesandnoble.com. Then go to the main menu and select "Download files and apply ad blocking". It will ask you if you want to add a symlink, say yes. (If you installed the new boot.img from verygreen or flashed my latest version of Universal Root (rev3 or higher), you do not need to worry about adaway resetting your device. Just install it normally.)
It does not seem to block any B&N shopping or downloading apps or books. I installed this on my 2.0.5 and purposely tried to update and it says it needs the update but pushing download does nothing. Then I unblocked it and pushed download and it started to download immediately. So it does work.
Basically the same method used on the Nook Color and Nook Tablet should work on the HD+. It requires that you edit a database file and that requires root access. I use the paid Speed Software's SQLite Editor. You need to use the latest version (2.0.1). I could not get my older version to get root access.
So here is a description on how to do it with SQLite Editor. Open the app and it should get granted superuser access. Then browse with it to /data/data/com.bn.devicemanager/databases. There should be a file there named "devicemanager.db". Open that with SQLite Editor. There should be a list down the left side, one being "registry". Click on that. A table opens up that looks like a spread sheet. On line 6 is com.bn.device.fota.mode. Scroll across till you see the value column. It should say auto. Edit that to manual. Save the database and you are done.
This worked on the other Nooks, so should work here. See the post below for another automatic method.
5. Setting Up Installing from Unknown Sources
I also have a CWM zip that will do this for you in the referenced thread above. If you want to see how to do it manually, click on the "show content" button below.
You can toggle the unknown sources using the same method as I used for blocking OTA. Just look for the database in /data/data/com.android.providers.settings/databases. The database is settings.db. Open secure and line 4 - install_non_market_apps and change the value to 1.
6. Setting up Google Play Store and Google Apps
I also have a CWM zip that will do this for you in the referenced thread above. If you want to see how to do it manually, click on the "show content" button below. If you have stock version 2.1.0 or higher you do not need to flash my zip. Play store is included in the ROM.
Someone0 has a post on how to add Google Play Store is here. And he now has it so you can install the entire Gapps package, including Play Store. Again, you must be rooted first.
7. Setting LCD Density
If you are like me, you hate the tiny fonts on these high resolution devices. You can change the default lcd density to help with that. The default lcd density for the HD/HD+ is 240. I changed it to 300 and everything works fine on the HD+ and fonts are a little larger. But you cannot modify build.prop on /system to do that. It will cause the device to reset itself since you are modifying /system. To get around that, create a file in /data named local.prop. Add the following line to that text file:
qemu.sf.lcd_density=300
Then reboot and your new density is set. You need to be rooted to do this on the device.
I found that changing the density on the HD made the SystemUI app crash. If you want larger fonts for the HD, I recommend you use the tip in the next section.
8. Larger System Fonts
If you don't want to set your LCD density higher but you still want larger fonts, a user (Windsor1959) just passed on this tip. Go to the B&N app store and install the free app Go Read. Once that is installed, open it and use the menu to go to accessibility settings. There is an option for larger system fonts. It works great. Thanks Windsor1959.
I also just discovered that there is another hidden setting that lets you set the system fonts from small, normal, large and huge. To get to these settings you need a third party launcher like zeam or adw and the AnyCut app I attached below. On the launcher screen long press and select shortcut. Select AnyCut from the list. Within AnyCut select activity and scroll down to fonts. Select that and a fonts shortcut will appear on the launcher screen. Open that and you can select the font size.
9. Data structures on the HD/HD+
For those of you used to having two separate partitions for data and media files, B&N has used a different scheme for the HD/HD+. They make one very large /data partition ranging from 5GB to 28GB depending on which device you have. Then they create a folder in /data (/data/media) and, using the sdcard fuse feature, link it permanently to /sdcard. So that means it is one big dynamic space for both /data and /sdcard, sharing the free space. /data is considered root and /sdcard is not.
They named it /sdcard because a lot of third party apps expect there to be an sdcard on the system and won't run unless there is one. That creates a little bit of a terminology problem for us Nook Color users. We are used to having /sdcard be an external SD. And on top of that, if we do add an external SD, it is mounted as /ext_sdcard under /mnt and that is hard for some apps to see. And when you connect your device to your PC with MTP, internal media (sdcard) is called 'internal memory' and the SD (ext_sdcard) is called 'SD card'. I think B&N did this with the expectation that users would not be rooted and be able to see that stuff under the hood.
Since sdcard is really just a part of /data, it is formatted as ext4 instead of FAT32 like the Nook Color media partition was. That means you can store a single file larger than 4GB, which is the limit for FAT32. Most external SD cards are formatted FAT32 so they are also limited to a single file size of 4GB. But it makes them directly readable by your Windows based PC. When you first put a new external SD in the HD/HD+, it asks you if you want to reformat it so you can more easily store your media files. If you say yes, it will format it to ExFAT, a new flash drive format that supports larger file sizes. That's good for your media files since you can have very large files on it. But it could be bad if you want to take the card out and put it in your Windows XP PC because XP cannot read it without an update patch from Microsoft. If you have Vista or higher, ExFAT can be read natively.
When you do a factory reset (clear /data) your media directory (/sdcard) is wiped out too.
Also, the B&N media, books, magazines, etc., are stored in /data/nookmedia, which is root.
10. White on White Text for Some Apps
One of the annoying issues with using some third party apps is the HD/HD+ displays some dialogue boxes with white text on a white background so that the text is unreadable. Someone0 and I developed a patch that can repair this. I have a zip in my CWM thread referenced above to repair the HD+ and HD. (Also since stock version 2.1.0, B&N has dramatically changed the color scheme so that the white-on-white issue is no longer the problem it used to be, I have discontinued providing white-on-white mods for version 2.1.0 and above.) If you want to see how to do it manually, click on the "show content" button below.
Someone0 and I have been working on this and have found a solution. It requires a modification to the framework-res.apk on /system. And the mod works very well. The problem is that the apk is on /system and must be symlinked using our symlink trick we use on /system files when we need to modify them. That is easy to do, but this particular apk is very critical to your system. If you do not get it installed properly, it will lock up the device and you either need to reset it completely or repair with ADB.
If you are tech savvy enough you could modify your own apk and install it. In the colors.xml file in the values section of the de-compiled apk, are two settings that need to be changed, "background_light" and "background_holo_light" need to be changed to "ffcfcfcf". The color choice was a compromise between making the text dark enough to be seen against a white background and bright enough to make things like menus show in the grey backgrounds. Re-compile and put the apk in /data, delete the apk in /system and symlink to the one in /data. The problem with doing it manually while running is as soon as you delete the apk, things go bonkers. And you cannot add the new symlink until the original apk is deleted. If you start messing with this mod, be sure to have ADB enabled so if it locks up and gets stuck on booting, you can access things with ADB and hopefully repair it. When I did my system manually, I copied the modded apk to /data with root explorer, used root explorer to set /system to read/write, then used ADB to delete the apk in /system and create the symlink. If you mess up, it will boot, but get stuck at the 99% level. Hopefully if you left ADB enabled, you can use ADB to repair whatever is wrong.
11. Implementing Userinit.d
Userinit.d can be used to run specialized scripts as part of the boot process. The HD/HD+ does not implement userinit.d, but it can be modified to allow it. And these scripts can be used to customize the performance of the device, like modify fonts, change colors, add symbolic links, modify drives, set CPU speeds and tweaks, etc.
I have implemented userinit.d in the new Universal Root zip in my referenced CWM thread above. (The latest version no longer uses it).
The scripts are usually named with numbers at the beginning and no extension. Examples would be the scripts from CM7 init.d which are: 00banner, 01sysctl, 03firstboot, 05mountsd and others. They are executed in the order of the numbers. They are plain text files that have as the first line:
#!/system/bin/sh
Then they have script commands in text format.
The beauty of these scripts on the HD/HD+ is you put them in /data instead of /system which would reset your device. Put the script files in a new folder named /data/local/userinit.d. Set the script file permissions to execute.
There are examples of userinit.d scripts out there if you search for init.d scripts on XDA or the web. Some will work on the HD/HD+ and some won't. I have a great example in the next section.
12. Swapping "sdcard" and "ext_sdcard"
I now also have this modification as a flashable zip in my CWM thread linked above. No need for root with that one.
As explained in section 9 above, the internal media is named "sdcard" so that apps can store their files there. Some users would like them stored on their external SD. I have a userinit script that will swap "sdcard" and "ext_sdcard" so that apps will store their files on the external SD. The external SD will show as "sdcard" and the internal media will show as "ext_sdcard". And it shows swapped using MTP also. It can be a little confusing since we cannot control the names, but they are swapped. If you don't have an external SD plugged in, both sdcard and ext_sdcard will show the internal media.
To swap the drives, make sure userint.d is implemented, then download the attached file, 11SDswap.rar, and extract it and put the file in /data/local/userinit.d. Set the permissions of the file to execute in all three boxes. On the next reboot, they will be swapped. To return to normal, just remove the file and reboot.
13. Skipping OOBE (Out of Box Experience)
Skipping OOBE is when you want to skip the registration step when you first start your device or after a reset. Not registering means that you will not be able to buy books or apps from B&N or, if you already have an account, have access to already purchased items. Your name will show as TEST (which can't be changed). And, if you set up wifi, the device will still check for updates and if found, update.
So if you don't want to register, or that device is already registered to someone else and you can't, just skip OOBE. There are instructions for the Nook Color here. They still work for the HD/HD+.
14. Back Up Your Stock ROM Installation with CWM v6.0.2.8 for Nook HDplus and v6.0.2.7 for the HD
Now you can backup your stock installation with my bootable CWM (ClockworkMod) recovery SDs. That way you can restore if you make a mistake and change /system so the device starts to reset itself. Just catch it before the reset completes, insert the card and restore and you will be back to OK.
You can do anything with these CWM SDs you normally would do with CWM, (nandroid backup, wipe system, data, cache, dalvik-cache, fix permissions, etc).
One of the nice features is you can wipe /data without it wiping your internal media at /data/media. So, if you want to reset, just wipe /data and your media files are still left intact. And when you do a nandroid backup, it can be placed either on internal media or your external card. The nandroid backup feature backs up /boot, /system, /cache and /data (without the media folder). So if you want the media folder backed up you must do it manually from within stock. And when you restore, you can selectively restore any partition. So if you mess up /system by putting something there that causes a reset, just selectively restore /system.
EDIT (5/22/13) - There is a new procedure brought to my attention by another user (thanks fanoush) which lets you make the CWM SD without burning the image. It seems the OMAP4 devices are a little more liberal on the booting requirements than previous OMAP devices. This makes it easier to install on any size SD. Go to my HD/HD+ CWM thread linked in my signature and look at item 1a. There are instructions and files there.
The versions attached below are under 120 MB so they can be put on any size SD. It burns very quickly. But there is no room there for any backups. After burning the SD you can use partitioning software (like Mini-Tool Partition Wizard or EaseUS Partition Manager, both free) to expand it to the full size of your SD card if you want so there would be plenty of room for backups. But be sure to only expand the back end of the partition, being careful not to touch the beginning.
I also now have a 4GB versions for both the HD and HDplus attached to the CWM thread referenced above.
To make the SD, download the version for your device and extract the file. It should be a 120MB .img file. Burn (write) that image file to your SD card using Win32diskimager in Windows. In Linux or OSX (Mac) use the "dd" command.
To use Win32DiskImager, find it on the web (here, it's free) and install it on your Windows PC. Open it (be sure to run it as administrator) and select the drive (device) that has your card reader with your SD inserted. Then in the image file box put the location where you have the extracted img file. Then when everything is set right, click on the write button. A warning will pop up asking if you want to proceed. When you have verified that you are going to write to the correct device, click on Yes. (One user overwrote their external USB hard drive by not verifying first). With the small version it should burn fairly rapidly. If you get an error message about access denied, it means you are looking at the drive with Windows Explorer. Close Windows Explorer and try again. In fact, it is a good idea to close all unnecessary windows when burning, even your browser.
Insert the SD into your powered off Nook HD/HD+ and power on. It should boot to CWM with the label v6.0.2.8 for HD+ stock. The HD version just says v6.0.2.7 for Stock. You can tell it is booting properly if the cyanoboot logo shows up after the Nook logo shows for a few seconds. If the Nook logo stays there and starts changing, it means it is booting to stock. Hard power off by holding the power button for several seconds. Try again.
Manipulate the controls with volume up/down for cursor, n key to activate and power key for back.
15. Modifying System Files on the HD/HD+
Ordinarily you cannot modify system files on these devices because they will detect the change and reset themselves back to factory stock, wiping out all your data at the same time. But there is a safe way to do it if you are rooted.
If you have installed my new Universal Root rev3 or higher or installed verygreen's boot.img, the below procedure is no longer necessary, just modify the files directly.
The HD/HD+ has a manifest file included in the boot files that has a listing of each file that is supposed to be in /system and a checksum of each file. On boot, it reads the files in /system and makes sure each file that is there is on the list and matches the checksum. It ignores directories, symlinks and missing files. If one is added or has the wrong checksum, it stops and tries to boot again. If it reboots 8 times in a row without completing the boot, the automatic reset feature kicks in and your device is formatted and the factory ROM is reinstalled.
So you can see that missing files are OK and symlinks are OK. So if you want to modify a system file, first copy it to /data somewhere, delete the original, and make a symlink in /system to replace the deleted file. The symlink points to the file copied to /data. But be careful, some files, like framework-res.apk, are being used all the time and if you delete it, even temporarily, the system goes crazy.
The scheme that someone0 and I use is to mimic /system under /data/su so that the structures are the same to avoid confusion. For example, if you wanted to modify build.prop, it would be copied to /data/su/system/build.prop and the symlink would point there. Since build.prop is not used very often, it is safe to now modify it however you want. But be careful, some settings there are vital, like hardware rotation. Mess with that and things will go all wonky on the next reboot.
Here are the specific commands to make this happen using build.prop as an example:
1. Use your root file manager to copy /system/build.prop to /data/su/system/build.prop. Set the file's permissions to match the original.
2. Delete /system/build.prop also using your root file manager
3. Set up Terminal Emulator. Start the program and type su enter. After you allow superuser access, the prompt turns to #
4. Type the following command at the # prompt (without the quotes):
"mount -o remount,rw /system"
5. Then this command:
"ln -s /data/su/system/build.prop /system/build.prop"
(That first letter is a lower case L)
6. Then this command:
"mount -o remount,ro /system"
You are done. You can now modify build.prop in /data any way you want and the system will not reset.
But before you do this mod or any other system file mod, I recommend you have backed up your system using CWM as described in the previous section. That way if you did not get it right somehow and it starts to reset, you can insert your CWM card to stop the rebooting and selectively restore /system and try again.
One side benefit of doing this build.prop mod is if B&N tries to update you in the future, it will fail because it cannot verify your build.prop because it is missing. And, in my experience, it does not try again.
16. Nook HD/HD+ internal partition structure and backups
The partition structure for the HD/HD+ is the same and is as follows:
Code:
P# Name Size Type
1 xloader 128K Fastboot Image
2 bootloader 256K Fastboot Image
3 recovery 15MB Fastboot Image
4 boot 16MB Fastboot Image
5 rom 48MB vfat
6 bootdata 48MB vfat
7 factory 448MB ext4
8 system 672MB ext4
9 cache 464MB ext4
10 data varies ext4
There is a simple process to make image backups of your internal partitions. Most people will never have to use the backups, but there is one critical partition that holds vital device specific information that was created at manufacture that is probably wise for you to back up. The process requires that you have either Terminal Emulator installed or ADB set up. And it can be done either in rooted stock or CM10/CM10.1. In Terminal Emulator or ADB Shell in superuser mode, type the following command:
dd if=/dev/block/mmcblk0p7 of=/mnt/sdcard/factory.img
This will make an image of your partition 7 that has that vital information. It also has a copy of the factory.zip file used to reset your device should you need to. If you want to back up the rest of your partitions, just change the p# and file name in the above commands to match the listing above. Partition 10 is quite large so should not be backed up using this method.
To restore a partition, just reverse the information following the if= and of= statements in the command. The information stored in partitions 1, 2, 3, 4, and 8 is specific to the ROM version you were running when you made the backup, so restoring them to another version is probably not a good idea (and if you do, restore all 5 of them together). Only do it if it is a last resort. And of course you should not restore HD partitions to the HD+ and vice versa.
Enable Unknown Sources and Blocking Auto OTA made easy (updated 12/3)
Instead of making a new thread, I have decide to make the tips that already available, but hard to use and make it simple.
So, what is it? This little thing will set Enable install from Unknown Sources and change the auto update to manual update for Nook HD ROM. I keep hearing how people are saying they have hard time making these changes so, I make it pretty dead simple. It's as simple as I can make. If you are looking at the timeline, root first, then this, and then gapps after. I now make them all so simple that it take me like 15mins to do all those 3 things from scratch. Originally I grab the sqlite3 from one of the app, which I guess I shouldn't have. Now I replace it w/ the one from CM9, which I guess is okay. And smaller size too.
If you were using verygreen version of root, try running this first.
Code:
adb shell su -c "/data/su/busybox chown shell.shell /data/su"
Pre-Requisite:
ADB and root.
NEW Instruction:
download the settings_new.zip in the attachment and save it somewhere.
unzip it.
run install.bat (for windows)
OLD Instructions:
download the settings_old.zip in the attachment and save it somewhere.
unzip it.
run install.bat (it basically just upload settings.sh and sqlite3 and change their permission, if you are on linux just do that instead)
adb shell
su
/data/su/settings.sh
*** OLD TEXT ***
While it's true that we should put heavy emphasis on not touching /system and that is not just manual works, but also any app with root access. You could be installing something like busybox via goole play store and screw everything up. That said, we are not touching /system at the moment because we lack the knowledge of that the nook is doing during boot process. I have been able to get asomething like AdAway to work which actually creating a sym link from /system/etc/hosts to /data/data/hosts file. I been doing this under the assumption that mounting and sym link are ok in the /system. But I would be worried too if there is a lot of those.
Click to expand...
Click to collapse
Lost and Confused
I tried following the instructions on the B&N’s website, but I do not see ‘Android Composite ADB Interface’ or even ‘Android Phone’ within the Device Manager of Windows. I now have ‘BNTV600’ and ‘NOOK’ under Device Manager/Portable Devices. I think this is for the big leagues and I may mess something up. Probably going to wait until there is a YouTube video guide showing step by step on how to successfully root the Nook HD+.
Many thanks to ‘leapinlar’ for the help.
cybersonic_ca said:
I tried following the instructions on the B&N’s website, but I do not see ‘Android Composite ADB Interface’ or even ‘Android Phone’ within the Device Manager of Windows. I now have ‘BNTV600’ and ‘NOOK’ under Device Manager/Portable Devices. I think this is for the big leagues and I may mess something up. Probably going to wait until there is a YouTube video guide showing step by step on how to successfully root the Nook HD+.
Many thanks to ‘leapinlar’ for the help.
Click to expand...
Click to collapse
If you read my description above, it says to update the driver for BNTV600.
No longer able to access internal & external memory on the Nook
leapinlar said:
If you read my description above, it says to update the driver for BNTV600.
Click to expand...
Click to collapse
This is what I did:
1. Plugged my Nook HD+ to my computer (ADB enabled)
2. Device Manager / BNTV600 / Update Driver Software / Browse my computer for driver software / Usb_driver_r04-windows folder / OK
3. Clicked on ‘Let me pick from a list of device drivers on my computer’
4. MTP USB Device appeared so I clicked on ‘Have Disk’
5. Browsed ‘android_winsub’ and clicked Open and OK
6. Android Composite ADB Interface appeared so I clicked ‘Next’
7. Message, ‘Windows can’t verify the publisher of this driver software’
8. Install this driver software anyway
9. Rebooted my computer
10. When the Nook is connected to the computer (ADB not enabled)
a. The Nook shows up as a G: drive and ‘MyNOOK Setup’ is the only file in it
b. Clicking on the ‘MyNOOK Setup’ brings me to a message:
• Welcome to MyNOOK Setup.
• MyNOOK Setup is a one-time installation that will allow you to tranfer your personal files to your NOOK.
• Transferable files include, but are not limited to: photos, music, videos, EPUB, PDF and Microsoft Office files.
• Note: Copyright protected files are not transferable
• To install, go to .... can't post link since im a noob
• For more information, visit ..... can't post link since im a noob
c. MyNOOKSetup.dmg appears when I click on the first link
11. When the Nook is connected to the computer (ADB enabled)
a. AutoPlay ‘BNTV600’ constantly appears.
12. I cannot access the internal or external memory on the Nook for both #10 & #11,
13. Running ‘makeroot.bat’ in the cmd for both #10 & #11 does not work either.
14. Device Manager / NOOK (BNTV600 no longer exist)
Follow my instructions to install the drivers and use my driver file from my first post. Go to device manager and delete any those three drivers you installed earlier, composite, mtp, etc. Then just do the bntv600.
Sent from my Nook HD+ using Tapatalk
Cool but....
...I am having a slight problem. I can not download your attached file usb_driver_r04-windows-Modded-for-HD.zip :/ everytime I do my computer which is running windows xp is telling me there is nothing there. Can you please help me thank you
Possible driver conflict with Samsung Galaxy Tab 7 Plus
leapinlar said:
Follow my instructions to install the drivers and use my driver file from my first post. Go to device manager and delete any those three drivers you installed earlier, composite, mtp, etc. Then just do the bntv600.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
I followed your instructions and I successfully installed the driver you provided in your zip but the following actions occur after computer reboots.
When ADB is disabled
• NOOK (G Drive appears in My Computer
When ADB is enabled
• NO NOOK (G Drive in My Computer
• BNTV600 AutoPlay windows constantly pops up
I forgot to say that I have a Samsung Galaxy Tab 7 Plus installed in this computer. The following items are what I see in Device Manager:
• Portable Devices / NOOK
• SAMSUNG Android Phone / Android Composite ADB Interface
I tried deleting all the drivers and repeat your instructions but the SAMSUNG Android Phone / Android Composite ADB Interface keeps appearing.
Dopey32 said:
...I am having a slight problem. I can not download your attached file usb_driver_r04-windows-Modded-for-HD.zip :/ everytime I do my computer which is running windows xp is telling me there is nothing there. Can you please help me thank you
Click to expand...
Click to collapse
I don't know what to tell you. I just tried again with windows XP and it downloaded fine. Just keep trying. And watch where windows puts it.
cybersonic_ca said:
I followed your instructions and I successfully installed the driver you provided in your zip but the following actions occur after computer reboots.
When ADB is disabled
•NOOK (G Drive appears in My Computer
When ADB is enabled
•NO NOOK (G Drive in My Computer
•BNTV600 AutoPlay windows constantly pops up
Click to expand...
Click to collapse
I experienced a lot of the same symptoms.
The Nook G: is for Mac users that do not have MTP. It is so they can get the drivers they need. Notice the .dmsg (sp ?) is for them. That will only go away when you get MTP working or switch to enabled adb.
I was most concerned with getting the adb interface working, so I just ignored the MTP issues until later. In fact I temporarily disabled it so it would not keep popping up during adb.
After I got everything sideloaded and rooted, I tackled the MTP issue. With adb unchecked, I went to USB devices and uninstalled the USB mass storage device (which was the Nook G). Then it recognized MTP.
Sent from my Nook HD+ using Tapatalk
I think it's safe to say that what we(me and other who got all the stuff out seperately) did so far aren't anything very dangerous. We havn't touch any other partition or boot loader. Unless you mess them up yourself since now you have root, then the worst it could happen is a full factory reset or you can force yourself to factory reset it.
okay got a little farther
I have installed the drivers and my nook is having the same symptoms as cybersonic_ca. Now I am trying to figure out how to utilize the command prompt, i type in adb devices and it responds with 'adb' is not recognized as an internal or external command, operable program or batch file.
please help, i am trying to root my nook and HD+ but i feel i must be forgetting something. I am sorry if i am very bothersome but i can not figure out what is going on
All these tips also help with the HD. Thanks so much!
Sent from my Nook HD using xda premium
Dopey32 said:
I have installed the drivers and my nook is having the same symptoms as cybersonic_ca. Now I am trying to figure out how to utilize the command prompt, i type in adb devices and it responds with 'adb' is not recognized as an internal or external command, operable program or batch file.
please help, i am trying to root my nook and HD+ but i feel i must be forgetting something. I am sorry if i am very bothersome but i can not figure out what is going on
Click to expand...
Click to collapse
Then you have either not installed the Android SDK (Software Development Kit) on your PC (which includes adb) per the B&N instructions or your path variable is not set to include where you installed it.
Sent from my Nook HD+ using Tapatalk
Dopey32 said:
I have installed the drivers and my nook is having the same symptoms as cybersonic_ca. Now I am trying to figure out how to utilize the command prompt, i type in adb devices and it responds with 'adb' is not recognized as an internal or external command, operable program or batch file.
please help, i am trying to root my nook and HD+ but i feel i must be forgetting something. I am sorry if i am very bothersome but i can not figure out what is going on
Click to expand...
Click to collapse
if you can't follow or understand the instructions about adding the path to adb in the environment path you can always just cd "/to the directory adb is installed/" and run adb directly from there. easy way is to just drag the folder into the command prompt window. it'll save a bit of typing - only works if you're not running cmd as admin.
You said you modded the drivers from B&N? What did you change? Just curious...
So, instead of making another thread, since this is a tips thread, I'll just post it here.
Just in case you are not familiar with a factory reset on the Nook HD+, there are two kind of factory resets. The one that you perform yourself, which is actually not a full factory reset and the one that Nook get pissed and do the full one.
A factory reset that you perform yourself, whether from the GUI or button combination will basically clean the partition /data while a full blown one will basically restore other partition such as /system.
Why do I bring this up, because as we know, we are not perfect. I make mistake and so do other. Sometime instead of trying to re-trace the step and fix our mistake, it's easier to just reset everything. Well, since we can't just do a full blown factory reset our self, at least not very easy, we can at least force the Nook to do it for us.
So, if you felt like I did something wrong, and I don't know which step to take next, I make a little tool for you to start over. You can see the attachment, reset.zip in there, there are 3 files. You only have to run reset.bat if you need a linux version, maybe you can beg the OP to do it for you. If you exam the package, you can see that this is very similar to the original root method which force itself to factory reset, so this is basically a modified version of that. Obviously you still required ADB. Well, on the other hand, if you never get ADB working in the first place, you probably can't mess up that bad that you need this tool in the first place.
Let me make it clear, this tool WILL RESET EVERYTHING. It also REBOOT MANY TIMES. And expect the whole process to take about 10 minutes.
dbh369 said:
You said you modded the drivers from B&N? What did you change? Just curious...
Click to expand...
Click to collapse
I actually modified a generic driver by putting the Nook HD+ device id in it. I was not able to download the B&N driver so I don't know if it needed modifying or not.
Sent from my Nook HD+ using Tapatalk
cybersonic_ca said:
I followed your instructions and I successfully installed the driver you provided in your zip but the following actions occur after computer reboots.
When ADB is disabled
• NOOK (G Drive appears in My Computer
When ADB is enabled
• NO NOOK (G Drive in My Computer
• BNTV600 AutoPlay windows constantly pops up
I forgot to say that I have a Samsung Galaxy Tab 7 Plus installed in this computer. The following items are what I see in Device Manager:
• Portable Devices / NOOK
• SAMSUNG Android Phone / Android Composite ADB Interface
I tried deleting all the drivers and repeat your instructions but the SAMSUNG Android Phone / Android Composite ADB Interface keeps appearing.
Click to expand...
Click to collapse
I am having the same problem as Cybersonc_ca. I did everything according to the nook developer website and when I enable ADB on my nook hd+, it does not show my BNTV600 under portable devices but I DO have Android Phone >> Android Composite ADB Interface.
If I go to command prompt, how can I make it so that it checks that folder as well?
I apologize for such noob questions. Thank you.
sayw0rd said:
I am having the same problem as Cybersonc_ca. I did everything according to the nook developer website and when I enable ADB on my nook hd+, it does not show my BNTV600 under portable devices but I DO have Android Phone >> Android Composite ADB Interface.
If I go to command prompt, how can I make it so that it checks that folder as well?
I apologize for such noob questions. Thank you.
Click to expand...
Click to collapse
Go to command prompt and type 'adb devices' and see if you have any. And the looking for bntv600 was for getting the composite to show. You have that.
Sent from my Nook HD+ using Tapatalk

[Q] Whatsapp media

Hey, is there a way to make whatsapp save media to sdcard instead of internal storage?
Whatsapp does not support external SD card for storage.
stluiz said:
Hey, is there a way to make whatsapp save media to sdcard instead of internal storage?
Click to expand...
Click to collapse
If your phone is rooted, you can make a link from the normal whatsapp folder to the sdcard
make a whatsapp folder on your sdcard, move all of your content and delete the old one and then in console or adb as root type :
ln -s /storage/ExtSdCard/whatsapp /storage/sdcard0/whatsapp
reboot your phone and that should do it.
WarDrake said:
If your phone is rooted, you can make a link from the normal whatsapp folder to the sdcard
make a whatsapp folder on your sdcard, move all of your content and delete the old one and then in console or adb as root type :
ln -s /storage/ExtSdCard/whatsapp /storage/sdcard0/whatsapp
reboot your phone and that should do it.
Click to expand...
Click to collapse
I'm not that good with android and entering codes, how can I run the command using the phone?
I tried using folder mount but all it did was move the files and after that I couldn't open new media that came to me.
thanks a lot
stluiz said:
I'm not that good with android and entering codes, how can I run the command using the phone?
I tried using folder mount but all it did was move the files and after that I couldn't open new media that came to me.
thanks a lot
Click to expand...
Click to collapse
If you want to enter the command in the phone directly you'll need to download a terminal emulator from the play store and enter the same commands on the phone, while on the fodler where the original whatsapp folder was located at.
WarDrake said:
If your phone is rooted, you can make a link from the normal whatsapp folder to the sdcard
make a whatsapp folder on your sdcard, move all of your content and delete the old one and then in console or adb as root type :
ln -s /storage/ExtSdCard/whatsapp /storage/sdcard0/whatsapp
reboot your phone and that should do it.
Click to expand...
Click to collapse
Are you sure this will work? Linux doesn't normally allow cross-device symlinks. Does android behave differently in this regard?
BLuFeNiX said:
Are you sure this will work? Linux doesn't normally allow cross-device symlinks. Does android behave differently in this regard?
Click to expand...
Click to collapse
soft links work on linux, it's hard links that are restricted, and even then, since the whole storage procedure is now emulated in android, it shouldn't be a problem
however, you just made me think of something, he'll need to re enable 3rd party write access to the sd card or he'll just keep getting I/O errors, that's disabled on KK by default, i used "NextApp SDFix" from the play store to do it on mine.
WarDrake said:
soft links work on linux, it's hard links that are restricted, and even then, since the whole storage procedure is now emulated in android, it shouldn't be a problem
however, you just made me think of something, he'll need to re enable 3rd party write access to the sd card or he'll just keep getting I/O errors, that's disabled on KK by default, i used "NextApp SDFix" from the play store to do it on mine.
Click to expand...
Click to collapse
Ah, you're right. I should have known that, otherwise how else would mount points work in general?

How do I find out what is taking up all the space on my SM-N900V internal drive?

I am running out of room on the internal drive (available only 1.5 gig of the 32 gig available) and I wish to find the offending program(s) or file(s) that are taking up so much space. When I use an explorer type program, nothing is showing up as very large at all. But something(s) are just eating up space.
Is their an app that would allow me to see which folders or files are the largest ones?
I do know that for a Windows computer, there is a program called Disk Pie that shows in a pie chart which file or folders are taking up space. This program only looks at hard drives though. I tried to navigate the program to my phone's internal drive but it doesn't allow it. Any help would surely be appreciated. Thanks in advance!
are you rooted or stock?
for root (in a terminal app or using ADB)
su
cd /data
du -sk *
summarizes by folders (in addition to any individual files which are at the top level of the /data folder).
From there you find the biggest (folder), "cd" in to it, and repeat until you located the folder using the most amount of space.
If you are not rooted, you can do the same thing in "/sdcard" if that is what is taking up the greatest amount of space., e.g.
cd /sdcard
du -sk *
etc
The built in Android stuff (Settings -> Apps -> etc) will tell you how much *private* data storage is being used on an app-by-app basis, but if your apps downloaded a ton of stuff to the (internal) /sdcard area, it won't show up in that summary.
Thanks for your quick reply! I am rooted but I am not very good with a terminal app or for that matter ADB . I was hoping for an app from the Google play store. I guess I have to bone up on both a terminal app and ADB.
laserbiz said:
Thanks for your quick reply! I am rooted but I am not very good with a terminal app or for that matter ADB . I was hoping for an app from the Google play store. I guess I have to bone up on both a terminal app and ADB.
Click to expand...
Click to collapse
The du command is harmless (it only reads, never writes), so you should be able to use what I showed you above in a terminal emulator with confidence. The only commands you need to understand are "cd" (change directory) and "du" (disk usage).
Solid Explorer (w/ root privileges) seems to summarize storage usage by folder (top down, everything under that folder) with a "long-press -> Properties". But it's hunt-and-peck like you were trying rather than "give me the (top-down) storage used underneath of all the folders in the current directory right now". I'm using the paid version, but there might be a trial or free version that does the same thing.
As is typical, the command line will give you the answer you want in about 1/100th of the time of hunting and pecking.
There might be an app to do what you want though if you want to do things the slow way.
laserbiz said:
I am running out of room on the internal drive (available only 1.5 gig of the 32 gig available) and I wish to find the offending program(s) or file(s) that are taking up so much space. When I use an explorer type program, nothing is showing up as very large at all. But something(s) are just eating up space.
Is their an app that would allow me to see which folders or files are the largest ones?
I do know that for a Windows computer, there is a program called Disk Pie that shows in a pie chart which file or folders are taking up space. This program only looks at hard drives though. I tried to navigate the program to my phone's internal drive but it doesn't allow it. Any help would surely be appreciated. Thanks in advance!
Click to expand...
Click to collapse
There's an easier way. Settings->General->Storage and then tap on the Misc storage line.
Sent from my SM-N900V using Tapatalk

Categories

Resources