yashsingh1/xdaforums huggingface dataset:
[myTouch 4G Android Development] The_F_Word:
I really wanted to use this as a daily Rom. But I tried like crazy to fix that media f.c......

Thanks evil for getting a step closer to a stable miui :-)

Almost there lol
[myTouch 4G Android Development] Hinouchi:
What I did with the FC was, flashed the rom during class, try fix permission right after for like 2-3 times, than gave up. 3 hours later when I got home, I did the fix permission for the hell of it, and it got it fixed. This was through rom manager.

Guess you have to let the rom settle down, or something.
[myTouch 4G Android Development] The_F_Word:
Hinouchi, did that Fix the file Manager f.c., and the music and sdcard Fix as well?
[myTouch 4G Android Development] Hinouchi:
Nope not the file manager, but it fixed the android process media fc, which fixed the music, phone can see the music file in my sdcard now.
[myTouch 4G Android Development] Jclintcox:
new testing info

ok i tried something new. I went into titanium backup and froze all apps pertaining to media. I went one by one thawing them, playing around with them, and rebooting the phone, and no FC android media until i got to the PLAYLIST Media Storage 2.2.1 app. as soon as I unfroze this app, it started to give me the fc issue. when I rebooted i still had the fc as soon as the system stated up. to do a little more testing i froze that app and finished testing all of other apps that deal with media and none of them gave an FC ISSUES ........so I have no idea how to check if that really is the problem but thought it might help is some way.

Thanks
[myTouch 4G Android Development] eViL D::
Nice. I will look into that. Which apk is it coming from?
[myTouch 4G Android Development] Jclintcox:
In titanium its listed as PLAYLIST Media storage 2.2.1 under details it says com.android.providers.media
[myTouch 4G Android Development] Jclintcox:
Its not an app I think its in green which I believe is a service with useful data. But you can still freez it like an app
[myTouch 4G Android Development] eViL D::
Thought so, thanks.

Please test this. Push to /system/app/

http://dl.dropbox.com/u/6809682/MediaProvider.apk
[myTouch 4G Android Development] Jclintcox:
I was just about to tell you its linked to that media provider apk
[myTouch 4G Android Development] eViL D::
Ok, please test what I linked, if that doesn't work, I have something else.
[myTouch 4G Android Development] Jclintcox:
Hey im not somewhere I can push w/ adb can I use root explorer or terminal?
[myTouch 4G Android Development] siccmade:
Props goes to eViL for this one!! Best ROM hands down!
[myTouch 4G Android Development] Jclintcox:
If not is there anyone that can test it for him?
[myTouch 4G Android Development] akbloom:
I started with a completely reformatted system (every partition, even the sdcard). I installed R2 and then pushed the MediaProvider.apk, but it still isn't right. It no longer force closes, but it fails to read the files on the sdcard.

Here is an excerpt from my log:

I/ActivityManager( 1511): Starting activity: Intent { cmp=com.miui.player/.ui.ScanningProgress }

I/ActivityManager( 1511): Displayed activity com.miui.player/.ui.ScanningProgress: 271 ms (total 271 ms)

E/ActivityThread( 1804): Failed to find provider info for media

D/AutoLcdLight( 1511): SensorValue: 160, Brightness: 36

D/PowerManagerService( 1511): lightSensorChangedLocked 90

E/ActivityThread( 1804): Failed to find provider info for media

E/ActivityThread( 1804): Failed to find provider info for media

Let me know if you need more.
[myTouch 4G Android Development] eViL D::
Ok, extract and push this one.

http://dl.dropbox.com/u/6809682/MediaProvider.zip
[myTouch 4G Android Development] akbloom:
I'm not an Android developer, but I think something may be signed improperly? Either that or I'm misinterpreting the logs and the updated apk didn't fix the Media Provider.

D/PackageParser( 1526): Scanning package: /system/app/MediaProvider.apk

I/PackageManager( 1526): /system/app/MediaProvider.apk changed; collecting certs

D/PackageManager( 1526): Scanning package com.android.providers.media

D/PackageManager( 1526): Shared UserID android.media (uid=10028): packages=[PackageSetting{45e4cee0 com.android.providers.drm/10028}, PackageSetting{45ef2ae0 com.android.providers.downloads/10028}, PackageSetting{45f96528 com.android.providers.media/10028}]

W/PackageManager( 1526): Signature mismatch for shared user : SharedUserSetting{45e77708 android.media/10028}

E/PackageManager( 1526): Package com.android.providers.media has no signatures that match those in shared user android.media; ignoring!

D/dalvikvm( 1526): GC_FOR_MALLOC freed 27661 objects / 1213744 bytes in 59ms

D/dalvikvm( 1842): GC_EXPLICIT freed 6047 objects / 356248 bytes in 81ms

E/ThrottleService( 1526): Error reading data file

I/ActivityManager( 1526): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.miui.player/.drawerActivityGroup.MainActivityGroup bnds=[12,529][126,658] }

D/dalvikvm( 1793): GC_EXPLICIT freed 1502 objects / 128096 bytes in 32ms

D/dalvikvm( 1950): GC_FOR_MALLOC freed 4136 objects / 254888 bytes in 32ms

I/com.miui.player.PlaylistDBHelper( 1950): Upgrading media database from version 0 to 3, which will destroy all old data

E/ActivityThread( 1950): Failed to find provider info for media

E/ActivityThread( 1950): Failed to find provider info for media

E/ActivityThread( 1950): Failed to find provider info for media

E/ActivityThread( 1950): Failed to find provider info for media

E/ActivityThread( 1950): Failed to find provider info for media

E/ActivityThread( 1950): Failed to find provider info for media
[myTouch 4G Android Development] eViL D::
Ok, push the services from this post. Boot to recovery, clear cache.

http://xdaforums.com/showpost.php?p=10886445&postcount=748
[myTouch 4G Android Development] eViL D::
If you are getting media FC's, please flash this package via recovery. Clear cache first.

http://dl.dropbox.com/u/6809682/Media-FC-FIX.zip
[myTouch 4G Android Development] akbloom:
No dice.

I started with a clean flash of R2. Force close after boot

Pushed services.jar, cleared cache from recovery. Force close after boot

Pushed MediaServices.apk. Force close after boot

I see this in my logs, but I'm not entirely sure how it's related:

D/MediaScannerService( 1912): start scanning volume external

I/xpicture/SystemReceiver( 1885): Got intent with action:android.intent.action.MEDIA_SCANNER_STARTED

W/dalvikvm( 1912): threadid=9: thread exiting with uncaught exception (group=0x4001d7f8)

E/AndroidRuntime( 1912): FATAL EXCEPTION: MediaScannerService

E/AndroidRuntime( 1912): java.lang.NoSuchMethodError: android.media.MiniThumbFile.removeMiniThumbDataFile

E/AndroidRuntime( 1912):	at android.media.MediaScanner.prescan(MediaScanner.java:1057)

E/AndroidRuntime( 1912):	at android.media.MediaScanner.scanDirectories(MediaScanner.java:1209)

E/AndroidRuntime( 1912):	at com.android.providers.media.MediaScannerService.scan(MediaScannerService.java:112)

E/AndroidRuntime( 1912):	at com.android.providers.media.MediaScannerService.access$200(MediaScannerService.java:49)

E/AndroidRuntime( 1912):	at com.android.providers.media.MediaScannerService$ServiceHandler.handleMessage(MediaScannerService.java:272)

E/AndroidRuntime( 1912):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 1912):	at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 1912):	at com.android.providers.media.MediaScannerService.run(MediaScannerService.java:189)

E/AndroidRuntime( 1912):	at java.lang.Thread.run(Thread.java:1096)

I/Process ( 1511): Sending signal. PID: 1912 SIG: 9

W/ActivityManager( 1511): Process android.process.media has crashed too many times: killing!
[myTouch 4G Android Development] The_F_Word:
Will do thanks,
[myTouch 4G Android Development] renster721:
Flashed, still fc. Thanks for continuing to work for it though!
[myTouch 4G Android Development] akbloom:
I inspect that zip, it looks the same as the 2 files you asked me to push. Regardless I started with a clean R2 and then flashed that zip. Still force closes with the same basic exception in the logs.

I/xpicture/SystemReceiver( 2073): Got intent with action:android.intent.action.MEDIA_SCANNER_FINISHED

D/xpicture/MediaCache( 2073): media scan is finished

D/MediaScannerService( 1904): done scanning volume internal

D/MediaScannerService( 1904): Directory not found: /data/media

D/MediaScannerService( 1904): start scanning volume external

I/xpicture/SystemReceiver( 2073): Got intent with action:android.intent.action.MEDIA_SCANNER_STARTED

W/dalvikvm( 1904): threadid=10: thread exiting with uncaught exception (group=0x4001d7f8)

E/AndroidRuntime( 1904): FATAL EXCEPTION: MediaScannerService

E/AndroidRuntime( 1904): java.lang.NoSuchMethodError: android.media.MiniThumbFile.removeMiniThumbDataFile

E/AndroidRuntime( 1904):	at android.media.MediaScanner.prescan(MediaScanner.java:1057)

E/AndroidRuntime( 1904):	at android.media.MediaScanner.scanDirectories(MediaScanner.java:1209)

E/AndroidRuntime( 1904):	at com.android.providers.media.MediaScannerService.scan(MediaScannerService.java:112)

E/AndroidRuntime( 1904):	at com.android.providers.media.MediaScannerService.access$200(MediaScannerService.java:49)

E/AndroidRuntime( 1904):	at com.android.providers.media.MediaScannerService$ServiceHandler.handleMessage(MediaScannerService.java:272)

E/AndroidRuntime( 1904):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 1904):	at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 1904):	at com.android.providers.media.MediaScannerService.run(MediaScannerService.java:189)
[myTouch 4G Android Development] eViL D::
ok, try this.

http://www.multiupload.com/H443COK8G7
[myTouch 4G Android Development] OrrinS1189:
Yikes!!!

That didn't work earlier when I flashed it. Immediately I got the fc. :confused:
[myTouch 4G Android Development] eViL D::
earlier? This is new.
[myTouch 4G Android Development] OrrinS1189:
Ohh

I thought you posted a link to it earlier. And I had tried that link. I'll try this one though.
[myTouch 4G Android Development] OrrinS1189:
This one?

Is this the same one you posted earlier? they have the same file name to the tee. :confused:
[myTouch 4G Android Development] eViL D::
It's newer, believe me. It just has the same file name.
[myTouch 4G Android Development] OrrinS1189:
Gotcha

Well it's a slow download but I'm anxious to flash it and hopefully not get a fc error! Will report back in let's say... 10 minutes from now?:rolleyes:
[myTouch 4G Android Development] OrrinS1189:
No luck

Still the f.c. on media process on boot and file sd browsing. :confused:
[myTouch 4G Android Development] eViL D::
Ok, thanks for testing.

Back to work tomorrow.
[myTouch 4G Android Development] OrrinS1189:
Thanks

Yea I really do appreciate your efforts to find a fix for this bug! Maybe tomorrow will bring some new ideas.
[myTouch 4G Android Development] OpenMinded:
I have no more FC's when starting up, just the file manager FC's when started.
[myTouch 4G Android Development] OpenMinded:
mmm, another FC when flashing R2b
[myTouch 4G Android Development] LetsGoToWarr:
Hey eViL just wanted to post my latest logcat for you. This is using your flashable Media Fc fix zip as well as the newest kernel on the OP.

Still getting FC even without miui apps.

***

build 1.1.26 dropped today, maybe when this is ported we can give the FFC support another shot.
[myTouch 4G Android Development] OpenMinded:
same here. r2b gives me fc's
[myTouch 4G Android Development] eViL D::
Ok, test this against normal r2.
[myTouch 4G Android Development] LetsGoToWarr:
you fixed it.. you're an eViL genius. I haven't gotten a single FC and my music player is pulling up all my music along with FFC capability.

File explorer shows everything but force closes when trying to open a folder.
[myTouch 4G Android Development] eViL D::
Hrmm , can anyone else verify?

Sent from my HTC Glacier
[myTouch 4G Android Development] eViL D::
1.1.21 r3 is now uploading. Hopefully I have resolved the media fc's.
[myTouch 4G Android Development] The_F_Word:
Ok I haven't tried to do that frame work but the media fix worked for file manager I tried and it had no fc for the files to the point where I could open music and videos and play them :-)...

If it helps you evil,

Just flashed the regular rom on new 3.0x rom manager then did a wipe cache and dalvic cache the installed the media fix zip.

ALSO I'M DOWNLOADING R3. SO I WILL POST SOON,

THANK-YOU EVIL..

AND DOES ANYONE HAVE TIPS ON BATTERY LIFE-?(LIKE CYANOGEN MOD) because i really want this rom to be my daily_!!!! but iT hoards the BATTERY LIKE MY ...V6 ON GASOLINE LOL
[myTouch 4G Android Development] akbloom:
I concur. The new framework.jar fixes the music app. File Explorer will let me navigate the SD card, but crashes when I drill down a few layers into my Music folder (/sdcard/Music/Band Name/Album Name/*CRASH*).
[myTouch 4G Android Development] LetsGoToWarr:
setcpu profiles,

make screen off Max 368640 min 245760

make 35% battery Max 806400 min 245760

make the priority on these 100% with that I've had really good battery life. I also set Powersave Bias to 200
[myTouch 4G Android Development] eViL D::
Any news on r3?
[myTouch 4G Android Development] The_F_Word:
Evil

The rom said it was bad, do I use regular rom. 2.5.1.2. Or 2.1.5.4?
[myTouch 4G Android Development] LetsGoToWarr:
Downloading now, will post back with anything I find.
[myTouch 4G Android Development] jmwils3:
you may have just gotten a bad download, I installed it through CWM 3.x with no problem.
[myTouch 4G Android Development] LetsGoToWarr:
Okay using R3 flashed on CWM v3x recovery.

Initial boot up no problems at all, auto brightness seems to be fixed. Went through setup to get the FFC to work and was setting defaults.

First attempt at FFC the phone freaked out screen scrolling up and down not letting me get back to the home screen. I pulled my battery out rebooted and now it works perfectly.

Video capture, noticed that the CM6 camera can no longer capture 720p but the MIUI camera still does. Also there seems to be a weird bug not sure if its just the rom hasn't settled yet or what but hitting the back button to go to the home screen from video capture dims the screen then pulls the video cam back up (CM6)

I noticed also once you start up the MIUI camera it seems you have to hold home and kill tasks to close the MIUI camera to be able to get back into the stock CM6 otherwise both camera icons pull up MIUI camera. Same thing happens if the CM6 camera is the first one you click on, MIUI will open stock camera instead.

will continue to test it out but besides those things nothing too noticeable seems to be wrong.
[myTouch 4G Android Development] jmwils3:
In addition, I cant seem to get theme manager to work still. Ive tried downloading them from the browser and the download seems to hang, and when I try importing themes from the SD, the theme manager FC's. Does anyone know of a workaround for this? I do apologize if this has been covered previously, but I read through all the posts in this and Gr8's forum and didnt see anything pertaining to this issue.
[myTouch 4G Android Development] LetsGoToWarr:
I downloaded a theme from theme downloader just fine and applied it, only problem I ran into was theme downloader didn't know that theme manager was installed so I had to go into theme manager and manually apply the theme... maybe a quick reboot will fix your problem.
[myTouch 4G Android Development] jmwils3:
already did that, but who knows, a second reboot might work. :) thanks, bro, Ill keep you posted.

Update: now the theme is downloading out of nowhere.. weird. lets see if it will install once its done..

Final update: still not working. It starts to download, then vanishes, and when I try to import theme, it FC's.
[myTouch 4G Android Development] OpenMinded:
looking good for me!

Thanks bunch!

Does the file manager app not work because of the changes made to get the camera running?

I am curious how you did it, any how to or insights on it :)?

Thanks a lot !
[myTouch 4G Android Development] MT4G_Slave:
Tried r3.

I only had FC when I switch from camera to video recording for the first time. But no FC after that.

The new MIUI camera is a bit buggy, in camera mode, when I take pictures it would have a weird green/white lines all over the screen for a sec. After 2-3 shots it doesn't show any more until I reboot.

After playing with it a little more, switch back and forth from camera mode to video, it would freeze, sometimes restarting automatically.
[myTouch 4G Android Development] renster721:
Works for me too! Thanks for all your hard work! Donation coming soon.
[myTouch 4G Android Development] cabello80:
anyone know if there is a way to import contacts from tmobile?

thanks
[myTouch 4G Android Development] eViL D::
Prepping update 1.1.26 r1. Should be released later tonight.
[myTouch 4G Android Development] MT4G_Slave:
Any chance of fixing the youtube landscape mode issue? Acting weird when hitting the back button on landscape mode.
[myTouch 4G Android Development] rjhay22:
Weird thing... I flashed the ROM fine, booted up fine... Was excited to see the MIUI look once again... And then the screen turns off to sleep.... and BAHM!!!!!! Wont turn on again.... Unplug battery and it screen goes blank.... Wipe and reflashed ROM 2x and had the same problem.... Not whining just saying :)
[myTouch 4G Android Development] sl1k1:
Have you tried turning off the automatic brightness?
[myTouch 4G Android Development] rjhay22:
Wait is this a known issue? I never tried, coz once screen turns off theres no way for me to get it back on lol. No biggie, I'll just wait for the next release I guess.
[myTouch 4G Android Development] garynsa:
Automatic brightness is low. Take the phone to bright light and turn off automatic brightness off. Should work fine
[myTouch 4G Android Development] rjhay22:
I see... Kinda hard to get to it when the I cant navigate through the screen :P I guess when it boots up that should be the first thing to do, I should have read 5 pages back. :) Thanks yall.
[myTouch 4G Android Development] eViL D::
Yeah, just go to a bright light and unlock. It's still a WIP by MIUI.
[myTouch 4G Android Development] eViL D::
Don't update the YouTube app. It's a known issue currently.
[myTouch 4G Android Development] OrrinS1189:
Awesome!

Can't wait! Do you think you'll have this up sometime before 3am? That's the latest I'll be able to flash it tonight and give feedback before I pass out cold. Lol
[myTouch 4G Android Development] rjhay22:
KK thank you sir :)

Damn... Is that your usual sleep time? :P
[myTouch 4G Android Development] OrrinS1189:
lol

Yea I sleep 4a-12p daily. I guess just your typical college student.
[myTouch 4G Android Development] eViL D::
1.1.26 r1 is now online. Happy flashing~
[myTouch 4G Android Development] sl1k1:
Thanks..update came quicker than I thought lol
[myTouch 4G Android Development] OrrinS1189:
ok

flashing now. will report back on basic stuff soon
[myTouch 4G Android Development] eViL D::
It's actually been ready for a while. I've been watching American Idol with my wife. :eek:
[myTouch 4G Android Development] LetsGoToWarr:
lol hows that new season without simon?

Just flashed, will report back with bugs and what not... so far so good though
[myTouch 4G Android Development] OrrinS1189:
no bugs

no bugs so far.

just had to "clear data" from launcher to rid the chinese from the pull down launcher.:D
[myTouch 4G Android Development] eViL D::
Actually, a reboot is all you need.
[myTouch 4G Android Development] msmith1991:
The home button isn't working for me

Sent from my HTC Glacier
[myTouch 4G Android Development] LetsGoToWarr:
So the only bug I've noticed so far.. is on the lock screen the top bar has a messed up image... not sure how that would happen but its the only thing I've noticed so far.

​
[myTouch 4G Android Development] msmith1991:
I'm gonna do a wipe and reinstall

Sent from my HTC Glacier
[myTouch 4G Android Development] OrrinS1189:
yea...

I hadn't seen that before. I have it too. I don't mind it and maybe there is a fix that doesn't involve re flashing cause I am getting everything restored first.
[myTouch 4G Android Development] LetsGoToWarr:
its just a flawed image in the framework-res.. I'll prob look into it in a few minutes and post a new one that hopefully we can just push.. I'll test it first unless eViL fixes it first.
[myTouch 4G Android Development] eViL D::
Oops, uploaded the wrong one. I'll fix that tomorrow

Sent from my HTC Glacier
[myTouch 4G Android Development] rjhay22:
Only one thing to blame......... AMERICAN IDOL......
[myTouch 4G Android Development] OrrinS1189:
Plans

I'm going to go ahead and customize my OS and restore all my stuff. I'm hoping that the status bar can be fixed easily without crazy flashing of new versions and all that stuff. I just really like the rom so Imma roll with it! lol
[myTouch 4G Android Development] eViL D::
Lol, I know!

Sent from my HTC Glacier
[myTouch 4G Android Development] joeyrey:
how do i create an ext4 partition using mac?
[myTouch 4G Android Development] eViL D::
As long as you have cw 2.5.1.4, it will create it.

Sent from my HTC Glacier
[myTouch 4G Android Development] eViL D::
Omg, this is the first time I've noticed the launcher transitions. Mind blowing.

Sent from my HTC Glacier
[myTouch 4G Android Development] jmwils3:
Lol, I found those a while ago today, sorry I didn't mention it. nice to see a launcher come with them built in, instead of having to rely on mods or alternative launchers like adw ex.
[myTouch 4G Android Development] nyctrini3:
Quick question ppl how the heck u upgrae to text 4??
[myTouch 4G Android Development] crx4xharder:
Flashed this with cw recovery 3.0.0.2... Only downsides are I can't flash kernels and my restore never works for boot.img so u have to flash rom then individually restore system, data, cache. Otherwise it hangs on the splash screen .. But it works! I got bored with cm7 and evils always there with change ;-)
[myTouch 4G Android Development] Lazerfingers:
I've been trying unsuccessfully for the last day or so to flash this ROM. The install process involves using CW3, wiping everything, including dalvic cache, and fixing permissions after flashing the ROM.	Still, after each install the phone spill boot and all will seem normal for a few minutes until the screen starts to randomly go black and then doesn't regain a picture for some times several minutes.

I've been reading these and other forums for two days now and haven't found a solution. Any ideas?

Thanks XDA
[myTouch 4G Android Development] crx4xharder:
Turn autobrightness off
[myTouch 4G Android Development] eViL D::
For days? Did you bother reading the OP?

Sent from my HTC Glacier
[myTouch 4G Android Development] eViL D::
You're using the recovery from cm7 thread?
[myTouch 4G Android Development] scott.ragan:
Just flashed 1.26 rc1 and as usual everything works fine. No force closes or anything. New high quad score for me 3296! Only big I've found us the text gets cut off on the visitor mode option of the shutdown menu. Excellent work as always evil
[myTouch 4G Android Development] eViL D::
Graphic fix 1.1.26 r1

Push this to /system/framework/

http://dl.dropbox.com/u/6809682/android.policy.jar

It will also fix the statusbar in the lockscreen, but will also remove the modified reboot menu.
[myTouch 4G Android Development] Hinouchi:
Yea I'm so sure, how about try to actually READ then just skimming through this thread, the back light problem have been cover at least 10 times. :rolleyes:
[myTouch 4G Android Development] LetsGoToWarr:
Thank you eViL, you are the man!
[myTouch 4G Android Development] deltronzero:
I'm trying to decide if I really want to live without the miui file manager. :/
[myTouch 4G Android Development] LetsGoToWarr:
its hard, but the speed and improvements of the new build are just too good to give up just for file manager.
[myTouch 4G Android Development] stlouie65:
Thanks D, but I kinda enjoy the reboot menu, so the graphics snafu will live with me :D... Thanks again for working out the kinks in this build