Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jspina
Old
(Last edited by jspina; 30th March 2012 at 11:51 AM.) Reason: to make more sense
#21  
jspina's Avatar
Senior Member - OP
Thanks Meter 149
Posts: 668
Join Date: Jun 2011
Location: porter ranch

 
DONATE TO ME
Quote:
Originally Posted by placebo73 View Post
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!
If you have found what I said to be helpful in any way be sure to hit the thanks button below!

acting history- http://www.imdb.com/name/nm1465268/ Its been a while but i have been in a bit.



Phones
Tmobile galaxy note II: current and rooted with the force
G2/desire z: Rooted/loved then, passed down to little brother
HTC Sensation: brothers phone/ hacked/and updated by me
Tmobile Galaxy S II: Sisters phone Rooted and updated by me then unrooted by me
 
wujxin
Old
#22  
wujxin's Avatar
Member
Thanks Meter 10
Posts: 55
Join Date: Jan 2011
Quote:
Originally Posted by placebo73 View Post
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: [ Click to Expand ]
 
placebo73
Old
(Last edited by placebo73; 30th March 2012 at 12:10 PM.)
#23  
Junior Member
Thanks Meter 7
Posts: 23
Join Date: May 2010
Location: Tilburg


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

Quote:
Originally Posted by wujxin View Post
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
 
SnowOokami
Old
#24  
Senior Member
Thanks Meter 250
Posts: 1,011
Join Date: Mar 2011
Location: Utrecht
It doesn't fix the "auto rotation off" bug though... also got that problem with my ROM
Current Rom: Stock Xperia .75
Launcher: Stock Xperia
Radio: Stock
Recovery: none
Kernel: Stock
CPU: fast
 
MarkyG82
Old
#25  
Senior Member
Thanks Meter 61
Posts: 666
Join Date: Oct 2010
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: [ Click to Expand ]
 
nickeedoo
Old
(Last edited by nickeedoo; 30th March 2012 at 12:38 PM.)
#26  
Senior Member
Thanks Meter 77
Posts: 401
Join Date: May 2010
This rom is amazing!! Definitely DD. Thanks so much!!!

GAH! Of course when I want to download this, they're website is down. Nnnoooooo!!!
TMobile G1 with Froyo by Laszlo - Retired (I had 3 of these)
TMobile G2 with custom-cooked Miui v4 - Retired
Inspire 4G with Ice Cold Sandwich 8.7 - Retired
White AT&T One X with Cyanogenmod 10.1 Nightly
 
placebo73
Old
(Last edited by placebo73; 30th March 2012 at 01:18 PM.)
#27  
Junior Member
Thanks Meter 7
Posts: 23
Join Date: May 2010
Location: Tilburg
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
 
maus01
Old
#28  
Member
Thanks Meter 2
Posts: 54
Join Date: Mar 2011
someone post a mirror please

Sent from my HTC Desire Z using XDA
 
nickeedoo
Old
(Last edited by nickeedoo; 30th March 2012 at 03:15 PM.)
#29  
Senior Member
Thanks Meter 77
Posts: 401
Join Date: May 2010
Uploaded! Here it is! If you guys can't use mediafire, I'll put it somewhere else.

http://www.mediafire.com/?b4aemk6zihkqel7
TMobile G1 with Froyo by Laszlo - Retired (I had 3 of these)
TMobile G2 with custom-cooked Miui v4 - Retired
Inspire 4G with Ice Cold Sandwich 8.7 - Retired
White AT&T One X with Cyanogenmod 10.1 Nightly
The Following 3 Users Say Thank You to nickeedoo For This Useful Post: [ Click to Expand ]
 
shure2
Old
#30  
Senior Member
Thanks Meter 36
Posts: 481
Join Date: Jun 2008
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: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...