[root] FM Radio in android 11 roms - Xiaomi Redmi 4X Guides, News, & Discussion

Here is how to get the FM radio app on R based custom roms which don't come with it preinstalled.
Note: I am pretty sure this method works on other devices which officially support FM radio, too, but I only tested on my santoni. Also note I don't take any responsibility for the changes you make to your device.
What you need:
- working rom with the FM radio app preinstalled (e.g. LineageOS, I personally used Bliss because I had a backup)
- a working root solution
- patience
In a nutshell, we are going to copy FM radio's system files from a rom where it's working and paste it into our new rom.
What to do:
- Backup (optional)
- Flash ROM with builtin FM radio
- Flash Magisk
- Find the files mentioned below
- Copy files to SD card
- Restore or Flash new rom & Magisk
- Paste files back to device
- Reboot and hope it works
Files which I found necessary for the app to work properly:
- /system/priv-app/FMRadio (whole folder, might be at /system/app or elsewhere)
- /system/etc/privapp_whitelist_com.android.fmradio.xml
- /system/lib/libfmjni.so
In theory the app folder and the library file should be enough, but it's better to take a look and copy more files than needed.
I recommend creating the original folder structure on the SD card to make pasting back easier.
I hope I could help and any feedback is appreciated.
ps. I attached the files I gathered in a zip (just copy system folder to the device root), might create a flashable one if there is interest.

do you need the app installed, andd if not can you give a link to the apk, you can use something like apk export to back it up

denesfilotas said:
Here is how to get the FM radio app on R based custom roms which don't come with it preinstalled.
Note: I am pretty sure this method works on other devices which officially support FM radio, too, but I only tested on my santoni. Also note I don't take any responsibility for the changes you make to your device.
What you need:
- working rom with the FM radio app preinstalled (e.g. LineageOS, I personally used Bliss because I had a backup)
- a working root solution
- patience
In a nutshell, we are going to copy FM radio's system files from a rom where it's working and paste it into our new rom.
What to do:
- Backup (optional)
- Flash ROM with builtin FM radio
- Flash Magisk
- Find the files mentioned below
- Copy files to SD card
- Restore or Flash new rom & Magisk
- Paste files back to device
- Reboot and hope it works
Files which I found necessary for the app to work properly:
- /system/priv-app/FMRadio (whole folder, might be at /system/app or elsewhere)
- /system/etc/privapp_whitelist_com.android.fmradio.xml
- /system/lib/libfmjni.so
In theory the app folder and the library file should be enough, but it's better to take a look and copy more files than needed.
I recommend creating the original folder structure on the SD card to make pasting back easier.
I hope I could help and any feedback is appreciated.
ps. I attached the files I gathered in a zip (just copy system folder to the device root), might create a flashable one if there is interest.
Click to expand...
Click to collapse
Pls do make a module I really need it . ( Pixel Experience + )

If you copy the mentioned files and directories that will include the apk file.
If you choose to go this route, remember that the apk you copy may be incompatible with your ROM. You can increase the likelyhood by copying the apk from a ROM that's based on the same android version.
You don't need magisk or even boot the ROM with an FM Radio app. Once it's flashed you can head over to the "Mount" section in TWRP, make sure that System is mounted and create a tape archive from the TWRP terminal or adb shell.
Code:
cd / && tar czvf /sdcard/FMRadio.tar.gz system/priv-app/FMRadio/ system/lib/libfmjni.so system/etc/privapp_whitelist_com.android.fmradio.xml
if necessary, adjust the paths to where the files actually are or cd /system instead if TWRP happens to mount your ROM in a way where everything's at /system/system because it's a system-as-root ROM. to restore the files just cd to the same directory again and tar xzvf /sdcard/FMRadio.tar.gz
if you really absolutely need a magisk module, hop over to the Magisk Developer Guide and take a few minutes to learn how to build a magisk module. if your goal is to just place some files it's very easy to do and you really just need to use a file manager, a text editor and then compress it into a zip file. as soon as you've done it once it is quite handy whenever you notice you can use it to solve another problem down the line.
if you know how to contact them and they did not already post on the matter, tell your ROM maintainer that they did not include the FMRadio app in their build. if they can fix it everyone who ever uses their build will benefit and if not, you should get an explanation for why FM Radio is broken in your ROM. if that is the case than installing the apk from somewhere else likely won't help.

SebiderSushi said:
If you copy the mentioned files and directories that will include the apk file.
You don't need magisk or even boot the ROM with an FM Radio app. Once it's flashed you can head over to the "Mount" section in TWRP and create a tape archive from the TWRP terminal or adb shell.
Code:
cd / && tar czvf /sdcard/FMRadio.tar.gz system/priv-app/FMRadio/ system/lib/libfmjni.so system/etc/privapp_whitelist_com.android.fmradio.xml
if necessary, adjust the paths to where the files actually are or cd /system instead if TWRP happens to mount your ROM in a way where everything's at /system/system because it's a system-as-root ROM. to restore the files just cd to the same directory again and tar xzvf /sdcard/FMRadio.tar.gz
if you really absolutely need a magisk module, hop over to the Magisk Developer Guide and take a few minutes to learn how to build a magisk module. if your goal is to just place some files it's very easy to do and you really just need to use a file manager, a text editor and then compress it into a zip file. as soon as you've done it once it is quite handy whenever you notice you can use it to solve another problem down the line.
if you know how to contact them, tell your ROM maintainer that they forgot to include the FMRadio app in their build. it usually is literally one line in the config for them to fix and everyone who ever uses their build will benefit that way. if not, they'll probably have a reasoning for why FM Radio is broken and installing the apk won't help you if that's the case.
Click to expand...
Click to collapse
Thanks I will try . BTW my pixel experience dosent even have any Radio app there would be no directory named radio.... So do I have to make it? Plus Google also offers its radio app which you can easily put in rom .
https://android.googlesource.com/platform/packages/apps/FMRadio
Thanks

Yes that is where the source code of the AOSP FMRadio app is hosted. If your ROM maintainer adds it to the list of packages that are supposed to be on your device it will be compiled and added to every build they create.
If you take the FMRadio apk and related files from another ROM you'd copy the whole directory so why worry about manually creating it?

SebiderSushi said:
Yes that is where the source code of the AOSP FMRadio app is hosted. If your ROM maintainer adds it to the list of packages that are supposed to be on your device it will be compiled and added to every build they create.
If you take the FMRadio apk and related files from another ROM you'd copy the whole directory so why worry about manually creating it?
Click to expand...
Click to collapse
sad thing is i was on unoffical pe+ for rosemary so i dont think he will ever add it. btw i have already installed crdroid which has fm radio so no worries thanks!

Update / correction:
I started trying out android 12 and here's what i found:
The FMRadio app included with LineageOS hasn't been ported beyond LineageOS 18.1 / android 11
The FMRadio app from AOSP hasn't beed touched for 6 years and the last branches were for android 6.
Quite some time ago there has been a 3rd party app for real FM Radio using root access if kernel and driver support exist:
App on some Google Play mirror (no longer on Google Play itself)
App of F-Droid (open source version)
The app hasnt been updated in ~7 years as well and the only developer passed away.
It (very most likely) does not work on recent android versions. At least not when i tested on LineageOS 19.1.
However, the developer kept a wiki about the topic and it appears that, at least historically, FM Radio support was an uphill battle with basically no support from google and APIs appear to be poorly or not at all standarized across device makers.
All of that information is quite old by now and i don't really know about the current situation but my takeaway is:
- FMRadio should still be supported on all Redmi 4x ROMs up to android 11 / LineageOS 18.1. you can stay on that version if you need FMRadio.
- No one brought up FMRadio support on more recent LineageOS versions and unless your custom ROM has its own FM Radio instead of using what the LineageOS codebase provides you're likely out of luck. Maybe in a couple of years / in some newer LineageOS versions the FM Radio might be brought back to life or replaced with an alternative but don't get your hopes up. This probably means that either something changed substantially with android 12 or there are simply not enough maintainers interested in FM Radio support anymore. Either way, there is no obvious way to support FM Radio when porting LineageOS 19.1 to a device that had working FM Radio prior to that.
- If your ROM is based on LineageOS 18.1 (android 11) and does not have the FM Radio app you should have a decent chance that copying the files as described in OP or installing them in a Magisk module will work. But it's still better to check back with the device maintainer because it should work on LineageOS 18.1 and a lot of custom ROMs are forks of LineageOS (e.g. crDroid) with some exceptions like OmniROM
- If your ROM is based on LineageOS 19.1 (android 12) or newer you can try copying the files but don't get your hopes up.
- It your ROM is based on LineageOS 19.1 or newer and has a working FM Radio app then congratulations, the device maintainer / the community found a way to make it work for your device or in general again.
So far that's what i know now. What a convoluted rabbit hole. I'll keep trying out things as they come but so far i believe that is the situation for FM Radio on android 12 and beyond.

Related

[Dec 21][APP]PS3DJB v2.5.1 Supports Eng, Ger, Nor, Esp & Fr

Hello everyone,
Here is my app i have been working on. It will install all files to your sd card needed to jailbreak and downgrade your ps3 with your HD2 Only. Now i have some time think this link is long overdue to be posted. Where this app originated from. Again thank you to all the other devs out there for there hard work that has now become a all in one solution.
What the app does:
This app will allow you to downgrade your firmware to any firmware you want. (PS3 Slim's cannot go as far back as Fat Consoles.) The downgrade only works with FW's up to 3.50. (If you have FW3.55 you are out of luck for now. Unfortunately there is no solution on the market nor in the community for that FW version.) This app will also allow you to patch your android build with all the files needed to jailbreak your ps3.(this will be changed real soon.) It also includes many payloads so u can use the one that best matches your needs.
Other Languages:
German version Located here I have also translated the first post in German as well. Enjoy
Norwegian version Located here I have also translated the first post in Norwegian as well. Enjoy
Spanish version Located here. It is compatible with Esp Rom's storage cards. I have also translated the first post in Spanish as well. Enjoy
French version Located here. It is compatible with Fr Rom's storage cards. I have also translated the first post in French as well. Enjoy
Instructions:
you will need to download both files found below.
DowngradeUpdater(needed)
PS3DJB Updated to 2.5.1 - English Only - Now Includes darkstone hd2froyo v3 in a custom folder just for jailbreaking. Size 103mb
Install:
Make sure you have placed your android build of your choice on the root of your sd card before installing. Your android build must be placed in the Android folder.
1.install downgradeupdater.cab to storage card. (this only contains the downgrade folder)
2. install PS3DJB.cab to storage card. (this contains the main UI and all jailbreak files)(does not include modified 3.41 PUP, lv2diag.self file 1 and lv2diag.self file 2)
Pre Use:
1. run app and select backup original android build (must do this first before you run setup jailbreak if you want to keep your original zImage of your Android build.)
2. select setup jailbreak. This will transfer all the files to your android build. if you replace your android build later on with a newer version just rerun the setup jailbreak.
Use:
1. once you set up jailbreak then proceed to select Launch PS3DJB. Follow the jailbreak instructions on the process. There are tons of tuts on how to do so. It is all they same for the most part. What is different for the HD2 is Once you boot into Android go and launch Gscript and select the payload of your choice. Then wait till it starts to auto countdown then plug the phone into the ps3 and start the jailbreak process.
2. If you want to downgrade your ps3 launch downgrader. This will take you to a mini android build made specifically for downgrading your ps3. This will not affect your other android builds
Questions and Answers:
Q) how do I know when everything backed up, restored or setup for jailbreak?
A) it will complete when the button image snaps back to normal when completed.
Q) im done downgrading and cant turn off the phone with the power button?
A) If you run the downgrade portion of the app you will need to pull the battery out when your done and reboot the phone. this is not due to my app it is part of the downgrade setup.
Q) Where is the Gscript folder located at?
A) gscript folder installs to the root of your SD card. It should install when you install the PS3DJB.CAB if you do not see it. Reboot your phone. Sometimes it caches till a reboot. not sure if its a OS issue or a Rom issue.
Q) I started Gscript and only see a couple of payloads. Isnt there more?
A) if you are missing payloads in gscript listing hit the windows button then select add script. Then finally select load. find a missing script select it and save. it will now populate to your main list in gscript. you will need to add. hermes 3.50 + PSN v4b, CE-X hybrid payload, and 2.76FW payload.
Q) I have multiple android builds will this mess with them?
A) Yes and No. It will only mess the the android build located in the Android Folder. If you want to make sure your stock android build stays stock after jailbreaking run the backup original android build button first to back up a copy of your original zImage. Once your done jailbreaking just run restore original android build to restore the backedup zImage.
Q) Do I need to install the downgradeupdater.Cab if I don’t plan on downgrading?
A) No you do not. It does not affect anything releated jailbreaking. If you hit the launch downgrader button without it installed will cause the app to display a message about it missing.
Q) if i downgrade will i loss my game saves? if so how do i keep them?
A) If you downgrade you may loose your game save. Go to system settings and back up your system. the option is at the bottom of the list almost. you can restore the same way
if you have any suggestion let me know.
enjoy!
PAYLOADS included:
Hermes v4b+355 FW3.41
CE-X FW3.41
Hermes FW3.41
Hermes v4b + psn + 3.50 FW3.41
PL3 FW2.76
PL3 FW3.01
PL3 FW3.10
PL3 FW3.15
PL3 FW3.41
*IMPORTANT*
for downgrading you will need the 3.41 modified pup, lv2diag.self file 1 and lv2diag.self file 2. these are needed once you obtain service mode
Change log:
Version 2.5.1
*added my custom data.img (57mb) to jailbreak rom. Should save a lot more space on the storage card and boot faster. My boot took 1 min 37 sec which was faster than the 1GB data.img created on first boot.
Version 2.5
*Removed setup Jailbreak, backup and restore buttons.
*Jailbreaking now has a dedicated folder that has a pre setup build of android ready to jailbreak
*included a dedicated android launch button for those who have daily use builds of android on there phone located in the android folder
*new start menu icon - thanks to drkfngthdragnlrd
Version 2.0
*removed any backing up or replacing of initrd.gz as it is not really needed for our purposes.
*should work better with new builds of android as i backed off the filestructure some.
version 1.6
*backup original android build now backs up zImage and initrd.gz
*restore original android build now restores zImage and initrd.gz
version 1.5
*added backup original android build button - this will back up your original zImage on your untouched android build.
*added restore original android build button - this will restore your original zImage and delete all files related to jailbreaking in your android folder
*updated functionality of setup Jailbreak button - now will create all jailbreak related directories in the android folder then install all files needed.
Thanks goes out to:
mangahoteles, Darkstone, Dan1j3l for the original builds of psfandroid
The Invisible GoD & KillaHurtz for there payload ports
sorry for noob question... what for this app actually?
Wonderful app! Thank you for your work. Wouldn't this be better suited for the HD2 Apps forum though?
socrated13 said:
Wonderful app! Thank you for your work. Wouldn't this be better suited for the HD2 Apps forum though?
Click to expand...
Click to collapse
i thought it might be but was not sure. if a mod wants to move it feel free.
This app just make things easier/noobier for people who want to jailbreak or downgrade there ps3. i personally got annoyed always having to open file explorer and hit both options to launch. i have a lot of crap on my sd card so this makes it easier for me and i hope others. it will also give you a dedicated folder for the downgrade.
i can always make the jb a dedicated folder but i notice that android runs fine with the jb files integrated. it did not affect my user experience so i did not do that originally.
Thank you! This is an extremely useful app, you have made my life so much easier...
azaini said:
sorry for noob question... what for this app actually?
Click to expand...
Click to collapse
If you don't no for what this app is, probably is not for you!
HackMimic, thanks for the great job!
HackMimic said:
i thought it might be but was not sure. if a mod wants to move it feel free.
This app just make things easier/noobier for people who want to jailbreak or downgrade there ps3. i personally got annoyed always having to open file explorer and hit both options to launch. i have a lot of crap on my sd card so this makes it easier for me and i hope others. it will also give you a dedicated folder for the downgrade.
i can always make the jb a dedicated folder but i notice that android runs fine with the jb files integrated. it did not affect my user experience so i did not do that originally.
Click to expand...
Click to collapse
Very cool good job!!
I am curious to where you get the lv2diag.self file 1 and lv2diag.self file 2 files
youngkwang49 said:
I am curious to where you get the lv2diag.self file 1 and lv2diag.self file 2 files
Click to expand...
Click to collapse
Like here for example...
Doesn't work for german ROMs, cause in german "Storage Card" means "Speicherkarte" and so the path for the setup is wrong ... Installing is no problem.
This is awesome
Thank you HackMimic
the only probem with using ps jailbreak on my hd2 android is that it breaks my camera
had the same problem when I made my multi os launcher app days ago. I have the translation for German and another language. I will make the proper changes for ya. Would you prefer everything visual to read in German.
HackMimic said:
had the same problem when I made my multi os launcher app days ago. I have the translation for German and another language. I will make the proper changes for ya. Would you prefer everything visual to read in German.
Click to expand...
Click to collapse
German is not that important for me, but if it is no big effort it would be fine.
What version firmware does this work on i have .55 firmware, a stupid friend of my sister installed it. I hope it works for this too
supaet said:
the only probem with using ps jailbreak on my hd2 android is that it breaks my camera
Click to expand...
Click to collapse
Same here.
HectiQ said:
What version firmware does this work on i have .55 firmware, a stupid friend of my sister installed it. I hope it works for this too
Click to expand...
Click to collapse
unfortunately if your at 3.55 there is no way to downgrade as they revoked the leaked keys. there where 3 of them i believe. i would not update your ps3 anyfurther down the road and wait till there is a workaround. im always scared my roommate will do the same. thats why i bought two. one jb in the front with a ps3key. thats what my roommate will use since its easy and one in my room with my htc now.
bahoiz said:
Same here.
Click to expand...
Click to collapse
Does it break the camera in WM or android? My camera in WM works fine. if in android it might be the zimage file used. I think i will need to make a backup folder and include a button to backup original zImage of the rom so you can restore it when not jailbreaking.
also doing a pure german rom is no big deal. Let me update the app to do this new stuff first and when i upload it i will upload a translated version as well.
Hi,
I am using an english version wm, still says that the directory can't be opened
Storage Card/blah blah blah..
using android RAM version by darkstone.. maybe that's the cause?
Whenever I click on "Setup Jailbreak", I get an error message saying, " An unexpected error has occurred in SmartDeviceProject1.exe. Select Quit and then restart this program, or select Details or more information." I'm using a dexter wm rom, "TheDarkOne WWE". Radio 2.10.50.26. Any help would be appreciated.

[GPS] T959 4.2 JB GPS Reset / Fix [GPS]

Looking around in various threads I found numerous gps fixes. In some (most) the files are not original T959 files. While they may work, since they are not T959 KB5 files the possibility of 911 working diminishes. I set out to find any gps fix out there and build a flash-able package that would reset everything back to the proper (or as close to) files for our phones (T959).
Also I have found some ROMs utilized the SUPL port of 7276. This port was found to create gps log-spam and the "fix" was to reset the port to 7275. This IMO also resulted in quicker locks.
See HERE and HERE for more info.
For the 911 info go HERE (or just click it in FaultException's signature)
What this tells me is you want matched GPS libraries with the proper T959 RIL.
So I have searched a few threads and found 1 GPS fix so far and built mine to reset or undo any possible mismatched files flashed. If you find any GPS fix that some might use for CM10.1 please post it an I shall try to adapt mine to reset it to the proper files.
I have made:
North American version (NA)
Europe Version (EU)
Global Version (GL)
USA Version (US)
Asia Version (AS)
YMMV between USA and North America if you live in the states.
2nd post I will also post my custom version with some extra advice and good signal locks. What I need is for people to nanadroid first and test it. Also to post / link and GPS fixes they may have come across so I can check them. Point to note is I am attempting to fix non T959 GPS fixes as much as make a good GPS fix for our phones. Posting links to other "fixes" will help. Thanks
With any JB / ICS ROM you have taken the responsibility of possible breaking 911. No difference here. Flash at own risk.
NANDROID FIRST!!!
Big thanks to FaultException for the time, info, and files required for our phones.
Original version may mute calls > Revert to nanadroid if the case. V2 shouldn't effect calls. Please test.
Checking original Froyo gps files here is the the MD5's Ive found so far:
JFD (558kb)
0F3376A81E85AE6044D2BF68D63E2A55
JI6 (554kb)
4761E7B01E0A71A048458F50DE64BC62
KB1 (554kb)
870A5D6F3542FD7421B215FCB37D884C
KB5 (554kb)
870A5D6F3542FD7421B215FCB37D884C
(KB5 is what is in CM10.1 also)
Ok here is the file for my custom GPS setup. I have not had and deep-sleep issues (DS). Some of the following may work, or not. Its just some tips and stuff I do.
Zip file attached. NTP is set to north america so you can edit as needed.
This will also install Angrygps app for you. When you boot up open the app and set the following:
Settings > General Settings > Operation Mode = "MSBASED"
Settings > SUPL Settings > Server = supl.sonyericsson.com and PORT = 7275
Also I suggest you install an app called LeoAGPS injector. Found HERE
Install it like any normal app (no push), open the app and select "Pop-up message". After that go to your home screen and app the LeoAGPS widget. Click the widget to inject AGPS data. Wait a few seconds then reboot.
Try out the GPS and see how it goes.
Version 1 broke sound on the RemICS ROMs so I pulled the RIL files out. Now just custom gps files / fixes
Change log:
Added a USA version. May or may not work better than the North America version.
1/10/2013 - Since it appears the version 1 broke phone sound on the RemICS builds I removed the RIL files. Now v2 will only fix / replace gps files and not RIL files.
1/18/2014 - Added some MD5's of gpsd/agpsd files Ive extracted from Samsung dumps.
GPS fixes reset:
http://forum.xda-developers.com/showpost.php?p=33575684&postcount=504
If you want to try and adapt it to your specific country:
Open in a text editor: /system/etc/gps.conf
Change the NTP server line (top line) to your country. Country list found HERE
Edit / reboot / check
I do suggest the LeoAGPS app in post #2. It has seemed to work well for me.
Moped_Ryder said:
Ok here is the file for my custom GPS setup. I have not had and deep-sleep issues (DS). Some of the following may work, or not. Its just some tips and stuff I do.
Click to expand...
Click to collapse
Thanks for this awesome post! I know I'm suppose to test these files before asking but you might already have the answer: with these fixes, in your experience, do you still need to get a lock before DS in order to prevent issues after DS? Or after you reboot and getting into DS before locking first, you are able to get GPS to lock after DS?
Thanks for all your help!
davidgs said:
Thanks for this awesome post! I know I'm suppose to test these files before asking but you might already have the answer: with these fixes, in your experience, do you still need to get a lock before DS in order to prevent issues after DS? Or after you reboot and getting into DS before locking first, you are able to get GPS to lock after DS?
Thanks for all your help!
Click to expand...
Click to collapse
It was not addressed to me, my 5 cents anyway. I think it's more a kernel issue, at least it was so on ICS until the great SubZero came into play. You should try his GPS-wrapper, I think it could help (preventing the GPSD getting incidentally corrupted) - find the flashable zip in the "3 files fix" post of Jrafael (see post No 3 above).
I am also very interested in getting our Vibrant's GPS as much functional as it can be. My own "fix" (check for Igps.zip) was giving me best results for accuracy (down to 3 m!) on some ROMs (JB 4.1 and 4.1.2, but not 4.2.1). I found out that there are many useless files (such as gps.xml or secgps.conf), and that GPS will still lock and pretty quickly even without gps.conf tweaks (and even without this file). However I don't have coding skills to organize my empirical findings.
@ MR - where did you get your RIL files from, with the Europe fix file I have no sound on phone call (I use instead the MP's RIL files, working fine for me).
Got the RIL from KB5 / CM10.1 - same boat here about sound. Gonna pull the downloads and check on it. If anything Ill re-up without the RIL and just GPS files and try again. Im getting what looks to by Bluetooth errors when trying to connect. Even when BT is turned off with the RemICS ROMs.
Whenever able CM10.1 use the Froyo KB5 RIL / Drivers and such. Some times it just doesn't work. The RIL and AGPS files from Froyo KB5 match the CM10.1 ROMS.
Testing my original fixes - the following so far are the outcomes:
RemICS-JB: Breaks sound. Version 1 RIL and GPS doesnt match CM10.1 / KB5.
Slimbean: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
HellyBean: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
CM10.1: No issues - Sound works fine. Confirmed the base RIL / AGPS files in ROM match CM10.1
FIRST
I will apologize to those who flash the original version on RemICS ROMs. It broke your call sound. Return to your nandroid and all should be well. For those on Slim / Helly / CM10.1 you are fine.
The RemICS ROM is very smooth but the RIL / GPS files don't match the Samsung T959 KB5 (also in CM10.1) files. Replacing 3 of the RIL files with the proper KB5 ones broke the sound. Ill keep at it.
For now - Version2 no longer replaces and RIL files. All the above GPS fixes will replace gps files / remove un-needed gps files.
First I want to thanks Mr. Moped for jb GPS fix great job.I am using remics jb 4.2 and moped GPS files NA-Version 2 it works good, I lost signal than it reconnect so that issue is fixed in Version 2 and sound is working also thanks .
Sent from my SGH-T959 using xda app-developers app
Gps works good sound also ,only sound is bad when I put on speaker when i am on phone call to much noise . we used to control mic from in call volume control feature in advance setting and now we are missing that feature in 4.2.
Sent from my SGH-T959 using xda app-developers app
Moped_Ryder, I just flashed 4.2.1 and flashed your USA version GPS fix after flashing GAPPs. I'm coming from 4.1.2, and only got locks down to 30m intermittently. The norm was 800 m accuracy (vik5 responded to some of my posts). More importantly, thank you for doing this post (clicked the Thanks) and appreciate you explaining the reasoning behind your updates as well.
*Update* First lock in GPS Checker occurred after 31s with 8 "fixed satellites". Marked improvement over GPS performance on Team RemICS 4.1.2 (highest I ever got was 3 satellites, lock took 242 s). Thanks Moped!!
Cap'nO said:
Moped_Ryder, I just flashed 4.2.1 and flashed your USA version GPS fix after flashing GAPPs. I'm coming from 4.1.2, and only got locks down to 30m intermittently. The norm was 800 m accuracy (vik5 responded to some of my posts). More importantly, thank you for doing this post (clicked the Thanks) and appreciate you explaining the reasoning behind your updates as well.
*Update* First lock in GPS Checker occurred after 31s with 8 "fixed satellites". Marked improvement over GPS performance on Team RemICS 4.1.2 (highest I ever got was 3 satellites, lock took 242 s). Thanks Moped!!
Click to expand...
Click to collapse
Do me a favor if you have time. Do a Nandroid and try my Custom fix in post #2 (to include AngryGPS settings). Also combine that with the LeoGPS I linked as well.
See if that works any better for you. Revet back to your Nandroid after if you wish.
Moped_Ryder said:
Do me a favor if you have time. Do a Nandroid and try my Custom fix in post #2 (to include AngryGPS settings). Also combine that with the LeoGPS I linked as well.
See if that works any better for you. Revet back to your Nandroid after if you wish.
Click to expand...
Click to collapse
Will do
Sent from my SGH-T959 using xda app-developers app
Moped_Ryder said:
If you want to try and adapt it to your specific country:
Open in a text editor: /system/etc/gps.conf
Change the NTP server line (top line) to your country. Country list found HERE
Edit / reboot / check
I do suggest the LeoAGPS app in post #2. It has seemed to work well for me.
Click to expand...
Click to collapse
Hi, I tried to edit gps.conf file as mentioned. But whether I changed the supl_port to 7275 it remains 7276 it asks me to save the changes but doesnt save
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Moped_Ryder said:
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Click to expand...
Click to collapse
I don't suppose I could request a flashable zip for New Zealand (Oceania) gps settings?
I flashed from 2.3 to Cyanogen 10 then 10.1 and now have no gps when I did initially have it working in 2.3
Moped_Ryder said:
Probably /system is not set for read/write.
Ill make ya a Flashable zip tonight if you give me the country you want from that list.
Click to expand...
Click to collapse
Hi,
Thanx for the reply Moped I am using root explorer and set the r/o to r/w and opened the conf file in text editor.. I can edit the file but changes wont stick
I am living in sri lanka which comes under Asia — asia.pool.ntp.org Sri Lanka — lk.pool.ntp.org
Thank you again.
EDIT: I edited the gps.conf file using the es explorer (with root access enabled). there is a new file created inside root explorer gps.conf.bak and theres nothing inside gps.conf file (inside root explorer).
BUT gps.conf file (inside es explorer) has the changes I made. I rebooted but still the same
EDIT (update): Set the permission READ for all USER, GROUP, OTHERS and voila gps.conf file has the changes
Hope these info will help anyone having this issue
I can take care of it tonight.
If anyone wants to do it themselves its not hard.
1. Download and install a program called 7zip
2.. Download any of my GPS fixes
3. Right click on it (GPS fix). Browse thru 7zip to the /system/etc folder and drag the gps.conf file out to desktop (or somewhere).
4. Dont close the 7zip yet
5. Open the gps.conf file you just extracted and edit the NTP line to suit your needs. Save it.
6. With the archive still open in 7zip drag the edited gps.conf file into the /system/etc folder in 7zip. Overright old file.
7. Close zip. Its ready to transfer to your phone and flash it.
...You may be abnle to edit the gps.conf file right from 7zip (cant test Im at work right now)
I can always help someone with it. Just though peopl would like to try it out themselves too.
Moped_Ryder said:
I can take care of it tonight.
If anyone wants to do it themselves its not hard.
1. Download and install a program called 7zip
2.. Download any of my GPS fixes
3. Right click on it (GPS fix). Browse thru 7zip to the /system/etc folder and drag the gps.conf file out to desktop (or somewhere).
4. Dont close the 7zip yet
5. Open the gps.conf file you just extracted and edit the NTP line to suit your needs. Save it.
6. With the archive still open in 7zip drag the edited gps.conf file into the /system/etc folder in 7zip. Overright old file.
7. Close zip. Its ready to transfer to your phone and flash it.
...You may be abnle to edit the gps.conf file right from 7zip (cant test Im at work right now)
I can always help someone with it. Just though peopl would like to try it out themselves too.
Click to expand...
Click to collapse
One can make a custom flashable zip right on his/her phone.
1. Use a file explorer which has archiving function (I have Solid Explorer) and unzip any flashable zip you want to change.
2. Make your changes.
3. Compress to zip again. IMPORTANT: you must ONLY include the content itself and NOT the uppest folder (if your zip has two folders, META-INF and System, first select the two and compress these two in a single archive). Otherwise it won't be cwm flashable.
To change the gps.conf file on the go use Faster GPS (NOT Faster fix) free in Playstore.
Moped...i tried the other zip; No good lock on this one. Flashed Custom zip file and changed settings in Angry GPS as instructed. No lock..no satellite signals. Reverting back to old setup..using your US version, which worked perfect.
Sent from my SGH-T959 using xda app-developers app

[ ROM ] - Dhollmen LOLLIPOP 5.0.2

.
Highlights:
Android 5 - Lollipop
Integrates the latest Dhollmen Kernel.
Supports NTFS file system.
Supports EXFAT filesystem.
Supports F2FS filesystem.
Available configuration options for Dhollmen Kernel overclock.
Integration of Viper4 Audio FX as an equalizer, amplifier and sound effects manager.
Supports for Joystick and game controllers.
Supports for gestures on the keyboard.
First Installation:
Download the zip file from Rom as tablet model
Download the add-on with pre-settings Viper4 Convolver IRS
Download the add-on with Google applications (Gapps)
Boot the tablet in recovery mode
Make "wipe data / factory reset" at this time
Install the Rom file
Install the Viper4 IRS file
Install The Gapps file
Reboot
Subsequent installations:
Download the updated zip file
Reboot to recovery mode
Do NOT any kind of "wipes"
Install the updated zip file
Reboot
Information:
Frequently asked questions you must read.
Downloads:
Recovery TWRP
WARRANTY: You agree that this product is provided "as is" without any warranty, either expressed or implied, on its operation.
DISCLAIMER: Your assumes at your SOLE RESPONSIBILITY all results produced by the "software" and/or instructions in this thread.
XDA:DevDB Information
Dhollmen, ROM for the Samsung Galaxy Tab 2
Contributors
tuxafgmur
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod
Version Information
Status: No Longer Updated
Current Beta Version: 5.0.2
Beta Release Date: 2015-02-09
Created 2015-02-03
Last Updated 2015-02-15
.
> Rom's Notes.
Who installs this Rom, accept it "as is".
Contains just the apps and options installed.
What you want to add will have to be obtained from Google-Play or any other sources.
Please, don't report bugs if you are not using the installed Dhollmen Kernel.
In case of questions or comments, you must indicate additional apps, tweaks or installed "optimizations".
if you insert images, do it in a 'hide' tag. This hide your image until an user click to show it.
I assume you has installed a suitable Recovery and know how to perform the required steps.
Keep in mind that Antutu and others related apps give you very similar values, regardless of the Rom used.
In such apps, OC influence on speed, but its goal is to evaluate the hardware, not the Rom.
Don't use any kind of overclock before three consecutive stability test in Antutu.
> Rom take a long time to boot after installing.
It is quite normal because ART is used and applications are self-compiled at first boot time, after installing a new Rom.
> Applications are slow to start after installing.
It is quite normal because ART is used and have self-compiled before first use.
Although it may seem at times, the Rom is not hung, just have to wait.
> Get Root access.
In Settings app, entering development option and select Root access.
If you don't see these items, we activate:
Touch repeatedly on About tablet > build number. From now on, initial setting screen show that option, plus Performance.
> Get Performance access.
If you don't see these items, we activate:
Touch repeatedly on About tablet > build number. From now on, initial setting screen show that option, plus Development option.
> Google Apps (Gapps).
All Gapps packages available are virtually identical.
Only differ, from each other, in the amount of installed applications.
Never two different packages must be installed as likely to cause Google applications FC.
The Dhollmen Gapps, being valid for any Rom, are specifically adapted for installation on it.
> Viper4 - Convolver - IRS.
This application controls the System Sound FX.
It also includes a number of advanced pre-equalizer settings (made by others) that are the IRS whose installation files requested.
Access to Convolver (manager of the IRS) is obtained by selecting the option Expert in Experience Settings.
Using another equalizer (provided by external applications) usually interfere with it.
You can only have one active equalizer in the system, but if you want to use another one, kindly Viper4 can be turned off.
> Restoring backups.
It is very common Titanium Backup (or similar) problems in Rom.
If backup /data partition are made and, after a change of Rom, restored, usually side effects will occur.
In this directory and subdirectories it contains, there are many configuration files and internal databases.
When it comes to a specific application should not be a problem as long as it is not part of the Rom.
When sub-directories containing settings are restored, the likelihood of problems increases exponentially.
For example, all Roms have a Settings application, but the content of his configurations differs between them and is not interchangeable.
Under no circumstances you should restore /system partition apps.
> Brick Bug.
Don't worry about.
No problems here
> Recovery.
In the wave of failures of equipment, widely discussed and until the problem is completely cleared
The user is strongly advised not to use another recovery than Dhollmen TWRP-2.8.0.5 or Andi TWRP-2.8.0.1
Seems very nice, will give it a try after i get back to home. Thanks!
AMAZING, i was wondering wich LP rom was the best option when this pops up, thanks again OP you are the best.
Installing right now, will post feedback.
cool, thx
Hassan 4 said:
Seems very nice, will give it a try after i get back to home. Thanks!
Click to expand...
Click to collapse
Everything is working except GPS.
When opening an app for the first time it's really slow, after reopening it's faster. Seems pretty good for initial release.
Keep up the good work.
look promising, shall give a try
btw no keyboard tng this time?
Marcos OC said:
AMAZING, i was wondering wich LP rom was the best option when this pops up, thanks again OP you are the best.
Installing right now, will post feedback.
Click to expand...
Click to collapse
Installed, i cant get the sound to work, checked driver status on equaliser menu and it says "abnormal"
p3110, fresh install, wiped everithing even internal storage.
Confirmed no sound on 3110. Looks like the audio.primary.default.so file in /system/lib/hw was omitted when compiling for 3110. Just for the heck of it, I downloaded the 3100 build and the .so file was present in that rom. So, I just took the audio.primary.default.so from the 3100 build and put it in the 3110 build, sound working fine now.
I archived the file in the 3110 zip, then flashed the rom but you can also push the file with a root file explorer. Just make sure to set proper permissions and then reboot for it to take effect.
Or, you can just wait for the OP to fix the 3110 build.
Mike T
webdroidmt said:
Confirmed no sound on 3110. Looks like the audio.primary.default.so file in /system/lib/hw was omitted when compiling for 3110. Just for the heck of it, I downloaded the 3100 build and the .so file was present in that rom. So, I just took the audio.primary.default.so from the 3100 build and put it in the 3110 build, sound working fine now.
I archived the file in the 3110 zip, then flashed the rom but you can also push the file with a root file explorer. Just make sure to set proper permissions and then reboot for it to take effect.
Or, you can just wait for the OP to fix the 3110 build.
Mike T
Click to expand...
Click to collapse
can you please upload the audio.primary.default.so for us
OP, is the rom running on Dhollmen kernel for LP ..
Thank you Tux for bringing lollipop to Dhollmen.
Everything works fine. Smoother than CM12.
Titanium backup has issues with stock Root. Hence flashed supersu 2.45 to fix it.
How does one switch from the samsung keyboard dock to the on screen keyboard? I went to settings, then to language and input and the choice was grayed out. Is this something where if I have the dock option installed, that I can only use a keyboard dock?
What this rom based on ... ???
Help 3G DATA NO WORK!!
quick setting panel is not working for my p3100. plz fix it
.
For all those who so kindly have tested this first beta: :good:
I've taken note of all comments and I am reviewing each and every one of them.
when I've prepared the corrections I'll upload a new version.
I'll try the beta status as short as possible.
:highfive:
tuxafgmur said:
.
For all those who so kindly have tested this first beta: :good:
I've taken note of all comments and I am reviewing each and every one of them.
when I've prepared the corrections I'll upload a new version.
I'll try the beta status as short as possible.
:highfive:
Click to expand...
Click to collapse
Can the cast screen option be working?
Also tried casting screen through Chromecast app, sound is coming but no video.
This is the audio.primary.default.so from the P3100 build for anyone who needs it.
Do not forget to set permissions to rw-r--r-- / chmod 644
http://www.mediafire.com/download/p63chas4hva17wm/audio.primary.default.so
By any chance is there app to SD card support?
By what I can see, yes. See screenshot.

Tap and pay fix

After flashing through many and many Roms I have realized (and posted questions about) only one AOSP rom for the m7spr has HCE necessary for tap and pay. After a minute amount of nosing through the rom I found a fix for CM11 and applied the fix successfully.
Under /system/etc/permissions (in the roms .zip file) android.harware.nfe.hce.xml is missing in the AOSP rom. I took the xml from the any rom in which tap and pay works and threw it into CM11, rezip and it works.
I do not understand enough about the Lollipop installation system works. More specifically, there is no folder structure in the installation zip file. And I don't understand how building a rom from source works. I have tried posting on Cyanogenmod forum looking for the cm12 maintainer (I am looking to use CM) but no response. I am not really looking for someone to tell me how to fix it. I was just trying to get the fix out there and see if things will get working.

[DEPRECATED] [Module][2018.9.23] MagicGApps -- Install OpenGApps Systemlessly

THIS PROJECT IS NO LONGER SUPPORTED.
# MagicGApps
## Copyright (C) 2017-2018, VR25 @ xda-developers
### License: GPL v3+
---
#### DISCLAIMER
This software is provided as is, in the hope that it will be useful, but without any warranty. Always read/reread this reference prior to installing/upgrading. While no cats have been harmed, I assume no responsibility under anything which might go wrong due to the use/misuse of it.
A copy of the GNU General Public License, version 3 or newer ships with every build. Please, read it prior to using, modifying and/or sharing any part of this work.
To prevent fraud, DO NOT mirror any link associated with this project.
---
#### DESCRIPTION
- This module installs a regular open_gapps-* zip (except aroma variant) systemlessly. When it's disabled, Google Play Services are automatically disabled on the next boot as well. This prevents continuous, disturbing gms crashes.
---
#### PRE-REQUISITES
- Any open_gapps-* zip, except aroma variant
- Custom recovery
- Magisk
---
#### SETUP STEPS
0. Make sure an open_gapps-* zip (except aroma variant) exists somewhere in /sdcard or /external_sd directories or subdirectories (max directory depth must be 3 -- i.e., /sdcard/Download/OpenGApps).
1. Optional -- run `touch /data/r` to
reinstall open_gapps-* zip (or `touch
/data/u` to uninstall the module).
2. Optional -- set up a gapps-config.txt file (removal lists work as pseudo-removal lists -- systemless debloat).
3. Install from custom recovery (i.e., TWRP).
---
#### LINKS
- [Facebook Support Page](https://facebook.com/VR25-at-xda-developers-258150974794782)
- [Git Repository](https://github.com/Magisk-Modules-Repo/MagicGApps)
- [XDA Thread](https://forum.xda-developers.com/apps/magisk/module-systemless-beansgapps-mini-7-1-x-t3611362)
- [webview_packages: fix incorrect signatures]( https://github.com/LineageOS/android_vendor_cm/commit/a3a76f5d1cc233ad8024ffdc74bb3a786e1605c3)
---
#### LATEST CHANGES
**2018.9.23 (201809230)**
- Max OpenGApps search directory depth set to 3 for faster speed.
- Support for latest Magisk versions
- Updated documentation
- Use /dev/urandom over /dev/random.
- Use Magisk imgtool over make_ext4fs and resize2fs.
**2018.8.12 (201808120)**
- Added GMS Manager script -- automatically enables/disables Google Play Services when MagicGApps is enabled/disabled; self-remove when MagicGApps is uninstalled
- Updated module description
**2018.8.11 (201808110)**
- Fixed GApps runtime permission issues
- Fixed "make_ext4fs not found" (devices running Android P)
- Let Open GApps installer use the real /persist
- Major optimizations & cosmetic changes
- Removed `gp` executable
- Updated documentation
Archive
Reserved
++Reserved++
Hey! thanks for all your Magisk mods, I noticed you posted a few in the Collection of Magisk Mods v2 thread.
I'm curious about this one though. What is it for? No offense, I just don't understand why you'd need or want Beans core Gapps to be systemless.
Especially since A) they usually always occupy that space on /system, 2) the /system partition has plenty of room for the mini Gapps (and often much larger packages) after clean installing a ROM, and thirdly I thought the whole point of Magisk and systemlessness was to have an intact and "normal" /system.
Being able to hide root is one of the coolest things about Magisk, closely followed by installing modules "systemlessly", where they don't actually take up space on your system partition but act like they do.
In essence, I think my point is that I assumed Magisk systemlessness is designed for quite the opposite purpose of this mod. Why have empty room on your system partition (where the Gapps usually reside) AND have the ability to use systemless mods -- which inherently don't utilize the system partition, by design?
tl;dr:
If you're using Magisk for "systemlessness", why leave unused space on the system partition? If the Gapps are stored on /data, you have less usable space on the device.
Again, I mean no offense. The more I think about it the less sense it makes to me. Please explain why you made this and what its advantages are! I would love to understand.
Sent from my Nexus 6P using Tapatalk
borxnx said:
Hey! thanks for all your Magisk mods, I noticed you posted a few in the Collection of Magisk Mods v2 thread.
I'm curious about this one though. What is it for? No offense, I just don't understand why you'd need or want Beans core Gapps to be systemless.
Click to expand...
Click to collapse
First of, thanks for the questioning. I thought somebody would feel confused at some point... and here we go. I just added my reasoning to the main post. You'll love it at best and like it at worst. Guaranteed.
Sorry for OT but, how do you make backup for magisk.img? ?
xkhen0017 said:
Sorry for OT but, how do you make backup for magisk.img? ?
Click to expand...
Click to collapse
The file is located in /data. Use a file manager with root access to copy it to a desired location for future use. I personally use TWRP's built in file manager.
No offense. Some people prefer the Nova launcher instead of the Pixel launcher, so I hope you don't add the pixel launcher
Dope concept and module. Will I be able to manually update Gapps from the Nightly updates, or do I have to wait for you to push from your end?
aocboe said:
No offense. Some people prefer the Nova launcher instead of the Pixel launcher, so I hope you don't add the pixel launcher
Click to expand...
Click to collapse
Thanks for your suggestion. I'll add Nova Launcher in the next version. Now I remember it is actually better than Pixel Launcher anyway.
Mecca EL said:
Dope concept and module. Will I be able to manually update Gapps from the Nightly updates, or do I have to wait for you to push from your end?
Click to expand...
Click to collapse
You either wait or just integrate app updates into system, systemlessly using Titanium Backup. That's the magic of this. However, to be honest, I'm more into it for the other modifications, since apps are updated from Pay Store anyway. Although they aren't integrated into Magisk automatically, you don't really need to worry about that too much.
Two questions:
First, can I just install this module instead of flashing gapps?
Second, can I add app I want systemized to the zip and install it?
Breno Spangler said:
Two questions:
First, can I just install this module instead of flashing gapps?
Second, can I add app I want systemized to the zip and install it?
Click to expand...
Click to collapse
One answer for both: yes.
Note: some apps may not work as system apps, unless you include libraries with them (extra space -- wasteful)
This includes some user apps. I'm open for suggestions.
Edit: I'm working on a script to batch install user apps added to the zip.
Edit 2: @Breno Spangler, the script is ready! Download
Just add your apps to the /data/app folder, remove the PLACEHOLDER file, enjoy.
Can i update the module just by installing new version or do i need to uninstall the old version first? I'm asking because i know that name changes can make software go crazy.
Shished said:
Can i update the module just by installing new version or do i need to uninstall the old version first? I'm asking because i know that name changes can make software go crazy.
Click to expand...
Click to collapse
Yes, you're right about name changes. This name won't change anytime soon without notice. I did change it at first without notice though.
Anyway, only flash without removing the previous version if the names match.
VR25 said:
Thanks for your suggestion. I'll add Nova Launcher in the next version. Now I remember it is actually better than Pixel Launcher anyway.
Click to expand...
Click to collapse
I got nova launcher as default launcher on my rom. Won't it conflict if I install this module? Doesn't it better if you remove it and we can use any launcher we want?
khnoizer said:
I got nova launcher as default launcher on my rom. Won't it conflict if I install this module? Doesn't it better if you remove it and we can use any browser we want without added launcher if we don't use it?
Click to expand...
Click to collapse
Yes it may conflict. You can open the zip, go to system/priv-app directory, and delete NovaLauncher folder.
I'll evaluate your suggestion for the next version.
Edit: @khnoizer, module updated. Check the new info in the main post.
VR25 said:
Yes it may conflict. You can open the zip, go to system/priv-app directory, and delete NovaLauncher folder.
I'll evaluate your suggestion for the next version.
Edit: @khnoizer, module updated. Check the new info in the main post.
Click to expand...
Click to collapse
Nice
stupid question: If flash a ROM that already has GAPPS bundled, that would cause a conflict with this module? Does one or the other win or do things just break.

Categories

Resources