Hey everyone, I think i'm missing something. I've seen a few posts on how to get the FM Radio working on the Droid 2 (Global wasnt mentioned specifically, so maybe its different?)
Anyways, I have it now listed in my app folder, headphones plugged in, and when i run it i get:
FM Radio is being launched, please wait...
I am on Verizon, not sure if that matters. Here's what i've done so far:
1) Downloaded the necessary files from FMRadio_droid2.zip
2) extracted all of the files to the root of /sdcard using Root Explorer.
3) Put Root Explorer in RW mode and copied the files from /sdcard to their appropriate locations:
/sdcard/FMRadio.apk /system/app/FMRadio.apk
/sdcard/FMRadioService.apk /system/app/FMRadioService.apk
/sdcard/fmradioserver /system/bin/fmradioserver
/sdcard/libFMRadio.so /system/lib/libFMRadio.so
/sdcard/libfmradio_jni.so /system/lib/libfmradio_jni.so
/sdcard/libfmradioplayer.so /system/lib/libfmradioplayer.so
4) Opened up Terminal Emulator and changed the file permissions:
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
chmod 0644 /system/lib/libFMRadio.so
chmod 0644 /system/lib/libfmradio_jni.so
chmod 0644 /system/lib/libfmradioplayer.so
chmod 0755 /system/bin/fmradioserver
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
exit
5) Plugged in headphones
6) ran FM Radio from the app folder
7) got the above stated error message
any suggestions on how to get this to work?
Same steps I ended up following as well for my new D2G. I have a sneaking suspicion that the hardware for accessing the FM Radio is not present for D2G devices, or there is some other missing resource in the Stock ROM that is preventing this from working. Anyone else with a little more knowledge of this "hack" have any thoughts? From what little I know of this hack, these are files that have been pulled from a Rooter Droid X to try installing on other Droid's w/ the necessary hardware.
FM Radio permissions
On rooted Droid 2 (not Global), tried to add FM Radio. App would start loading but never run. Following instructions related to permissions on this thread resolved problem for me.
http://forum.xda-developers.com/showthread.php?t=769894&page=2
droid_mom said:
On rooted Droid 2 (not Global), tried to add FM Radio. App would start loading but never run. Following instructions related to permissions on this thread resolved problem for me.
http://forum.xda-developers.com/showthread.php?t=769894&page=2
Click to expand...
Click to collapse
Those permissions are the same as in my original post, although they do it with ADB instead of right on the phone with a terminal program. As long as all the files have the same permissions i dont think it would matter which way its done
the same for Milestone 2
Seems that Droid 2 hardware is quite different from D2G and Mil2
Related
Hi
I have Huawei u8150, Android 2.2, Rooted with z4root.
I want to give widgetsoid access to toggle data using the android apn toggle.
The instructions are:
____
Just put the Widgetsoid apk on /system/app folder
Work only with ADB connected to the phone (doesn't work if you use root explorer or other apps like this) :
* Remount /system as read/write
* adb push Widgetsoid.apk /system/app/Widgetsoid.apk
* Remount /system as read-only
_____
Can someone tell me what I can type in terminal emulator window to achieve this. I can't use adb as it won't recognise my u8150 (It worked fine with my i9000)
Thanks
Kiwi
Widgetsoid website - http://jaumard.android.free.fr/widgetsoid/help_widgetsoid.php?lang=en_EN
PS: Apologies if the wrong forum, but there were only 4 specific android forums, so i thought the general forum would be the best to post this type of question in.
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
http://www.reallylinux.com/docs/files.shtml
Thanks
I had tried
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# CHMOD 777 /SYSTEM
the above works but if i try to push i get
# push
push: not found
I also tried the above then switched over to es-file explorer and was able to copy + pasted the widgetsoid.apk file from my sdcard into the /system/app directory. It correctly pasted the file, but when I clicked on widgetsoid.apk to install the apk i got an error.
"Parse Error: There is a problem parsing the package."
I wouldn't chmod /system ... just leave the permissions the same.
cp /sdcard/downloads/widgetsoid.apk /system/app/
Chmod 644 /system/app/widgetsoid.apk
No need to click install or anything like that... just reboot after copying it to /system/app.
Sent from my Droid using Tapatalk
push is an adb command. You'll want to put the apk on the sdcard then use:
cp /sdcard/Widgetsoid.apk /system/app/
That will copy it to the directory.
Nevermind, do what jeffv2 said.
THANKS! it's working now.
I had placed it in /system/app and did a reboot and it still hadn't installed
then i renamed the file from Widgetsoid2.x.apk to Widgetsoid.apk and also did chmod 644, after a reboot it has successfully installed.
I think it was the chmod 644 to the apk file that allowed it to be installed
Many thanks!
Hi there
My knowledge of Android is very limited, I know a little about Linux from Ubuntu at command promt level, but not enough to fix this issue I'm having. Any help would be much appreciated.
I wish to modify a file which Android is telling me is locked. It's \system\etc\bluetooth\audio.config
I have found a modification to this file which may help me in connecting the Tab to a bluetooth peripheral I have.
I have rooted the Tab
I have installed a root file manager
I have installed a terminal app
I have tried to chmod this file when logged in as su, but this refused so still I cannot edit the file.
I read somewhere about mounting the system folder as rw, but this is a bit beyond my knowledge. So if this is necessary I need walking through this step-by-step.
Could someone please help me by posting some instructions to get me to the point where I can edit the file audio.config?
Many thanks
Gary
su
mount -o remount,rw /dev/mtdblock3 /system
You may still not be able to modify a file so copy it to /mnt/sdcard/file and edit it there and rename the source file when ready to mv it back in.
mount -o remount,ro /dev/mtdblock3 /system
when done.
This worked for me on my new Galaxy Tab Wifi after using A4 to root it.
I have a few general questions for using adb, and also a related problem (which got me asking those questions).
Any help would be great.
1. when remounting which is the actual directory and which is the virtual one?
mount -o rw,remount dirA dirB
2. Is it possible to mount/remount several paths to the same virtual path? If so what happens when there are conflicts (directories or files with the same name)?
3. Is 'push' any different from just copying a file to the phone via USB?
Other than those questions I have a more specific one:
I'm trying to push a file into /system/app/ and /system/lib/ but I get a message that the directory is read-only.
I ran 'adb root' and then entered the shell, remounted this way:
'mount -o rw,remount /dev/block/mtdblock3 /system'
It seemed to work (I just got the command echoed back to me with no error messages).
But still I got read-only when trying to push.
The remount does not appear anywhere when I check mounts. Also mtdblock3 does not even appear in /dev/block/.
I can see that there is an rw mount for '/dev/block/stl9 /system' in the mounts - could it be that for SGS stl9 is the block to use instead of mtdblock3?
If so then why can't I push the file (since it's already mounted as rw).
Sorry for all the questions but I'm new to adb.
I'm using SGS GT-I9000 running 2.2.1 based rom with lag-fix (system is ext4)
yuv1 said:
3. Is 'push' any different from just copying a file to the phone via USB?
Click to expand...
Click to collapse
Adb push can push to more than just the sdcard.
It can also push to internal memory
Sent from my HTC Vision using XDA App
OK, weird one...
I'm S-OFF, running my own ROM and all going nicely. Thought I'd push a new hosts file to the ROM to make it ad-free and I get an error saying it's read-only. Surely with S-OFF this isn't the case?
I DID flash the ENG S-OFF HBOOT (more to get rid of the pink banner on the Revolutionary one) - could this be part of the issue?
I was using 'adb push' to push the hosts file, btw
Run the batch file in easyfr3vo once. This should make the data and system rw and chmod 777. Permanently since you have prenatal root
Sent from my HTC Sensation 4G using XDA App
Also, did you patch the Rom with the superuser patch through recovery
Sent from my HTC Sensation 4G using XDA App
I made my own ROM using dsixda's kitchen so SU is already in it. It all works fine except being RW when booted
EddyOS said:
OK, weird one...
I'm S-OFF, running my own ROM and all going nicely. Thought I'd push a new hosts file to the ROM to make it ad-free and I get an error saying it's read-only. Surely with S-OFF this isn't the case?
I DID flash the ENG S-OFF HBOOT (more to get rid of the pink banner on the Revolutionary one) - could this be part of the issue?
I was using 'adb push' to push the hosts file, btw
Click to expand...
Click to collapse
Yesterday I tried the LCD density change and it broke my Sense launcher. I had the same problem trying to push a modified build.prop to /system/. I ended up pushing the file to the SD card and then:
Code:
adb shell
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cp /sdcard/build.prop /system/
You could do the same thing with the hosts file.
I had this problem too after reverting to a fresh stock, s-on install. I ran Revo again to obtain a clean s-off, installed recovery, obtained root/SU with SD patch. After I did all that /system/ was ro,
using # mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
(double check your system block by doing adb shell, su, mount)
then i chmod 777 /system/ and was able to change to rw, and push files.
Delete post please.
I've been working on my /System/App folder with root access and I changed the permissions to R/W, R and R. Afterwards, the device freezes at the AT&T screen, looping at the stage where it loads certain apps. It attempts to load them, but because it can't access them due to permissions, they freeze and then force close. I'm rooted and have CWM installed, so I have ADB access. I'm using the UCLD2 ICS build, and my question is this:
I know that it's possible to change the permission of folders in the root folder using chmod, but I've had no luck with this so far.
Using ADB shell, and these are the commands that I've been using:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/app
I've got it mounted, but when I chmod, it tells me "No such file or directory"
If I can change the permissions on the /system/app folder back to the way it was, my phone'll be fine, but right now, fixing permissions doesn't solve the problem, and I'm stuck in loop for now. Any thoughts would be appreciated. I've read through multiple forums and the closest I came to finding my problem was with the Kindle Fire forum, and I've been trying to carbon copy the solution from that forum. http://forum.xda-developers.com/showthread.php?t=1389728
Any help would be appreciated =)
Sorry for the post...I answered my own question. I rebooted recovery and restarted adb.
I ran this as follows:
adb root
adb remount
adb shell chmod 777 /system/app
This did it!
Sorry about the spam on the thread =)