1. Download our Official Android App: Forums for Android!

Root MIUI port questions

Discussion in 'Android Devices' started by JollyRoger87, Sep 18, 2011.

  1. JollyRoger87

    JollyRoger87 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    403
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    403
    85
    53
    UPS
    Phoenix, Az
    Many of you including myself have toyed with the andro-id rom and found it to work quite well. I was doing some wandering this even/morning and stumbled across the forum where that rom originates from and found out that a MIUI port was released for that same phone a few days back on the 15th! givin that the two phones are so similar what would be the odds of using that port to port it to our triumphs?

    I tried to run the rom myself but was getting installation errors while attempting so I gave up. but you guys could always try for yourself

    Masuk

    Currently I'm trying to contact tjstyle to see if he'd be willing to help
     

    Advertisement

  2. nashti13

    nashti13 Member
    Rank:
    None
    Points:
    16
    Posts:
    62
    Joined:
    Jul 31, 2011

    Jul 31, 2011
    62
    6
    16

    Hmm im not really a developer but I will take a look
     
  3. Chingling

    Chingling Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    439
    Joined:
    Aug 28, 2011

    Aug 28, 2011
    439
    90
    53
    Nerd
    Antarctica
  4. JollyRoger87

    JollyRoger87 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    403
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    403
    85
    53
    UPS
    Phoenix, Az
  5. rukin5197

    rukin5197 Android Enthusiast
    Rank:
    None
    Points:
    163
    Posts:
    623
    Joined:
    Sep 2, 2011

    I'm not much of a developer, but i have some basic knowledge. Could you provide some information as to the forum for the port? I love miui and would love to take a crack at this :)
     
  6. apsterling

    apsterling Member
    Rank:
    None
    Points:
    18
    Posts:
    68
    Joined:
    Mar 23, 2011

    Someone could recompile the update ZIP for the Triumph. It pulls a getprop and sees that we're not the FB0 but we are.
     
  7. Manicor

    Manicor Newbie
    Rank:
    None
    Points:
    16
    Posts:
    26
    Joined:
    Apr 1, 2011

    Apr 1, 2011
    26
    6
    16
    I still use the Andro-Id rom sometimes! Love it! With wifi of course.
     
  8. JollyRoger87

    JollyRoger87 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    403
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    403
    85
    53
    UPS
    Phoenix, Az
    Woo hoo the newest version is very much like andro-id. Boots runs beautifully and calling works. No cam or data but its pretty solid! Damn this is nice!
     
  9. isaacj87

    isaacj87 Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,139
    Joined:
    Dec 17, 2010

    Dec 17, 2010
    1,139
    1,793
    313
    Full-time college student
    Dallas, TX
    I've managed to decompile framework from the MIUI. Since CM7 and MIUI are both 2.3.5 based (and if I'm not mistaken, MIUI uses some CM7 code as well), I should be able to code in the changes from CM7 into MIUI's framework and get 3G going.

    Should I get RIL functional on MIUI, I'll try my best to keep up my "builds" current with the latest MIUI release. I've already fixed the keymapping issue.

    Rumor has it that MIUI will release their sources after their MIUI-based phone is released. Let's hope that's true. It'll make everything SO much easier.
     
  10. JollyRoger87

    JollyRoger87 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    403
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    403
    85
    53
    UPS
    Phoenix, Az
    Isn't key mapping strictly from the kernel? If thats the case then fixing key mapping on later builds ought to be easy because couldn't you theoretically just drop the old kernel in place...

    It's funny I was actually thinking yesterday and was going to ask you how much of the CM7 code was likely to work here.

    At first glance how much is looking to be compatible?
     
  11. isaacj87

    isaacj87 Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,139
    Joined:
    Dec 17, 2010

    Dec 17, 2010
    1,139
    1,793
    313
    Full-time college student
    Dallas, TX
    That's correct. The only problem is all MT kernels being built right now are VMSPLIT 2G. You'll have to build a new kernel to support VMSPLIT 3G. You're more than welcome to try another kernel.

    So far it looks ok. The program I'm using managed to decompile frameworks into something fairly readable. I was really impressed.

    There shouldn't be any reason the RIL code from CM7 won't work. I just have to be choosy.
     
  12. StaticMaal

    StaticMaal Android Enthusiast
    Rank:
    None
    Points:
    68
    Posts:
    315
    Joined:
    Nov 21, 2010

    Nov 21, 2010
    315
    155
    68
    Hacking Android Phone
    Raleigh,NC
    I'm trying to install this version of it
    [Rom][WIP] MIUI Wifi Only (buttons reversed) - xda-developers
    I keep getting
    assert failed: getprop("ro.product.device")=="fb0" II getprop("ro.build.product")==fb0"

    I even changed that and resigned it but i keep getting that error. I am also on the newest recovery CWM-based v5.0.2.3 by isaac.
    I did a full wipe with a system format.
    What am i doing wrong?
     
  13. JollyRoger87

    JollyRoger87 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    403
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    403
    85
    53
    UPS
    Phoenix, Az
    you need the OLD/first CWM the triumph got... I believe its 4.0.0.9

    The newer recoveries wont flash it
     
  14. JollyRoger87

    JollyRoger87 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    403
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    403
    85
    53
    UPS
    Phoenix, Az
    Why must you be choosy?
     
  15. isaacj87

    isaacj87 Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,139
    Joined:
    Dec 17, 2010

    Dec 17, 2010
    1,139
    1,793
    313
    Full-time college student
    Dallas, TX
    WOOOHOOO!

    I did it. 3G is finally up! Will put up a testable version soon :)

    EDIT: I need to re-pull the whole Android source to fix some things. That'll take me a good couple hours. I'll post a test build hopefully tomorrow.
     
    Kwyp, apsterling and punkmaxx like this.
  16. punkmaxx

    punkmaxx Android Enthusiast
    Rank:
    None
    Points:
    88
    Posts:
    475
    Joined:
    Aug 23, 2011

    Aug 23, 2011
    475
    291
    88
    Male
    Music Producer, Arborist, General Contractor
    West Virginia
    sweeeet miui!!!!
     
  17. isaacj87

    isaacj87 Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,139
    Joined:
    Dec 17, 2010

    Dec 17, 2010
    1,139
    1,793
    313
    Full-time college student
    Dallas, TX
    It is very smooth. There are some oddities I'm trying to iron out, but I don't really have the source so I'm just working with what I got. Here's some screenies:

    [​IMG][​IMG]
     
    GaryMachete and joeybillz like this.
  18. joeybillz

    joeybillz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 23, 2011

    Aug 23, 2011
    3
    0
    5
    To be honest all I need is 3g and i'll be set for a while. I mean cm7 was nice. But all i wanted was this. I'm so very excited. I flashed it an hour ago and I'm loving MIUI.
     
  19. apsterling

    apsterling Member
    Rank:
    None
    Points:
    18
    Posts:
    68
    Joined:
    Mar 23, 2011

    What's up for fixing? I noticed on the "straight-flash" almost everything was broken, but it sounds like almost everything works for the ideos models, so theoretically you could be mostly fixed, right?

    Either way I'm really excited to get my hands on this tomorrow (hopefully). Thanks a ton (again) for everything you've done (and keep doing) for the development on this phone.
     
  20. isaacj87

    isaacj87 Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,139
    Joined:
    Dec 17, 2010

    Dec 17, 2010
    1,139
    1,793
    313
    Full-time college student
    Dallas, TX
    Yeah, I started with the X6 MIUI "port" from tjstyle. I decompiled frameworks and included RIL/3G support (plus our libs, which didn't seem to matter) and recompiled it. GPS is broken, oddly enough, but I already have a fix for that. Also, auto-brightness isn't working so I need to figure out what to decompile to fix that. The carrier label says "ROAMING INDICATOR OFF" even though it's fully connected to Virgin and I need to fix MMS. MMS is almost fixed. It sends a blank message and then I get something back from the network complaining about something. So, I'm close.

    I'll also need to repackage everything (update the updater-script) to get it to flash with our recoveries.
     
    apsterling and godbilla like this.
  21. JollyRoger87

    JollyRoger87 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    403
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    403
    85
    53
    UPS
    Phoenix, Az
    Any reason why this rom shows us as having more ram than any other so far?
     
  22. isaacj87

    isaacj87 Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,139
    Joined:
    Dec 17, 2010

    Dec 17, 2010
    1,139
    1,793
    313
    Full-time college student
    Dallas, TX
    It's not. It's just giving the specs of the phone. If you look in settings, it's only giving the userspace about 350 megs to play with. This is the same with CM7.
     
  23. GaryMachete

    GaryMachete Newbie
    Rank:
    None
    Points:
    16
    Posts:
    21
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    21
    2
    16
    this is great, I'm super excited to flash this, its been far too long without Miui, I was getting close to ordering the xaomi phone lol
     
  24. isaacj87

    isaacj87 Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,139
    Joined:
    Dec 17, 2010

    Dec 17, 2010
    1,139
    1,793
    313
    Full-time college student
    Dallas, TX
    I'm really liking MIUI, I'd like to bump it up to the latest build (1.9.23), but I don't have all the changes TJ made to 1.9.9. If he updates to the latest, I'll follow suit for us. If not, I'm still going to take a crack at it.

    I was planning on putting something up today, but today's my birthday and I'm probably going to be better friends with beer/cake/gifts/my woman today than with my laptop. ;)

    I've got some time for it tomorrow though. Check this section! I'll make a new thread for it.
     
  25. apsterling

    apsterling Member
    Rank:
    None
    Points:
    18
    Posts:
    68
    Joined:
    Mar 23, 2011

    Any chance I can get a demo of it? I'm digging the non 3g build I've got so far in the evenings, but I don't mind broken stuff if I can get a bit of a chance to help dig in. :p
     

Share This Page

Loading...