[Q] Android media process -- 100% CPU, how to permanently disable? - Galaxy Tab 10.1 Q&A, Help & Troubleshooting

On my Galaxy Tab 10.1 running 'In Paris V4' with preshoot's kernel I have the following problem:
Android media process hogs CPU (47%, which means 100% for one thread on this dual core device).
The device was running fine for a few months, so the problem is not the ROM/kernel but was caused by something else later on.
I would like to fix this problem (without reformatting/reflashing the whole ROM). If there is no easy solution I just want to disable it, but could not figure out how.
Killing the process helps for some time, but after some minutes/hours the process is back. I tried 'pm disable com.android.providers.media' as well as 'pm disable com.android.providers.media/com.android.media.MediaScannerReceiver' -- both with no result (it helps for a few minutes but then the process is back again!).
I don't know how/where this process is started so that I can make a modification there to disable it or which package I should delete to get rid of the process.
Any help/suggestions are appreciated.

This obviously seems to be the wrong board I am posting that supposedly simple question in -- could somebody please point me in the right direction and I will ask again in a more appropriate board.

I'd say the board is the right one ... but at least I can't help you here, as I don't know the answer .
My only advice would be to flash a newer ROM, isn't inParis kinda "outdated"? I think android.media has something to do with connecting USB devices to the tab, since it's the thing that crashes on ICS KANGs when you plug out your USB stick ... but that's all I can help you with (if it's any help)

mrmagmrmag said:
On my Galaxy Tab 10.1 running 'In Paris V4' with preshoot's kernel I have the following problem:
Android media process hogs CPU (47%, which means 100% for one thread on this dual core device).
The device was running fine for a few months, so the problem is not the ROM/kernel but was caused by something else later on.
I would like to fix this problem (without reformatting/reflashing the whole ROM). If there is no easy solution I just want to disable it, but could not figure out how.
Killing the process helps for some time, but after some minutes/hours the process is back. I tried 'pm disable com.android.providers.media' as well as 'pm disable com.android.providers.media/com.android.media.MediaScannerReceiver' -- both with no result (it helps for a few minutes but then the process is back again!).
I don't know how/where this process is started so that I can make a modification there to disable it or which package I should delete to get rid of the process.
Any help/suggestions are appreciated.
Click to expand...
Click to collapse
Freeze the app with Titanium Backup or use this specific purpose app from the market
https://market.android.com/details?id=com.addz.mediascannerroot
Worked for me

mrmagmrmag said:
On my Galaxy Tab 10.1 running 'In Paris V4' with preshoot's kernel I have the following problem:
Android media process hogs CPU (47%, which means 100% for one thread on this dual core device).
The device was running fine for a few months, so the problem is not the ROM/kernel but was caused by something else later on.
I would like to fix this problem (without reformatting/reflashing the whole ROM). If there is no easy solution I just want to disable it, but could not figure out how.
Killing the process helps for some time, but after some minutes/hours the process is back. I tried 'pm disable com.android.providers.media' as well as 'pm disable com.android.providers.media/com.android.media.MediaScannerReceiver' -- both with no result (it helps for a few minutes but then the process is back again!).
I don't know how/where this process is started so that I can make a modification there to disable it or which package I should delete to get rid of the process.
Any help/suggestions are appreciated.
Click to expand...
Click to collapse
search pershoot's thread... Or check his website... it's there...

@slack04
Thanks a lot -- I used this solution:
http://forum.xda-developers.com/showthread.php?t=1258302
to automatically kill the process once it starts running. No real solution, but it helps until I manage to update the tab to ICS.

mrmagmrmag said:
@slack04
Thanks a lot -- I used this solution:
http://forum.xda-developers.com/showthread.php?t=1258302
to automatically kill the process once it starts running. No real solution, but it helps until I manage to update the tab to ICS.
Click to expand...
Click to collapse
Honestly, I was going to say that you'll spend less time doing the ICS update than looking for this; especially on that ROM (great ROM.... 6 months ago...). I'd suggest go with the last milestone from Romann.

mrmagmrmag said:
@slack04
Thanks a lot -- I used this solution:
http://forum.xda-developers.com/showthread.php?t=1258302
to automatically kill the process once it starts running. No real solution, but it helps until I manage to update the tab to ICS.
Click to expand...
Click to collapse
I would check your media files... delete them or put .nomedia file in all those places.
Next thing to try is to clean dalvik cache.

Thanks -- tried to flash latest Milestone and b26 releases. Unfortunately VPN is not working and I can only download apps via marked when connected to a VPN (even if this does not change my IP as I often just connect to my Router). So -- until VPN is supported with any ICS ROM I am stuck with my old In Paris 4 (with pershoot kernel to mount SMB shares via CIFS).

mrmagmrmag said:
Thanks -- tried to flash latest Milestone and b26 releases. Unfortunately VPN is not working and I can only download apps via marked when connected to a VPN (even if this does not change my IP as I often just connect to my Router). So -- until VPN is supported with any ICS ROM I am stuck with my old In Paris 4 (with pershoot kernel to mount SMB shares via CIFS).
Click to expand...
Click to collapse
I can understand if you'd just rather wait because of having to bother with reinstalling every thing, but it looks like you can change ROMs quickly. So why not goto Task14 while you wait for ICS?
There might be device issue I'm not aware of also, so just wondering.
If you can read this, thank the person that taught you how.

Related

Sudden Slow problems

Evening everyone,
For the past 7-8 days i've been having problems with my hero..it became REALLY slow all of a sudden... way more than before..apps have the usual "lag" that well you know lag once a while (only a bit more often)
I tried re-installing my Modaco 3.0, no results..Tried to install modaco 3.1 and villain 2.1 and i had the same "lag".. is it the apps that cause it? the more apps i have installed the laggier it will be? I have around 150 *maybe less maybe more, dont got the phone with me atm*
And on taskiller, advanced task killer and advanced task manager it used to show me the free memory or wtvr 100-120 after every end task..now it starts from 70 and a few seconds after i kill all apps it drops down to 35-40 :S
thx in regards
bump :/ no1?
did you check logcat when the lag occurs?
kendong2 said:
did you check logcat when the lag occurs?
Click to expand...
Click to collapse
nop?;o how do i do that?
you need adb working for that, check some tutorials.
then connect the usb cable, restart the phone and execute "adb logcat" on your pc. you can redirect the output with "adb logcat > logcat.txt", so you can check it in detail or attach it here.
kendong2 said:
you need adb working for that, check some tutorials.
then connect the usb cable, restart the phone and execute "adb logcat" on your pc. you can redirect the output with "adb logcat > logcat.txt", so you can check it in detail or attach it here.
Click to expand...
Click to collapse
i never got adb to work properly ;/ any other ideas?
bump..anyone?its getting slower and slower :S i cant even listen to music now..and i even uninstalled 20+ apps..
You've already been given advice - get ADB working so you can post your logcat. Without more information, it's doubtful that anyone will be able to help you.
One question though - have you tried wiping and setting up your phone from scratch?
Regards,
Dave
yes i tried wiping my phone..even re-installed my modaco rom twice and tried a different rom aswell..and modaco rom 3.0 (prefer 2.9)
and i cant get adb working it keeps saying no access or something like that
i cant even listen to music now bcz the sound gets f***ed up..
Have a look at the services you're running.
You asked whether the more apps the slower your device is.
And the answer is yes.
So, you can always try new apps, but useless ones should leave(even with an app2sd, that'll allowed to to keep tons of apps).
I don't think it'll be very hard, Android uninstall apps fast and easily, not like WM based ones.
Shei77 said:
and i cant get adb working it keeps saying no access or something like that
Click to expand...
Click to collapse
If you want help with this issue, you need to list out precisely what you have tried, and precisely what messages/errors are returned - "no access or something like that" is about as useful as a chocolate teapot when it comes to trying to diagnose your issue!
Regards,
Dave
thx for the answers...
i cant remember what exact error adb was giving me and i cant check it until tonight when i have some spare time...
also i keep task killing and there is no difference... nor with uninstalling :/ appmanager says i have 127 apps :/
hello again people
i currently dont have my computer (thats why i didnt try the adb)
but i have tried some things a m8 told me too and thats dalvik cache wipe and moving log(something) to SD.. i did that and i lost 80MB of INTERNAL memory and my lock screen..i cant drag it down anymore..i have to press menu twice...
but my phone is now faster although WAY slower when writing....
i'll try the adb shell as soon as i get my pc back from the technician!
thx a lot in advance!

[Q] Help identify app "X" in battery usage

I just finished flashing IHOP_BELL then OrangeFR 2.3.4 w/ ram fix and also the Bell GB radio onto my Bell Atrix. I then used Titanium Backup to restore my settings/apps. I now get a mysterious program simply called "X" in my battery usage which is eating up my battery, mainly when the screen is turned on. I left my phone on over night on battery power and X didn't significantly affect it then. I've tried searching the forums and on google but it's hard searching for a single letter problem even with additional search terms. I've attached screenshots of battery usage showing the app in question. I could try flashing something else and hope that solves the problem but I'd prefer to fix the problem directly.
Anthrox- said:
I just finished flashing IHOP_BELL then OrangeFR 2.3.4 w/ ram fix and also the Bell GB radio onto my Bell Atrix. I then used Titanium Backup to restore my settings/apps. I now get a mysterious program simply called "X" in my battery usage which is eating up my battery, mainly when the screen is turned on. I left my phone on over night on battery power and X didn't significantly affect it then. I've tried searching the forums and on google but it's hard searching for a single letter problem even with additional search terms. I've attached screenshots of battery usage showing the app in question. I could try flashing something else and hope that solves the problem but I'd prefer to fix the problem directly.
Click to expand...
Click to collapse
Htf did you get that..?
Try: System Panel and/or Watchdog, both from the Market or http://forum.xda-developers.com/show...php?p=15869868 Between the three of them you should be able to figure something out, hopefully.
Realized I could search for the process with Terminal Emulator. Shows up as /usr/bin/X which lead me to this: http://forum.xda-developers.com/showthread.php?t=1171020 too bad there's no response. I can't seem to kill the process either even with root.
I froze everything I could related to webtop but it's still running on boot and can't be killed. It may also help to know that I came from greyblur framework since I batch restored my apps and data. I did the same thing the other guy did and moved X for now but that's not really the root of the problem.
My market also doesn't download/install properly now apparently. I'm just going to clear my data.
Edit:
I've found the offending code in init.rc but even if I mount it as rw, when I restart my phone the code is back to normal. I'm also not 100% sure of the best way to edit this so I can still load webtop if that's what I'm actually doing (though I probably won't ever).
Code:
# OSH properties
setprop sys.SystemMode RM_SM_MOBILE
setprop sys.FbOwner 3
setprop sys.DispOwnerLcd 3
setprop sys.DispOwnerHdmi 1
setprop sys.AiwFocus 3
setprop sys.AMActiveTask 2
# Mount OSH
exec /system/bin/mountosh -d /dev/block/mmcblk0p13
and later in the file
Code:
#OSH Startup
service slrestart /usr/local/bin/start_syslog.sh
class pre-zygote_services
oneshot
disabled
on property:ro.build.type=userdebug
start slrestart
on property:ro.build.type=eng
start slrestart
service fbcp /etc/init.d/start_fbcp.sh
class pre-zygote_services
user mot_osh
group mot_osh
oneshot
on property:dev.bootcomplete=1
setprop ro.webtop.boot 1
start loadpreinstalls
on property:ro.webtop.boot=1
exec /system/bin/logwrapper /ubuntu.sh
on property:sys.SystemMode=RM_SM_DOCKED
exec /osh/etc/init.d/startX.sh
I don't know why the startX.sh would run though since it has a different value, and I've double checked via adb after boot.
I have the same problem and I hope there is a solution!
You can see that /usr/bin/x uses 50% CPU (100% of one core) all the time with "top"!
I had the exact same issue on OrangeFR as well as Ninja. I SBFed back to 2.2.2 (where there was no problem) and back to OrangeFR only to see X resume eating half my CPU.
Strangely, the moment I installed kennethpenn's Beta 4.5, the problem disappeared. Since then I've wiped and installed Ninja once more and things have been fine. My CPU usage is normal again and I don't see X listed at all. I have no idea how it got fixed. Doesn't make much sense at all.
kennethpen said it must have something to do with a broken Webtop but I don't know how to fix that.
Any help?
From my experience, and the experience of another person posting in the Dev forum, you'll need to install an updated webtop. The one in kennethpenn's Beta 4.5 rom worked for the two of us. You can't get it on Xda anymore, but it's still on his briefmobile site. There's also a thread in the Xda dev forum for an updated webtop. I haven't tried that one but it could be worth a go.
I had terrible battery life, before, but I do not recall having an X under battery usage. Then I installed 2.3.4 from Samcripps Fruitcakes.
Specifically 234-sb-release.zip,(system and boot) and then 234-w-release.zip(webtop)
After that I flashed latest GB bellradio from Samcripp, and then INTL-MBR-1100-GB-Kernel-0.1.2-ext4-sv.zip
I just put [ROM] R-9 2.3.4GB [Base 4.5.91] with EXTRAS! *V5* on, after that I reflashed latest GB bellradio from Samcripp, and then INTL-MBR-1100-GB-Kernel-0.1.2-ext4-sv.zip
Everything seems to be working great.
Starts fast, shuts down fast, everything loads fast, 3g is fast, wifi is fast,
no issues yet. Hopefully this can help someone else get their phone running better.
AND it has D3 camera!
frelnik said:
From my experience, and the experience of another person posting in the Dev forum, you'll need to install an updated webtop. The one in kennethpenn's Beta 4.5 rom worked for the two of us. You can't get it on Xda anymore, but it's still on his briefmobile site. There's also a thread in the Xda dev forum for an updated webtop. I haven't tried that one but it could be worth a go.
Click to expand...
Click to collapse
Do you have a link for that? I don't want to flash a whole new system...
MaluNoPeleke said:
Do you have a link for that? I don't want to flash a whole new system...
Click to expand...
Click to collapse
A poster above seemed to have luck with Samcripp's webtop in his Fruitcake thread here:
http://forum.xda-developers.com/showthread.php?t=1163009
There's another webtop CWM download here:
http://forum.xda-developers.com/showthread.php?t=1169457
I can't speak to whether either of those solve the X problem, but it's worth a try.
frelnik said:
A poster above seemed to have luck with Samcripp's webtop in his Fruitcake thread here:
http://forum.xda-developers.com/showthread.php?t=1163009
There's another webtop CWM download here:
http://forum.xda-developers.com/showthread.php?t=1169457
I can't speak to whether either of those solve the X problem, but it's worth a try.
Click to expand...
Click to collapse
Thanks a lot, the first link worked!
MaluNoPeleke said:
kennethpen said it must have something to do with a broken Webtop but I don't know how to fix that.
Any help?
Click to expand...
Click to collapse
on the page at briefmobile.com/alien the newest webtop is available for download. Flash it and maybe it will fix the issue.
Cobbled together fix
Try downloading the webtop update from:
briefmobile.com/alien
If that doesnt help and you don't mind losing webtop access, rename the "/osh/ubuntu.sh" file to "/osh/ubuntu.sh.bak" and essentially cripple webtop and prevent if from starting.
Worked for me.

My thoughts and what i learned so far.

Just a noob sharing some thoughts, hope it can help some other noobs like me.
A no wipe in my book:
Here is how i do a no wipe.
In recovery, mount and storage and choose format system.
Go back and wipe Cache and Dalvik
Install / flash the rom.
A full wipe in my book:
Into recovery, mount and storage and format system, data and cache.
Go back, wipe/ reset data, cache and dalvik.
Install/flash rom
Format of the internal SD:
Here is what i do:
Make a app backup with TB to my external sd
Make a nandroid to my external sd
Make sure i also have a efs backup on my external sd
I only save mods, roms on my internal sd in my download map and this map i move to my external sd.
Then i reboot to recovery.
Mount and storage and format internal sd.
And to be save and have it nice a clean, also format system, data and cache and because i am not only a flashohalic but also a cleanohalic, i then wipe/reset factory reset, cache and dalvik.
Probably a big overkill, but he, done it several times it works for my and it only cause a few seconds.
Then i reboot, skip the setup/registration, move my download map back to my internal sd (don't like flashing from external sd).
Back in cwm, again a full wipe which includes the formats data, system and cache.
Then flash the rom and setting it up.
This way, you have a nice clean fresh S3, but and this is a big BUT.
Backup, backup backup and don't forget a efs backup to your external sd and pc.
Don't think lightly about those backups, when imei is broken and you don't have a backup, your a done, only thing left is a visit to Samsung.
Good luck when you are going for it.
And i know, Aroma installer is also doing some automatic wiping, but i am just a bit old fashion and like to do some stuff manually.
Bootloader.
As you all know, the new bootloader can be a pain in the ass.
But, i am still not sure that Samsung only released the new bootloader just to discourages us to flash custom stuff.
So, if you like flashing stuff and you are on the new bootloader like me, just remember when you entered recovery and you are done flashing stuff, use Triangle Away from Chainfire,
But, for some, like on my wifes phone, the latest version works without problem, but on my S3, i need to use the older version, 2.37, why, don't have a glue.
Not all S3 are the same, although have the same name and using the same chipsets.
But you can also use the old bootloaders, with does, you just have to run Triangle Away just once, when entering recovery, it will not count.
Your own choose.
About Sudden Death.
A lot of threads are open for this.
My 5 cents:
I have the "sudden Death" chips VTU00M chip with 0xf1 on both our phones.
Mine is running since 27 may 2012 without problems, still fast and smooth.
The other is up and running since 31 Augustus 2012 and also still fast and smooth.
Both have been rooted from day one, the only thing i do, is turning the devices off completely for a few minutes 4 to 5 times a week.
Old habit to clear memory, anyway, gives me time to do a good cleaning of my screen.
Here is the code to check your revision and to see from which day you are running your S3 *#12580*369#
Further more, AndreiLux found i string in the ELLA kernels released by Samsung that looks like that it solves the sudden death issue.
So, if indeed if fixes this issue, then off course the latest kernels releases from Sammy has also the fix and not just the custom kernels.
As far as i know, all the custom kernels has the fixes integrated this string by now, but i myself like the stock kernels, Indie puts in the Omega Roms.
Phil3759 has also made a repack of recovery based on CWM touch 6.0.2.7 to get it all safe.
More to come in the future, because i am learning everyday here on XDA and like to share and help others.
Edit, here is quote from AndreiLux about the new bootloader:
http://forum.xda-developers.com/showpost.php?p=37163086&postcount=1298
Do I need any particular Bootloader? No - There is no evidence to suggest this fixes anything
Apparently that's wrong, download mode on the device uses a microkernel from inside the bootloader instead of the full blown Linux kernel. When flashing something via Odin in download mode you'd be using the bootloader's MMC driver and thus be at risk.
All-day users are still safe via recovery and live kernel, but are not advised to flash things in download mode with an older bootloader. This also explains why they updated the bootloader in LLA. The security checks are a mere update to bring it up with what the 9305 and Note 2 users already have in terms of not able to get rid of the exclamation mark.
Personal note:
Maybe i am seeing this wrong, to much thinking in terms of home computers, but here is some thoughts regarding above.
From cold, turned off device,.
Turning the device on, micro kernel inside the bootloader kicks in to send information how to start the device correctly.
If it works this way and you are on the old bootloader, then every time you start the device with the old bootloader, you are at risk?
Some useful links:
My struggle with TA
Omega roms S3
Chris_84 Faq
Triangle Away
http://www.chainfire.eu/articles/118/Triangle_Away_vs_Samsung/
Old bootloader
Philz recovery
https://www.google.nl/search?q=andr...s=org.mozilla:en-US:official&client=firefox-a
https://play.google.com/store/apps/details?id=com.electricsheep.asi&hl=nl
https://play.google.com/store/apps/...sIm5ldC52aW5hZ3JlLmFuZHJvaWQuZW1tY19jaGVjayJd
Here i will post stuff that comes along the road like question about batterystats at recovery.
We used to have a option to wipe the battery stats at recovery, also there are some tools at Play store that claims to give a better battery life by just wiping those stats.
But after reading this excellent article, it comes clear that wiping those stats are bull.
So i am glad that option isn't available anymore and perhaps in time, the questions about those stats will faint away in oblivion
And another one i like to share.
Fast Dormancy.
Here is a great article about it, made by Erica.
For me, my provider is saying it's not supporting FD, but when use the method to check, it is supported.
So i tested it for a few days on and off and found that when it's off, i do get some better battery life, but it's just minor.
Instead of losing 5% battery at 8 hours standby, i lost 6%.
Also, i didn't see any benefits in speeds, so i turn it off every time after a flash of a new rom using gokhanmoral tool.
Another thing i like to add.
Wifi.
I have seen many posts about wifi problems.
Here what always works for me.
Sometimes just a reboot of the router will help.
Also, i find changing from dynamic (default) to static that my connection is faster connecting to my router (always use the never setting at wifi advanced to save battery).
Here is how to do it the easy way.
First set it up using it with the default dynamic settings, this way all will be filled in for you.
To change it to static.
Long press your connection and choose modify network config and check show advanced options.
Scroll down a bit and tap on IP settings and choose Static.
And that is all, now you have changed it to static and there is no more need for ip adress to negotiation any more.
https://www.google.nl/search?q=wifi...s=org.mozilla:en-US:official&client=firefox-a
Also if still having problems, adding some more permissions can solve it.
I use root explorer for this
ETC > Long press wifi folder and choose permissions (remember to change Mount R/W to Mount R/O) and check all nine boxes.
Hit back and go to Data > Misc and again long press wifi folder and again, check all nine boxes.
Space
I know, i am a control freak and i hate it when i see space just vanish.
So did some search and found a thumbnail map with more then 1gb size.
Looked at some submaps and i only saw some old stuff.
So, selected all the submaps and just deleted it without problems and gain more then a gb free space.
Here is where you can find it using root explorer:
storage > sdcard0 > .thumbnails.
Edit:
As bigmo7 pointed out, the thumbnails will be rebuild, but off course not off stuff that isn't present on the S3 anymore.
So, if you are someone that is just making pictures or making / creating movies and never delete then from your S3, there is no point off deleting the thumbnails.
But if you like me, moving, creating copying and deleting this kind off stuff, then you can gain space.
Battery life
Always a hot item.
First all, the S3 is a mini computer and computers need juice, just remember this.
Here are some stuff i always do after flashing a new rom.
If the rom comes with a aroma installer which let you select stuff to install or not install, look careful to the list.
Stuff you don't use, can just eat resources and i myself, just find it a waste.
Next, after flashing and setting up the new rom, you will be presented with the option to use wifi.
I always go to advanced when making a wifi connection to choose Never when phone is in standby.
For me, but this can be different for you, wifi is a bit off a drainer so do some testing, let it run overnight with Always selected and another night with Never and see the difference.
Next you will be present if you want to restore and let google backup your phone.
I always deselect backup my phone, first reason, i am a control freak and i decide when and what i want to backup.
And second it can give you wakelocks and this will cost you battery life.
Next step i do is going into settings and to sounds, i don't like the clicking sounds and i deselect all the system sounds.
Next, location services and deselect GPS and Location and Google search.
I want GPS active only when i need it, some apps like Facebook will activate GPS when running and i don't like this.
And i don't want Google to know where i am all the time.
Some weather apps needs Location and Google search to determine your location, but i use Weather pro and it don't need it.
Next step is going into accounts and look what you have selected for syncing.
I always deselect Google photos, Internet and Picasa web albums.
Stuff i don't need .
Location settings at accounts is also off.
Next step is using the Fast Dormancy toggle to disable Fast Dormancy, although my provider is supporting it, enabled costs me a little more juice. Although it's minor, but a lot off minors things makes it bigger .
Then starting Playstore and at settings, deselect Notifications.
And finally freeze stuff i don't use with Titanium Backup pro.
http://forum.xda-developers.com/showpost.php?p=31576747&postcount=105
All this, is giving me a great battery life, with screen on time between 4 1/2 to 6 1/2 hours, depends what i am doing.
And with the latest JB roms, 1 to 2% battery los in 7 hours standby.
No need for me to toggle Airplane mode, mobiledata or some other powersaving setting or app.
I am also always running the stock insecure kernel that comes with the rom, for me no need for a custom one.
Reserved
KeesStolk said:
I only save mods, roms on my internal sd in my download map and this map i move to my external sd.
Click to expand...
Click to collapse
Hello, when we flash a rom that already has mods ... do you know a way to save them ? (where to find them)
I mean. For example, my rom has a mod (and theme) on the toggles (pandoriam i9305). How can I save that mod ? Do you know a good tutorial to learn (safe) modding ?
thorcyar said:
Hello, when we flash a rom that already has mods ... do you know a way to save them ? (where to find them)
I mean. For example, my rom has a mod (and theme) on the toggles (pandoriam i9305). How can I save that mod ? Do you know a good tutorial to learn (safe) modding ?
Click to expand...
Click to collapse
I never save mods because most of the time when flashing a new rom, it's based on a new build and not every time mods are compatible, just like some themes by the way.
I just safe the mod files and thems, when i am sure they are compatible, i just flash them again.
Indie's Omega roms has already a lot of mods in it by default by the way, but i don't think he was for a 9305.
Good work Kees! Now I'm learning from you.
Chris_84 said:
Good work Kees! Now I'm learning from you.
Click to expand...
Click to collapse
Thank you for your kind words, but it is l who is learning from you every day .
Sent from my GT-I9300 using Tapatalk 2
and why dint i see this , brilliant my friend .... one of the best posts , well explained and really good stuff all at one place
thanks my friend
vegeta1 said:
and why dint i see this , brilliant my friend .... one of the best posts , well explained and really good stuff all at one place
thanks my friend
Click to expand...
Click to collapse
Thank you very much, but from you, Chris, Indie and the rest of the omega team are the ones I learn all this great stuff every day.
Sent from my GT-I9300 using Tapatalk 2
i always feel like a noob when ever i read here
big big thanks my friend for pointing out all this so nicely
Very nice posts KeesStolk. Maybe you should write a manual for us?
I'm about to post this in Q&A (searching for an answer brought me here )
I just (3 days ago) upgraded my Omega ROM to v40. All seemed fine - I did as normal but in v35, my last Omega there wasn't a Full Wipe option. I chose not to wipe and everything went as per usual with Omega. I reinstalled my extras (6 x 5 icons, Loud phone hack, Increasing ring phone, Note2 Keybd) and was back to normal.
Except, now my apps will not update.
I found out the hard way. I had a problem with Play Store - open it and it would flash briefly then close. Tried all I knew of but nothing worked so, logic said, Omega v40 is different enough I need a wipe and that why they put it in there as a choice this time. (I checked the Omega thread and couldn't see anything relevant but I was in the pub at the time and may not have been as thorough as I should have been)
I had a TB backup and Nandroid on my ExtSD from 2 days back and an EFS so I ran the install again and chose Full Wipe - again everything went well... until I tried to download TB so I could restore all my apps and data. Play Store opened and stayed Open (yaaaay!) and TB acts like it is downloading but nothing comes through - it just sits until it times out on an error.
I tried several apps and none would DL but then AuWeather DL'd just fine. I went back to TB - no go.
After much frustration I Restored my Nandroid and got back to where I was (Omega v35) but still I can't DL and update for TB. At least Play Store stays open though. I tried running the v40 update again, installing the Default, just in case, (& I have just finished DL'ing v41) but the DL/Update problem persists.
I'm now on:
AP – I9300XXEMA2
CP – I9300BUELK1
CSC – I9300LBEMA1
RF cal – 2012.6.28
HW Rev – MP 1.100
Any ideas? If I can't DL TB once I have flashed, I can't get my data back so a wipe isn't really an option until I fix the DL issues.
As I said, this will also be in Q&A but you seem to have a good grasp on the basics so I thought maybe...? :fingers-crossed:
So... I tried restoring back to v35 and got the same problem. And yet that version has been running since v35 came out, at least a couple of months. So I did it again but this time used the Android Revolution Wipe zip, then a straight install of v35. I could then load TB from Play Store and restore my apps and data. Phone seems back to normal now although I have lost some logs data from the couple of days between my backup and now - no biggie... I also now can update my apps.
So it seems it is something to do with Omega v40.
I've just DL'd v41 so will give that a try. Any help with what might have gone wrong would be much appreciated.
Thank you for your kind words, just sharing what i know and hoping this info can help others.
And how is it with v41?
Did you tried it with wifi and 3g, any difference?
Also tried removing your google account, reboot and setting it up again?
Hi kees !
Nice idea you've got with this thread but ... I hope it won't turn into another omega q&a thread . I would like to direct people here but it will be quite difficult if they will see Omega issues all over. Please point them out to the correct thread as you already posted the link to it. Just a thought , correct me if I'm wrong
Thanx !
Sent from my GT-I9300 using Tapatalk 2
xanthrax said:
Hi kees !
Nice idea you've got with this thread but ... I hope it won't turn into another omega q&a thread . I would like to direct people here but it will be quite difficult if they will see Omega issues all over. Please point them out to the correct thread as you already posted the link to it. Just a thought , correct me if I'm wrong
Thanx !
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Thanks and you are right, but the main purpose for me, is just help others with the noobish knowledge i have and let people and myself learn and share.
I don't mind which rom people are running, that's everyone his or here's choice and i totally respect that.
I think this thread deserves to be in General, since you're not asking anything. Hit "report" and see what a mod thinks about it
KeesStolk said:
Thanks and you are right, but the main purpose for me, is just help others with the noobish knowledge i have and let people and myself learn and share.
I don't mind which rom people are running, that's everyone his or here's choice and i totally respect that.
Click to expand...
Click to collapse
absolutely !!!
everyone`s choice ! but people must follow proper threads , i`ve got nothing against a certain rom but against disarray when users post or open endless threads about same thing .
some users hates me for this , i know it well , in my thread i always pointed out but somehow is unfair to maintain same topic on more threads .
that`s a bad habit for new users and not only for the rule`s sake but this is the way should be in a human community .
-=-=-
i was thinking as well to open a thread as yours but due to lack of time i didn`t. as soon as i`ll find interesting things i`ll let you know .
i myself am a NOOB !
---------- Post added at 11:28 AM ---------- Previous post was at 11:24 AM ----------
Glebun said:
I think this thread deserves to be in General, since you're not asking anything. Hit "report" and see what a mod thinks about it
Click to expand...
Click to collapse
... and i must agree with you this time ...
Thanks guys.
@xanthrax, i know the feeling, kind off busy family
But i like your comments, just straight forward, the way i like it.
Glebun said:
I think this thread deserves to be in General, since you're not asking anything. Hit "report" and see what a mod thinks about it
Click to expand...
Click to collapse
I think it should stay here as it "Helps" other users. General is more for discussions IMO.
But how about these?
http://forum.xda-developers.com/showthread.php?t=1749214
http://forum.xda-developers.com/showthread.php?t=1827635
http://forum.xda-developers.com/showthread.php?t=1732722
http://forum.xda-developers.com/showthread.php?t=1895737
http://forum.xda-developers.com/showthread.php?t=1946481
http://forum.xda-developers.com/showthread.php?t=2041679
and that's just the first page. all of the above are for "help"

[SOLVED] AOSP build resets time to 1970 after reboot

Hi guys.
Just started to build my own AOSP build from source. Im using Ubuntu 12.04 LTS and everything works great with repo sync and building the rom.
I flash the build and everything works great to. Time and date is correct. Google sync works. Google now works.
But when i reboot my phone the time resets to 1970 for about 15 seconds till it goes to current date and time. But i get like 10 notifications from all of my apps saying google sync error, Time error and WhatsApp says time error to. Goggle sync is stuck on sync. google now dont work and so on.
I have tried to build it over and over again without luck. I wiped everything before flashing the zip. I even did a fresh clean install of ubuntu and did everything from the begining but it still resets to 1970.
I tried to build CM11 rom also and everything works great. No time issues. So why is pure AOSP doing this?
Someone said something about qualcomm time daemon not storing time in data/system/time directory .
I have been trying to fix this for days without any luck.
bariz143 said:
Hi guys.
Just started to build my own AOSP build from source. Im using Ubuntu 12.04 LTS and everything works great with repo sync and building the rom.
I flash the build and everything works great to. Time and date is correct. Google sync works. Google now works.
But when i reboot my phone the time resets to 1970 for about 15 seconds till it goes to current date and time. But i get like 10 notifications from all of my apps saying google sync error, Time error and WhatsApp says time error to. Goggle sync is stuck on sync. google now dont work and so on.
I have tried to build it over and over again without luck. I wiped everything before flashing the zip. I even did a fresh clean install of ubuntu and did everything from the begining but it still resets to 1970.
I tried to build CM11 rom also and everything works great. No time issues. So why is pure AOSP doing this?
Someone said something about qualcomm time daemon not storing time in data/system/time directory .
I have been trying to fix this for days without any luck.
Click to expand...
Click to collapse
I'm not a dev (though I know how to compile, just not any coding) so don't have a fix for you, but found this as a potential work around until someone can help you sort the rest: http://software.techassistbox.com/datetime-1970-bug-aosp-workaround_136694.html
The time issue is solved thank you
Time to include Superuser to the build but i have no idea how to do that.
Someone want to help?
bariz143 said:
The time issue is solved thank you
Time to include Superuser to the build but i have no idea how to do that.
Someone want to help?
Click to expand...
Click to collapse
Out of curiosity, how did you resolve?
I was under the impression that you just have to add the SuperSU apk to /system/app and the SU binary to /system/bin, but not entirely sure on that part. If you are trying to bake it into the actual Settings app, not sure on that.
The Google binaries had some missing files so I pulled the binaries from stock factory image and it worked
I want the superuser baked in as the other roms out there
Still haven't found a guide or help from someone.
What happens to XDA soul where everyone helped each other back in the days. I have pm a lot of developers and no one answered back
Found some guides on how to add stuff AFTER it's been built, but not during the build itself.
I know a lot of the devs get bombarded with inane questions from random people so often ignore PMs. Not saying your question is, but most of them don't like to answer questions there that should be in the thread for their stuff so often just overlook the inbox.
Come to think of it, you aren't really adding SuperSU TO Settings, just enabling a shortcut in the Settings app that leads to the app.
http://developer.android.com/reference/android/provider/Settings.html
I'm wondering if this:
public static final String ACTION_APPLICATION_SETTINGS
Activity Action: Show settings to allow configuration of application-related settings.
In some cases, a matching Activity may not exist, so ensure you safeguard against this.
Input: Nothing.
Output: Nothing.
Constant Value: "android.settings.APPLICATION_SETTINGS"
Part isn't something to do with creating that link...? Just making an educated guess.
Info on adding stuff after it's built - might be helpful to see where things are at?
http://forum.xda-developers.com/showthread.php?t=2184207
http://forum.xda-developers.com/showthread.php?t=2341389
Also, check out this dev/thread: http://forum.xda-developers.com/nexus-4/themes-apps/mod-custom-options-settings-app-ops-t2593536 Maybe you can ask him or decompile his Settings.apk and see where he added the necessary coding in.
es0tericcha0s said:
Found some guides on how to add stuff AFTER it's been built, but not during the build itself.
I know a lot of the devs get bombarded with inane questions from random people so often ignore PMs. Not saying your question is, but most of them don't like to answer questions there that should be in the thread for their stuff so often just overlook the inbox.
Come to think of it, you aren't really adding SuperSU TO Settings, just enabling a shortcut in the Settings app that leads to the app.
http://developer.android.com/reference/android/provider/Settings.html
I'm wondering if this:
public static final String ACTION_APPLICATION_SETTINGS
Activity Action: Show settings to allow configuration of application-related settings.
In some cases, a matching Activity may not exist, so ensure you safeguard against this.
Input: Nothing.
Output: Nothing.
Constant Value: "android.settings.APPLICATION_SETTINGS"
Part isn't something to do with creating that link...? Just making an educated guess.
Info on adding stuff after it's built - might be helpful to see where things are at?
http://forum.xda-developers.com/showthread.php?t=2184207
http://forum.xda-developers.com/showthread.php?t=2341389
Also, check out this dev/thread: http://forum.xda-developers.com/nexus-4/themes-apps/mod-custom-options-settings-app-ops-t2593536 Maybe you can ask him or decompile his Settings.apk and see where he added the necessary coding in.
Click to expand...
Click to collapse
Holy sh!"¤%t. Thats alot to do. I have to study this for a month to maybe succed
Compiling the rom feels alot easier when reading this haha
bariz143 said:
Holy sh!"¤%t. Thats alot to do. I have to study this for a month to maybe succed
Compiling the rom feels alot easier when reading this haha
Click to expand...
Click to collapse
The more you learn, the more you realize you dunno.
es0tericcha0s said:
The more you learn, the more you realize you dunno.
Click to expand...
Click to collapse
Haha good answer. Man I don't know where to start. I will look in to it but not today.
deleted
Just noticed that my aosp build cant locate my location. And thats a huge setback. Really need help with this. Without gps there is no way i can use this this rom as a DD.
Downloaded gps status app and started it and it doesnt find even 1 satelite so something is wrong there.
See if you can grab the gps.conf file from a working rom for your phone. Or try this - which might be able to make the right one for you: https://play.google.com/store/apps/details?id=org.fastergps
es0tericcha0s said:
See if you can grab the gps.conf file from a working rom for your phone. Or try this - which might be able to make the right one for you: https://play.google.com/store/apps/details?id=org.fastergps
Click to expand...
Click to collapse
Tried that app. Nothing happend. Going to grab a gps.conf file from some rom.
EDIT: Just tried that without sucess. No gps lock at all. Think it has something to do with my binaries. Cant figur it out
EDIT2: FIXED:but GPS connection is very bad. Have to go outside to get a lock. Could get connection inside before
At least you are making progress. So the gps.confg file helped a bit? Now that it is working somewhat, maybe one of the GPS status apps can help make it stronger?
es0tericcha0s said:
At least you are making progress. So the gps.confg file helped a bit? Now that it is working somewhat, maybe one of the GPS status apps can help make it stronger?
Click to expand...
Click to collapse
Okey its not the gps.conf file. Just flashed a custom rom (No names) and it locates my location in a heartbeat inside my apartment. My build is much slower and don''t work inside.
Dropped development ATM. Need to fix gps. Dont know where to start. I tried with the binaries again without luck
bariz143 said:
Dropped development ATM. Need to fix gps. Dont know where to start. I tried with the binaries again without luck
Click to expand...
Click to collapse
Bariz I have the same time issues which bin files did you replace/add was time_daemon one of them?
kidkoala_uk said:
Bariz I have the same time issues which bin files did you replace/add was time_daemon one of them?
Click to expand...
Click to collapse
I just extracted all the binaries from stock rom and put them in my vendor if I remember it right. It was a long time ago since I developed. To much for me man
bariz143 said:
I just extracted all the binaries from stock rom and put them in my vendor if I remember it right. It was a long time ago since I developed. To much for me man
Click to expand...
Click to collapse
Cheers bro.
Edit: Issue now resolved the Google proprietary blobs are missing a number of files. Got the necessary files and added to my build.
AOSP build resetting time to 1971 after reboot in Airplane Mode
bariz143 said:
The Google binaries had some missing files so I pulled the binaries from stock factory image and it worked
I want the superuser baked in as the other roms out there
Still haven't found a guide or help from someone.
What happens to XDA soul where everyone helped each other back in the days. I have pm a lot of developers and no one answered back
Click to expand...
Click to collapse
We are having the same issue with a Nexus 5 (Hammerhead) where the date/time are not sticking after reboot when in Airplane Mode (no data connection, wifi off). Can you provide some more detail about how solved the problem? Which binaries and how did you pull them over? Thanks.

Archos Platinum 55 - Settings Deleted...oops.

So... I have an Archos 55 and well, root is dangerous, particularly when you're being annoyed with pop up adverts and want to get them gone.
TL;DR:
So basically this all started when I found that web pages and adverts were just opening. Whether I was using the device or not, they'd just magically appear, sometimes ten at a time, accessing the internet at will. I was not best pleased as I have not long purchased the phone, but true to form, Archos have no idea what customer service means, so I was left to attempt to remedy the situation myself. Ordinarily, I would have just formatted and reinstalled the O.S, I do that with linux all the time alas I knew that was difficult.
Instead I sought to find out what exactly was causing the adverts. I deleted all the apps I had installed, but still the adverts kept coming. I did a factory wipe. Still with the adverts. At this point I was a bit stuck, so I grabbed an anti-virus app. It showed a few things that were causing problems including one trojan, under com.android.settings (or something to that name). I made a few enquiries and needless to say, this wasn't a false positive, but it had meant that I had a trojan...and I really don't like trojans. Cue the rage and the not thinking properly as I deleted com.android.settings without making a backup thinking... "shouldn't be too hard to put back"...oh how wrong I was...
I of course tried to make amends by grabbing a "copy" of settings from another site (and possibly a different phone) but I was told that it was ROM and no amount of permission changing was going to change that (I tried and I apparently failed, I may have possibly been doing something wrong, but I don't think my chown/chmod skills are `that` shabby).
The problem:
- No access to settings. Settings doesn't exist. (No access to USB Debugging either because that requires tapping the about phone bit and guess what...)
- Can't install apps as something has "Stopped".
- No access to WiFi
- Using Linux (Ubuntu something or other...15 I think).
- Mobile Tinkering Newb (But I'm not totally tech illiterate).
I do have access to fastboot mode apparently.
So what I think I need is a way to reinstall lollipop 5.1 so I can get back to square one, without (at least initially) using ADB (because I've tried and my device just refuses to show). I've also tried a few "needrom" things but, of course, they don't work because linux.
If anyone could possibly help me, I would be greatly appreciative in any way. I just want wifi back really. (I can see that wifi works and a network is available I just can't edit the settings to access it). If I can provide more information, please ask and I shall provide.
[SOLUTION]
Back up your device <- Essential
Grab a rom from NeedRom
Enable Fastboot.
Enable USB Debugging etcetera.
Use custom software (provided by NeedRom) (I know this seems dodgy but you try anything when you're desperate enough and this works so...if you're worried then take precautions and make a backup of your own phone first.) to open up the .pac file. Check where the files have been opened up to.
Copy the files to a more stable area (i.e from Temp to your Data drive), they should be in .img format as .pac basically appears to be some kind of archive that groups them all into one.
Use Fastboot (you might need to enable this so make sure you do it) and flash the .img files to the phone and sparse them to about 250MB.
Restart the phone.
Check phone works properly.
If works properly, consider donating to NeedRom.
Anyone?
Trojan
I have the same problem, but I didn't uninstall the setting, did your Trojan installed random apps too? Like MyApps or something like that?
Seeing the same problem I think the problem is that the device comes with it, but I haven't found anything else to do apart from installing avast to tell me when unknown sources get on to install a random app.
Talasa said:
Anyone?
Click to expand...
Click to collapse
Hey I fixed it, I have Uninstalled settings and successfully installed them again, no pop ups since.
Message me so I can tell you how to do it.
Fantasma198 said:
Hey I fixed it, I have Uninstalled settings and successfully installed them again, no pop ups since.
Message me so I can tell you how to do it.
Click to expand...
Click to collapse
Hi! How did you solve the problem? Please let me know
It appears to involve installing an apk installer from the Google Play stores (any will do it seems). Then by installing a copy of the Settings.apk.
Neither of which I am able to do as, due to getting rid of settings Google Play won't work. So....
Edit. I managed to get Google Play installed and then installed an APK installer. However installing settings is restricted as security won't let me install unofficial apps. >.>
How do u get rid of pop ups
Fantasma198 said:
Hey I fixed it, I have Uninstalled settings and successfully installed them again, no pop ups since.
Message me so I can tell you how to do it.
Click to expand...
Click to collapse
How do u get rid of them my phone is plaqued with them they are so annoying I didn't even root my phone just done a simple software update thanx
R3b3l3k8 said:
How do u get rid of them my phone is plaqued with them they are so annoying I didn't even root my phone just done a simple software update thanx
Click to expand...
Click to collapse
Hi,
What you have here is a virus.... and like me, it's probably embedded in settings. I.e It comes with the device.
There is no way to get rid of those adverts....except...by voiding your warranty. You will need to wipe your device and reinstall a rom, preferably not your original. (That or send it back to Archos). Taking your phone back to the store and demanding a refund is an option before I proceed further and this is the solution I recommend.
Take this moment to back up all your data.
What I did however and what seems to have gotten rid of them is firstly head over to NeedRom (search) and acquire a freely provided Rom of someone else's phone. There are two versions for the Archos Platinum 55 and it will depend on your specific phone.
Now you will need to flash (this will destroy all data on your phone so make sure you get it backed up) your rom. You can use the ADB solution but that couldn't work for me. So I used Fastboot instead, however to use this the rom provided by needrom is in a .pac file format, you need to get the .img file from it. You can do this by loading up the software provided by NeedRom (named FactoryUpload or something like that) load the .pac file and look at the file path locations. The one I checked was for System. I then went to where it said it was, in my case a Temp folder, copied and pasted all the data to somewhere not temp (all the .img files I needed were there).
Then I used Fastboot to flash the rom entirely there are much better Fastboot tutorials out there than I can explain myself. This flash included System, Recovery, Cache and basically everything, however it wouldn't let me do it all at once. I had to use a particular "flag" or "switch" so that it would `sparse` all the files over 250MB (that was the number I chose) and it worked after that.
This is the only way without returning the phone to get rid of the adverts *if* the virus is indeed in Settings. There's no way to remove Settings safely. I tried.

Categories

Resources