[Solved] FM Radio in Liberty ROM - Motorola Droid X2

I originally posted this wondering if anyone had success installing the Stock Blur FM Radio on top of Liberty (or another ROM for that matter).
I finally got it working by pushing 6 files to various locations in the system folder and setting their permissions respectively. I originally had some trouble because several of the files already existed, and I left them as-is. I found that I had to overwrite all the files with newer ones (which I got from Eclipse 1.2).
If anyone else is interested in installing the FM Radio, I have made and attached two update.zip files that can be flashed from BSR. You only need one, so just choose the one you are most comfortable with.
1) FMRadio-update_system.zip
This will install the FM radio to your /system/app folder. (The app should show up in your app drawer automatically)
2) FMRadio-update_user.zip
This will install the FM radio to your /data/app folder. But the app may not show up in your app drawer automatically. You might have to use use a file browser to run/install the file "com.motorola.motofmradio.apk" in the /data/app folder.
Alternatively, if you want to place all the files manually, you can download either zip and put the included files in the following locations (required permissions are in bold)
/data/app/com.motorola.motofmradio.apk rw-r-r
/system/app/FMRadioService.apk rw-r-r
/system/bin/fmradioserver rwx-rx-rx
/system/lib/libFMRadio.so rw-r-r
/system/lib/libfmradioplayer.so rw-r-r
/system/lib/libfmradio_jni.so rw-r-r
Special thanks to nitroglycerine33 for the files. They all came from Eclipse 1.2

What's FM radio?

The Droid X2 has built-in hardware for an FM Radio. The stock ROM came with an app that let's you access the radio. This is really useful when you want to listen to live music (or NPR etc) and you don't have good 3G or wifi service.
There are no apps on the Market that work with the specific chipset in our phones, so the functionality of the stock moto software cannot be replaced by another app.

ignore this

I was also trying to get FM radio to work with liberty.
I downloaded spirit FM radio from market and.it works.
U have to go into settings and choose one.of the.Motorola hardware for it to work right but it does work after u change the settings...
---------- Post added at 01:33 PM ---------- Previous post was at 01:25 PM ----------
Only thing is I haven't been able.to figure out.how to adjust volume...
But it does work...open spirit FM...press menu..settings...audio settings...method...choose.one.of the.Motorola ones...best.I can do...seems to turn on.Bluetooth for some reason...

Thanks ash. I did try Spirit radio, but didn't get it to work. I didn't realize there were hardware settings. Maybe I'll try it again now that you told me how.
Anyway, if you want the Stock FM Radio, you can probably follow the solution I posted above. Let me know which radio you think is better, and if you try my fix, let me know if it worked.
Thanks!

ricovox said:
Thanks ash. I did try Spirit radio, but didn't get it to work. I didn't realize there were hardware settings. Maybe I'll try it again now that you told me how.
Anyway, if you want the Stock FM Radio, you can probably follow the solution I posted above. Let me know which radio you think is better, and if you try my fix, let me know if it worked.
Thanks!
Click to expand...
Click to collapse
Oh no....I definitely like stock app better....didn't realize u got it working...no volume control and needs root access for spirit...stock is better....

If anyone else is interested in installing the FM Radio, I added a few update.zip files in the OP.

ricovox said:
If anyone else is interested in installing the FM Radio, I added a few update.zip files in the OP.
Click to expand...
Click to collapse
Sweet! Thank you.
EDIT: zip works like a charm.
Sent from my DROID X2 using XDA App

Works with Molten 2.1 too.
Your zip works with Motlen 2.1 too. Thanks again!

You rock. Thanks for bringing back my radio

Has anyone had any luck getting these files to work in Molten v2? I get a parse error when trying to install. If I open them as a zip file and extract the APK's and install the FM radio icon is installed but when opening the app it either hangs or force closes constantly.

Mrfixitx said:
Has anyone had any luck getting these files to work in Molten v2? I get a parse error when trying to install. If I open them as a zip file and extract the APK's and install the FM radio icon is installed but when opening the app it either hangs or force closes constantly.
Click to expand...
Click to collapse
The zip worked for me with Molten 2.2.
How are you trying to install the zip?
You say tried to extract the apk from the zip. If you do that you need to put the apk in /system/app and you will also need to extract the library files from the zip and put them in /system/lib. Then make sure you set the permissions that same as the other files in those directories.

Mrfixitx said:
I get a parse error when trying to install.
Click to expand...
Click to collapse
You need to use the Boot-Strap-Recovery (BSR) by Koush to install the zip. (i.e. Not the default moto recovery). If you are already using BSR, then perhaps you can re-download the zip file and try again.
BTW, These zips should work (in theory) with any current ROM on the X2, because the only custom recovery we have so far is BSR, and the updater script in the zip IS compatible with installation via BSR. Also, I doubt there are any ROMs that use different system, lib, and app folders than the ones these files are installed into. So there should be no reason I can think of that this fix wouldn't work on any of the current ROMs.
I've personally tested it on Liberty, hedwig has had success on molton (thanks for testing and reporting, hedwig), and it obviously isn't necessary at this point on Eclipse. Anyone should feel free to post their results with other ROMs.

hedwig34 said:
...you need to put the apk in /system/app and you will also need to extract the library files from the zip and put them in /system/lib...
Click to expand...
Click to collapse
And don't forget about the one that goes in /system/bin
It really is easier to just use the update.zip if you can get it to work

Hi all, I may be talking out of my hat but in my case I have (3, maybe 4 times so far) successfully installed the stock FM app using TB.
Before wiping and installing a new ROM I make a TB backup of both:
FM Radio 2.3.4
FMRadioService 2.3.4
And I simply restore both of these after my new ROM is up and running. Currently I have this working on Molten 2.1

derelictarchive said:
...I simply restore both of these after my new ROM is up and running. Currently I have this working on Molten 2.1
Click to expand...
Click to collapse
Thanks for the info. It's nice to know that works on Molten.
Originally I tried to install just those two files (taken from Eclipse) on top of a Liberty install, and it didn't work. I assume it was because the lib and bin files from Liberty were not compatible with the apks from Eclipse for some reason (digital signature etc?). But perhaps that incompatibility is not an issue in Molten. Whatever the case, I certainly advocate using the simplest and easiest method possible to install the radio. If you can get away with using TB, that's great. The update.zip file is just a good, sure method that should work on any ROM.

I hope this isn't too late of a reply but I wanted to report on the above.
I have just installed liberty 3 and I used titanium backup to install the radio just as I did with molten 2.1.
It is working perfectly.
I will say that my backups are from the 2.3.4 SBF. I cannot say if backing the files from eclipse or anywhere else would work.

Related

[In-Call Volume] **FIX** (Finally)

So after using the Samsung Galaxy S II for over a month now I've had one complaint. In-Call Volume using the handset ear piece. It was "OK" in quiet places but anywhere else...way below par.
So, after looking around for several weeks trying to find a fix I finally got help from a well know dev (Entropy512) as well as using system/lib audio files from Designgears ROM 'Perception'.
So...how do you finally get your in-call volume increased?
First and foremost...Always backup whatever you're changing. Better safe than sorry. Just make a copy of your current system/lib folder, rename it something like 'backup_lib' and place on your sd card somewhere.
Option 1
Download this flashable zip, flash it in CWM, Reboot, Enjoy. (This zip includes some audio files from the Perception ROM, if for any reason DesignGears has an issue with this PM me and I will remove the zip. I'm only using the files to help others solve their in-call volume issue)
MAKE A BACKUP BEFORE FLASHING
Download the Flashable Update Here
I have tested this on three different SGSII's and all seems well! This is a NO WIPE flash, I do reccomend clearing your Dalvik Cache and Cache Partition though.
-Reboot into Recovery
-Scroll down to 'Advanced' and select
-Select "clear Dalvik Cache"
-Flash this update
-Reboot your phone and enjoy!
Option 2 (Incase the flash doesn't work or I am asked to remove the the zip file)
1) Download Designgears ROM 'Perception' Found Here
2) Open the zip file of your current ROM (doesn't matter what ROM)
3) Open the system folder and then open the system/lib folder (of your current ROM)
4) Next, Open the same folder in the Perception ROM
5) Copy the files listed below from the Perception ROM and paste them over the files in your ROM:
- lib_Samsung_Acoustic_Module_Llite.so
- lib_Samsung_Resampler.so
- lib_Samsung_Sound_Booster.so
- libaudio.so
- libaudioeffect_jni.so
- libaudioflinger.so
- libaudiohw_op.so
- libaudiohw_sf.so
- libaudiopolicy.so
- liblvvefs.so
- libmediayamaha.so
- libmediayamaha_jni.so
- libmediayamaha_tuning_jni.so
- libmediayamahaservice.so
- libsamsungAcousticeq.so
- libsamsungSoundbooster.so
- libsoundalive.so
- libsoundpool.so
- libSR_AudioIn.so
- libyamahasrc.so
*Only copy/replace the files listed above as they are only audio files. DO NOT COPY/REPLACE all system/lib files... You'll have unwanted consequences and you'll probably kill a puppy.
6) Now go to the Perception ROM and open system\app and find phone.apk. (Save a copy of your current phone.apk...Just in case)
-Copy (Perception's) phone.apk and replace the phone.apk on your current ROM.
7) After you replace the files listed above on your ROM, reflash your ROM and enjoy your increased call volume.
Note: If you don't want to reflash your ROM and risk losing any settings, you should be able to copy the files and replace them with Root Access and a file explorer, then Reboot your device immediately after. I haven't tried this yet so if someone wants to try and leave feedback, please feel free.
EDIT: Copying the files using a root explorer does work but may cause your phone to crash/reboot afterwards. I'd still recommend just re-flashing the ROM to avoid potential issues. Once again, make sure and make a back up so you can revert any changes if something doen't work properly.
I will try uploading a zip file with appropriate files so you can download but currently I do not have Designgears permission. This is their code and I don't want to step on any toes.
EDIT: I have tried reaching out to DG for permission but had no luck, if he asks that I remove the zip file, I will do so.
Known Potential Issues:
- When flashing over a stock/rooted ROM this update may cause the phone application to crash/force close. I have tried this update personally on every ROM I could flash and haven't had any issues. However, I have not tried it on the stock ROM. If you're on stock/rooted, please make a backup so if it does cause issues you can simply revert the changes.
Much thanks goes to Entropy512 for the help with solving this issue and Designgears ROM 'Perception'. Using Perception showed me that increasing the in-call volume was possible! (it's a very stable and awesome ROM as well )
***UPDATE***
Due to some people being a worried about flashing the update I have taken the liberty of making the backup files for you and making them flashable!
- I have made revert files for all of the major ROM's we currently have for our device. I did not include Perception because that ROM is where the audio files originated from. Below is the download links for the backups.
IF my volume fix does NOT work, simply download the backup for your ROM and flash it. It will revert all the changes my fix made.
- Revert_CM7.1_Stable
- Revert_H8s2_1.2.2
- Revert_Serendipity_8.2
- Revert_Stock_UCKH7
- Revert_UnNamed_1.2
- Revert_MIUI 1.11.4 v1
- If you are using Perception ROM you do NOT need the volume fix as this ROM has the files built in
As a side note, I have tried this on several I9100 ROM's as well and had luck with them all.
If this thread helps, please click the thanks button for me, I'm new to the XDA community.
Any I9100 ROM should work here for the libs - however:
Your mic will be screwed up for outgoing audio unless you change the Samsung Noise Reduction settings. (DG forced this in Perception, I believe he did it in an APK somewhere and not in the libs.)
Entropy512 said:
Any I9100 ROM should work here for the libs - however:
Your mic will be screwed up for outgoing audio unless you change the Samsung Noise Reduction settings. (DG forced this in Perception, I believe he did it in an APK somewhere and not in the libs.)
Click to expand...
Click to collapse
I just tried a call and you're correct, the mic isn't working properly. Do I need to find the APK or do you know what changes I need to make? This is a popular issue and I'm hoping this thread can help.
Edit: I found some APK's....any idea which one would deal with the mic?
-CallSetting.apk
-Phone_Util.apk
-Phone.apk
-Settings.apk
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Doesn't work on the apk :v
penguinlogik said:
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Click to expand...
Click to collapse
I'm testing different apk's right now. As soon as I figure out which apk the fix is located in I'll edit the post.
Maybe DG can drop a hint to me
Hmm does this enable the AUDIO part of the Samsung Service mode?
penguinlogik said:
Hmm does this enable the AUDIO part of the Samsung Service mode?
Click to expand...
Click to collapse
I haven't tried the audio menu yet, feel free to try if you'd like and let me know. 2 birds 1 stone.
Nope... ATT WHY YOU DISABLE THE MOST IMPORTANT MENU.
penguinlogik said:
Nope... ATT WHY YOU DISABLE THE MOST IMPORTANT MENU.
Click to expand...
Click to collapse
I figured out which apk fixes the mic issue it's the phone.apk. I updated the original post. Sorry for the set back. Let me know if you experience any issues
Just posting another screenshot to show the phone.apk.
penguinlogik said:
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Doesn't work on the apk :v
Click to expand...
Click to collapse
Try copying the CallSetting.apk as well (use both). If you still don't have any luck with fixing the mic issue and you're using a file manager to make the switch, try re-flashing your ROM with the apk changes instead.
Make a backup before doing it so you can restore all your settings if it doesn't work for some reason.
It works after I replaced it in my ROM zip
Sent from my SAMSUNG-SGH-I777 using xda premium
penguinlogik said:
It works after I replaced it in my ROM zip
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
Did you have to re-flash? Just trying to make sure my instructions are correct.
Did you need to add both apk's as well?
No, I just added replaced the files in the Unnamed 1.1.0 full update zip, ran an update via CWM, with only the phone.apk and microphone works.
penguinlogik said:
No, I just added replaced the files in the Unnamed 1.1.0 full update zip, ran an update via CWM, with only the phone.apk and microphone works.
Click to expand...
Click to collapse
Ok, glad it works and the kinks are worked out thanks for you patience and tests.
Thats awesome news. Low mic has always been an issue for me. Just wondering if someone can create a flash able zip that automates everything, if possible.
Great work guys.
daraj said:
Thats awesome news. Low mic has always been an issue for me. Just wondering if someone can create a flash able zip that automates everything, if possible.
Great work guys.
Click to expand...
Click to collapse
IF I can get approval from Designgears to use some sources from his ROM I shouldn't have any issues putting this into a zip file for everyone. I've reached out to DG, just awaiting a response
Great keep us posted please. It will make a big difference to many people
Sent from my SAMSUNG-SGH-I777 using XDA App
crazyagg said:
IF I can get approval from Designgears to use some sources from his ROM I shouldn't have any issues putting this into a zip file for everyone. I've reached out to DG, just awaiting a response
Click to expand...
Click to collapse
Excellent! Been looking for something like this, because I also noticed that the volume was really horrible... Keep us posted on a zip file. Rather be "SAFER" than sorry with doing something that does it automagically for me
Knowing my patience, I'll probably manually do it once I get home from school... lol
SpectraDawn said:
Knowing my patience, I'll probably manually do it once I get home from school... lol
Click to expand...
Click to collapse
LOL! Me too! I all over this!

request radio fm.apk

can i request radio fm.apk for rom miui 1.16 ?
i really really need it
thanx for your attentions
This is the only radio that I have. It's actually one that you can use with or without headphones. Just copy it to the /system/app folder and reboot.
mjsheldon4 said:
This is the only radio that I have. It's actually one that you can use with or without headphones. Just copy it to the /system/app folder and reboot.
Click to expand...
Click to collapse
thx for the file but it don't working well in miui 1.16 ics...non stop loading
can anybody help me?
banda_love_mita said:
thx for the file but it don't working well in miui 1.16 ics...non stop loading can anybody help me?
Click to expand...
Click to collapse
I don't kow much about miui (never tried it) and I'm not too clear on why you're missing that fm app (you've uninstalled it by mistake?) but ...
Just install and use 7-zip on your computer and right click on the miui rom zip and choose: 7-Zip__Open archive (not extract) and find the fmradio apk (in /system/app?) click on it and drag it to your desktop.
Or simply re-install the rom, wipe cache and dalvik cache (without wiping data).
Edit:
Here, I've attached a FM radio apk that I've found in my gf's Blade CM7 rom. It's not the greatest as it doesn't work on the phone speaker, but I believe that it comes from miui. Place it in system/app and don't forget to set its permissions and ownership properly and reboot afterwards.

original instructions for GB Battery Fix v0.8?

I have the .zip file from the GingerBread Battery Fix v0.8 thread that I downloaded to my computer on 1/21/12. What were the original instructions to use the file? I have a replacement X2 with 2.3.5 and I need to fix the battery issue.
LINK to thread.
Thanks.
Aren't the instructions by Lorenzo on the last page of that thread what you're looking for? The zip doesn't work via CWM so you'll have to use something like File Expert to place them in those locations manually and set permissions. You'll want to use the ones in there from 2.3.3 if I remember correctly. Those are the ones in the system folder, not the backup 2.3.5 folder.
Sent from my Android device using Tapatalk
royta said:
I have the .zip file from the GingerBread Battery Fix v0.8 thread that I downloaded to my computer on 1/21/12. What were the original instructions to use the file? I have a replacement X2 with 2.3.5 and I need to fix the battery issue.
LINK to thread.
Thanks.
Click to expand...
Click to collapse
not sure if your problem was solved, but as of now, you cant really just flash the zip. you have to open the zip, get the lib and bin files, and put them in their respective plkaces using a file explorer. in the same thread you linked, it has the folders that these need to be in. if on 2.3.5, why not just flash eclipse? stock just sounds yuck.
I thought that I flashed it on my old phone, which was running 2.3.4. Will flashing not work with 2.3.5?
I'll probably give Eclipse a shot, but I rely on BT, wifi, GPS, various mapping programs, camera, and video camera, and I'm hoping those things run well on it. From what I've read, GPS might not work quite as well as I need it to.
I'm trying to find the time after work to study up on this stuff and start trying some different things out. Roms, the V8 or V6 speed packages, etc. I'm hoping to find something I'll be happy with.
Thanks for the help.
Sent from my DROID X2 using Tapatalk 2

Extracting Stock Camera

I am trying to figure out how to extract the camera app from the stock ROM to use in the CM13 ROM. Partly because I would like to use it for slow-motion video and to experiment with it, but also because I would like to turn this into a learning experience. I've been following instructions to flash ROMs for a few years now, but haven't gone farther than that.
So here has been my experience so far:
- Backed up CM13, flashed stock (rooted), and converted the app to user app in order to back it up.
- I noticed that it would crash on startup as a user app, so I converted it back to a system app as an experiment. It still would crash on startup.
- I decided to try going another route and extracted the stock ROM in SuperR's Kitchen. Got the apk, flashed it in CM13. Same situation: crash on startup as user or system app.
I am unsure where to go from here. Any help is greatly appreciated. Thanks in advance.
Side note: I know there is a questions sub-forum too, but I figured it fit here better as it is about extracting an app to mod the ROM. If I was mistaken, please just move the thread over to the appropriate sub-forum.
Masterjuggler said:
I am trying to figure out how to extract the camera app from the stock ROM to use in the CM13 ROM. Partly because I would like to use it for slow-motion video and to experiment with it, but also because I would like to turn this into a learning experience. I've been following instructions to flash ROMs for a few years now, but haven't gone farther than that.
So here has been my experience so far:
- Backed up CM13, flashed stock (rooted), and converted the app to user app in order to back it up.
- I noticed that it would crash on startup as a user app, so I converted it back to a system app as an experiment. It still would crash on startup.
- I decided to try going another route and extracted the stock ROM in SuperR's Kitchen. Got the apk, flashed it in CM13. Same situation: crash on startup as user or system app.
I am unsure where to go from here. Any help is greatly appreciated. Thanks in advance.
Side note: I know there is a questions sub-forum too, but I figured it fit here better as it is about extracting an app to mod the ROM. If I was mistaken, please just move the thread over to the appropriate sub-forum.
Click to expand...
Click to collapse
Did the logcat give any pointers as to why it might have crashed?
It's a camera app, for MiFavor, and only for MiFavor. It's probably depending on something else from the stock ROM, and that's why it's crashing in CM.
I like this idea. I might even look into modifying the app itself, to see if we can get it working outside of MiFavor.
I don't think I worded it clearly enough, the first time I converted it to a user app and back to system, it was still in the stock ROM. Something about the conversion screwed things up. I'll have to flash stock again at some point and grab logcats while it's working and after I screw it up.
In the meantime, I attached a logcat for everything containing "camera" after it was converted to a system app in cm13. It's kind of harsh to look at it in pure text format, but I used the matlog app with its color coding to record it.
To be honest, I'm not quite sure what I'm looking at with this, or if I went about this in the right way.
EDIT: I have no idea why the logcat is not attaching correctly. I'll need to find some other way of doing it.
It works fine under CM according to a friend. You just need the libs to go along with the app.
Here is the WHOLE folder of ZTE camera, he just put this inside the /system/priv-app/ folder and apparently it's working just fine after a reboot.
https://my.mixtape.moe/znyabg.7z
Remember to press thanks and buy me a beer.
It's still not working properly for me, but here are a few things I noticed:
- When I extracted the app from the ROM using SuperR's Kitchen, that folder did exist in /system/priv-app/ZTE_Camera/. However, the directory was completely empty, unlike your download.
- When I installed the app in CM13 and converted it to a system app, it moved to /system/priv-app/ rather than /system/priv-app/ZTE_Camera/.
- I copied the lib folder to /system/priv-app/, didn't work. I then created the folder ZTE_Camera and copied both lib and the apk into it. Didn't change anything. Of course rebooting with each change. I didn't think this would work in the first place, as the application shortcut on my home screen points to /system/priv-app/.
Definitely thanks though for helping me out. Beer... that's another matter. Nasty stuff that is. I can just hear people yelling at me behind their screens lol.
Was it a deodexed ROM? Might need to try it with the odex files? When I check /system/priv-app/ZTE_Camera, there's also an "oat" folder with odex files since this hasn't been deodexed...
Or maybe SuperR's kitchen was trying to automatically deodex while you were extracting.
To be honest, I never understood odex, just throwing ideas out at this point.
Masterjuggler said:
It's still not working properly for me, but here are a few things I noticed:
- When I extracted the app from the ROM using SuperR's Kitchen, that folder did exist in /system/priv-app/ZTE_Camera/. However, the directory was completely empty, unlike your download.
- When I installed the app in CM13 and converted it to a system app, it moved to /system/priv-app/ rather than /system/priv-app/ZTE_Camera/.
- I copied the lib folder to /system/priv-app/, didn't work. I then created the folder ZTE_Camera and copied both lib and the apk into it. Didn't change anything. Of course rebooting with each change. I didn't think this would work in the first place, as the application shortcut on my home screen points to /system/priv-app/.
Definitely thanks though for helping me out. Beer... that's another matter. Nasty stuff that is. I can just hear people yelling at me behind their screens lol.
Click to expand...
Click to collapse
I'm sure it works, friend confirmed it works on CM13 and I'm using it on BrokenOS. To clear it up.
It should be /system/priv_app/ZTE_Camera. And inside that folder should be the apk along with the lib. If you just extract the zip I gave you into priv_app it should just work. I have no idea why it doesn't work for you. Everything about the camera works. Slomo, video h265, the works.
You can try making a backup of the stock camera app using titanium backup then install it on your phone after flashing CyanogenMod. What I would do is flash zad miix then back up the stock camera app with titanium backup. Then transfer the back up to your PC. Then flash CyanogenMod and reinstall the camera app with titanium backup.
as already I will have this phone I start doing this mods
if anyone can search the file this and tell me if an entry is interesting?
I'm currently using LOS 14.1, and the method suggested does not work - File Manager throws an error about R/W, TWRP claims /system is empty, and ADB push says "Successful" but isn't.
NadavCE said:
I'm currently using LOS 14.1, and the method suggested does not work - File Manager throws an error about R/W, TWRP claims /system is empty, and ADB push says "Successful" but isn't.
Click to expand...
Click to collapse
It is working for me, just copied the files with root explorer to priv-app, restarted and it is up and running.
Thanks @BlazingBullets for providing the files!
PS. the only problem so far is that you can't access the pictures right through the app, i think we need the zte gallery for that.
lian00 said:
It is working for me, just copied the files with root explorer to priv-app, restarted and it is up and running.
Thanks @BlazingBullets for providing the files!
PS. the only problem so far is that you can't access the pictures right through the app, i think we need the zte gallery for that.
Click to expand...
Click to collapse
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
NadavCE said:
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
Click to expand...
Click to collapse
Used SuperSU 2.79SR3.
I can confirm using the files provided works. I have the stock MM camera working with all of it's shooting modes !
Any body have the files in a .zip they can upload? I have no computer access and the few apps I tried on my phone seem to corrupt the files.
First app I tried extracted the 7zip file just fine.
NadavCE said:
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
Click to expand...
Click to collapse
You have to disable the write-protect on the system partition: in a terminal emulator, preferably in TWRP, type out:
Code:
reboot disemmcwp
Erahgon said:
You have to disable the write-protect on the system partition: in a terminal emulator, preferably in TWRP, type out:
Code:
reboot disemmcwp
Click to expand...
Click to collapse
Thanks, that did it. Copied successfully to /system/priv_app, but it doesn't show up after a reboot. When I accessed the folder and tapped the APK, I got "there is a problem parsing the package."
NadavCE said:
Thanks, that did it. Copied successfully to /system/priv_app, but it doesn't show up after a reboot. When I accessed the folder and tapped the APK, I got "there is a problem parsing the package."
Click to expand...
Click to collapse
Maybe the app permissions are wrong?
Erahgon said:
Maybe the app permissions are wrong?
Click to expand...
Click to collapse
Should I give it full permissions then?
---------------------------------------------------------------------------------------------------------------------------
Update: After giving everything (ZTE_Camera folder, the APK, the lib folder, the arm folder, and all the libs) full permissions, the app works. However resolution is limited to 8Mp 4:3 (3200 x 2400). Can anyone else confirm this?

FM Radio in SM-A530W working!

Yes that is right. I poked around looking for a while until I came across a couple of files that looked good. Yeah I know...
All I did was take from the a530f the /system/etc/permissions/privapp-permissions-com.sec.android.app.fm.xml file and put it into my own directory along with the hybrid radio folder and apk in the system/priv-app/ directory. I set permissions accordingly, rebooted and that's it. Files are zipped and ready. Just set permissions right. I don't even know how to push/pull files exactly so if you're rooted then it's an easy deal.
Oh I used fx file explorer. I also hit "symlink" when I copied the folder with the apk. So just reboot and there was the app ready to go.
Enjoy, Canada! Should work generally the same on Samsung devices I would think. No expert but seems like it should.
Screenshot
Forgot the screenshots and specifics.
1) Download FX File Explorer from playstore (7 day trial and download the root add-on).
2) Put the .xml file in /system/etc/permissions/ and set permission rx- r- r- (you'll have to mount it I believe).
3) Put the folder with apk into /system/priv-app/ directory and I hit "symlink" only. Probably just sets permissions. Reboot and that's it.
*deleted*
the folder in /system/priv-app/ should be rwx r-x r-x and the apk contained within it should be rw- r-- r--
The xml in /system/etc/permissions/ is rw- r-- r--
ALL A530W ON CUSTOM ROMS: you don't have to do this because the rom already has fm radio
Yeah i thought so... that's why i thought i put in the apk twice. NOOB!
So just the .xml file then, correct?
I had no idea it was that easy. Cannot figure out how or why i never saw that in any searches.
So really apart from a few apk's, Samsung just magically omitted the files from Canadian W's.
Unreal. Even more unreal is this "locked chip" talk when really it is just not given access from 6 lines of text.
Unless you can point me to other examples, i am going to sort through other device ROMS and post .xml's for easy access. If it is similar for other Galaxy phones.
587.saboor said:
ALL A530W ON CUSTOM ROMS: you don't have to do this because the rom already has fm radio
Click to expand...
Click to collapse
Umm... ok are saying the .xml is not needed? Nothing is needed? Not quite sure now
mindlery said:
Umm... ok are saying the .xml is not needed? Nothing is needed? Not quite sure now
Click to expand...
Click to collapse
yes because the rom is based on a530f system
587.saboor said:
yes because the rom is based on a530f system
Click to expand...
Click to collapse
So you're saying in order to use the FM radio apk I need to install the SM-A530F ROM?
I think it's better to add the xml instead of flashing an F rom. I know they're the same but if you can grab any firmware from sammobile, flash and no modding I'd love to know about this!
+
mindlery said:
So you're saying in order to use the FM radio apk I need to install the SM-A530F ROM?
I think it's better to add the xml instead of flashing an F rom. I know they're the same but if you can grab any firmware from sammobile, flash and no modding I'd love to know about this!
+
Click to expand...
Click to collapse
I mean IF any a530w has an a530f rom installed already, they do not need to do this because apk and xmls already exist by default from the rom.
and I mean custom roms, NOT official. (so basically every rom available for this device because a lot of developers aren't from Canada)
(and I think official rom from a530f has fm radio too, I never tried flashing official a530f rom )
I have Lightrom on my phone, and it's for a8 and a8+ but the thread is in a8+ forums so check there if you want it
Oh ok yeah for sure. I didn't think any ROMS wwre available.
BUT... for anyone that has an A8 in Canada that has root and likes their current set up (do we ever stop)? Then this is an easy addition.
I used hades A8 port when i had my A5 and i think i got spoiled. I shall go download and flash away now...
Thanks. Gonna peek into the S9 and see if it's the same as well. (Out of curiousity).
Well, after 30 minutes, then 20, I'm done staring at SAMSUNG Galaxy A8 POWERED BY android.
Tell me the secret about installing an F rom onto a W. Not "they're the same." How?
mindlery said:
Well, after 30 minutes, then 20, I'm done staring at SAMSUNG Galaxy A8 POWERED BY android.
Tell me the secret about installing an F rom onto a W. Not "they're the same." How?
Click to expand...
Click to collapse
check pm
finally got it working
i tried on 3 different roms with no luck. finally i got it working on the floydport rom. no xml needed. i had to put the hybrid radio folder and apk into system/apps after mounting read write, then installed with the root installer built in fx explorer, rebooted and now i have working radio. for some reason every time i put them in the priv-apps folder they dissapear on reboot. just posting in case someone else is having problems. thanks for the apk!!
Yes the floyd rom had a file in peemissions already.
When i was doing it i probably did not do it right.
But i was successful at it again after going to stock after January's update.
I used fx and navigate to areas i needed and unlock the mount lock up top along the way and back out unmounting.
If you did floyd, then do the treble rom and not only is it a decent rom on its own and able to switch images easily, it has radio already there.
stringman666 said:
i tried on 3 different roms with no luck. finally i got it working on the floydport rom. no xml needed. i had to put the hybrid radio folder and apk into system/apps after mounting read write, then installed with the root installer built in fx explorer, rebooted and now i have working radio. for some reason every time i put them in the priv-apps folder they dissapear on reboot. just posting in case someone else is having problems. thanks for the apk!!
Click to expand...
Click to collapse
Do the treble!
Worked for me, thanks!
Any luck to perform this on a non rooted stock firmware? May with adb or another thing?
That's a good question. You would need to push just two files. If you had an A8 when released up until a certain point you'd only need to push the .xml
They never even bothered removing the apk.
So, since i am rooted with treble on a device without official treble support from Samsung, and a modified version of one ui, maybe you should try. I think it's a bit easier if you go first.
Is there a simple way to get the FM radio working like you said by just copying a file to a folder? I'm kind of a newbie at this and was wondering if anyone would consider writing the "how to" for this procedure that someone like me could understand. Just a simple step by step 1 2 3 on where to get the fm file and app and how to copy them in the A520W folders to make that FM tuner work. I was a little shocked Canadian carriers would even consider omitting the radio purely based on their greed......... ok, I wasn't really shocked, it's pretty much the norm up here.

Categories

Resources