yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] JudasD:
does this also help with the non-rotation issues like the compass and level?

Thanks,

JD
[Epic 4G Android Development] bgaimur:
Installed on latest CM7, works flawlessly. thanks!

I'm not seeing any symptoms described in the previous posts. Maybe they should wipe cache? I just renamed my old framework.jar to framework.jar_old and put the modified framework.jar in its place, and reboot. ta da
[Epic 4G Android Development] Effsi:
Just stumbled across this thread on accident when trying to get to the main cm thread but glad I found it. I am using the new fix you posted and integrated it in to another one of my wifi change builds (which may not even be required anymore from what I think I've been reading). No issues so far and the rotation is nice and snappy. Great work and thanks!
[Epic 4G Android Development] galaxyd700:
How do I get into framework.jar so I can apply this and fix my rotation lag? Please help!!
[Epic 4G Android Development] bgaimur:
You don't have to "get into" anything. It's pretty simple, actually. Just download ES File Explorer on your phone from the market. Be sure to enable Root Explorer + mount /system/ (both of them can be checked from the settings of ES). from there, it's a few simple steps!

Download the file from OP onto computer/phone

Put onto SD card (from computer)

Find the framework.jar you downloaded and highlight it -> cut

go to /system/framework/ and find framework.jar

rename to framework.jar_old

then hit menu button -> operations menu -> paste

reboot
[Epic 4G Android Development] galaxyd700:
Will this work on miui

---------- Post added at 07:35 PM ---------- Previous post was at 07:25 PM ----------

Where do I find /system/framework?
[Epic 4G Android Development] galaxyd700:
Found it!But my system froze up at the boot up
[Epic 4G Android Development] AmericanJedi001:
I doubt it will do anything for those issues. For what it's worth, I haven't had GPS issues for 6-8 months, but my compass has never worked, even with calibration.

I'm glad to hear it works! I suspect the issue was when people were using the flashable .zip that I used. I borrowed it from another fix for another phone, and I think the updater-script imbedded in the .zip was incorrect for my fix. I'm still learning!

I'm glad to hear the fix is working for you! On the topic of WiFi, mine has been stable with the "stock" 12/14 build, you probably don't need to do any hacking. I did appreciate what you did with the 11/24 build though, it helped a lot!

Read my OP or bgaimur's post for the easy fix. Read the 2nd OP for the in-depth fix how-to. Did you not even read the OP to begin with? Pay attention, son.

I have not tested it on MIUI. Considering the fact that MIUI shares code with CM it's possible, but I know very little about MIUI. You can test it and find out for everyone! If it doesn't work, you can probably figure out how to hack the fix by following my directions from the 2nd OP (post below the OP).

Use a root file explorer, such as Root Explorer or ES File Explorer. Alternatively, you could use ADB, but you don't sound very experienced so that might be a bad idea. Before you do anything I would read the first and second posts of this topic, and then search the forums for concepts and techniques you have a hard time grasping.
[Epic 4G Android Development] AmericanJedi001:
Use a file explorer program to navigate to /system/framework and rename your original framework.jar, I suggest framework.jar.backup. Then copy/paste the framework.jar that I provided in the OP.

Be sure you don't overwrite the entire /system/framework directory with the single framework.jar file! I did that once using ADB and had to pull the contents of that directory from the CM7 .zip file, then copy the entire directory and its contents to the phone. It's not a huge deal, but a PITA nonetheless.

When you're done you should have a new /system/framework/framework.jar, and there should be multiple files in the /system/framework directory. If there's not, you screwed up.

If you can't fully boot up to fix it, re-flash the latest EpicMTD CM7 .zip, that should restore the directory to it's "stock" configuration. Then read the contents of this topic a little more carefully and try again! ;)
[Epic 4G Android Development] AmericanJedi001:
Added a flashable .zip to the OP

Completely reorganized the OP to comply with my recommended Topic Outline.
[Epic 4G Android Development] galaxyd700:
Thank you , Thank you, Thank you

Thank you so much for post a .zip for the rotation lag fix... You are the man...there is absolutely no lag at all.
[Epic 4G Android Development] AmericanJedi001:
Thanks, I'm glad to hear it! I guess that means the flashable .zip works. :p
[Epic 4G Android Development] codest3r:
Flashable ZIP worked great for me on 12/19 release of CM7.

Noticable improvement in rotation speed with no ill effect.

Thanks AJ! :)

Sent via Decadent Epic 4G CM7
[Epic 4G Android Development] billyp707:
Works great! The phone should have come like this in the first place!
[Epic 4G Android Development] AmericanJedi001:
I'm glad to hear it! I agree with you, BillyP. Hopefully the CM7 devs will add this fix in a future update.
[Epic 4G Android Development] AmericanJedi001:
The fix has been updated to use framework.jar from the CM7 12/21 release.
[Epic 4G Android Development] || Acer ||:
Anyone test this yet?

Sent from my Samsung Epic using CM7!
[Epic 4G Android Development] AmericanJedi001:
I tested it when I upgraded to the 12/21 build, Acer. Every time I flash CM7 I have rotation lag and must apply the lag fix afterwards. I updated the fix for the reason below:

The framework.jar I pulled and edited from the 12/21 build has a single digit changed from stock CM7 12/21. The flashable .zip is the same file I had earlier with the 12/14 framework.jar, I just updated to the new framework.jar because the file size was bigger than the 12/14 version. Since noobnl said that video overlay had been fixed, it seemed reasonable to me that the changes might have involved framework.jar, and I didn't want my old version to break the overlay fix.

I have never had ill effects from replacing framework.jar with an edited version, whether replacing the file directly or using the flashable .zip. On the contrary, it has always fixed my lag issues--except for when I screwed up the fix, that is!
[Epic 4G Android Development] codest3r:
Update for 12/23 required? :)

Sent via Decadent Epic 4G CM7
[Epic 4G Android Development] AmericanJedi001:
Holy crap, I can't turn my back before there's a new update! I didn't know there was a new one 'til you mentioned it! I'll look into it, thanks for the accidental heads-up.
[Epic 4G Android Development] || Acer ||:
I'd skip this one considering there will be a new build tomorrow

Sent from my Galaxy Tab 10.1
[Epic 4G Android Development] AmericanJedi001:
Yeah, but then I might as well skip

that

one, because there will be another build tomorrow night! ;) But it's already 1:15 am "tomorrow" anyway, so you win.
[Epic 4G Android Development] The_Legendary:
Hello, first I would like to start off saying THANKS Jedi and Chris. I have fixed my rotation lag with this...

Well more of an upgrade. Before I was plagued with a 3-4 second rotation lag when i stumbled upon this.

I was on Legendary rc2.2 and samurai warrior kernel and I decided to decompile and recompile my own

framework.jar and modify it since this was for CM7 which is a big difference. I edited the right line in Chris'

thread and changed Line 54 from 0x3 to 0x0 (which seems much faster then 0x2 or 0x1 which I tried all three).

And after 5 minutes of booting my lag was GONE!!!!! It was actually faster and setting setcpu to deadline

and lagfree 100/1100 was EPIC. I since flashed to selfkang CM7 with samurai Legend kernel and I once

again compiled my own framework.jar (which in this was Line 67 instead like Jedi, which I think is the difference)

from 0x3 to 0x0. And let me say this is the 0% lag with the settings I just described(FOR ME).

I will be posting a guide soon to easily compile your own framework.jar to fix rotation lag. Also I am linking

(these are both my own links and files) both framework.jar's that I (de)recompiled. The file _rc22 for legendary

and _CM7 for CM7. I DON'T guarantee that either of these will work for you, USE AT YOUR OWN RISK

so make sure you backup your old framework.jar before copying one of these to your /system/framework folder.

REMINDER- I used samurai Warrior kernel for RC2.2 and samurai Legend for CM7 so you might want to use these before trying.​

Legendary RC 2.2(samurai warrior)- http://www.mediafire.com/?vjmk9ab83aaeajp

CM7(samurai legend)- http://www.mediafire.com/?9d68f2q4y49b33v
[Epic 4G Android Development] AmericanJedi001:
I'm glad to hear the fix worked for you! You're the first person who has mentioned editing your own framework.jar file, and I think that's awesome too! I was hoping someone would benefit from my tutorial. As to one of the files having the fix located on a different line, I'm not surprised. So far, all the stock CM7 files have had the fix located in the same spot, but other releases will have framework.jar coded differently. Happy hacking!​
[Epic 4G Android Development] AmericanJedi001:
Updated to RC0 framework.jar file.
[Epic 4G Android Development] jpmorris123:
After flashing the RCO version, I noticed the rotation lag fix is still needed.

Thank you for continuing to keep this current.

Do you think the devs will incorporate it into their CM7? Seems obvious.
[Epic 4G Android Development] AmericanJedi001:
Yep, me too! ;)

Yessir, you're welcome!

Noobnl (one of the Epic CM7 devs) actually popped in and said it could be added. IDK if they have the source code to generate framework.jar with the proper setting, or if they'd have to use the same method I use: disassemble, edit, then reassemble. But I haven't heard from 'em since then. I get the impression that they have a prioritized feature / bug list and this fix just hasn't been a high priority. It's easy for those guys, but other, much more important things come first. <deep breath> Man, I'm long-winded (-fingered?)!
[Epic 4G Android Development] rbjem:
Just flahed this and rotation is pretty much instant! Great work!!!
[Epic 4G Android Development] jpmorris123:
Though I have little knowledge of development ... please CM Dev Team ... consider incorporating this fix into the CM framework for Epic 4G. It's a very helpful, but at this point, it must be flashed after every nightly. Thanks
[Epic 4G Android Development] AmericanJedi001:
I agree! Hopefully noobnl will eventually incorporate it.
[Epic 4G Android Development] The_Legendary:
I think you should link my guide in your resources section :)

EDIT: that did sound dirty in a nerdy way :)
[Epic 4G Android Development] || Acer ||:
Yeah, I hope so too. He probably forgot about it honestly. They're working on 4G.

Rofl xD
[Epic 4G Android Development] AmericanJedi001:
Updated to Nightly-10 framework.jar file.
[Epic 4G Android Development] kobby2k6:
Noob here...what program do you use to edit the framework...I read the original post but I need more detailed instructions on how to manually edit it myself...thanks for your work so far...I'm on nightly 21 n trying to learn
[Epic 4G Android Development] AmericanJedi001:
To edit the framework.jar involves a number different steps. Did you read my second post? That is where the majority of the editing specific to this hack can be found. If you need more instructions than that, search the forums for "editing framework.jar" "smali" "baksmali" etc. That's how I learned!

Keep in mind that this hack is not the ideal way to fix rotation lag. The best fix is to flash a TW MTD ROM, then go to [Settings] > [Display] > [Horizontal Calibration]. This fix will persist across ROM flashes, whereas my fix is lost every time you flash a new ROM, including the CM7 Nightlies (they're full ROMs in their own right). Not only that, but once you obtain or create a hacked framework.jar for your ROM, there's no guarantee that that particular version of the file will work for previous or future versions. Using the same framework.jar for different ROM versions will eventually break compatibility and you'll start having bugs. You've been warned! ;)

I need to update the OP, I've just been loathe to do it.
[Epic 4G Android Development] kobby2k6:
Thank you very much...i have updated it and working with nightly 24...it is smooth with ics transition and rotation...i tried the touchwiz way and it still lagged for me (maybe I messed up)...i followed and guide on xda but i figured it thanks to some detailed instruction from you and the guide...

p.s. I can't believe a minor change can some so much difference in rotation..i hope the cm team incorporates this in the future
[Epic 4G Android Development] AmericanJedi001:
See my reply to you in the CM7 Tips thread, and pay special attention to the link I posted there.

Also, see the post two up from here: ^^^ ^^^ (right before yours, actually!) ;)
[Epic 4G Android Development] saramon:
Any chance that I could get a copy of your framework.jar? I can't seem to get it to work when I copy it in and reboot

Edit: Nevermind, I am retarded this morning
[Epic 4G Android Development] AmericanJedi001:
Thread OPs have been significantly revamped to reflect the prefered rotation lag elimination method, and to deprecate the old method that was originally in the OP.
[Epic 4G Android Development] ajf64:
hey guys even better way to do this now since the cwm zip wont flash just replace step 2 with this link and you will be able to update your prls and calibrate your phone when ever you want.

http://epiccm.blogspot.com/2012/01/boot-el30-stock-from-sdcard.html
[Xperia Play General] Dyelon:
Okay so I posted here a week or so ago about how my Xperia Play was epicly failing....it was force closing everything and dying in just hours.

So I factory reset and used Titanium to restore all of my apps and stuff...and so far the crawling speed/force closing has for the most part abated (opening up texts and contacts still sometimes takes forever or force closes)

but the battery issue remains. My battery is absolute garbage at the moment. It drains by 10 percent per half hour if being used or even more!! And it gets hot constantly, and obviously at that time it really sheds the power and dies quickly.

If I'm CHARGING the phone WHILE using it heavily, it WON'T power ABOVE the % it started at!! It stays constant or goes down!!

I'm not sure what to do. Should I let the phone die, keep it off, and charge it while off till its 100%?

Or maybe my phone is approaching the situation it was a week ago...I constantly check the running apps and its the usual suspects, nothing crazy. I had to delete official facebook app because it almost ALWAYS lagged and oftentimes force closed.

It says cell standby is using 40%, wi-fi using about 22%, voice calls 17%, phone idle 15%, and dialer 14%

What happened to my phone? Why is it such a clusterf*ck lately? Any ideas/advice?
[Xperia Play General] 007shark:
Are you leaving wifi on because that will really suck the battery down? Also do you live in an area with bad signal? Put it in airplane mode and see if the battery still discharges as fast.
[Xperia Play General] MegaMettaurX@gmail.com:
My r800x dies in 6 hours whether it's on airplane mode or not. I've re calibrated the battery like 5 times so far, and it just won't get better. I'm regretting moving to verizon to this. I should just get a sim card and go back to my HTC Inspire. I can leave the r800x in idle with the screen off, while in airplane mode and it will still die in 6 hours. It doesn't even last a whole day of work. Mine's also rooted. I need some serious help with this phone.
[Xperia Play General] dannejanne:
Turn off wifi.

If you have it on it will search for wifi networks all of the time (unless you're home and connected to your own wifi) and it will suck your battery dry.
[Xperia Play General] MegaMettaurX@gmail.com:
I don't even use wifi. I don't have access to the router at home, and my data is turned off when I'm not using it.
[Xperia Play General] maddog00:
Perhaps you have a bad battery? Maybe replacing that will solve the issue.
[Xperia Play General] MegaMettaurX@gmail.com:
It could be. Every time I try to check my battery's health, no matter what app I use, or even if I do it from the service menu it reads at "unknown". One app says that my phone doesn't even have a battery stat service, or something along those lines. I was considering just buying one of those mugen batteries for my phone, considering that I brought the issue to verizon's attention, and they told me they were gonna send me a replacement battery, but I never got it. This was all about 2 months ago though.
[Xperia Play General] Insane PPC:
wow, sounds bad. mine will last all day, its an r800x on 2.3.3 as well but i can use it like normal, play about a hour of games on it, talk on it a lot, use wifi and 3g and do some average surfing and it will last at least 24-30 hours...

i'm thinking it must be a bad battery as well
[Xperia Play General] 216Monster:
Im running 2.3.3 verizon from the FTF and my r800x would last almost 3days, and thats with texting/talking/surfing using 3g and playing a shyt load of sonic :D. I would replace the battery with a genuine Sony replacement, dont ever buy a ebay knock off ! Furthermore, I don't believe apps that check your battery health are accurate at all, so dont waste your time.

Best way to check (imo) - Before you charge it up, let it go to 0% and die. Boot recovery and wipe the battery stats, turn the phone on and charge to full. After its fully charged, let it sit 10-15 mins on charge. Then pull of the charge and use normally, if it still dies fast, replace the battery.

If this idea was already posted sorry for double post
[Xperia Play General] MegaMettaurX@gmail.com:
How do I go into recovery? My boot loader is still locked. As much as I want to unlock it to put abc xperia play rom on, I don't want to pay 25 bucks.
[Xperia Play General] paxChristos:
You cannot boot into recovery without an unlocked bootloader
[Xperia Play General] CZroe:
I swapped mine out for similar issues. The replacement doesn't have the same issues yet but I haven't put a single app on it. I can't say that adding apps caused it before because I remember it similarly not getting anywhere when charging while using. I also experienced it dropping while charging but it turned out to be a that the MTP device wasn't starting on the PC so it showed as plugged in and charging even though it wasn't (check the Device Manager). My Alienware M11x actually supports charging devices off that particular USB port when it is turned off so it was a bit hard to figure out when it seemed to charge some times and not others.
[Xperia Play General] MegaMettaurX@gmail.com:
So I got a new battery. Battery life oz still terrible, phone still can't detect battery health.

Not sure why, but my battery voltages are higher than 3.6 :/
[Xperia Play General] Rogue Leader:
Hate to tell you but it sounds like your Play is defective.

The only way it would always get hot like that is if it was always running, that would be mainly driven by being in a REALLY bad service area that its always searching. I have a boatload of games etc on mine and my battery life varies from 2 days to 3/4 of a day depending where I am. Heck my battery life varies as to whether I leave my phone on my desk at work or on the shelf above me (lasts longer on the shelf).

But the fact you said that even in airplane mode it eats the battery, and a new battery didn't do the trick. I would say you got a bad one. Still under warranty I hope?
[Xperia Play General] MegaMettaurX@gmail.com:
i'm not entirely sure. I got mine through verizon in august or september of this year. Not sure if Verizon would handle replacing it, since I didn't buy their extended warranty. I read somewhere that SE themselves can handle it since it's not a year old yet, but my phone is kinda required for work.
[Motorola Droid 3] jorgonv:
IMPORTANT: I stopped this project (lost interest, no time, etc.), so therefore I will NOT be supporting anyone and will NOT be answering questions. Thank you.​

This is a themed version of the Droid 3/XT860 keyboard.

I can't guarantee any results, anything you do to YOUR phone is YOUR responsibility. Though replacing one app will not brick your phone, you never know​

XT862 [Droid 3] Blur Odexed System​

Download and unzip XT862_Blur_odexed.zip

If you still have the stock Blur latinIME.apk then just replace that with the new one.

Set correct permissions (rw-r--r--). You're done so reboot.

But, if you did replace the stock keyboard, put the latinIME.apk and latinIME.odex in /system/app/

Then put libjni_latinime.so in /system/lib/

Set correct permissions for all files

Reboot

XT862 [Droid 3] Blur Deodexed System​

Download and unzip XT862_Blur_deodexed.zip

If you still have the stock Blur latinIME.apk then just replace that with the new one.

Set correct permissions (rw-r--r--). You're done so reboot.

But, if you did replace the stock keyboard, put the latinIME.apk in /system/app/ and put libjni_latinime.so in /system/lib/

Set correct permissions for all files

Reboot

XT860 [Bell] Blur odexed System​

This has not been tested​

Download and unzip XT860_Blur_odexed.zip

If you still have the stock Blur latinIME.apk then just replace that with the new one.

Set correct permissions (rw-r--r--). You're done so reboot.

But, if you did replace the stock keyboard, put the latinIME.apk and latinIME.odex in /system/app/

Then put libjni_latinime.so in /system/lib/ (<--- I Don't have this lib in the zip, can someone upload it for me?)

Set correct permissions for all files

Reboot

If anyone has a rom based on the Droid 3 [XT862] (MavROM, DarkDroid, Liberty etc.) then follow the XT862 Blur Deodexed directions and replace all three files.

Other variants (XT883, etc.) follow the XT862 directions

If this doesn't work for you, let me know.​

Note: These zip files are NOT flashable

And as always, backup your files​

It has become apparent that this is not working for many people, and I don't know why because it is working perfectly for me. Anyways, I advise you not to try this unless you have a backup of your original files and if you can get your orig. keyboard back.​
[Motorola Droid 3] jorgonv:
This spot is taken......:D
[Motorola Droid 3] dco717:
How to get to work with mav rom??
[Motorola Droid 3] jorgonv:
try this. just rename to latinIME.apk and replace the original, set permissions
[Motorola Droid 3] dco717:
Tried it but its not working
[Motorola Droid 3] Jerminator617:
I'm on liberty rom and I've replaced the apk for the keyboard with the new one, and set permissions and it didn't work so I also went ahead and pasted the library file too and it still isn't working

What could I be doing wrong?
[Motorola Droid 3] Jason Roach:
Cant get it to work ugh

Sent from my stock rooted D3
[Motorola Droid 3] jorgonv:
I'll be looking at this tonight. Hopefully with a solution

has this worked for anyone?
[Motorola Droid 3] skankhush:
Can't get this to work. Does owner and group need to be root? I changed that also but still nothing. And i can't get my old keyboard back either, so i'm stuck with using the slide out. I'm really a noob at this, but shouldn't the LatinIME show up as a installed app? If it is, how do i add it back?

Im using safestrap version of steeldroid3
[Motorola Droid 3] jorgonv:
Just take the latinIME.apk from the steeldroid.zip and put those files back.

Im trying to figure out why this isn't working
[Motorola Droid 3] skankhush:
I got it working. Wiped data and all is good now.
[Motorola Droid 3] DaXmax:
Can anyone make it work on other phones??
[Motorola Droid 3] jorgonv:
Did you try any of the files? It should work because I don't think there are any proprietary moto files, but im not sure
[Motorola Droid 3] DaXmax:
I will try...
[Motorola Droid 3] DaXmax:
It never work... Is it themed?? Can u theme for the Cyanogen's??
[Motorola Droid 3] amaroth:
I'm not sure which one to try.. All I know is my D3's got CM7 going on in it.

Will this work with CM7? Which one do I use??
[Motorola Droid 3] MikeIsCore:
Im anxious for an answer to this one as well! Would love to have this on my Inspire running CM7