FORUMS

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

[ROM][4-1-2012] AOSP MIUI V4 (Beta 3) (Discontinued) [ICS]

668 posts
Thanks Meter: 149
 
By jspina, Senior Member on 30th March 2012, 01:35 AM
Post Reply Subscribe to Thread Email Thread
30th March 2012, 11:33 AM |#21  
jspina's Avatar
OP Senior Member
Flag porter ranch
Thanks Meter: 149
 
Donate to Me
More
Quote:
Originally Posted by placebo73

Thanks for your reply and file...But i only want to know wich lines in the smali in need to edit..Because i am trying to port another non miui aokp rom with the same bug to my desire Z

regards

Hmmm not too sure because that was all that I needed to do(I took the file from another rom). You could probably do the same if you know of a similar rom with rotation fixed.
Thanks wujxin!
Last edited by jspina; 30th March 2012 at 11:51 AM. Reason: to make more sense
 
 
30th March 2012, 11:49 AM |#22  
wujxin's Avatar
Member
Thanks Meter: 10
 
More
Quote:
Originally Posted by placebo73

Thanks for your reply and file...But i only want to know wich lines in the smali in need to edit..Because i am trying to port another non miui aokp rom with the same bug to my desire Z

regards

ajhavery said this in his post :


decompile android.policy.jar and in android.policy.jar\smali\com\android\internal\poli cy\impl\PhoneWindowManager.smali



.line 109x (x may be any no.)
const/4 v1, 0x1
CHANGE TO
.line 109x
const/4 v1, 0x0

ORIGINAL
.line 109(x+2)
const/4 v1, 0x0
CHANGE TO
.line 109(x+2)
const/4 v1, 0x1
The Following 2 Users Say Thank You to wujxin For This Useful Post: [ View ]
30th March 2012, 12:08 PM |#23  
Junior Member
Flag Tilburg
Thanks Meter: 7
 
More


---------- Post added at 01:08 PM ---------- Previous post was at 12:49 PM ----------

Quote:
Originally Posted by wujxin

ajhavery said this in his post :


decompile android.policy.jar and in android.policy.jar\smali\com\android\internal\poli cy\impl\PhoneWindowManager.smali



.line 109x (x may be any no.)
const/4 v1, 0x1
CHANGE TO
.line 109x
const/4 v1, 0x0

ORIGINAL
.line 109(x+2)y
const/4 v1, 0x0
CHANGE TO
.line 109(x+2)
const/4 v1, 0x1

Thanks so much for your reply...never found that fix.
I Will try this out...

Have a nice day
Last edited by placebo73; 30th March 2012 at 12:10 PM.
30th March 2012, 12:18 PM |#24  
Senior Member
Thanks Meter: 260
 
More
It doesn't fix the "auto rotation off" bug though... also got that problem with my ROM
30th March 2012, 12:26 PM |#25  
MarkyG82's Avatar
Senior Member
Thanks Meter: 96
 
More
Ta muchly. Ill get on the d'load and have a play over the weekend.

Ill let you know my thoughts compared to aj's and wez's ports. You're all using different bases so it'll be interesting to see the difference.

Sent from my HTC Desire Z using xda premium
The Following User Says Thank You to MarkyG82 For This Useful Post: [ View ]
30th March 2012, 12:33 PM |#26  
Senior Member
Thanks Meter: 84
 
More
This rom is amazing!! Definitely DD. Thanks so much!!!

GAH! Of course when I want to download this, they're website is down. Nnnoooooo!!!
Last edited by nickeedoo; 30th March 2012 at 12:38 PM.
30th March 2012, 01:07 PM |#27  
Junior Member
Flag Tilburg
Thanks Meter: 7
 
More
Still no luck, cant find that specific lines in the smali that are posted...or maybe i am missing something ....Thanks SnowOokami for the info,hope you fix your rom soon

edit: found the specific lines in the miui policy.jar but not in the smali i want to edit

thanks for all your help guys...Regards
Last edited by placebo73; 30th March 2012 at 01:18 PM.
30th March 2012, 01:57 PM |#28  
maus01's Avatar
Senior Member
Thanks Meter: 7
 
More
someone post a mirror please

Sent from my HTC Desire Z using XDA
30th March 2012, 02:22 PM |#29  
Senior Member
Thanks Meter: 84
 
More
Uploaded! Here it is! If you guys can't use mediafire, I'll put it somewhere else.

http://www.mediafire.com/?b4aemk6zihkqel7
Last edited by nickeedoo; 30th March 2012 at 03:15 PM.
The Following 3 Users Say Thank You to nickeedoo For This Useful Post: [ View ]
30th March 2012, 05:24 PM |#30  
Senior Member
Thanks Meter: 127
 
More
Cracjing from, the smoothest miui v4 I've used so far

Sent from my Desire Z using xda premium
The Following User Says Thank You to shure2 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes