[Q] Help getting FM radio working on rubix focused! - Droid X General

So I installed rubix focused 1.8.6 the other day, only to realized that my beloved FM radio app was part of blur! I got the system dump and used rootexplorer to stick FMRadio.apk and FMRadioService.apk in the system/app folder, and set permissions to User read/write, read, read. Now when I start the app, a toast pops up with "Fm Radio is being launched, please wait..." and never goes away. What could be wrong? are the permissions off? is the fmradioservice.apk supposed to be somewhere else?

DawidD said:
So I installed rubix focused 1.8.6 the other day, only to realized that my beloved FM radio app was part of blur! I got the system dump and used rootexplorer to stick FMRadio.apk and FMRadioService.apk in the system/app folder, and set permissions to User read/write, read, read. Now when I start the app, a toast pops up with "Fm Radio is being launched, please wait..." and never goes away. What could be wrong? are the permissions off? is the fmradioservice.apk supposed to be somewhere else?
Click to expand...
Click to collapse
This is one example of the problem with Blur. The components are not all self-supporting. Many of them rely on the blur framework to operate.
Fission & Focused have built more of a stock framework and it won't work with nearly any of the blur apk's.
You might want to look at Rubix Blurry or any of the other ROMS that are based more on optimizing/removing the bloat of Blur, but still leave the basic framework intact.

Darn - I want to do the same thing and clearly the FMRadio.apk doesn't work (just tried it). Does it matter if FMRadioService.apk is installed too?

Related

can we get the htc news widget on the phone?

i pushed it on with adb, it shows up in root explorer now, but not in the widgets list. anyway to make this work?
can you send me the file? i would like to try some attempts...
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
EDIT: My bad for some reason (it must be late) i thought i read Google News widget...I do want to get the HTC news widget on my phone also...
ejlax said:
can you send me the file? i would like to try some attempts...
Click to expand...
Click to collapse
sure, PM me your email and i'll email it to you
ejlax said:
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
Click to expand...
Click to collapse
you installed the HTC news widget right on the phone? the one i tried wouldn't install.
i got the NewsReader.apk installed and opened...now trying to figure out how to get the widget...
anywho, i successfully modified and then pushed the modified News and Weather (GenieWidget) onto the phone. i themed it to match my FeedR widget.
tried to post a screen cap but it's not letting me. something about being a new member.
i have the widget.apk, but not the NewsReader.apk. maybe that's why it's not working. we need to share files. lol
here is the link for the newsreader.apk
http://www.mediafire.com/?xuzn5r0yzze
the app itself does nothing but force close for me. are you getting the same result?
do we maybe also need the odex file?
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
ejlax said:
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
Click to expand...
Click to collapse
i do not have the odex files. i'm giving up for now. lol hopefully somebody can figure it out. i'm good with my skinned geniewidget for now.
You say your rom is deodexed... you're running a fully deodexed rom on DI? Did you build this yourself, or...?
I have some ideas for the news widget, but I'd like to see newsreader working first.
Thanks!
I posted progress..
I posted progress on the same thread in the apps section. I rooted and pulled de-odexed files from an evo build and pushed them to the system/app/ directory, i then cleared the data in HTC Sense app and the widget and icon showed up. The problem is that they force close. You need 3 files
RSS.apk
NewsReader.apk
com.htc.NewsReaderWidget.apk
I don't think it will make any difference to use odex'd files. Usually it is better to have de-odex'd files to install. The files must be on /system/app/ directory in order to even show up and launch. I hope that a dev is able to take a better look at the androidmanifest.xml in the app or use logcat to see what the hell is going on.
If you want to write to the /system/app/ directory,
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mv /sdcard/RSS.apk /system/app/RSS.apk
(etc...)
then applications-->manage-->HTC Sense -->clear data...
But again, FC's will occur until someone is able to look at the manifest and alter it. I looked at the MinSDK for this app and it is the same as the DInc, otherwise I would've changed that part with a Hex editor myself.
Hope someone is able to do this, we would all be one step closer to a smaller Evo, lol. (I really don't like holding a "kindle" to my ear anyways, lol!)
Red.
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
vilord said:
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
Click to expand...
Click to collapse
I didn't need to resign because the .apk files I pulled were from a build that was de-odex'd in the "Evo Android Development" Section. Root Explorer recognizes the files right away, but because they need to be system files, they can't be installed like other apps. I don't have a logcat because I really don't dev too much, but would be thrilled if others tried this.
Red

[SOLVED]Can't restore HTCLockscreen

Moved the htclockscreen.apk and the odex files from system/app with Root Explorer to get the stock froyo lockscreen going, but I need to restore the htc lockscreen. Moving them back didn't do anything, they're in the right place, but the system doesn't recognize it. I still have the stock froyo lockscreen. I mounted the system r/w, it just won't run as it should. I've even done a full system restore on my phone, no change there. Any suggestions?
Lesson: ALWAYS NAND BACKUP BEFORE SCREWING WITH SYSTEM!
Solved the issue, make sure you have the right permissions for both the htclockscreen.apk and htclockscreen.odex files, then reboot. Permissions should be rw-r-r. Thanks to g351427 for double checking that for me. I had it on the .apk, but forgot the .odex.
Not sure, but if its an apk, you should be able to find the lockscreen in application management. If so, clear default and see what happens.
The thing is, the lockscreen should be something way more imbedded into the phone than an apk, so your whole post doesn't really make any sense.
Same happened to me when I tried a different Sense Launcher. Something gets broken when you push files back. You would need to flash a ROM again, only catch is there is none. Good luck!
Sent from my HTC Glacier using Tapatalk
Found a thread in the Hero forums, apparently with the Hero you can flash it as an update. If I post the htclauncher.apk and htclauncher.odex, could someone make a signed zip? I'm at work, can't sign it myself here. I'll try flashing it, see if it works.
http://www.mediafire.com/file/kykrreu5sinncz6/HtcLockScreen.apk
http://www.mediafire.com/file/s283v3r410224hl/HtcLockScreen.odex
Please post questions in general section.
Clockwork will flash unsigned updates...
Sent from my HTC Glacier using XDA App
kitsunisan said:
Moved the htclockscreen.apk and the odex files from system/app with Root Explorer to get the stock froyo lockscreen going, but I need to restore the htc lockscreen. Moving them back didn't do anything, they're in the right place, but the system doesn't recognize it. I still have the stock froyo lockscreen. I mounted the system r/w, it just won't run as it should. I've even done a full system restore on my phone, no change there. Any suggestions?
Lesson: ALWAYS NAND BACKUP BEFORE SCREWING WITH SYSTEM!
Click to expand...
Click to collapse
I was wondering if you are S-ON or S-OFF, and if you changed the permissions of the apk and odex after moving them back to the app folder.
Rsotbiemrptson
S-off, fully rooted. Ran fix_permissions from recovery, still no change.
Got a favor to anyone with Root Explorer, could you look at HTClockscreen.apk in system/app, long click it and hit permissions? What checkboxes are filled in?
kitsunisan said:
S-off, fully rooted. Ran fix_permissions from recovery, still no change.
Got a favor to anyone with Root Explorer, could you look at HTClockscreen.apk in system/app, long click it and hit permissions? What checkboxes are filled in?
Click to expand...
Click to collapse
rw-r--r--
Should be the same as all the other files in the app directory.
That's what I figured. I have both the apk and odex set to that, still nothing. Was planning on exchanging this thing, might be a problem.
****, nevermind, I did forget to change the odex file, I guess. HTC lockscreen is back. I switched the odex and rebooted, it's back up and running. Thanks g351427.
Sorry misunderstood your post.

DL09 deodexed ROM

Does anyone have a DL09 ROM that has been deodexed but still has all of the bloatware?
Nothing against the developers of the current DL09 ROMS I just want to be able to take out exactly what I want.
I searched and couldn't find anything...
Sent from my SCH-I500 using Tapatalk
unzip a deodexed rom and get the apk you want.
use search to find a deodexed rom with all apk's
it has been discussed a number of times within the forum
+1
I would like to see this as well, as what I want doesn't seem to play nice with the phone. Ultimately, what I want is a stock, de-binged, de-odexed DL09, that still has the bloatware I can custom remove, and want to replace the Car dock with the google-friendly one (part of de-binged), desk dock and music player with AOSP versions, and the accurate circle battery fix. The de-odexed DL09 rom I found from adrynalyne is debloated, removing some apps I want. And my attempts to add them back, such as Write&Go, fail to install and Root Explorer won't allow me to dropt it into System/Apps. I also like the option to flip to TW Launcher if I choose and have the full selection of Samsung Widgets to play with to shake things up.
Get Samsung Apps from sonofskywalker3's section of ROM Manager.
ludionis said:
And my attempts to add them back, such as Write&Go, fail to install and Root Explorer won't allow me to dropt it into System/Apps.
Click to expand...
Click to collapse
did you set the system/apps to R/W access? The new versions of Root Explorer default to R/O.
Adrynalyne's DL09 supah clean 0.4 has TW still included, and ADW as well. You should be able to add all the apps you want back to it without issue. I've restored MMS and VVM without issue, and have a theme w/ circle battery installed, running snappy as hell.
notoriousB said:
did you set the system/apps to R/W access? The new versions of Root Explorer default to R/O.
Adrynalyne's DL09 supah clean 0.4 has TW still included, and ADW as well. You should be able to add all the apps you want back to it without issue. I've restored MMS and VVM without issue, and have a theme w/ circle battery installed, running snappy as hell.
Click to expand...
Click to collapse
Yeah, my root explorer is mounted as r/w, but when i choose to paste the .apk in the system/app folder, does nothing
What I REALLY wish we had was a kitchen for roms. Blackhole is close, but doesn't have all options available. I've seen a port from the Vibrant forums that looks promising. Times like these make me wish I had learned a programming language

Can Liberty 1.5 run Backup Assistant?

Okay, I know some people think it's redundant to Have backups of my contacts in both Google AND Verizon Backup Assistant, but I'm OCD and like having backups of everything. Also, at some point in time in the future I may not have an Android phone (God forbid) and I would need Verizon Backup Assistant to port all my contacts over to my new phone. Anyway, I'm running Liberty 1.5 which doesn't have BA. I have a folder on my SD card where I've saved all the stock Droid X apps, so I went there and copied both the apk and odex files to system/app and I changed the permissions to rw-r-r. Then I rebooted hoping that it would work, but it didn't. I did a bit of Google searching and found out that BA needs additional Blur components to run. Obviously I have those too, but I don't know which Blur components I need to install to make BA run. Does anyone know the Blur files I need to install in order for Liberty 1.5 to run Backup Assistant? Thanks in advance!
i believe its buacontactadapter.apk
I tried copying the apk and odex for that just now in addition to the backup assistant apk and odex (and I still changed the permissions to rw-r-r). It still didn't work. Do you think there are more files I need to copy? Or is blur stuff just NOT compatible with Liberty 1.5?
Sent from my DROIDX using XDA App
It is designed to be blurless. However, if you keep installing files you may get it to work. Also, when you are in /system/app mount it as rw and install the app. You may have to do that as well
So you're saying I need to just keep randomly installing blur files and hope for the best? I'd rather not. I'm hoping someone knows exactly what files to install. Anyone?
Sent from my DROIDX using XDA App

Building first ROM for G900V

Good day, all!
I've been working on [my first] ROM for Verizon S5 and everything seems to be going great! I've cleaned out as much Samsung/Verizon/Google trash as I can, applied some tweaks to build.prop, changed some default apps to (IMHO) better replacements, and anything that is left (functions correctly) has been moved to /data/app so they can be Uninstalled fully (not just Turned Off). Just a few quick questions:
1) How can I "bake-in" app data? I have replaced the normal, crap launcher with Holo Launcher and cannot seem to get correct permissions when the ROM is installed thru SS. I believe the issue is permissions for /data/data/ get screwed up or not set correctly. I have looked and looked and tried to determine the correct permissions, but still no joy. I've tried to fix /data/data permissions in the updater-script, but it seems like each subfolder/file has different permissions making me think I'll have to go thru them one-by-one.
I have a work-around in place using a OneTimeInit script that does work, but it seems like that's not really the best approach?
2) Kind of ties into question number 1, I patched the framework-res.apk in to allow WiFiHotspot, but without being able to install the system settings data properly, there is not a "Quick Shortcut". Again, I've resolved the problem using the OneTimeInit to update Sqlite DBs after the system is up.
3) How do I de-odex the stock ROM? Using Android Kitchen doesn't seem to do it right. It works mostly but I still seem to get various FCs. I tend to believe that some things just cannot (should not) be De-Odex'd?
I've also discontinued Zip-Aligning because it sometimes produces errors on my ROM. Is it not advised to use Android Kitchen to do these tasks or is there some trick to getting it to work just right?
Bonus Question) I was going to share my ROM on XDA but it says I'm not allowed to post in Development. I assume because of my low post count. Any way I can get an over-ride or should I just make a few more posts and then do it?
Thanks again guys!
I appreciate all the help as always!
Jake
jake5253 said:
Good day, all!
I've been working on [my first] ROM for Verizon S5 and everything seems to be going great! I've cleaned out as much Samsung/Verizon/Google trash as I can, applied some tweaks to build.prop, changed some default apps to (IMHO) better replacements, and anything that is left (functions correctly) has been moved to /data/app so they can be Uninstalled fully (not just Turned Off). Just a few quick questions:
1) How can I "bake-in" app data? I have replaced the normal, crap launcher with Holo Launcher and cannot seem to get correct permissions when the ROM is installed thru SS. I believe the issue is permissions for /data/data/ get screwed up or not set correctly. I have looked and looked and tried to determine the correct permissions, but still no joy. I've tried to fix /data/data permissions in the updater-script, but it seems like each subfolder/file has different permissions making me think I'll have to go thru them one-by-one.
I have a work-around in place using a OneTimeInit script that does work, but it seems like that's not really the best approach?
2) Kind of ties into question number 1, I patched the framework-res.apk in to allow WiFiHotspot, but without being able to install the system settings data properly, there is not a "Quick Shortcut". Again, I've resolved the problem using the OneTimeInit to update Sqlite DBs after the system is up.
3) How do I de-odex the stock ROM? Using Android Kitchen doesn't seem to do it right. It works mostly but I still seem to get various FCs. I tend to believe that some things just cannot (should not) be De-Odex'd?
I've also discontinued Zip-Aligning because it sometimes produces errors on my ROM. Is it not advised to use Android Kitchen to do these tasks or is there some trick to getting it to work just right?
Bonus Question) I was going to share my ROM on XDA but it says I'm not allowed to post in Development. I assume because of my low post count. Any way I can get an over-ride or should I just make a few more posts and then do it?
Thanks again guys!
I appreciate all the help as always!
Jake
Click to expand...
Click to collapse
1: All I had to do was place apk in /system/app or /system/priv-app and thats it. Make sure when you add your apks you dont unzip the archive. basically use kitchen and build your base rom then simply open the archive and make your edits. I also used the updater script from beans base build and only edited the ui print.. Messing with the updater script i wouldnt recommend as it could be causing some of your issues.
2: If using beans base theres no reason for you to edit anything as the hotspot is already baked in.. you must have borked it.. If you are not using beans base then maybe you should copy his files for the native hotspot as its already done properly. I wouldnt mess with framework or settings apks unless you know what your doing. Id work on gettin the fcs n other issues sorted first as you might b doin too much too fast.. work on learning how to make your apks work first before making edits to framework n settings apks.
3: The kitchen is best to deodex and zipalign.. also these two things should not cause fcs or errors if done properly. zipalign should help more than anything.. i just like workin with deodex bcuz its easier and only one set of files instead of .apk and .odex for just bout everything..
Again, if you are not using beans bases id recommend to do so.. his bases are already deodexed have hotspot zipaligned read/write to ext sd etc.. so you wouldnt have to do all from scratch and have so many issues..
Sent from my SM-G900V using XDA Premium HD app
elliwigy said:
1: All I had to do was place apk in /system/app or /system/priv-app and thats it. Make sure when you add your apks you dont unzip the archive. basically use kitchen and build your base rom then simply open the archive and make your edits. I also used the updater script from beans base build and only edited the ui print.. Messing with the updater script i wouldnt recommend as it could be causing some of your issues.
2: If using beans base theres no reason for you to edit anything as the hotspot is already baked in.. you must have borked it.. If you are not using beans base then maybe you should copy his files for the native hotspot as its already done properly. I wouldnt mess with framework or settings apks unless you know what your doing. Id work on gettin the fcs n other issues sorted first as you might b doin too much too fast.. work on learning how to make your apks work first before making edits to framework n settings apks.
3: The kitchen is best to deodex and zipalign.. also these two things should not cause fcs or errors if done properly. zipalign should help more than anything.. i just like workin with deodex bcuz its easier and only one set of files instead of .apk and .odex for just bout everything..
Again, if you are not using beans bases id recommend to do so.. his bases are already deodexed have hotspot zipaligned read/write to ext sd etc.. so you wouldnt have to do all from scratch and have so many issues..
Sent from my SM-G900V using XDA Premium HD app
Click to expand...
Click to collapse
Thank you for the response!
It seems perhaps I didn't quite make clear what I've done versus what I'm trying to accomplish.
Firstly, I wouldn't go so far as to say I'm "having so many issues". Everything in my ROM is in perfectly fine working order. I just have these few quirks that I would like to address both so I can learn, and to make this and future projects better.
While I appreciate the recommendation to use bean's base, I have taken a look at his and there seems to be nothing in his which copies data into /data/data/com.whatever.package (or at least there's nothing in his zip in the /data/data folder -- not sure if his ROM has the toggle activated?)
I have the Apps working correctly in my ROM -- they just go in /data/apps, /system/app or /system/priv-app, respectively.
What I need, is to get /data/data/com.whatever.package/ copied With Correct Permissions when the ROM is installed; I do not want a second zip to update things after install, especially for a toggle and a couple shortcuts, seems silly.
For instance, when you boot your phone up with the default [stock] samsung launcher, it has a list of default apps and widgets on the first screen you see such as phone, messages, a clock widget, etc, etc. Since I've replaced the stock launcher with Holo Launcher HD and some other default apps have also been replaced, there's very few shortcuts on the main launcher screen.
** Holo Launcher does have a list of default apps it adds to your main page, but many of those have been removed in my rom.
The solution I've come up with basically waits for the system to boot up to the point that Holo Launcher actually creates the default (mostly blank) /data/data/com.mobint.hololauncher.hd/databases/launcher.db and then my script uses sqlite3 to update the DBs with a list of different shortcuts -- ones to apps that actually exist.
The Hotspot Toggle is the same way as above.. Hotspot works fine in my rom if you go through settings!
I just cannot add the notification panel pull-down toggle to /data/data/com.android.providers.settings/database/settings.db until after the system boots up at least ONE time, and then update the DB to include WiFiHotspot in notification_panel_active_app_list and notification_panel_active_app_list_for_reset
As for the zipalign and deodexing, I will have to try those again now that I have a fairly stable rom.
****EDIT****
I think I figured it out. I can just use busybox to kill the systemui after I update the databases during the first boot. I also figured out how I can add the SetupWizard without it locking up on activation.
Thanks anyways, guys.
Look for my rom, coming soon!
=P
Please add support for more languages
I found a mod for Motorola latest 4.4 please port it
Sent from my SM-G900T using XDA Free mobile app

Categories

Resources