CM7 / AOSP Boot sound [working] - EVO 4G General

Another user asked for this, and I helped him through it, so I decided to post it here so everyone can have access to it. I didn't create the file, just came across it one day being bored..I digress.
Credit to barnacles10 and lithid-cm
*NOTE: Anything in brackets is either description of what is happening or an action you need to perform; don't type in anything in brackets*
What you need to do to get a boot sound on CM7/AOSP is the following.
1. http://dl.dropbox.com/u/19699565/bootsnd.sh Apparently some people had issues with the first link, so I uploaded it again. Download that file, place on your sdcard.
2. Take whatever sound you want and rename it to: android_audio.mp3 [needs to be mp3 format] and then place in your adb tools folder.
3. On your phone, open terminal emulator, and type in the following:
su [enter]
cd /sdcard [enter]
ls [to list all files, you should see bootsnd.sh]
sh bootsnd.sh [enter]
You won't see a confirmation, or message, it just runs, and returns you to a # sign.
From your computer, adb push the android_audio.mp3 to the /system/media folder, reboot, and you'll have a sound.
If you don't like / know how to use adb, using root explorer and placing the android_audio.mp3 in the system/media folder works just as well. Reboot, and enjoy your boot sound.
*NOTE*
If you flash / change roms, you'll have to re-run the process to enable the boot sound again. If you get tired of it / don't want it, you can use root explorer and delete the file.
Alternate method:
For those that don't like using the terminal emulator, you can do it via adb:
navigate to your adb folder via commanda prompt, then issue the following commands:
adb remount
adb shell
cd /sdcard
ls [will list files, you should see bootsnd.sh]
sh bootsnd.sh
Like in the emulator, you will be returned with a # sign. Then place the audio file in the folder I specified. Just decided like posting an alt method. Enjoy.

Nice post I'm going to do this now!
Sent from my PC36100 using XDA Premium App

Well I do hope you enjoy it.

Excellent, trying this now!
Edit: Works great on CM7 7.0.2.1!!! Nice find!
.........at 8 am today someone poisons the coffee....do not drink the coffee. More instructions will follow.
Cordially,
Future Dwight

teh roxxorz said:
Well I do hope you enjoy it.
Click to expand...
Click to collapse
And I must say it has worked flawlessly.. I maintain a small network off friends rooted phones and this is one off the "hit" fixed so far everybody loves it. Thanks again for the help with this the other day..
Sent from my PC36100 using XDA Premium App

I really want this.. I just found this thread after searching and searching for an answer.. I just about gave up but I think I still my have a problem. My hboot version is 2.10 and dont think this will allow me to use pushboot.... any ideas

opps.. guess I should have read the whole post..... I am bout to give it a try

frikin awesome thanks a bunch.. I dont know what that little file did but it worked .. wooohoooooooooooo

teh roxxorz said:
Another user asked for this, and I helped him through it, so I decided to post it here so everyone can have access to it. I didn't create the file, just came across it one day being bored..I digress.
What you need to do to get a boot sound on CM7/AOSP is the following.
1. Download that file, place on your sdcard.
that download just shows up as a text file... am i doin it wrong?
Click to expand...
Click to collapse

@teh roxxorz: Thanks a lot man. I had to search a longtime to find this. You're the man. Seems like CM7.02.1 doesn't have that bootsnd.sh file embedded. Maybe the latest stable has it. If I wasn't new to the forum I'd know how to hit you with a "Thank You"...

youdoofus said:
teh roxxorz said:
Another user asked for this, and I helped him through it, so I decided to post it here so everyone can have access to it. I didn't create the file, just came across it one day being bored..I digress.
What you need to do to get a boot sound on CM7/AOSP is the following.
1. Download that file, place on your sdcard.
that download just shows up as a text file... am i doin it wrong?
Click to expand...
Click to collapse
The file should save as a .sh. If it doesn't show up as .sh when you are saving it, save it as all file types, and that should work as well.
If you double click it, it should prompt you with the "no program found...do you want to...blah blah" And it should show bootsound.sh
Click to expand...
Click to collapse

gReeNzZz said:
@teh roxxorz: Thanks a lot man. I had to search a longtime to find this. You're the man. Seems like CM7.02.1 doesn't have that bootsnd.sh file embedded. Maybe the latest stable has it. If I wasn't new to the forum I'd know how to hit you with a "Thank You"...
Click to expand...
Click to collapse
Well AOSP roms [i.e CM7] wasn't designed to have boot souns, so it probably won't be integrated [my speculation].
And if you ever want to "thank" anyone, at the bottom of every post, you'll see a "thanks" button, and then you have "thanked" them, and the user can see it.

Can't get this flashed. I tried to rename what I had downloaded from cyan's web site, Droid eye audio.zip, even tried to just flash it. A little help please
Sent from my ERIS ADR6200 using XDA App

chefrjd33 said:
Can't get this flashed. I tried to rename what I had downloaded from cyan's web site, Droid eye audio.zip, even tried to just flash it. A little help please
Sent from my ERIS ADR6200 using XDA App
Click to expand...
Click to collapse
Well if its a zip file. Extract the file, it should be an mp3 inside. Rename that file to android_auido [should have .mp3 extension already].

It launches rom manager and tells me its a operating system. Did I get the wrong file.
Sent from my ERIS ADR6200 using XDA App

chefrjd33 said:
It launches rom manager and tells me its a operating system. Did I get the wrong file.
Sent from my ERIS ADR6200 using XDA App
Click to expand...
Click to collapse
Where are you opening the file that its making it open from rom manager?

teh roxxorz said:
Another user asked for this, and I helped him through it, so I decided to post it here so everyone can have access to it. I didn't create the file, just came across it one day being bored..I digress.
What you need to do to get a boot sound on CM7/AOSP is the following.
1. http://dl.dropbox.com/u/19699565/bootsnd.sh Download that file, place on your sdcard.
2. Take whatever sound you want and rename it to: android_audio.mp3 [needs to be mp3 format] and then place in your adb tools folder.
3. On your phone, open terminal emulator, and type in the following:
su [enter]
cd /sdcard [enter]
ls [to list all files, you should see bootsnd.sh]
sh bootsnd.sh [enter]
You won't see a confirmation, or message, it just runs, and returns you to a # sign.
From your computer, adb push the android_audio.mp3 to the /system/media folder, reboot, and you'll have a sound.
If you don't like / know how to use adb, using root explorer and placing the android_audio.mp3 in the system/media folder works just as well. Reboot, and enjoy your boot sound.
*NOTE*
If you flash / change roms, you'll have to re-run the process to enable the boot sound again. If you get tired of it / don't want it, you can use root explorer and delete the file.
Click to expand...
Click to collapse
Ok just tried this without using adb as I think its million times better to just use a ftp app and get this done in seconds. But I dont know why its not working. I check the name to make sure I wasnt putting in the .mp3 twice and for some reason it wont play the file. And its in MP3 format.

I had some that wouldn't play for some reason too. Try a different mp3 file and see id it work. If not did u get the bootsnd file placed on the root of sd card and pushed the file with adb. Or my preferred method terminal emulator.
Kings GB Destroyed EVO

Or tell me what steps udid do.
Kings GB Destroyed EVO

cmurray77 said:
I had some that wouldn't play for some reason too. Try a different mp3 file and see id it work. If not did u get the bootsnd file placed on the root of sd card and pushed the file with adb. Or my preferred method terminal emulator.
Kings GB Destroyed EVO
Click to expand...
Click to collapse
Really well I actually tried the audio from the driod just to see but I try a couple more. Yeah the problem with using those they are more timely and both USB ports are beyond ****ed right lol. But I should just be able to do this over FTP. Was there anything similar to the ones that worked to the ones that did.

Related

[Think Tank] Installing Non-market apps without a custom ROM or ADB

OK, I made a zip. Who wants to be my guinea pig? It's at the bottom of the post. (erase -signed and put it on the internal sd)
blackjackboy said:
I guess my idea would be to take the settings.apk from either the Vibrant dump or cyanogenmod 5.0 and push it to /system/app or wherever the settings.apk is located. Does anyone think that this would work or be willing to try it? I'm just worried that this will brick the touchwiz, and without an "original ROM" or RUU and custom recovery, I'm afraid to try it. Is there anyone braver than me?
Click to expand...
Click to collapse
Did you check this thread?
http://forum.xda-developers.com/showthread.php?t=728121
tbae2 said:
Did you check this thread?
http://forum.xda-developers.com/showthread.php?t=728121
Click to expand...
Click to collapse
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Well, the best thing to do, simply run a sql command along with the rooting update.zip.
I will work on this today and get back to you guys soon.
http://androidforums.com/samsung-ca...e-sideloading-apps-captivate.html#post1178618
Been done.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
It isn't free but it isn't expensive either. You just dropped a large wad of cash for the phone, seems like another $3 to get it the way you want it wouldn't be such a big deal.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
Droid Explorer is.
I'm an android noob but experienced linux user, so I came up with my own free solution: download a terminal emulator app (the one i got was free, and called, simply, Terminal Emulator, I think).
Then (in the terminal emulator):
Copy the settings.db file to the SD card:
To get superuser access so you can get to the settings.db file (need a rooted phone, obv):
Code:
$su
And confirm the popup allowing access.
Code:
#busybox cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db
Then hook up your phone via USB (mass storage method) and use your window manager to copy that from the phone to the computer, edit with an SQL database browser, save it, verify it's still good, move it back to the SD card, then, back on the phone in the terminal emulator:
To get superuser access again:
Code:
$su
Shouldn't have to confirm the popup allowing access again, as the first time appears to do it.
Move the original file to a backup name (just to be safe):
Code:
#busybox mv /dbdata/databases/com.android.providers.settings/settings.db /dbdata/databases/com.android.providers.settings/settings.db.old
Copy the new (edited) file into place:
Code:
#busybox cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings/settings.db
Then reboot, and enjoy the ability to install non-market apps. My first install was Flash 10.1. Works fine on the Captivate.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
Grab Android Mate from the market, it is free and has root level exploration
blackjackboy said:
OK, I made a zip. Who wants to be my guinea pig? It's at the bottom of the post. (erase -signed and put it on the internal sd)
Click to expand...
Click to collapse
This might also work, I have used it, pretty simple
http://m.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Superoneclickroot has a one click enable non market apps next to the root button, fyi.
terrymc said:
This might also work, I have used it, pretty simple
http://m.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Click to expand...
Click to collapse
Smasher816 said:
Superoneclickroot has a one click enable non market apps next to the root button, fyi.
Click to expand...
Click to collapse
:faceplam:
bump a year old thread? with these no less....
whats wrong with bumping a (insert # here) old thread? it hasnt been closed or deleted. as long as info pertaining to the OP is being posted shouldnt it be a non-issue? now if it was bumped with something like 'why bump this fossil thread?' then that would be a pointless bump. i gained info from the 1 year late post about superoneclick and thanked the guy for posting it.
EDIT: you spelled 'facepalm' wrong.
Well first it shouldn't even be here in development. And second thread closed.

[Q] I cant get permroot can someone please help ???

Ok people I'm pathetic.... I rooted using visionary installed titanium backup pro, astro, terminal emulator. I downloaded the root.rar files and put them onto the sd card. Unhooked my phone opened terminal typed su+enter but when I tried the sec command it wouldn't work I then went back into astro and h_boot and wpx are white in color and when I press on one of them it says file type ko not found. Can someone please please help me!!!! Do I have to have adb installed in order for the root.rar files to be found . Thank u very m much in advance. And if this is not the correct place to post this at let me know and I will move it thank u
Check out mackesters channel on YouTube he's got a good tutorial
Hey, you probably done all this... But thought I'd give a crack at it...
When trying to root using visionary
Quickly check these:
-did you have fastboot from >settings>applications turned off?
-was Set system r/w after root from visionary app checked?
-Temproot first
-Attempt permroot next
-Phone should reboot and you should see Super User app in the drawer.
Then follow the instructions here
If you wish to use root explorer to push the gfree file to /data/local you can do so too, its easier than adb commands.
Hope this helps. Good luck man.
Please post questions in the Q&A section.
Use root file explorer not Astro, check my signature. Also you said you downloaded the root.rar and placed it on sd, did you unzip it first?
Fastboot was off rw on. I don't know if I unzipped root.rar or not all I did was download it right click on it extracted to F drive moved to sd and in terminal is said not found our something when I entered the sec command.i did a factory reset so I'm starting fresh. What did I do wrong ? Thank u awesome people in advance
You sure you put the right file? Coz there are two gfree files...
Jmayes1786 said:
Fastboot was off rw on. I don't know if I unzipped root.rar or not all I did was download it right click on it extracted to F drive moved to sd and in terminal is said not found our something when I entered the sec command.i did a factory reset so I'm starting fresh. What did I do wrong ? Thank u awesome people in advance
Click to expand...
Click to collapse
rjhay22 said:
You sure you put the right file? Coz there are two gfree files...
Click to expand...
Click to collapse
This depends on the thread your following, he is referring to ULTIMATE S OFF
And extract is the same thing as unzip.
Sent from my HTC Glacier using XDA App
I guess I used the right one but it says ko file not found or sh file not found etc so I don't know what I'm doing wrong its driving me insane it shouldn't be this hard. Thanks for everyone help I'm still trying and will not give up lol
Are you doing this in the phone or thru a pc via adb? If adb also copy the files from root.rar to sdk/tools then adb will see them
Jmayes1786 said:
I guess I used the right one but it says ko file not found or sh file not found etc so I don't know what I'm doing wrong its driving me insane it shouldn't be this hard. Thanks for everyone help I'm still trying and will not give up lol
Click to expand...
Click to collapse
Sent from my HTC Glacier using XDA App
http://forum.xda-developers.com/showthread.php?t=834225
Try the alternative root process listed midway through OP I think you will have success, let me know if not then I know where your at.
I have had the best luck with this one
Sent from my HTC Glacier using XDA App

[Q] .sh script help

Hey guys, need some help with this one from some of you with more android/linux experience than me.
In my continuing quest to make Blackhole as customizable as possible I've been working on a way for users to easily install paid apps (legally downloaded of course), and stuff that I don't have available in rom manager in one easy step at the same time the rom is installed. In pursuit of this goal I've found that it's possible for the update-script file inside a clockworkmod zip to call a script in the zip as well. I've gotten it to say it's run the script, but it doesn't do what it's supposed to. here's what i've got:
#! /bin/
busybox cp /sdcard/app/* /system/app/
When I type the command into a terminal on the phone it works. When I open an adb shell and type "bash install.sh" it works. But when I get the update.zip to run the script, or run it in root explorer it just says it's run it, but doesn't do anything.
Is there something I'm missing about how to call the script? Do I need to somehow add the bash program to the zip file so it can run the script right? Has anyone ever done something like this who can point me in the right direction?
do you have an output you can show us?
Sent from my SCH-I500 using XDA App
This is a shot in the dark but does writing to /system/app require root permissions? It could be that you've given your terminal app root, so it runs under su. But when the script is being executed it does not have root and fails, but perhaps the output is being held back a bit and you're not seeing the permission denied.
Steve_ ?!
whoa, didn't expect it to be you of all people
Anyhoo, this is a bit off topic, but I've got a small request, can you somehow make BlackHole 2.4 an option on Rom manager? I don't have DL09 so I can't use 3.0, but I really like the ability to select everything to customize, instead of me going and installing one thing at a time....
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
wizang said:
This is a shot in the dark but does writing to /system/app require root permissions? It could be that you've given your terminal app root, so it runs under su. But when the script is being executed it does not have root and fails, but perhaps the output is being held back a bit and you're not seeing the permission denied.
Click to expand...
Click to collapse
Could very well be, it's not showing me any output when i run it the two ways it doesn't work, just says it's been run.
vegittoss15 said:
Steve_ ?!
whoa, didn't expect it to be you of all people
Anyhoo, this is a bit off topic, but I've got a small request, can you somehow make BlackHole 2.4 an option on Rom manager? I don't have DL09 so I can't use 3.0, but I really like the ability to select everything to customize, instead of me going and installing one thing at a time....
Click to expand...
Click to collapse
Haha, caught me. I was trying to remain incognito Yeah, i'll get 2.4 loaded back up on rom manager for you today. But if you flash 3.0 it will upgrade you to DL09 and the DJ05 kernels and modem are compatible, or at least no one i know of has had issues.
imnuts said:
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
Click to expand...
Click to collapse
sdcard is mounted when you go to recovery, because it's got to access the update.zip file on it to install anything. I'll try your code, do you know what to put after SYSTEM: to make it go to the /app directory? thanks for the idea, it's a different way to go, i didn't think about the fact the update-script could access the device if you don't use the "package" tag.
Don't you need to add "sh" to the bin directory and define the script as so:
#! /bin/sh
if you want it to execute properly..
dcow90 said:
Don't you need to add "sh" to the bin directory and define the script as so:
#! /bin/sh
if you want it to execute properly..
Click to expand...
Click to collapse
normally yes, but there doesn't seem to be a /bin/sh directory on my fascinate, only /bin and that's where the cp and mv and cat, etc. are.
I made a script to do this forever ago on my G1 when it first came out... Let me see if I can find it.
This has been done lots of times before. If you look around on xda there are some backup scripts which do the same thing.
Sent from my SCH-I500
imnuts said:
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
Click to expand...
Click to collapse
Well I gave that a shot, and i think it could work, but the recovery wouldnt do it. it says "non-package source path not yet supported" good idea tho.
yutsoku said:
I made a script to do this forever ago on my G1 when it first came out... Let me see if I can find it.
Click to expand...
Click to collapse
If you can that would be great.
n0yd said:
This has been done lots of times before. If you look around on xda there are some backup scripts which do the same thing.
Sent from my SCH-I500
Click to expand...
Click to collapse
I spent a good bit of time searching and most of the scripts I found were much more complex than what i need, or were written to run on a computer, which i've already done.
sonofskywalker3 said:
normally yes, but there doesn't seem to be a /bin/sh directory on my fascinate, only /bin and that's where the cp and mv and cat, etc. are.
Click to expand...
Click to collapse
Thats not the point. You need to set a shell interpreter, not a path. Cwm uses busybox sh, which is in /bin in recovery mode. Google search shebang
Sent from my SCH-I500 using XDA App
jt1134 said:
Thats not the point. You need to set a shell interpreter, not a path. Cwm uses busybox sh, which is in /bin in recovery mode. Google search shebang
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Going to go ahead and parade my stupidity in front of everyone here:
so does that mean i'm right using #! /bin/ or that it should be #! /bin/sh/ or something else entirely? I'm so confused.
sonofskywalker3 said:
Going to go ahead and parade my stupidity in front of everyone here:
so does that mean i'm right using #! /bin/ or that it should be #! /bin/sh/ or something else entirely? I'm so confused.
Click to expand...
Click to collapse
#!/bin/sh for scripts in recovery. #!/system/bin/sh for scripts in android.
Sent from my SCH-I500 using XDA App

[Q] How to delete PUSHED files from "/sdcard/"

Hello, so I've done some light searching, but can't seem to find the answer to my question.
I've just finished installing a custom ROM to my Nexus 4, and in doing so, I pushed a few files to my phone via ADB
(ADB PUSH FILENAME.ZIP /SDCARD/FILENAME.ZIP) and am now wondering how to REMOVE these files that I no longer need.
When I am in recovery and select "install from zip" obviously, I am able to see the files, as that is how I installed them. However!
I can not view them via MTP (not that I've ever had much success with MTP) nor using ASTRO or File Manager.
Where are these files truly located and how can I delete them?
Ideally, I would like to learn how to view this directory, but would be happy enough just to know which ADB commands would list these files
and which commands will allow me to remove them one by one.
Thank you
*ISSUE RESOLVED*
After looking within CWM as to where sdcard contents were being sourced "/data/media"
I rebooted the phone, and attempted to locate this directory within File Manager with no luck....at which point, I realized that File Manager didn't have root privileges.
After giving root privileges to File Manager, I was able to navigate to /data/media and locate the pushed files and remove them.
If I were you I'd use adb shell and then the Linux remove command
That means:
Code:
adb shell
cd /sdcard/
rm - r FILENAME.zip
That's it, hope it works
Sent from my Nexus 4 running Android 4.3
Thank you for your reply! The only issue I have with that method, is not necessarily knowing the file names...
I would assume there are quite a few files within this directory, given that this isn't the first ROM I've installed.
I'd really like to be able to view the contents of the true location. Does anyone happen to know where it is on the Nexus 4 that CWM
is looking for the zip files? I would assume that this would tell where the files are located, and perhaps I could point an explorer to it.
What was puzzling was that searching the entire phone for "gapps" in ASTRO yielded no results.... as I am certain more than one of the zips I have pushed contain this within their file name.
losballatopg said:
Thank you for your reply! The only issue I have with that method, is not necessarily knowing the file names...
I would assume there are quite a few files within this directory, given that this isn't the first ROM I've installed.
I'd really like to be able to view the contents of the true location. Does anyone happen to know where it is on the Nexus 4 that CWM
is looking for the zip files? I would assume that this would tell where the files are located, and perhaps I could point an explorer to it.
What was puzzling was that searching the entire phone for "gapps" in ASTRO yielded no results.... as I am certain more than one of the zips I have pushed contain this within their file name.
Click to expand...
Click to collapse
adb shell
cd /sdacrd/
ls
then u see the names
or to delete all zips(i dont know if this will work, i only tried with del *.exe on Windows)
adb shell
cd /sdcard/
rm - r *.zip
use a file explorer, go into your sd card storage, find the files, long press and delete.
simms22 said:
use a file explorer, go into your sd card storage, find the files, long press and delete.
Click to expand...
Click to collapse
Yeah....so perhaps you didn't read either of my posts.....the files don't show up in any file explorer that I've tried. That was basically the main issue...
opssemnik said:
adb shell
cd /sdacrd/
ls
then u see the names
or to delete all zips(i dont know if this will work, i only tried with del *.exe on Windows)
adb shell
cd /sdcard/
rm - r *.zip
Click to expand...
Click to collapse
Once I have entered the /sdcard/ directory, running "ls" shows nothing..... :-/
I just don't know how this topic hasn't been discussed more often.....
What does everyone else do? Just keep filling that directory every time they push something and leaving it until the next wipe?
losballatopg said:
Yeah....so perhaps you didn't read either of my posts.....the files don't show up in any file explorer that I've tried. That was basically the main issue...
Click to expand...
Click to collapse
if you successfully pushed the files to /sdcard/, then thats where they should be, they cant be anywhere else. make sure that you arent looking in/sdcard/download/. what file explorer are you using btw? use a root file explorer(like root explorer), not a regular file explorer.
---------- Post added at 05:11 PM ---------- Previous post was at 05:08 PM ----------
losballatopg said:
Once I have entered the /sdcard/ directory, running "ls" shows nothing..... :-/
I just don't know how this topic hasn't been discussed more often.....
What does everyone else do? Just keep filling that directory every time they push something and leaving it until the next wipe?
Click to expand...
Click to collapse
because no one else has an issue with this. im guessing its the file explorer that you chosen to use or user error somewhere.
simms22 said:
if you successfully pushed the files to /sdcard/, then thats where they should be, they cant be anywhere else. make sure that you arent looking in/sdcard/download/. what file explorer are you using btw?
Click to expand...
Click to collapse
Yes, this would seem to be the logical answer wouldn't it? This isn't my first "Android Rodeo"...however, as Android and handsets have developed, directories are no longer always as they seem (or titled)
Luckily I was able to resolve my issues.....
After looking within CWM as to where sdcard contents were being sourced "/data/media"
I rebooted the phone, and attempted to locate this directory within File Manager with no luck....at which point, I realized that File Manager didn't have root privileges.
After giving root privileges to File Manager, I was able to navigate to /data/media and locate the pushed files and remove them.
Thank you for your efforts, and hopefully this helps someone else down the road who finds themselves in the same situation.
simms22 said:
if you successfully pushed the files to /sdcard/, then thats where they should be, they cant be anywhere else. make sure that you arent looking in/sdcard/download/. what file explorer are you using btw? use a root file explorer(like root explorer), not a regular file explorer.
---------- Post added at 05:11 PM ---------- Previous post was at 05:08 PM ----------
because no one else has an issue with this. im guessing its the file explorer that you chosen to use or user error somewhere.
Click to expand...
Click to collapse
I tried Solid Explorer, ASTRO File Manager, and the File Manager provided with CM 10.2
Were you to have simply informed me that files pushed to "/sdcard/" were located at "/data/media" my issue would have been resolved through the logic I ended up using.
Something tells me you prefer the blame game
Thanks anyway
losballatopg said:
I tried Solid Explorer, ASTRO File Manager, and the File Manager provided with CM 10.2
Were you to have simply informed me that files pushed to "/sdcard/" were located at "/data/media" my issue would have been resolved through the logic I ended up using.
Something tells me you prefer the blame game
Thanks anyway
Click to expand...
Click to collapse
first off, i dont use cwm, i use twrp recovery. all my files get pushed to wherever i push them, period.
if you look at my thanks at least, you can see that i dont prefer the blame game, but i do prefer helping people. and personally, that hurts my feelings, thanks
simms22 said:
first off, i dont use cwm, i use twrp recovery. all my files get pushed to wherever i push them, period.
if you look at my thanks at least, you can see that i dont prefer the blame game, but i do prefer helping people. and personally, that hurts my feelings, thanks
Click to expand...
Click to collapse
Well, then it seems that we have both learned something today. Glad we could be such a great!
No hard feelings
losballatopg said:
Well, then it seems that we have both learned something today. Glad we could be such a great!
No hard feelings
Click to expand...
Click to collapse
both learned something? im lost, what did i learn
oh nevermind. enjoy.
simms22 said:
both learned something? im lost, what did i learn
Click to expand...
Click to collapse
Well...you didn't seem to have prior knowledge of the fact that pushing to "/sdcard/" places files in the "/data/media" directory
(at least for when pushing within CWM Recovery on a Nexus 4, and from what I've read, all other recent versions of Android with no external SD)
Unless you're choosing to ignore this information...I'd call it something learned.
losballatopg said:
Well...you didn't seem to have prior knowledge of the fact that pushing to "/sdcard/" places files in the "/data/media" directory
(at least for when pushing within CWM Recovery on a Nexus 4, and from what I've read, all other recent versions of Android with no external SD)
Unless you're choosing to ignore this information...I'd call it something learned.
Click to expand...
Click to collapse
not while using twrp. but, point taken. i did learn something today, i learned of another reason why not to use cwm recovery
simms22 said:
not while using twrp. but, point taken. i did learn something today, i learned of another reason why not to use cwm recovery
Click to expand...
Click to collapse
I concur.
wow just read this thread and I must admit simms22 is quite helpful and even in some instances more helpful than he needs to be... LOL
now if pushing a file to /sdcard sends it to data/media then I truly agree as well CWM is a problem. I must admit though when using CWM I have never had that issue. Usually pushing a file to whatever folder I choose it normally goes there.
Also as a personal preference Root Explorer is a hell of a file manager..Jus Sayin'

[Guide] How to have write protection disabled on boot with stock rom

For this to work you will need to be rooted with twrp installed.
This is for people who are on the stock rom or a rom without init.d support.
1. Download the wp_mod.ko file from @flar2's thread http://forum.xda-developers.com/showthread.php?t=2701816
and copy it over to your SD card (either internal or external)
2. Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
13. profit
I don't have my hands on mine yet (ordered a Dev edition from Amazon), but I greatly appreciate your work here! R/W was a massive pain for me on my M7, and this seems much more simple and easy. Thanks again!
Hi graffixnyc,
Thanks for the explanation, but the link to the file is not working ....
link
flaxjef said:
Hi graffixnyc,
Thanks for the explanation, but the link to the file is not working ....
Click to expand...
Click to collapse
+1
CC
Should be fixed now.. I don't know why it cut off some of it
http://forum.xda-developers.com/showthread.php?t=2701816
Thanks for the turorial, but this isn't working for me
The file can't be executed (even after chmod) - and if i try to execute this file in an other directory, my terminal says that this file can't be found..
Any ideas?
So my device simply ignores Step 7 .... :crying:
graffixnyc said:
For this to work you will need to be rooted with twrp installed.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
Click to expand...
Click to collapse
I know I am being a grammar nazi, but I am fairly certain you mean "ensure". I tried to just leave it alone, but I can't not say something. It's a curse.
Fenny said:
I know I am being a grammar nazi, but I am fairly certain you mean "ensure". I tried to just leave it alone, but I can't not say something. It's a curse.
Click to expand...
Click to collapse
It is ironic that a "grammar nazi" would use a double negative while pointing out a grammatical error...
noimjosh said:
It is ironic that a "grammar nazi" would use a double negative while pointing out a grammatical error...
Click to expand...
Click to collapse
lol... yeah, would have been better to say: "but I'm compelled to say something"
Oh well, no biggie though.
Don't know how I missed this thread though, thanks graffixnyc.
noimjosh said:
It is ironic that a "grammar nazi" would use a double negative while pointing out a grammatical error...
Click to expand...
Click to collapse
Indeed, it is ironic.
thank you
412070391 said:
thank you
Click to expand...
Click to collapse
Does this work if the phone is still s-on? (unlocked/rooted but no s-off)
Sorry, but will this fix my little niggling issue with MX player? I keep my Stewart/Colbert files on the extSD card, but I can't delete them when done watching them using MX Player's delete command. I have to remember which files are watched and then use ES File Explorer to delete them. A silly second step in my opinion. Yes I am rooted, s-on, with TWRP.
I'm staying stock hoping a firewater solves my s-on issue, but yes I should probably do a custom ROM to solve this and a few other things.
Will this make SD card writeable to all apps?
Will this make external micro SD card writeable to all apps?
Sn8kbordin said:
Will this make external micro SD card writeable to all apps?
Click to expand...
Click to collapse
MAN, NO DOUBLE POSTS. but yea it should do it...if not there is another way
In Terminal Emulator it says "Failed Exec Format Error". Any ideas?
I followed the 1st post directions without errors for Sense 6.0, Andoid 4.4.3. When I tried to:
1. When I tried editing and saving system/customize/ACC/default.xml in ES File Explorer phone rebooted on save and default.xml went back to stock
2. When I copied default.xml to extSD card, edited it, and tried overwriting system/customize/ACC/default.xml with edited default.xml in TWRP recovery phone also rebooted
I want to do this mod http://forum.xda-developers.com/htc-one-m8/general/enable-built-music-channelroot-t2818128

Categories

Resources