Related
I found that the media scanning is lagging to my i9000, is there any way to stop it?
hkfriends said:
I found that the media scanning is lagging to my i9000, is there any way to stop it?
Click to expand...
Click to collapse
yeah man .. i think its very annoying .. keeping you waiting, plus i have a larg storge and too much mp3 files and videos .. so it takes time .. i hope there is way to stop it.
+1 count me in boys
Yep, please, please, how to disable it?
If you do have a lot of files on SD, it takes ages and slow down phone as hell.
Hey guys,
1st post. Keep it easy on me ya?
Below are the requirements needed before you can disable Media Scanning for good.
1) Rooted Galaxy S
2) Startup Manager (free in Marketplace)
Steps:
1) Startup Startup Manager
2) Goto System tab
3) Uncheck Media Storage
4) Reboot
5) And it will never bother you again
This method works too when you plug and unplug the USB cable + the annoying scan on bootup.
For the bad news
Default Music Player will NOT be able to recognise additional new files (MP3 etc) after adding it.
Workaround for this is to reboot the phone and it will recognise it again. I presume software that depend on the Media Storage for creating paylists are prone to this issue.
For the good news
Get another music player in the Marketplace which allows you to manually scan create playlists should be fine.
if we disable Media Storage, can we do manual scanning then? i can do without the music player, but i think gallery also needs media scanning to work?
Some widgets like Extended Control has button to force scanning, wonder if it will work.
If you want a media scanner, search the market for Aditya
I have made a media refresh app.
It's called Rescan Media
http://www.androlib.com/android.application.com-addz-mediascanner-jtDAw.aspx
I think there is a slight misunderstanding here.
The main purpose of this is to disable the media scanning that occurs every reboot, power on and unmounting of the SD cards.
Instead of auto scanning, what we (I think) is to have the option of manually initialising it. This is due to the long scanning period some people have (thousands of songs etc)
I had tried your app and it works as it should with the exception that Media Storage service need to be autostarted for your app to work.
Not sure for the rest, but what I do want is to stop the annoying scanning part upon reboot/power on/umounting of SDs and to instead use your app for example to scan as and when I do want.
Btw, nice icon for the app
mystifiyer said:
I think there is a slight misunderstanding here.
The main purpose of this is to disable the media scanning that occurs every reboot, power on and unmounting of the SD cards.
Instead of auto scanning, what we (I think) is to have the option of manually initialising it. This is due to the long scanning period some people have (thousands of songs etc)
I had tried your app and it works as it should with the exception that Media Storage service need to be autostarted for your app to work.
Not sure for the rest, but what I do want is to stop the annoying scanning part upon reboot/power on/umounting of SDs and to instead use your app for example to scan as and when I do want.
Btw, nice icon for the app
Click to expand...
Click to collapse
The icon is what I too really loved. It looks brilliant on dark wallpapers which in turn look brilliant on the SGS.
Ok now back to the topic.
If Media Storage is not started, what error do you get?
FC?
I'd like to fix it. Could you post a crash dump if you get a fc?
Or have a look at logcat for anything?
Thanks
aditya_t90 said:
The icon is what I too really loved. It looks brilliant on dark wallpapers which in turn look brilliant on the SGS.
Ok now back to the topic.
If Media Storage is not started, what error do you get?
FC?
I'd like to fix it. Could you post a crash dump if you get a fc?
Or have a look at logcat for anything?
Thanks
Click to expand...
Click to collapse
You got it right! Im using a pitch black wallpaper!
Anyway, back to topic.
When Media Storage is disabled from startup.
1) Launch Rescan Media
2) Screen will flick for a split second
3) Media scanning message does not appear
4) Repeatedly attempts yield the same thing
When Media Storage is enabled
1) Launch Rescan Media
2) Screen will flick for a split second
3) Media scanning message occurs
4) Repeated attempts still successful
This phenomenon still occurs even when tested with other media scan app (ScanMedia by HumanRobot) so rest assured its not bad coding on your end.
There is no crash or FC. Just nothing happened that is all.
aditya_t90 said:
The icon is what I too really loved. It looks brilliant on dark wallpapers which in turn look brilliant on the SGS.
Ok now back to the topic.
If Media Storage is not started, what error do you get?
FC?
I'd like to fix it. Could you post a crash dump if you get a fc?
Or have a look at logcat for anything?
Thanks
Click to expand...
Click to collapse
suggestion:-
check for Media Storage status when user runs your app
1) if not running (means user has disabled startup intentionally), then start Media Storage, do the scan, then kill it when user exit your app.
2) if already running (ie default phone setting), then no change is required.
YES I HAVE DONE IT.
I CAME, I SAW, I HIT HIM RIGHT THERE IN THE JAW!!!! *WOOT WOOT*
Uninstall the older Rescan Media
Search for Aditya in the market.
Then Rescan Media ROOT.
I require ROOT privileges to restart services and processes.
Open the app and allow root privileges(I promise there is nothing bad going on).***Read more on what goes on behind the scenes.
To kill the service after you are done click on kill service.
To restart the service click restart service.
To quit click exit.
***Read what goes on behind the scenes
I execute
Code:
"pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver"
and
"pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver"
If you are afraid, drop to a shell and type
Code:
su
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
It has the same effect of starting and stopping the service.
aditya_t90 said:
YES I HAVE DONE IT.
I CAME, I SAW, I HIT HIM RIGHT THERE IN THE JAW!!!! *WOOT WOOT*
Uninstall the older Rescan Media
Search for Aditya in the market.
Then Rescan Media ROOT.
I require ROOT privileges to restart services and processes.
Open the app and allow root privileges(I promise there is nothing bad going on).***Read more on what goes on behind the scenes.
To kill the service after you are done click on kill service.
To restart the service click restart service.
To quit click exit.
***Read what goes on behind the scenes
I execute
Code:
"pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver"
and
"pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver"
If you are afraid, drop to a shell and type
Code:
su
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
It has the same effect of starting and stopping the service.
Click to expand...
Click to collapse
Hi Dude!
Thanks for the continued support!
I just downloaded it from the market and tested.
Pity though that I couldn't get it to work. Got stuck at the "Hardcore background Kung-fu"
Funny!
OK, here's the thing. My rom (JM5 + Lagfix) is not a default rom so your fix might not have work since some of my files were shuffled around to the ext2.
Perhaps I will try your fix again when I flashed to a newer default rom next time with a newer lagfix.
Hope to hear some success stories from the rest here.
One more thing: Your app is the 1st I see in the Market that required 0 permission (beside the newly added Superuser permission).
That is AWESOME!
Keep it up and thanks again for the good work!
mystifiyer said:
Hi Dude!
Thanks for the continued support!
I just downloaded it from the market and tested.
Pity though that I couldn't get it to work. Got stuck at the "Hardcore background Kung-fu"
Funny!
OK, here's the thing. My rom (JM5 + Lagfix) is not a default rom so your fix might not have work since some of my files were shuffled around to the ext2.
Perhaps I will try your fix again when I flashed to a newer default rom next time with a newer lagfix.
Hope to hear some success stories from the rest here.
One more thing: Your app is the 1st I see in the Market that required 0permission (beside the newly added Superuser permission).
That is AWESOME!
Keep it up and thanks again for the good work!
Click to expand...
Click to collapse
What lagfix do you use?
I use the Ryan Za lagfix.
What lagfix do you use.
I will post a video later to show it working on my quadrant ~2000 ext2 lagfix on a DDJG4.
aditya_t90 said:
What lagfix do you use?
I use the Ryan Za lagfix.
What lagfix do you use.
I will post a video later to show it working on my quadrant ~2000 ext2 lagfix on a DDJG4.
Click to expand...
Click to collapse
Mine is the 1st gen fix from http://forum.xda-developers.com/showthread.php?t=748596
Not too sure if it play a part in this but for now, it seemed highly probable.
Maybe I go try again when a newer firmware is out. Both Chainfire's and RyanZA looks good.
mystifiyer said:
Mine is the 1st gen fix from http://forum.xda-developers.com/showthread.php?t=748596
Not too sure if it play a part in this but for now, it seemed highly probable.
Maybe I go try again when a newer firmware is out. Both Chainfire's and RyanZA looks good.
Click to expand...
Click to collapse
Try going to adb shell
Code:
su
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
See what happens.
:::::::UPDATE:::::::
Youtube video.
May take a while to process
http://www.youtube.com/watch?v=Bo_mBQL8VrU
1st half is without startup manager
2nd half is with startup manager + disabling media storage.
aditya_t90 said:
Try going to adb shell
Code:
su
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
See what happens.
Click to expand...
Click to collapse
Good Work, I say!
It works now.
In case you interested, this is the output after I keyed in your command.
Component {com.android.providers.media/com.android.providers.media.MediaScannerReceiver} new state: enabled
Did a test drive by rebooting and switching off Media Storage. Works like a charm now.
Perhaps you can advise what was wrong earlier? Was my MediaScannerReceiver state=off?
mystifiyer said:
Good Work, I say!
It works now.
In case you interested, this is the output after I keyed in your command.
Component {com.android.providers.media/com.android.providers.media.MediaScannerReceiver} new state: enabled
Did a test drive by rebooting and switching off Media Storage. Works like a charm now.
Perhaps you can advise what was wrong earlier? Was my MediaScannerReceiver state=off?
Click to expand...
Click to collapse
Awesomesauce!!!
Glad it worked.
Maybe it needed to be on just once I really dunno lol.
Now we just need to wait for this thread to be propagated around.
Saw a couple of posts in Android Forums and Modaco asking for a fix like this.
I say, this is a different kind of Lagfix altogether
LOL~!
Is it possible this fix can be incorporated in the next Rescan Media Root?
And you are right. The command only need to be entered once and not every reboot
I think I'm going to go share this with your captivate brethren. This works great!
This Mod is flashed through CWM to enable 2 simple all-in-one commands to Freeze/Defrost SNS, DRM, and System Updates. Downloads at the end of this post. Read on to learn what they do and how to easily use them!
Fully Flash-able Test Version HERE
Freeze SNS, DRM, and System Updates for Better Battery
These services are, generally, best kept frozen 99.9% of the time. Not deleted, as I've experienced problems if they are actually removed, but disabling them saves me noticeable battery life.
You can use Titanium Pro, MyToolbox, ,Bloat Freezer, or Mybackup Pro to freeze services, but that's only after you've installed a rom. Then once you boot in, you have to buy and download that app, and then navigate a huge list of services to freeze.
But it only takes one line of code per service you want to freeze. That's right, the following commands can be entered into a terminal like Terminal Emulator to disable these processes:
Code:
su [I](Gains root)[/I]
pm disable com.sec.android.providers.drm [I](Disables DRM launcher)[/I]
pm disable com.sec.android.app.sns [I](Disables sns)[/I]
pm disable com.samsung [I](Disables updates)[/I]
However, these commands are lengthy, not easily memorized, and just a pain to write. The best solution I can come up with is to simplify the commands.
[Note] You do not want to do this if you don't understand how freezing these services may affect your day-day use. This will save some battery at the definite cost of DRM content functionality and Facebook Contact integration.
How To Use This Mod:
Still using Terminal Emulator, after you flash one of the linked .zip files, all you will have to type is the following:
To Freeze Services:
Code:
su
superfreeze
To Defrost Services:
Code:
su
superdefrost
DOWNLOADS:
Click Here!
If you like my work, click the Thanks button or donate a beer!
I am still in the works to make this work entirely solo once flashed from CWM.
PS: If you're looking for a free alternative to any of the apps I listed up above, this isn't it. This is only one small, dedicated part of those apps. I highly recommend buying one of them, you'll find them very useful.
PPS: This mod, and subsequent versions of it(hopefully!), is for the Epic 4G. I cannot guarantee that the script is accurate to any other phone. But the commands themselves are universal across Android.
Thanks to paulobrien for his explanation found here!
I can't answer you script question, but I have one of my own. Are those commands permanent, or will I have to type those in everytime I turn my phone back on? I'm assuming the latter, since you want to be able to do it easier.
Sent from the only thing i need.
zanderman112 said:
I can't answer you script question, but I have one of my own. Are those commands permanent, or will I have to type those in everytime I turn my phone back on? I'm assuming the latter, since you want to be able to do it easier.
Sent from the only thing i need.
Click to expand...
Click to collapse
These commands are indeed permanent on reboot. Pm Disable is exactly the function apps like Titanium use when "freezing" services. The goal is, I would like these commands to be executed while my rom is installing. I used a similar .zip file as a skeleton for the layout, but I'm just not sure what additional coding is required to make this work. I'm 99.9% positive it can be done.
Oh ok. So I now don't have to disable the drm or sns anymore. Cool, if I ever needed to re-enable them, what would I type in?
Sent from the only thing i need.
Surprisingly logical, you just have to type enable instead of disable.
-Sent from my Random Epic.
Ok, I thought so, but sometimes things aren't as simple as could be. Good luck on your script.
Sent from the only thing i need.
zanderman112 said:
Ok, I thought so, but sometimes things aren't as simple as could be. Good luck on your script.
Sent from the only thing i need.
Click to expand...
Click to collapse
Too often not as simple as it could be! There must be some sort of call function I'm missing. Lol
-Sent from my Random Epic.
So it seems no matter how I try to launch this, from etc/lib.d, as a tool, from data/local... etc. It doesn't seem to have any effect if not run from within Android itself.
RandomKing said:
So it seems no matter how I try to launch this, from etc/lib.d, as a tool, from data/local... etc. It doesn't seem to have any effect if not run from within Android itself.
Click to expand...
Click to collapse
I really wish I could help.
Sent from my Epic 4G, awaiting official gingerbread
zanderman112 said:
I really wish I could help.
Sent from my Epic 4G, awaiting official gingerbread
Click to expand...
Click to collapse
It's a shame, it'd be nice to have a rom install with some services like this disabled by default. Then there could be a matching patch to re-enable them if needed.
RandomKing said:
It's a shame, it'd be nice to have a rom install with some services like this disabled by default. Then there could be a matching patch to re-enable them if needed.
Click to expand...
Click to collapse
Yeah, it would be handy.
Sent from my Epic 4G, awaiting official gingerbread
I'm guessing that the Android runtime system has to be fully initialized and running for the pm command to work, and it's not in the limited runtime of the recovery environment.
Sent from my mind using telepathitalk
dwallersv said:
I'm guessing that the Android runtime system has to be fully initialized and running for the pm command to work, and it's not in the limited runtime of the recovery environment.
Sent from my mind using telepathitalk
Click to expand...
Click to collapse
That seems to be the problem, because I've gotten the tiny files themselves to run in the terminal, which is at least useful for streamlining this operation! But I can't get them to do anything in recovery, it just has no effect.
So I have come to the conclusion that this cannot be done from CWM due to reasons I've explained in post #1.
However, I have posted a workaround CWM flash-able which, still using Terminal Emulator, simplifies the commands down to 2 simple codes.
UPDATE: Turned out I posted bad .zip files with out of date updater scripts. The links have been fixed and should work as described in Post #1!
RandomKing said:
So I have come to the conclusion that this cannot be done from CWM due to reasons I've explained in post #1.
However, I have posted a workaround CWM flash-able which, still using Terminal Emulator, simplifies the commands down to 2 simple codes.
Click to expand...
Click to collapse
Sweet! At least you kinda got it.
Sent from my Epic 4G, awaiting official gingerbread
zanderman112 said:
Sweet! At least you kinda got it.
Sent from my Epic 4G, awaiting official gingerbread
Click to expand...
Click to collapse
Yup, kinda! The guys that wrote apps to freeze services deserve a lot of credit. They are fairly easy to use in bulk.
I wish I could make this automatic, but this way I only have to type two easily memorized commands to stop/start the 3 services I hate most!
UPDATE: Mediafire mirror links posted for when megaupload wants to be wonky.
You might be able to make this fully automatic with tasker. There is an option "device boot," there is the ability to launch an app, and to type, then close the app. Might look a little sloppy, but it should definitely work. I'll try it and report back later today.
EDIT: Works like a charm. For the Context, go into Event, System, Device Boot. For the Tasks, choose App, Load App, Terminal Emulator, then Input, Type, enter the text, then choose Input, Button, Back twice to close out of the app, as the Kill command will just restart it.
For what it's worth, there must be a way to have an application start off as disabled, because that's how CIQ starts, as far as I know. Perhaps the dev of the paid application Autostarts can shed some light on it for you.
Pointless816 said:
You might be able to make this fully automatic with tasker. There is an option "device boot," there is the ability to launch an app, and to type, then close the app. Might look a little sloppy, but it should definitely work. I'll try it and report back later today.
EDIT: Works like a charm. For the Context, go into Event, System, Device Boot. For the Tasks, choose App, Load App, Terminal Emulator, then Input, Type, enter the text, then choose Input, Button, Back twice to close out of the app, as the Kill command will just restart it.
Click to expand...
Click to collapse
Thats a nifty trick! Now I could patch Tasker and it's data into the rom itself. Now here's the question, is Tasker a persistently running battery draining service?
Pointless816 said:
For what it's worth, there must be a way to have an application start off as disabled, because that's how CIQ starts, as far as I know. Perhaps the dev of the paid application Autostarts can shed some light on it for you.
Click to expand...
Click to collapse
That may be true, but SNS, Updates, and DRM have to run consistently. Unlike some certain apps that run non-stop for no reason.
Just make the zip add a file to init.d that executes the command on next boot then deletes itself...
Sent from my SPH-D700 using XDA App
chris41g said:
Just make the zip add a file to init.d that executes the command on next boot then deletes itself...
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I actually tried that, but the command "pm disable" just doesn't do anything from recovery for me. Unless I'm not calling for a function I need or something. Still toying around with it. I even tried to just patch it into one of the existing init.d files, but still no result.
Update: I'm a noob at developing. I can roughly understand existing script enough to rearrange it, but if somethings missing, I probably can't spot it. Haha
Given the moto G's lack of DLNA & Miracast/MHL I was wondering what ways are possible to stream pictures, music, video from my phone over to a TV
Currently this is how I do it, with mixed results,hopefully there is a better all in one solution.
Hardware:
HTC Medialink HD - connects to the TV HDMI
Moto G
USB OTG Cable
Flash Drive
Software:
ES File Explorer (to connect to the USB OTG (navigate to Storage/usbdisk_1.1.1)
Gallery Connect: https://play.google.com/store/apps/details?id=com.homeysoft.galleryconnect.ads
This actually is the only app that reliably and consistently actually manages to display my pictures onto the TV. Sadly it only does pictures.
Nexus Media Importer
https://play.google.com/store/apps/details?id=com.homeysoft.nexususb.importer
Same people as Gallery Connect, this works really well for USB OTG as it auto detects when you insert your usb drive, sadly I'm not sure if it's an Android limitation or a HTC Media Link problem, but if you get a file it can't display it will just show a 'receiving content' icon on the TV for ever, and you have to reboot the HTC Media link
Wi-Fi Media
https://play.google.com/store/apps/details?id=com.bianor.amscavium
This lets you (in theory) display your photos, videos, music etc, but you can't navigate out of the default Android folders for anything which is a drawback. What it does though, that is helpful is adds a play with Wi-Fi Media icon, so if you navigate to your files using ESFile Explorer you can sometimes stream movies over though it really depends on the codec, i'm not sure if thats Android or the wi-fi Media apps problem. It'd be really nice if you could just use the mx players ability because that plays just about anything.
I don't actually know what protocol the HTC Media Link HD uses, and I only tried it out of curiosity as it came with the wife's HTC One & isn't really meant to be used by non HTC Devices.
I've spent a few days downloading and trying pretty much every DLNA/UPNP app out there to see what would work, and there's only really those 3 that I've found, and something else called flipps HD, that plays from various video sites.
Maybe someone here would know the protocol and if there's anything else that might work better. I know given the hardware limitations of the Moto G things like Screen mirroring etc are most unlikely but it's interestesting to see what can be done.
No one ?
miracast is just disabled for some reason, i have made a small change to the framework to enable it
will post the mod in the mod / theme section soon.
BubbleUPNP (best) or Skifta (free)
wonder why they disabled miracast, I suppose it'll need root to turn back on. It would be nice if there was some way to contact Motorola to tell them to turn it on for the next update.
techguyone said:
wonder why they disabled miracast, I suppose it'll need root to turn back on. It would be nice if there was some way to contact Motorola to tell them to turn it on for the next update.
Click to expand...
Click to collapse
you don't need root, just a custom recovery to flash it
One theory I heard was that they disabled it because the phone does not have dual-band wifi.
Clearly it doesn't matter, besides they must be using some form of miracast for the moto migrate feature
Sent from my Moto G using XDA premium 4 mobile app
here it is if you want to test,
i don't have a mirror cast dongle yet so don't know if it actually connects and works
and don't really have the time to make a new thread right now as im working on a custom rom.
attached are two flashable.zip's one to revert (disable it again) and one to enable it, let me know if it connects and works
I'd love to, except no idea how to flash anything
Sent from my Moto G using XDA premium 4 mobile app
techguyone said:
I'd love to, except no idea how to flash anything
Sent from my Moto G using XDA premium 4 mobile app
Click to expand...
Click to collapse
first you need to have an unlocked bootloader, then flash clockworkmod recovery from here > http://forum.xda-developers.com/showthread.php?t=2563599
let me know once you have that and i can explain how to flash zips from recovery.
tillaz said:
here it is if you want to test,
i don't have a mirror cast dongle yet so don't know if it actually connects and works
and don't really have the time to make a new thread right now as im working on a custom rom.
attached are two flashable.zip's one to revert (disable it again) and one to enable it, let me know if it connects and works
Click to expand...
Click to collapse
This is great, I've got a Miracast receiver and I'm using it regularly. Tried flashing the zip but it results in an error during flashing since something has to be flashed to the data partition and none of the available custom recoveries for the Moto G can access encrypted data partitions. Bummer.
EDIT: It seems like the option is there now anyway I attached a screenshot. Will have to wait a couple of hours until I'm home to test if it works. I'll update this post!
I'm reluctant to possibly brick my 2 week old phone at this point, I'd much rather contact Motorola and try and get them to re-enable for their kit kat update to be honest, clearly the phone has the capability.
I have contacted Motorola directly, worst case they say no, we're no worse off, however you never know, they might just enable it.
tillaz said:
here it is if you want to test,
i don't have a mirror cast dongle yet so don't know if it actually connects and works
and don't really have the time to make a new thread right now as im working on a custom rom.
attached are two flashable.zip's one to revert (disable it again) and one to enable it, let me know if it connects and works
Click to expand...
Click to collapse
I have not checked it out intensively but this works with my Samsung F7000. Connecting is no issue, which is pretty strange since setting up just a wifi direct connection seems impossible.
The only issue I noticed is that changing orientation does not always work.
techguyone said:
I'm reluctant to possibly brick my 2 week old phone at this point, I'd much rather contact Motorola and try and get them to re-enable for their kit kat update to be honest, clearly the phone has the capability.
I have contacted Motorola directly, worst case they say no, we're no worse off, however you never know, they might just enable it.
Click to expand...
Click to collapse
its impossible for this to brick your phone,
and if they enable it they will just do it the exact same way i did, by changing a bool to true rather than false
all the zip does is replace framework-res.apk, with the small code change.
but if you don't know much about android / flashing its probably best you don't as not knowing what your doing
could lead to self caused problems (but not a brick)
Edit:
its probably disabled to make the phone look more lower end, as by default in the 4.2+ source code its turned on
so its clearly been disabled intentionally and not a mistake
tillaz said:
its impossible for this to brick your phone,
and if they enable it they will just do it the exact same way i did, by changing a bool to true rather than false
all the zip does is replace framework-res.apk, with the small code change.
but if you don't know much about android / flashing its probably best you don't as not knowing what your doing
could lead to self caused problems (but not a brick)
Edit:
its probably disabled to make the phone look more lower end, as by default in the 4.2+ source code its turned on
so its clearly been disabled intentionally and not a mistake
Click to expand...
Click to collapse
Hitillaz, thanks for this!!!
I don't have the custom recovery set up yet, so, is it possible to use ES Explorer, or Root Explorer to just backup and replace the existing /system/framework/framework-res.apk with the one contained in your zip file??
What permissions will I need to give the replacement
looks like this should be [rw-r--r--] owner: root group: root
Would that work??
I am just waiting to decide which Recovery to use.
Thanks.
I take it ChromeCast doesnt work unless you do these steps in this thread?
Hello.
Im from chile and im using moto g with movistar_chile version.
Does anyone managed to run the "enable_miracast.zip"? because it leaves me in a bootloop with my moto g.
After looking how to do it with my firmware (i think all the framework-res.apk aren't the same between the moto g models around the world), i managed to extract my framework-res.apk and followed the guide below:
https: / / github.com/kensuke/How-to-Miracast-on-AOSP/wiki/config_enableWifiDisplay (i cant post links)
here is the path of the file to modify in the moto g: "\ res framework-res \ \ values \ bools.xml"
however I am not sure if through the "apktool" tool i did it right.
First I made the Apk file with "apktool b framework-res.apk" of the folder, then I did a flash.zip of the apk, but when I flash it, it happens the same with the attachment of this topic (use the same enable_miracast.zip provided by tillaz but replacing the framework-res.pk that i built)
I'm not sure if you understand what im trying to explain.
sorry for my poor english
if Moto G executable root & remount, miracast enables editing build.prop text file.
but Moto G implementation, build.prop debugging disabled maybe.
$ adb root
$ adb remount
$ adb pull /system/build.prop
(add persist.debug.wfd.enable=1 to build.prop)
$ adb push build.prop /system/
$ adb shell chmod 644 /system/build.prop
$ adb reboot
https://github.com/kensuke/How-to-Miracast-on-AOSP/wiki/config_enableWifiDisplay
Sent from my GT-I9100 using xda app-developers app
s107ken said:
persist.debug.wfd.enable=1 to build.prop)
Click to expand...
Click to collapse
Can confirm this works. You can edit the build.prop any way you like, e.g. directly using Root Explorer or similar app. Search for the above mentioned line
persist.debug.wfd.enable=0 ... by default it is 0, change it for 1 and that´s it.
Hi,
I've been on 5.0.1 since yesterday. Didn't have any issues with battery before, and now it seems even better.
However, wishing to be fully optimized, I see on the new battery usage option, that besides the 'screen', next in line of battery consumption are 'UP' and 'Wellness'.
Any way to get rid of them, or at least stop them from running?
Thanks
Hi, you can disconnected UP from receiving data, but not remove the program on the watch, as fare as I know.
WELNESS I have the same problem. I want get rid of that too?
What about using:
Code:
adb shell pm disable [I]package_name[/I]
I found conflicting information on whether root is required for that. And of course we'd have to figure out what the package names are.
CSX321 said:
What about using:
Code:
adb shell pm disable [I]package_name[/I]
I found conflicting information on whether root is required for that. And of course we'd have to figure out what the package names are.
Click to expand...
Click to collapse
Easiest way i can think of to get the package names would be to run "adb shell top", then scan through the processes until you see the one that your looking for. if they're not listed, just open them on the watch and they should pop up
Well, it looks like the package manager (pm) does require root.
Edit...Oh, and you can get the package names with:
adb shell pm list packages
I was able to uninstall the Amazon app with a simple:
adb uninstall com.amazon.mShop.android
since that was just installed by the Amazon app on the phone.
But trying:
adb uninstall com.jawbone.upopen
results in:
Failure [DELETE_FAILED_INTERNAL_ERROR]
I'm sure we'll get this thing rooted soon, and then it should be an easy matter to disable or delete any of the pre-installed apps.
Thanks for the responders above, looks like we'll have to wait
I'd like to get rid of this garbage too. Let me know if you figure it out...
Would also like to get rid of these, I do not use my watch for fitness related stuff and the Wellness app just doesn't even work right. Don't even get me started on the stress level -_-
Disable apps?
So if we can't delete them because we need root, can we disable them? Like using the disable function in application manager...would that work through ADB without root?
I'm in the same boat..can't stand having 3 fitness apps installed (fit, wellness, up) and I do not use my watch with ANY of them! Between battery and overall responsiveness, you can't tell me that having all 3 of these running don't have any effect.
It would be awesome if we can figure out how to uninstall unwanted wear-only apps. Seems like a first generation kind of flaw that'll only get better.
Sent from my HTC6435LVW using Tapatalk
Hi all,
I've had my new OnePlus 9 Pro for around a day now (coming from my broken OP7Pro) and am so far loving it, besides some minor issues.
One of them being that whenever the stock Gboard keyboard is open, whatever app I'm in seems to drop from 120hz refresh rate to 60hz.
I've confirmed the problem by showing the FPS counter (in dev options) and testing Telegram and WhatsApp.
I can force 120hz for these apps in AutoHz, but that seems like a bit of a hacky workaround and I was hoping that there's a better solution. Any ideas anyone?
Thanks!
I have this issue too, with a One Plus 10T, any updates?
If I remember well there is an adb command u can do for force 120hz always. Other wise there is no workaround for this. U can change rom with a custom.
Try with this.
adb shell settings put global
oneplus_screen_refresh_rate 0
Laesx said:
I have this issue too, with a One Plus 10T, any updates?
Click to expand...
Click to collapse
Use the app smartherz
I can't find the app smartherz on Gplay Store
If you have root access. You can download MacroDroid and automate screen refresh rate for different scenarios. Just add shell scripts in Actions.
Use command: su -c settings put global oneplus_screen_refresh_rate 0
0 = force 120Hz
1 = 60Hz
2 = 120Hz
Or If you just want to do something manually, you can try Terminal Shortcut Pro and run the command above.
If you do not have root access, the only way is using adb shell.