Related
I've compiled a simple app to be able to easily mount to your PC any given partition.
Feel free to donate if this app is of any use to you. Much appreciated.
Please note that changes to the drive will not be saved if you do not properly unmount/eject the drive from PC (in Ubuntu: right click, unmount. In Windows, eject.).
For those using stock browser, apk files often fail to download.. You can install Astro explorer and activate downloads in settings (last option). Then you should be able to download this file.
Dolphin should work without issues..
This is a Beta release.
This requires a working root (su). By that I mean your nook must be rooted. Regarding HC, see j4mm3r's thread.
This can be used, for example, to open your SD or internal data on your PC..
You can mount pretty much any partition to your computer with this app:
- SD
- Media (internal drive for your media and documents...)
- SD Partitions (up to 4)
- Internal storage - BE VERY CAREFUL WITH THIS!!
There are two "mount points" on the nook (lun0 and lun1)
So you can simultanously mount two partitons.
As an example, you can mount SD on 1st and MEDIA on the 2nd.
Each mount point has it's own tab.
Please try it out and post feedback.
Thank you.
EDIT (13.02.2011):
This has been tested on HoneyComb and Froyo (not in Eclair 1.0>1.1).
In Froyo: USB Mass Storage (Notification bar) should be turned off.
Compatibility mode will need to be disabled in Spare parts (reboot required).
If this doesn't work for you, try entering manually in ADB while NC plugged in to your PC:
Code:
adb shell
echo /dev/block/mmcblk0p8 > /sys/devices/platform/usb_mass_storage/lun0/file
And post result here.
Sam
----------------
UPDATES:
13-02-2011: 0.2b => minor bugs and made app scrollable for Froyo Landscape
26-02-2011: 0.3b:
- Changed 'settings' label (mistake) to system.
- Added a "Make sure you properly unmount/eject drive from PC when finished" message when mounting.
- Added dual boot system and data (p9 and p10).
- Changed 'Confirm mounting' to 'Confirm', as poster suggested. Thanks.
--------------
Hmm can't quite seen to get it to work right. The app does nothing for me when I select a partition to mount. I can get the SD card mounted via android's USB connected notification. I've tried the app with it turned on and off. It's got super user, so that's not it. By the way, I'm running Froyo 6.7 off the eMMC. Let me know what to try.
EDIT: Got it to work after running the ADB command in 1st post. Awesome app, thanks.
Sam,
Thank You, you program made my day. It works great, I have been messing with vold.fstab for days and I could only mount the boot of my sdcard. So, I went with manually pushing file to /sys/devices/platform/usb_mass_storage/luno/file which worked but your app make the process much better.
Again Thank you for everything you have done.
Biz
Could this work as a Xbox media storage? I want to get a new demo, and I got no Hard Drive
Works great!
this is great! i was thinking (since your help in the other thread) about trying to cobble something like this together myself in android app creator suite but didnt know if i could manage or not. Now i dont need to even try! thank!
EDIT: 2 things, one, is it possible to have this setting survive a reboot? and secondly, is the display supposed to be tiny? it only fills like a third of the screen and is centered at the top. this is on emmc froyo 0.6.7 the screen is scrollable as you said so just have to scroll down for the confirmed button
Does it unmount them on the nook when they are attached to the PC? I was playing with the echo command and it seems that the nook is unable to see any changes to the filesystem. I wrote a script that unmount them then runs the echo statement. Then another script that remount them once they are disconnected.
Good question. As I said, this is beta. I'm open to any suggestion. From what I tested, changes did actually occur even when mounted on android..
Unchecked compatibility mode in spare parts and reboot for fullscreen..
Sent from my HTC Desire using XDA App
samuelhalff said:
Good question. As I said, this is beta. I'm open to any suggestion. From what I tested, changes did actually occur even when mounted on android..
Unchecked compatibility mode in spare parts and reboot for fullscreen..
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
you did say that huh... sorry
This provided an easier way to fix root (SU binary) to make SuperUser work again on HC.
Glad it helped.
Over 100 downloads and very few feedbacks...
Sam
Sent from my HTC Desire using XDA App
samuelhalff said:
Over 100 downloads and very few feedbacks...
Click to expand...
Click to collapse
Interesting. I did see that if you try to download / install directly from the HC browser it doesn't work. Perhaps people do this instead of trying with their computer and assume it doesn't work? Downloads don't equal successful installs.
For Windows users, it (currently) provides the only way to mount the 4th partition of my HC SD card. Am I mistaken? Perhaps others don't realize what this is or are put off by the UI?
Keep it up. This is a much needed utility ATM.
The UI isn't THAT awful, is it?
Anyway, this can help a lot of people, especially the ones not too familiar with ADB..
Sam
Sent from my HTC Desire using XDA App
samuelhalff said:
The UI isn't THAT awful, is it?
Anyway, this can help a lot of people, especially the ones not too familiar with ADB.
Click to expand...
Click to collapse
To a person familar with partitions and the android file system it's fine. To those expecting a more fruity / friendly UI, it's far from it. However, you can't please everyone and it might be a waste of your energy to try. It's practical / functional and that's all I need it to be.
Indeed it can, much preferred over ADB even though I can use it just fine. You might want to make it more clear in the OP that users that have problems may need to type "adb shell" before the echo command. Not everyone will know this.
You app works well Sam! I can finally access my media partition via USB. I am looking forward to updates. Perhaps retaining setting after a reboot? Great work man!
Works great! I downloaded it with dolphin browser (running froyo on emmc) Then used root explorer to navigate to downloads and just clicked to install. Doesn't get any easier than that!
Would it be possible to have it mount media partitions? Like if I have dual boot setup would it be possible to mount the extra partitions to edit them?
Which media partitions?
Right, forgot about dual booters.. I'll implement that in 0.3..
Thanks.
Sent from my HTC Desire using XDA App
I want to thank you so much for this samuelhalff. I mean it. Something like this that may seem trivial to someone who can just do it means a WORLD to someone like me and i truly truly appreciate it. The devs/peeps here have made my little wanna be ereader ((hehe)) a great honeycomb tablet. I think its great for someone that cant afford the next great thing **xoom** to be able to join in the tech fun. You all have made me very happy with my little tablet.
Jamie.
Love the app!!!! but i got a issue now... There is no way for me to browse the media partition on the device... so I can not access my pictures that I placed on the internal storage...any insight?
Working great for me, HC on eMMC. Appreciate it!
I've been told that clockwork isnt currently working to do this, so...
http://dl.dropbox.com/u/2056318/update-template/bstats.zip
Install via clockwork.
Now you can run it via adb, OR terminal emulator in Android. Keep in mind it requires superuser permissions.
What exactly am I running? I installed, does installing wipe stats?
Sent from my SCH-I500 using XDA App
Zacisblack said:
What exactly am I running? I installed, does installing wipe stats?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
running that deletes batt stats.. its not installing a program or anything.
thank you, kind sir.
So every time we wanna wipe the battery stats we just run this?
Sweet
What exactly does wiping the battery stats accomplish?
Sent from my SCH-I500 using XDA App
As explained in this thread http://forum.xda-developers.com/showthread.php?t=957132, some think that it helps with battery life. Thanks for creating this (and everything else!), adrynalyne.
I had horrible battery life when I first flashed EB01. I have sinced wiped and gave a full charge with the phone not booted and I have seen 100% if not more improvement. Does this do anything different than wiping battery stats in CWM?
teeharding said:
I had horrible battery life when I first flashed EB01. I have sinced wiped and gave a full charge with the phone not booted and I have seen 100% if not more improvement. Does this do anything different than wiping battery stats in CWM?
Click to expand...
Click to collapse
Wiping the battery stats doesn't seem to be working with CWM for EB01.
Says error line 3 when I try to install this using Red CRW.
kaus said:
Says error line 3 when I try to install this using Red CRW.
Click to expand...
Click to collapse
Is there any reason not to simply open a root-friendly file explorer and delete batterystats.bin? After recent experiences, I'm not terribly inclined to trust Clockworkmod with anything when an easy alternative is available.
Another Fascinating post by my XDA app...
I used the script. Open the .zip in astro and look for the script. Copy it and run it in terminal, it will reboot your phone and hopefully wipe the stats. My phone read 65% before I wiped the stats with the script and after, it read 74%. So I'm hoping that it worked correctly. Lol
Sent from my cellphone.
YAY! I have been having battery problems since I flashed EB01. I tried the normal wipe and relearn tricks I've been using, with no luck. My battery died in 6 hours yesterday, with 1 3 minute phone call. So I charged the phone overnight, tried this script, and after 6 hours of moderate use I'm at 85%.
Thanks Adrynalyne, for making me like my phone again.
just did this as a trial and error to learn a little more how to use terminal. =)
i missed out on the adb tutorial on irc a few months back... soo....
figuring it out the hard way.
I'm still a bit confused with this. Do we either
1. Install via CWM red when we want our stats wiped? or
2. Install via CWM red, then use terminal emulator or adb to run the script? or
3. Something else entirely that I am not smart enough to think of?
Thanks adrynalyne for all you do!
hazenberger said:
I'm still a bit confused with this. Do we either
1. Install via CWM red when we want our stats wiped? or
2. Install via CWM red, then use terminal emulator or adb to run the script? or
3. Something else entirely that I am not smart enough to think of?
Thanks adrynalyne for all you do!
Click to expand...
Click to collapse
No. 2
10 char
Thanks. Quick follow up. How do I run the script using terminal emulator? Thanks
Sent from my SCH-I500 using XDA App
ok, i had to first download it to my phone.
go into astro,
find "download folder"
open said folder
find batt stat file
open it, look for system
ultimately you need to find the file labeled with the name "script". but you cannot "open" it. you long press on that file and then open it in in text editor.
then you delete the first two characters which is the #!. then long press that page, select all, copy.
press your home key at the bottom of the phone,
open up your terminal emulator app (which if you are embarking on this, you should have downloaded long ago from the app store)
type "su" from the $ prompt. it should then give you su access and you will see the # prompt.
long press the screen again, and select "paste".
this will autorun and restart your phone. if it doesn't restart, you did something wrong.
bear in mind, i am not a genius, and i have almost ZERO knowledge of development or how to use adb, and i figured it out on my own in about 20 minutes.
so you can do this. plus, if you do something wrong, "most" of the time the worst that will happen is nothing. the adb shell in the terminal only responds to very specific text commands. so don't be too scared.
helpful?
Perfect (except you typed copy when you meant paste ;-> ) the phone reset itself. Now to see if there is any difference in batt life.
Sent from my SCH-I500 using XDA App
upsidedownaaron said:
ok, i had to first download it to my phone.
go into astro,
find "download folder"
open said folder
find batt stat file
open it, look for system
ultimately you need to find the file labeled with the name "script". but you cannot "open" it. you long press on that file and then open it in in text editor.
then you delete the first two characters which is the #!. then long press that page, select all, copy.
press your home key at the bottom of the phone,
open up your terminal emulator app (which if you are embarking on this, you should have downloaded long ago from the app store)
type "su" from the $ prompt. it should then give you su access and you will see the # prompt.
long press the screen again, and select "copy".
this will autorun and restart your phone. if it doesn't restart, you did something wrong.
bear in mind, i am not a genius, and i have almost ZERO knowledge of development or how to use adb, and i figured it out on my own in about 20 minutes.
so you can do this. plus, if you do something wrong, "most" of the time the worst that will happen is nothing. the adb shell in the terminal only responds to very specific text commands. so don't be too scared.
helpful?
Click to expand...
Click to collapse
Thanks for the detailed instructions, upsidedownaaron. I found them helpful. However, near the bottom of your instructions you say to "copy" from inside Terminal Emulator. I'm pretty sure that you meant to "paste" the script that you previously copied.
oops, retard moment fixed. =)
edited to say "paste".
i most likely missed that due to eating paste.
Hi, I've read a lot of threads about this and have found no feasible answer to this (at least for me). My Atrix 4G running android 2.3.4 on Blue Chronic firmware "HomeBase Mega4 - Gingerbread 2.3.4" shows a blank field in the "My phone number" section. I know that using a Sony Ericsson or an old Samsung phone will allow me to edit this on my sim card, however I do not have access to either of these types of phones. Has anybody found a way to edit this on the Atrix itself, either by using SQLite editor or even using Root Explorer's text editor? I can do it easily if I can just find the fields that need to be edited. Please help.
Any possible solutions will be much appreciated.
Also does anybody know where I can find the .apk files after an apps been installed, do they get saved to a folder on the phone like a computer's "Temporary Internet Files" folder when you just click "run" in the dialog box?
Erebus671 said:
Also does anybody know where I can find the .apk files after an apps been installed, do they get saved to a folder on the phone like a computer's "Temporary Internet Files" folder when you just click "run" in the dialog box?
Click to expand...
Click to collapse
Download AppMonster, select the app you want the apk for, select backup. Use Root Explorer to navigate to sdcard/appmonster2/[the app you want]/rev/you will find the apk here
Thanks Pirate.
Now I still need the My phone number info, hopefully someone has that info....
You can edit the phone number using CM7
hmm, I have blue chronic right now, maybe I'll try to install CM7 again, last time I tried my phone soft bricked itself.. well, I soft bricked it...
Edit: Thanks for the tip though, I'll try it again...
Update: For some reason I am unable to install CM7. No clue why, I'll do a little research and try again. In the mean time if anyone has any other possible solutions, they would be much appreciated.
Still having trouble with this, if anyone has any roms other than CM7 that they would recommend that would be nice.
Sent from my MZ601 using xda premium
Erebus671 said:
Still having trouble with this, if anyone has any roms other than CM7 that they would recommend that would be nice.
Sent from my MZ601 using xda premium
Click to expand...
Click to collapse
Are you sure you have the latest recovery recommended for CM7?
thewarhawk said:
Are you sure you have the latest recovery recommended for CM7?
Click to expand...
Click to collapse
How can I be sure and what is the recommended?
Erebus671 said:
How can I be sure and what is the recommended?
Click to expand...
Click to collapse
Just download the Rom Manager app from the market, it should let you know if your recovery is up to date and offer to update it for you if it isn't
Okay, I stated doing that after I saw your post, but just to be on the safe side, what is the recommended version, or if you're not entirely sure, where can I get it?
Sent from my MZ601 using xda premium
thewarhawk said:
Just download the Rom Manager app from the market, it should let you know if your recovery is up to date and offer to update it for you if it isn't
Click to expand...
Click to collapse
Okay, so I have 5.0.2.0. Do you know if that's the latest recommended?
Sent from my MZ601 using xda premium
Yes sir you should be good..happy flashing
thewarhawk said:
Yes sir you should be good..happy flashing
Click to expand...
Click to collapse
Okay, I have one last question for you, I can't find any threads that really explain how to fastboot and the requirements thereof, would you be kind enough to help me there? I used to know, but know my computer doesn't recognize the command and I've forgotten how to get it to recognize them...
Sent using my Motorola XOOM using XDA premium
Erebus671 said:
Okay, I have one last question for you, I can't find any threads that really explain how to fastboot and the requirements thereof, would you be kind enough to help me there? I used to know, but know my computer doesn't recognize the command and I've forgotten how to get it to recognize them...
Sent using my Motorola XOOM using XDA premium
Click to expand...
Click to collapse
You have to use the cd (change directory command) in your command prompt to get to where you fastboot program is so for example if its file path is c:/androidtools/fastboot.exe
you would have to open cmd and type
Code:
cd c:\androidtools\
and then you could run any fastboot commands from there
if you don't already have fastboot it's here
thewarhawk said:
You have to use the cd (change directory command) in your command prompt to get to where you fastboot program is so for example if its file path is c:/androidtools/fastboot.exe
you would have to open cmd and type
Code:
cd c:\androidtools\
and then you could run any fastboot commands from there
if you don't already have fastboot it's here
Click to expand...
Click to collapse
Sorry I missed it, I figured it out after a while though, my directory is also different than yours, but thank you.
Sent from my MB860 using xda premium
i use stock rom and can't see my number in settings
gokhansouth said:
i use stock rom and can't see my number in settings
Click to expand...
Click to collapse
It's the same for me
I had that problem when I switched my carrier. I have not came across a ROM for it that allows SIM number change. If you dont have an issue installing this, use that to change your number, otherwise you might need to borrow someone's blackberry phone to do it, most of the BB's are known to be able to edit SIM numbers apparently.
I ended up digging out my old Acer Liquid E running CM7 based ROM which had the SIM number option and worked like a charm on my current SIM (it is the proper number now). But this option is no where to be found on the Atrix's CM7 ROMs
Currently trying to back up all the data from my phone after dropping it in the pool a week ago.
took my 10 tries to get adb working. I've backed up my SMS/MMS messages from telephony but I want to dump my internal sdcard as well.
I tried doing adb pull /sdcard but it told me that it's not a valid directory.
Help please?
randomafk said:
Currently trying to back up all the data from my phone after dropping it in the pool a week ago.
took my 10 tries to get adb working. I've backed up my SMS/MMS messages from telephony but I want to dump my internal sdcard as well.
I tried doing adb pull /sdcard but it told me that it's not a valid directory.
Help please?
Click to expand...
Click to collapse
First why use adb? If you don't have one get an adapter its cheap and very usefull.However if you want to go via adb try using QtADB. Also your problem might be fixed if you put /mnt/sdcard/ instead of just /sdcard/
Sent from my Optimus Me using xda premium
nerot said:
First why use adb? If you don't have one get an adapter its cheap and very usefull.However if you want to go via adb try using QtADB. Also your problem might be fixed if you put /mnt/sdcard/ instead of just /sdcard/
Sent from my Optimus Me using xda premium
Click to expand...
Click to collapse
oof. forgot to mention, this is internal storage, not an SD card.
/sdcard/ is where the external sdcard is mounted. If by internal sdcard you mean "the memory that resides on my phone", that should just be / (i.e. the root directory). I am not sure what your device is, so my understanding of your situation might be off, but give that a try instead.
If you tell us what phone you have it will help us a lot
Sent from my Optimus Me using xda premium
As has already been mentioned there are probably better ways to do this but if it is necessary to use adb for this task you might want to try using the "adb shell" command just log in directly to the device so you can interrogate the file system.
Since I don't have an actual device I can't really tell you where your "internal memory" storage is located. I believe everything that is user specific is located under the system directory (i.e. /system).
I wouldn't advise this however if you're not familiar with navigating Linux from the command line.
**Root access required**
Download:
- I545_OC1_Batch_DeBloater
- debloat.zip by @klabit87 for Linux & Mac Users
Instructions:
1. Extract the I545_OC1_Batch_DeBloater folder onto your desktop.
2. Turn on USB Debugging from Developer Options and connect your device to your *PC.
3. Double-click DeBloater.bat to launch the program.
4. Select "Light," "Medium," or "Extreme" **debloating and press Enter.
5. Grant Root Access if prompted by your device and press Enter to begin.
6. Once complete press Enter to return to the Main Menu and select ***Reboot Device.
7. Last, select Exit from the main menu to end your session. Done!
* Make certain that you have Samsung Drivers installed.
** Use notepad++ or other text editor to view/edit the lists of removed apps in DeBloater.bat file.
*** It is normal for apps to begin force closing prior to rebooting your device.
wanna point out that this is windows only, as i dont think there are any low-level samsung drivers for linux
and this is a batch file.
skepticmisfit said:
wanna point out that this is windows only, as i dont think there are any low-level samsung drivers for linux
and this is a batch file.
Click to expand...
Click to collapse
Correct, windows only.
worked great for me. using the extreme option (cuz 90s kid) left only s memo and s voice as far as any real bloatware. so much easier than using titanium backup and having to go through stuff. thanks for this, muniz
skepticmisfit said:
wanna point out that this is windows only, as i dont think there are any low-level samsung drivers for linux
and this is a batch file.
Click to expand...
Click to collapse
Just sent script to muniz_ri for approval for Linux and probably Mac users.
Tested adb functions and everything works on Ubuntu 14.04
Edit:
Just been given the go ahead by @muniz_ri
Here is the link for the linux version, as I said it may work for Mac
debloat.zip
As always you are more than welcome to add this to the op if you wish.
Muniz I ran the batch file and it worked great getting rid of all that bloat. Thank you very much. One thing that surprised me though is that I went from 5.15GB of used internal storage to 4.98GB after debloating and that's after running CCleaner to get rid of any left over junk. I was expecting to gain more memory space considering how many apps were removed. Is this normal? Thanks
Eddie Hicks said:
Muniz I ran the batch file and it worked great getting rid of all that bloat. Thank you very much. One thing that surprised me though is that I went from 5.15GB of used internal storage to 4.98GB after debloating and that's after running CCleaner to get rid of any left over junk. I was expecting to gain more memory space considering how many apps were removed. Is this normal? Thanks
Click to expand...
Click to collapse
there's three settings in the batch script. which one did you use?
also, the bloat apps aren't really that big, they're all near the 10-20mb or less ballpark. accumulating 20 of them up probably frees up like maybe 100-200 mb of space. this is of course wild speculation as I usually make but still, something to consider
skepticmisfit said:
there's three settings in the batch script. which one did you use?
also, the bloat apps aren't really that big, they're all near the 10-20mb or less ballpark. accumulating 20 of them up probably frees up like maybe 100-200 mb of space. this is of course wild speculation as I usually make but still, something to consider
Click to expand...
Click to collapse
Thanks for getting back. I used extreme setting. I guess the files are not as large as I thought. I may not have gained much memory space but at least the bloat is gone.
I gave adb root permissions through SuperSU, ran this (slightly customized extreme, I kept Hangouts), and verified that the folders have been removed. After doing that, many of the apps I still had to manually uninstall (is that normal?), and some I'm not sure if I even can remove some (I just have a disable option).
I know you guys know better than I, but is simply removing these directories from /system/app enough to uninstall the applications?
Thanks.
Hi @muniz_ri you are my guru in these topics what's your position in new update for SCH-I545 how can we update without loose detox and root and xposed thanks in advance
Sent from my SCH-I545 using XDA Free mobile app
EdrickMG said:
Hi @muniz_ri you are my guru in these topics what's your position in new update for SCH-I545 how can we update without loose detox and root and xposed thanks in advance
Sent from my SCH-I545 using XDA Free mobile app
Click to expand...
Click to collapse
Someone needs to capture the ota so that a pre-rooted ROM can be created.
this works on of1, using the same instructions.
it seems samsung gave up on Story Album because both story album related apps were apparently not present, according to the debloater tool. hooray for removed bloat!
muniz_ri said:
Someone needs to capture the ota so that a pre-rooted ROM can be created.
Click to expand...
Click to collapse
Hello,
I'm a programmer (in college, mostly C & C++), but my knowledge of android is limited to rooting my S4 and other stuff I've gleaned while lurking on xda.
A quick search for how to capture an ota seems that it's not terribly difficult to do. ex http://forum.xda-developers.com/showthread.php?t=1589754
Is my impression (capturing ota update is not hard) correct? If so, why hasn't it been done? If the answers to those questions are "Yes" and "No good reason," respectively, I might be able to donate some of my time to do it. Would that be useful?
jdelphiki99 said:
Hello,
I'm a programmer (in college, mostly C & C++), but my knowledge of android is limited to rooting my S4 and other stuff I've gleaned while lurking on xda.
A quick search for how to capture an ota seems that it's not terribly difficult to do. ex http://forum.xda-developers.com/showthread.php?t=1589754
Is my impression (capturing ota update is not hard) correct? If so, why hasn't it been done? If the answers to those questions are "Yes" and "No good reason," respectively, I might be able to donate some of my time to do it. Would that be useful?
Click to expand...
Click to collapse
Muniz already got the update and created instructions for OF1 here
Is there a list of what gets removed at each level?
rpmm70 said:
Is there a list of what gets removed at each level?
Click to expand...
Click to collapse
Open the .bat file and you can read it all to see.
adb is not a recognized command
when i tried this it says that adb is not a recognized command. running windows 10 is that why?
devtinagub said:
when i tried this it says that adb is not a recognized command. running windows 10 is that why?
Click to expand...
Click to collapse
You may have deleted adb.exe from the extracted folder (maybe you havent extracted all the files), you must have the 4 files included at zip:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
Debloater.bat
solved! thank you
Edgardo_Uchiha said:
You may have deleted adb.exe from the extracted folder (maybe you havent extracted all the files), you must have the 4 files included at zip:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
Debloater.bat
Click to expand...
Click to collapse
thank you so much i finally was able to root my phone last night! you are awesome!
it says "no such file or directory" for everything on my phone when I run it. Any ideas there?