[ROOT] Directory Bind - Move data to external SD card. - Sprint HTC EVO 4G LTE

After a rage filled Google search, I've finally stuck oil with putting my 64GB UHS-1 card to use.
Thank Slig for a fine tool here, I've tried it with varying success.
I didn't get Shadowgun & some EA games to move properly, Gameloft & every other huge game I had: no problem.
Tested with Stock 3.15 JB 4.1.1 (Deodexed)
Do not know the results after a new ROM flash or Titanium whatnot. You tell me how it fairs.
Main thread & needed apk:
http://forum.xda-developers.com/showthread.php?p=20668905#post20668905
slig said:
Hi all !
This is my application to bind directories located on external_sd to directories on internal memory (/sdcard/). This way You can transfer large application data directories to external_sd. Could be usefull with ex.: games from Gameloft, other like Shadowgun, applications like CamScanner.
screenshot:
{
"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"
}
Features:
* Requires ROOT !
* Aimed at specific functionality and features (not idiot-proof)
* You can create any number of Data -> Target directory pairs, mount them manually or choose to mount them on system boot (checkbox does that).
* On/Off switch controls whole mount-on-boot function.
* Diskette icon indicates if mount operation was successful, by taping it You can mount/umount entry.
* Icon changes if application is using mounted entry
* DirectoryBind can tell what application is using this entry (tap at entry in use)
* Long tap on entry (disabled) brings edit/delete window
* App auto umount all entries on USB connected and remount after USB disconnected (for now via BroadcardReceiver UMS_CONNECTED / UMS_DISCONNECTED)
* App shows notification and vibrates if auto umount on USB fails
* If mounting all checked entries (ex. on boot) app is waiting specified time (def. 60 sec) if data directory is not available (happens sometimes at boot)
* Tested sucessfully with Asphalt 6, Shadowgun, DeadSpace, CamScanner
Color statuses:
* GRAY - entry disabled
* RED - mount failed
* BLUE - waiting for data availability
* GREEN - mounted OK
version 0.2.0k
* fixed FC if screen orientation changes during copy/delete
* more extensive logging
version 0.2.0m
* ?? fixed problem with entries marked green on boot, but not mounted (repotred by stone_ship)
* ?? fixed problem with random FC on ICS (reported by Thomas)
version 0.2.0n
* auto create target directory action moved from "bind" action to "add/edit entry" action due to possible problems when data outside "/sdcard"
version 0.2.0o
* added option to control if mount service is run as sticky
*** for now older version kept in case I broke something ***
please do not test data transfer files features on sensitive data they seem to work OK but are not throughly tested
Compiled using API android 2.3.3. Attached as self-signed development apk package. No market link for now.
important info
* Remember ! All entries must be umounted before attempting to use MASS STORAGE MODE. Application will try to do it automatically on USB CONNECT. If it fails and You'll use MASS STORAGE MODE sdcard partition WILL CRASH and reboot will be required to restore normal operations ! Main cause of that is appplication using mounted folder. You have to close that application and retry to umount entry.
* This application requires *root privileges* so it has full control over entire system! Uses root privileges to invoke "mount", "umount", "lsof" and "grep" shell commands via su and it DOES NOT write anything on system partitions.
It DOES NOT apply any permanent changes to the OS, however I cannot guarantee it does not contain BUGS and security issues. I'm not responsible to any damage it can cause. Use it AT YOUT OWN RISK !
application permissions explained
WRITE_EXTERNAL_STORAGE - application automatically creates target path, copy existing files from target to data
RECEIVE_BOOT_COMPLETED - application can perform automatic bind on boot
VIBRATE - application creates notification alert with vibrations when cannot umount all locations on USB connect
READ_LOGS - dump own logcat to file
*ROOT* - invoking "mount", "umount", "lsof" and "grep" commands via su
BUGS REPORTING
As every program can contain bugs so this one too. I'm very grateful if someone find and report a bug. No report will go unattended and I'll look into each case. There is just one thing, often report even very detailed is not enough so application has built in logging (logcat) capability - it can be enabled in Preferences.
Logcat can be dumped to file from main app window: menu -> dump logcat to file
So when reporting bug please attach that file to Your post
Regards !
Slig
!!! IF YOU HAVE ISSUE WITH ENTRIES DISAPPEARING AFTER REBOOT !!!
1. In preferences check "alternate dbase mgmt" and try again
2. Report in this thread with informations
- does "alternate dbase mgmt" help ?
- are you using any taskkiller
- what ROM are you using
I need to know how many people have this issue, maybe it would be good to make "alternate dbase mgmt" default mechanism.
Sorry for that but I'm still learning and doing by best to make this app as much compatible and usable as possible. This is my first public app for android
Click to expand...
Click to collapse

Genjinaro said:
After a rage filled Google search, I've finally stuck oil with putting my 64GB UHS-1 card to use.
Thank Slig for a fine tool here, I've tried it with varying success.
I didn't get Shadowgun & some EA games to move properly, Gameloft & every other huge game I had: no problem.
Tested with Stock 3.15 JB 4.1.1 (Deodexed)
Do not know the results after a new ROM flash or Titanium whatnot. You tell me how it fairs.
Main thread & needed apk:
http://forum.xda-developers.com/showthread.php?p=20668905#post20668905
Click to expand...
Click to collapse
Can i use this for Sony Xperia Z Ultra???

cihuy039 said:
Can i use this for Sony Xperia Z Ultra???
Click to expand...
Click to collapse
In theory it should work, you just need to have root access for it to work.

Related

[DEV] CM7 Developers Thread

Please limit this thread to development comments and questions!
The users thread is for all other posts.
When in doubt, post in the users thread.
After many long nights of banging our heads against keyboard, the CM7 port is finally shaping up.
In addition to nightly releases, we may from time to time be releasing test builds here for your feedback and enjoyment. If you find issues please feel free to post here in this thread. Leave all other feedback for the user thread.
Where to get progress news:
I will tweet progress from time to time.
Twitter: @dalingrin
We are usually in #nookie on freenode.
You can always check the Cyanogen [email protected] http://github.com/cyanogenmod​
Current Issues
DO NOT FORMAT YOUR SD CARD IN CM7. DUE TO A VOLD ISSUE THIS WILL FORMAT YOUR /BOOT INSTEAD OF THE SD CARD!
****Should be fixed in nightly 13****
-Standy battery life is not as good as stock
Because of a kernel bug CM7 does not fully sleep. The result
is ~1% battery drain per hour while the screen is off. With normal use I usually go
1 - 2 days between charging.
***fixed in 2.6.32 builds***
-A few apps do not scale to full screen
In order to get Market and Maps to work fully the lcddensity has to be
set to something other than 160 causing a few apps not to scale properly.
-Wifi slow to reconnect at times
****fixed****
-Video playback is slow
****fixed****
-Default rotary lockscreen does not fit screen
****fixed****
-Market partially works
****fixed****
-Bluetooth does not work
****Update**** Bluetooth now works in CM7.
Bluetooth is working seemingly perfect except for the range. Unfortunately, the range is terrible.
Depending on the device you are paried with, the range is between 1-5ft. Any ideas on how to
fix the range issue would be much appreciated.
-Do not use SetCPU profiles
If you enable SetCPU profiles it will become a runaway process eating 100% cpu.
Setting your cpu clock can be done in Cyanogenmod Settings. Under Performance->CPU Settings
-Internal storage partition is not mounted on boot and is not shareable via USB
****fixed****​
Download and Install
MUST USE 3.0.1.0+ RECOVERY:
This is installable ONLY with an ext4 aware Clockwork Mod Recovery.
*** Also it is critical to be aware that installing CM7 will write to the internal emmc of your device. You are advised NOT to try it. But if you choose to do so, understand you do so entirely at your own risk. Read sections 15-17 of the GPL for the gist of this disclaimer. There is no warranty or claim of usefulness or fitness for any particular purpose. No one but you shall accepts responsibility for what may happen if you download or try to use this development software. ***
Download for CM7:
Nightlies:
http://mirror.teamdouche.net/?device=encore
Install instructions:
http://forum.xda-developers.com/showpost.php?p=11452450&postcount=19​
Post Reserved.
Developer Tips
(Standard do-at-your-own-risk-and-responsibility disclaimers apply.)
* For those developers building from source:
In $OUT, you'll find a few files:
recovery.img --> rename to uRecRam
kernel --> rename to uRecImg
Now you've got the ext4 clockworkmod for mmc built from source.
* Also, there's also a script in $OUT called:
sd_ramdisk_packer.sh
Assuming this works, it should repack your $OUT/root (mmc ramdisk) into a uRamdisk that can be used with a bootable SDcard. The stuff in /system would go in the /system partition of the SD card (p2).
The result: a bootable CM7 on SD. It may not be wise to distribute as Cyanogenmod for encore is a fast-moving target-- unless you plan to create a new one every day or something.
* If you don't like the buttons at the top for some reason, there's the SoftKeys app as well as Button Savior.
* There is a slightly-themed u-boot.bin in device/bn/encore/prebuilt/boot/. It is simply a recompiled u-boot from BN's source.​
{
"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"
}
Info about emmc geometry
If your emmc is hosed and you want to start COMPLETELY from scratch, understand that the underlying geometry (before any partitions are created) of your emmc must be set up correctly on OMAP machines such as the nook before any partitions are created.
You can read more about that stuff here. If you are booted into an "emergency" SD card and have a totally hosed emmc, you can use fdisk to format /dev/block/mmcblk0 to the correct geometry, and then create the partitions one at a time, with a vfat partition as your /boot partition (p1). Then put mlo, u-boot.bin, uImage, uRamdisk, uRecImg, and uRecRam in /boot (p1) and you should have a bootable system.
Read the link above about SD/MMC formatting for OMAP3. Your nook is an OMAP3621, so you gotta get that geometry right, otherwise it won't boot. Luckily, the instructions on using fdisk are pretty good.
More info:
your emmc: /dev/block/mmcblk0
your sd: /dev/block/mmcblk1
Partition Info
the partitions you should have created are at:
/dev/block/mmcblk0p1 == /boot
/dev/block/mmcblk0p5 == /system
etc
/boot, /rom, and /media are of type "vfat"
/system, /data, and /cache are of type "ext4"
/factory (p3) isn't used by cm7
partition 4 is just there to allow you to create partitions 5-8
Sample instructions for copying files from cm7 update.zip on local computer to emmc /boot
You should be able to copy those four files simply by getting the lastest cm7, unzipping it on your computer, then once you boot into your bootable SD card, do:
Code:
COMPUTER> adb shell
# mkdir /data/bootmountpoint
# mkdir /data/systemmountpoint
# mount /dev/block/mmcblk0p1 /data/bootmountpoint
# mount /dev/block/mmcblk0p5 /data/systemmountpoint
# exit
COMPUTER> adb push mlo /data/bootmountpoint/
COMPUTER> adb push u-boot.bin /data/bootmountpoint/
COMPUTER> adb push uImage /data/bootmountpoint/
COMPUTER> adb push uRamdisk /data/bootmountoint/
COMPUTER> adb push my/path/to/sdcard/system /data/systemmountpoint/
Man, everyone makes better (prettier) release threads than I do.
oups, to delete
I can mount SD card find from my PC on Ubuntu.
Some apps don't show up on search, only one worth noting right now is Dolphin browser. I can find all kinds of add-ons, but not the app itself.
The lockscreen defaulted to the slider, but when I rebooted it went back to rotary. I went to settings and changed it back to slider.
Edit: Also to note is when I first launch the market, I get a force close on search function unless I use menu->search first. Will try fix permissions. Edit: fix permissions doesn't work, I must use menu->search the first time.
Edit 2: Beautiful Widgets shows up in market but says it isn't there when I try to install.
I had no trouble mounting SD to my PC (windows 7 64). I don't remember which now, but many apps showed in market, allowed me to install, but when I tried to 'open' from their market page I was told they weren't there - just opening my app drawer showed them and they worked fine. Something in market for that one.
screen on/off notification
is the screen on/off setting working?
I've also been able to mount to sd via Ubuntu and OS X.
Is there any way to get/use the recovery without using a burn to SD method?
going to try it out now... thanks dalingrin
i notice the file name is the same as the first test release. hopefully i have the right file.
-edit-
so yes i did have the correct file. lockscreen fix works and am still able to change it to rotary although it 'appears' to be set on rotary already.
market works... so far i have not found anything missing.
i have not been able to connect to usb. first connect got me a failed driver install and i don't see any usb mounting option in settings. -edit- just tried again and now it works? probably a windows thing.
dalingrin said:
Fixes that need testing
-USB storage mounting
We need folks to test mounting your sd card from within CM7 onto your computers.
-Market Access
This build contains a partial fix for Android market filters. I don't expect all apps to be available yet but I'm not sure what is and not available in the current build.
-Default lockscreen
I have submitted a patch upstream to change the default lockscreen from rotary to the traditional slider. This is because the rotary lockscreen does not scale for the nook. This patch required changing some mechanics in CM and needs testing. In particular, it needs to be verified that the initial lockscreen is the traditional slider but can still be changed in Cyanogenmod Settings.
Click to expand...
Click to collapse
zpure awesomeness! I can't wait for the bugs to get ironed out
here is a problem I have noticed. When I try to buy and app I get a force close and I cannot purchase an app.
UPDATE: I installed the newest market 2.3.2 and it does the same thing. I did the wipe cache, force stop on market and framework services, rebooted and still cannot purchase apps. Gotta be something in the build that is causing it to stop. I can download free apps just fine and the apps I already purchased.
jkurl said:
here is a problem I have noticed. When I try to buy and app I get a force close and I cannot purchase an app.
Click to expand...
Click to collapse
just checked this and i get force closes as well.
It's a beautiful thing. Thanks for the great work, guys!
I flashed the update from the original version that thecubed released and can report the following market bugs:
Astrid, Facebook, and Flixster do not show up in the market.
In the market, clicking on All Games / Top Free leads to a loading circle that never completes (no results ever get shown).
So there seem to be 2 different RC1s (both called the same thing) plus a single nightly. Which one should we be testing?
No maps, Facebook, or pulse in market running release from this thread
FletchF said:
So there seem to be 2 different RC1s (both called the same thing) plus a single nightly. Which one should we be testing?
Click to expand...
Click to collapse
OK, I gather it went like this:
old RC1->first nightly->this newer RC1
so, test the RC1 from this thread until newer nightlys start to appear.
These are the only apps I use I can't see in the market:
imdb
minimalistic text
google maps and street view
simi clock
wolframalpha
speedtest.net
I tried adb pushing all of them but wolfram from my htc desire. Imdb, minimalistic text and simi clock work, speedtest and google maps force close.
I also pushed Cyanbread.apk to /system/app and selected it from theme manager, it also seems to work great.
In the market, clicking on All Games / Top Free leads to a loading circle that never completes (no results ever get shown).
Click to expand...
Click to collapse
That only happens sometimes for me. Most of the times it works without problems.
(edit) Oh, and mounting the sd card also works ok.

Top Super User apk - Root What's/How/Why

Introduction:
Purpose of this thread is sharing most useful applications for root users.
I'll try to keep this first post update.
What's root permissions:
Rooting is a process that allows users of mobile phones and other devices running the Android operating system to attain privileged control (known as "root access") within Android's Linux subsystem with the goal of overcoming limitations that carriers and manufacturers put on some devices.
Learn more
How to:
Easy root
{
"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"
}
Why become root:
* Being root user is first step for every tweak or mod in your phone
* To install a recovery menu
* Uninstall unwanted stock Rom apps
* Changing your system's files
* Opportunity of installing exclusive root users apk
* For the pleasure of experiment
Why not:
Messing with /system can make run your phone worse if something goes wrong. Nothing that a backup, a a total wipe with SEUS or a brand new firmware with FlashTool, can't solve
Root apk:
Titanium Backup
You can backup, restore, freeze (with Pro) your apps + data + Market links. This includes all protected apps & system apps, plus external data on your SD card.
Root Explorer
Root Explorer is the ultimate file manager for root users. Access the whole of android's file system (including the elusive data folder!).
Wireless ADB
Use ADB over Wi-Fi with Wireless ADB
ROM Manager
* Flash your recovery to the latest and greatest ClockworkMod recovery.
* Manage your ROMs via a handy UI.
* Organize and perform backups and restores from within Android
* Install ROMs from your SD card.
* Install your favorite ROMs over the air
AnTuTu CPU Master
AnTuTu CPU Master is a tool for changing the CPU speed on a rooted Android Mobile Phone/Pad.
Superuser
Hook into your phone's power
Grant and manage Superuser rights for your phone.
Market Enabler
Market Enabler lets you access paid apps in Android Market
For some apps are just enabled for some specific country and not available to the other countries,so it is very difficult to download many high quality software.Market Enable lets you access paid apps from countries where paid apps are not yet available.
AdFree Android
AdFree removes most ads in the browser and other apps. It does this by nullifying requests to known host names in the system hosts file.
Android Terminal Emulator
Access your Android's built-in Linux command line shell.
BusyBox
BusyBox is a software application that provides many standard Unix tools, much like the larger (but more capable) GNU Core Utilities. BusyBox is designed to be a small executable for use with the Linux kernel, which makes it ideal for use with embedded devices. It has been self-dubbed "The Swiss Army Knife of Embedded Linux".
Font Changer
Font Changer allows you to switch the default system font on your Android device (will replace the keyboard font too for a fresh typing experience). It creates an automatic backup of the default fonts at the beginning. When removing the application it should be done from inside its settings to restore your default fonts.
ROM Toolbox
ROM Toolbox combines all the great root apps all tied up into one monster app with a beautiful and user-friendly interface.
MetaMorph
MetaMorph allows you to theme, patch, and mod your phone by adding or changing files on your system and apps.
CacheMate for Root Users Free
CacheMate for Root Users allows you to clear cache from your device in one click
Dual Mount SD Widget
This widget Modifies a setting that will allow you to mount your SD card to your phone and PC/Radio/ect at the same time.
Sixaxis Controller
Sixaxis Controller allows you to use your Sixaxis and DualShock 3 controllers in many of your favourite games and applications.
Quick Boot (Reboot)
Reboot your phone quickly. Boot into Recovery and Bootloader with one tap.
FaceNiff
Use it with extreme caution. And don't abuse
Chainfire3D
Chainfire3D sits between your apps and the graphics drivers, and can intercept and/or change commands between the two. Features include reducing texture size and quality to reduce memory use and potentially increase game performance, as well as increasing memory use potentially increase performance.
Swapper 2
Swapper is simple application for “extending memory”. Helps when you need some memory for non active applications (like music player + browser + maps + etc…).
awesome post!!!
thanks, very helpful indded
First post updated with new applications and qr codes.
Tip: if you're using Google Chrome or Chromium browser, and you like to see qr codes in Android Market, just go in your browser extensions and download Droid Code.
No need of configuration
Thanks for grate info.........
Great info......super su...install failed.... Any solution.... Thanks

[Reminder] DirectoryBind Can Link External SD with Internal (Game Data on Ext Card!)

After much Googleing I found a solution that most people are having when it comes to making games (like Shadowgun and Gameloft Games) "detect" the external card that way you can keep the huge game files on your external and keep internal tidy. I did not get a chance to test it on our devices because mine is having some problems and I'm trying to fix it but I don't see we would have an problems as people in that forum claim it works on ICS. Either way, it is worth a shot until we find a solution to this problem.
It's an app made by an XDA member, Slig and the thread/appcan be found here:
http://forum.xda-developers.com/showthread.php?t=1410262
The only downside to the app is that you have to "mount" the data before launching the game, but IMO, it's a small price to pay to not fill up your internal storage with three games.
What follows is the original thread by slig.
slig said:
Hi all !
This is my application to bind directories located on external_sd to directories on internal memory (/sdcard/). This way You can transfer large application data directories to external_sd. Could be usefull with ex.: games from Gameloft, other like Shadowgun, applications like CamScanner.
screenshot:
{
"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"
}
Features:
* Requires ROOT !
* Aimed at specific functionality and features (not idiot-proof)
* You can create any number of Data -> Target directory pairs, mount them manually or choose to mount them on system boot (checkbox does that).
* On/Off switch controls whole mount-on-boot function.
* Diskette icon indicates if mount operation was successful, by taping it You can mount/umount entry.
* Icon changes if application is using mounted entry
* DirectoryBind can tell what application is using this entry (tap at entry in use)
* Long tap on entry (disabled) brings edit/delete window
* App auto umount all entries on USB connected and remount after USB disconnected (for now via BroadcardReceiver UMS_CONNECTED / UMS_DISCONNECTED)
* App shows notification and vibrates if auto umount on USB fails
* If mounting all checked entries (ex. on boot) app is waiting specified time (def. 60 sec) if data directory is not available (happens sometimes at boot)
* Tested sucessfully with Asphalt 6, Shadowgun, DeadSpace, CamScanner
Color statuses:
* GRAY - entry disabled
* RED - mount failed
* BLUE - waiting for data availability
* GREEN - mounted OK
version 0.2.0k
* fixed FC if screen orientation changes during copy/delete
* more extensive logging
version 0.2.0m
* ?? fixed problem with entries marked green on boot, but not mounted (repotred by stone_ship)
* ?? fixed problem with random FC on ICS (reported by Thomas)
version 0.2.0n
* auto create target directory action moved from "bind" action to "add/edit entry" action due to possible problems when data outside "/sdcard"
version 0.2.0o
* added option to control if mount service is run as sticky
*** for now older version kept in case I broke something ***
please do not test data transfer files features on sensitive data they seem to work OK but are not throughly tested
Compiled using API android 2.3.3. Attached as self-signed development apk package. No market link for now.
important info
* Remember ! All entries must be umounted before attempting to use MASS STORAGE MODE. Application will try to do it automatically on USB CONNECT. If it fails and You'll use MASS STORAGE MODE sdcard partition WILL CRASH and reboot will be required to restore normal operations ! Main cause of that is appplication using mounted folder. You have to close that application and retry to umount entry.
* This application requires *root privileges* so it has full control over entire system! Uses root privileges to invoke "mount", "umount", "lsof" and "grep" shell commands via su and it DOES NOT write anything on system partitions.
It DOES NOT apply any permanent changes to the OS, however I cannot guarantee it does not contain BUGS and security issues. I'm not responsible to any damage it can cause. Use it AT YOUT OWN RISK !
application permissions explained
WRITE_EXTERNAL_STORAGE - application automatically creates target path, copy existing files from target to data
RECEIVE_BOOT_COMPLETED - application can perform automatic bind on boot
VIBRATE - application creates notification alert with vibrations when cannot umount all locations on USB connect
READ_LOGS - dump own logcat to file
*ROOT* - invoking "mount", "umount", "lsof" and "grep" commands via su
BUGS REPORTING
As every program can contain bugs so this one too. I'm very grateful if someone find and report a bug. No report will go unattended and I'll look into each case. There is just one thing, often report even very detailed is not enough so application has built in logging (logcat) capability - it can be enabled in Preferences.
Logcat can be dumped to file from main app window: menu -> dump logcat to file
So when reporting bug please attach that file to Your post
Regards !
Slig
!!! IF YOU HAVE ISSUE WITH ENTRIES DISAPPEARING AFTER REBOOT !!!
1. In preferences check "alternate dbase mgmt" and try again
2. Report in this thread with informations
- does "alternate dbase mgmt" help ?
- are you using any taskkiller
- what ROM are you using
I need to know how many people have this issue, maybe it would be good to make "alternate dbase mgmt" default mechanism.
Sorry for that but I'm still learning and doing by best to make this app as much compatible and usable as possible. This is my first public app for android
Click to expand...
Click to collapse

[TOOL] DirectoryBind - move data to external_sd (GameLoft, Shadowgun etc.) ROOT req

Hi Guys
This is a great way to expand internal memory by Slig, I installed on my note II Verizon Stock rom rooted and it works great.
Link to get the file is in link below,
I copied all his stuff in the link to have all details with it in case someone wonders what it is.
Thank you Slig!!!
http://forum.xda-developers.com/showthread.php?t=1410262
This is my application to bind directories located on external_sd to directories on internal memory (/sdcard/). This way You can transfer large application data directories to external_sd. Could be usefull with ex.: games from Gameloft, other like Shadowgun, applications like CamScanner.
{
"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"
}
Features:
* Requires ROOT !
* Aimed at specific functionality and features (not idiot-proof)
* You can create any number of Data -> Target directory pairs, mount them manually or choose to mount them on system boot (checkbox does that).
* On/Off switch controls whole mount-on-boot function.
* Diskette icon indicates if mount operation was successful, by taping it You can mount/umount entry.
* Icon changes if application is using mounted entry
* DirectoryBind can tell what application is using this entry (tap at entry in use)
* Long tap on entry (disabled) brings edit/delete window
* App auto umount all entries on USB connected and remount after USB disconnected (for now via BroadcardReceiver UMS_CONNECTED / UMS_DISCONNECTED)
* App shows notification and vibrates if auto umount on USB fails
* If mounting all checked entries (ex. on boot) app is waiting specified time (def. 60 sec) if data directory is not available (happens sometimes at boot)
* Tested sucessfully with Asphalt 6, Shadowgun, DeadSpace, CamScanner
Color statuses:
* GRAY - entry disabled
* RED - mount failed
* BLUE - waiting for data availability
* GREEN - mounted OK
version 0.2.0k
* fixed FC if screen orientation changes during copy/delete
* more extensive logging
version 0.2.0m
* ?? fixed problem with entries marked green on boot, but not mounted (repotred by stone_ship)
* ?? fixed problem with random FC on ICS (reported by Thomas)
version 0.2.0n
* auto create target directory action moved from "bind" action to "add/edit entry" action due to possible problems when data outside "/sdcard"
version 0.2.0o
* added option to control if mount service is run as sticky
*** for now older version kept in case I broke something ***
please do not test data transfer files features on sensitive data they seem to work OK but are not throughly tested
Compiled using API android 2.3.3. Attached as self-signed development apk package. No market link for now.
important info
* Remember ! All entries must be umounted before attempting to use MASS STORAGE MODE. Application will try to do it automatically on USB CONNECT. If it fails and You'll use MASS STORAGE MODE sdcard partition WILL CRASH and reboot will be required to restore normal operations ! Main cause of that is appplication using mounted folder. You have to close that application and retry to umount entry.
* This application requires *root privileges* so it has full control over entire system! Uses root privileges to invoke "mount", "umount", "lsof" and "grep" shell commands via su and it DOES NOT write anything on system partitions.
It DOES NOT apply any permanent changes to the OS, however I cannot guarantee it does not contain BUGS and security issues. I'm not responsible to any damage it can cause. Use it AT YOUT OWN RISK !
application permissions explained
WRITE_EXTERNAL_STORAGE - application automatically creates target path, copy existing files from target to data
RECEIVE_BOOT_COMPLETED - application can perform automatic bind on boot
VIBRATE - application creates notification alert with vibrations when cannot umount all locations on USB connect
READ_LOGS - dump own logcat to file
*ROOT* - invoking "mount", "umount", "lsof" and "grep" commands via su
BUGS REPORTING
As every program can contain bugs so this one too. I'm very grateful if someone find and report a bug. No report will go unattended and I'll look into each case. There is just one thing, often report even very detailed is not enough so application has built in logging (logcat) capability - it can be enabled in Preferences.
Logcat can be dumped to file from main app window: menu -> dump logcat to file
So when reporting bug please attach that file to Your post
Regards !
Slig
!!! IF YOU HAVE ISSUE WITH ENTRIES DISAPPEARING AFTER REBOOT !!!
1. In preferences check "alternate dbase mgmt" and try again
2. Report in this thread with informations
- does "alternate dbase mgmt" help ?
- are you using any taskkiller
- what ROM are you using
I need to know how many people have this issue, maybe it would be good to make "alternate dbase mgmt" default mechanism.
Sorry for that but I'm still learning and doing by best to make this app as much compatible and usable as possible. This is my first public app for android
I used this to store my downloaded Spotify tracks to the SD Card. Thank you!
Sounds really useful. Gonna try this later. Thanks
Sent from my SCH-I605 using Tapatalk 2
Hi thx doe thw great app!
I have one question, though. I had successfully bound the directory. Moved the data to ext sd card. To illustrate my question, ie I bound my Download directory to ext storage. Moved data to external storage. But the data still remains in the original Download directory. I deleted the duplicated files in that folder and the same data in the external storage was deleted as well...which also means the data is duplicated and thus I'm using twice the storage.
Thz in advance.
Sent from my GT-N7105 using xda app-developers app

How To Guide Just tweak it [Tab A7] - debloat, battery...

Tab A7 stock rootless setup​
model used: Tab A7 Lite SM-T220
Just a quick article for this nicely sized 8.7" tablet. It's a baby tablet, not wasting time with rooting We want:
* debloating
* better battery
* better privacy
* call recording
* disk encryption
* tweaks
Rooting​No rooting. No logins, not even Google login, that's the plan. FDroid, Aurora, Vanced manager to deploy all you need. No contacts, no SMS, no location, nothing to protect.
Modules​Magisk​-
XPosed​-
Apps​* AdGuard -> supreme adblocker and firewall. Set VPN approach (rootless friendly, assuming device will stay at home), turn on HTTPS and turn off internet for all apps. Then enable few (browser, youtube, aurora) specifically.
* YouTube Vanced -> YouTube without ads and sponsor blocks.. install in non root mode, and remove the existing originals
* (optional) MiXplorer -> best file manager, replaces spyware ES File explorer you had before
* F-Droid -> open source apps
* Aurora -> all apps
Debloating​What the script does:
* choose 8 categories of app removal, in the beginning of the file
for each say 0=skip 1=remove 2=revert back
* use more switch to disable some questionable/helpful stuff
* disable up to 70 apps with possibility to revert back
I usually cook these files carefully, here i just removed non existing packages, added existing vendor packages. Vendor garbage gets uninstalled straight away, majority of packages is disabled in non-root mode (per user) so it can be reenabled later. You can edit the file.
unzip the file to some folder
adb shell as it's plugged to PC and authorized (and usb debugging in developer otions on)
go to the folder with script
cp TabA7_cleanup.sh /data/local/tmp
chmod +x /data/local/tmp/TabA7_cleanup.sh
/data/local/tmp/TabA7_cleanup.sh;
Tested ok on August Android 11 EU firmware. It produced no errors (=packages relevant), but there could be regional differences, producing exceptions in your case. See other comments below if the instructions are unclear.
Download: (file attached)
Battery​Battery saving:
turn off location
turn off permissions and app usage for usual snitches
in Adguard turn off WIFI/mobile for each app (will be the default), then reenable few - advantage: no ads in games, no stupid accidental payments. Also set WIFI/mobile off when screen off -> tablet won't do anything, just keep idle for days hopefully
don't even enable GMS, this device can be a good throwawy tablet with no login to ANY service, without encryption, just pure gamepad.... likely no password/PIN to unlock. It's with slow CPU but games work nicely. It's not even slower than S4 flagship tablet honestly.
hi, thanks for the guide, very insightful with me transitioning from iOS.
My only question is the script, I’ve downloaded ABD and can shell into my device. However I’m having issues when copying the script, it keeps coming up saying invalid path, I’ve looked everywhere for a tutorial but with me having limited knowledge I’m at a dead end
any help greatly appreciated
Herb291 said:
hi, thanks for the guide, very insightful with me transitioning from iOS.
My only question is the script, I’ve downloaded ABD and can shell into my device. However I’m having issues when copying the script, it keeps coming up saying invalid path, I’ve looked everywhere for a tutorial but with me having limited knowledge I’m at a dead end
any help greatly appreciated
Click to expand...
Click to collapse
i just flashed the new firmware and did it again, no problem. First i copied the script from Windows to somewhere on Android (/storage/emulated/0 or similar "noexec" quasi-sd card location), and then moved it to a location from where it can be executed. The location should work and is generally recommended. You can find another one /data/local, /tmp or whatever is there. Or use adb push <PC_file> <target_directory>. Or post the screenshot. This should be a trivial issue and can't stop you.
{
"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"
}
getting this error
raxahasan0077 said:
View attachment 5456865getting this error
Click to expand...
Click to collapse
Place the script on the tablet in an easy to remember location.
Open Powershell:
“adb shell” or “./abd shell” (whichever works)
“Cp /storage/emulated/0/FILELOCATION/TabA7_cleanup.sh /data/local/tmp”
then follow the rest of the instructions
now getting this error
raxahasan0077 said:
now getting this errorView attachment 5456963
Click to expand...
Click to collapse
Is your USB debugging turned on in the dev settings, did you hit authorise on your device when you first plugged it in?
you can check if you’re device is authorised with “adb devices”
edit: not sure if it matters but try a lowercase cp
Herb291 said:
Is your USB debugging turned on in the dev settings, did you hit authorise on your device when you first plugged it in?
you can check if you’re device is authorised with “adb devices”
edit: not sure if it matters but try a lowercase cp
Click to expand...
Click to collapse
yeah lowercase cp works
Working with LADB ( no computer needed)
https://www.xda-developers.com/debloat-your-phone-run-adb-shell-commands-no-root-no-pc/
Download: https://disk.yandex.com/d/H02YifGGtrErbw
////////////Run an .sh file to install ///////////
cd /sdcard
cp cleanup.sh /data/local/tmp
cd /data/local/tmp
ls -l
chmod +x /data/local/tmp/cleanup.sh
ls -l
./cleanup.sh
/////////
Download: https://disk.yandex.com/d/NcQMhFp73OpwXw
( and run .sh script with LADB)
Tips howto install LADB:
important! Always use "Open in split screen view” for pairing devices. (only first connection, next time don't need)
View attachment 5457089
@tom.android have you removed all theese 41 apps and the tablet functions ok, without any problems ? Is there any real benefit in performance and especially in lagging ?
Reply: @nikoum
Just removed (switch off) my unused app, sorry not help for good performance but no trouble.
Note: LADB
https://forum.xda-developers.com/attachments/ladb_v1-7_test-zip.5457295/
How dose this work without rooting? When I try to run the script from ADB i get Can't execute: permission denied?
I run "cmd", then "adb shell" and then "pm uninstall --user 0 <package name>". Make sure in developer options to check USB debugging to on and when connecting device with usb cable, authorize the conneftion, when asked by the phone.
doggydog2 said:
Tab A7 stock rootless setup​
model used: Tab A7 Lite SM-T220
Just a quick article for this nicely sized 8.7" tablet. It's a baby tablet, not wasting time with rooting We want:
* debloating
* better battery
* better privacy
* call recording
* disk encryption
* tweaks
Rooting​No rooting. No logins, not even Google login, that's the plan. FDroid, Aurora, Vanced manager to deploy all you need. No contacts, no SMS, no location, nothing to protect.
Modules​Magisk​-
XPosed​-
Apps​* AdGuard -> supreme adblocker and firewall. Set VPN approach (rootless friendly, assuming device will stay at home), turn on HTTPS and turn off internet for all apps. Then enable few (browser, youtube, aurora) specifically.
* YouTube Vanced -> YouTube without ads and sponsor blocks.. install in non root mode, and remove the existing originals
* (optional) MiXplorer -> best file manager, replaces spyware ES File explorer you had before
* F-Droid -> open source apps
* Aurora -> all apps
Debloating​What the script does:
* choose 8 categories of app removal, in the beginning of the file
for each say 0=skip 1=remove 2=revert back
* use more switch to disable some questionable/helpful stuff
* disable up to 70 apps with possibility to revert back
I usually cook these files carefully, here i just removed non existing packages, added existing vendor packages. Vendor garbage gets uninstalled straight away, majority of packages is disabled in non-root mode (per user) so it can be reenabled later. You can edit the file.
unzip the file to some folder
adb shell as it's plugged to PC and authorized
go to the folder with script
cp TabA7_cleanup.sh /data/local/tmp
chmod +x /data/local/tmp/TabA7_cleanup.sh
/data/local/tmp/TabA7_cleanup.sh;
Tested ok on August Android 11 EU firmware. It produced no errors (=packages relevant), but there could be regional differences.
Download: (file attached)
Battery​Battery saving:
turn off location
turn off permissions and app usage for usual snitches
in Adguard turn off WIFI/mobile for each app (will be the default), then reenable few - advantage: no ads in games, no stupid accidental payments. Also set WIFI/mobile off when screen off -> tablet won't do anything, just keep idle for days hopefully
don't even enable GMS, this device can be a good throwawy tablet with no login to ANY service, without encryption, just pure gamepad.... likely no password/PIN to unlock. It's with slow CPU but games work nicely. It's not even slower than S4 flagship tablet honestly.
Click to expand...
Click to collapse
How do I get the script file to.run from ADB? I get permission denied
TheDroidKid said:
How do I get the script file to.run from ADB? I get permission denied
Click to expand...
Click to collapse
that's literally discussed above incl all common mistakes, if you think it's unique, please post a screenshot.
Your right got it working. Didn't releaize it was a big deal not to have it in /tmp
I keep trying to do the cp step but it keeps saying no such file or directory.
I checked my tablet with MiX and there's no local folder on data... What am I doing wrong here?
Is better privacy only possible with rooting? I want to disable the radio entirely and remove all of the Google apps.
Elzbach said:
Is better privacy only possible with rooting? I want to disable the radio entirely and remove all of the Google apps.
Click to expand...
Click to collapse
i disabled google, and using Aurora without root. With no logins, no PIM data, no location tracking, there's almost no data to steal. But if I was using it as a mobile phone, with logins, contacts etc, i'd have to root.
doggydog2 said:
i disabled google, and using Aurora without root. With no logins, no PIM data, no location tracking, there's almost no data to steal. But if I was using it as a mobile phone, with logins, contacts etc, i'd have to root.
Click to expand...
Click to collapse
I'm not using it as a phone and there is still no data to steal, but I still want to get rid of those things. I want to completely remove the tracking apps regardless of how little there is to track because they are bloat. I want to completely disable the radio, the microphone, gps, and blu tooth. I don't even want wireless internet connections to remain.

Categories

Resources