Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 2 of 2 FirstFirst 12
Results 26 to 45 of 45
Like Tree12Likes
  1. #26  
    Nate456's Avatar

    Posts
    463 Posts
    ROM
    Stock, CM10, AOKP

    Default

    Bump

    Sent from my Droid using Tapatalk 2
  2. #27  
    RyanJKremer's Avatar

    Posts
    155 Posts
    ROM
    Always changing!

    Default Re: [GUIDE] How I port

    Quote Originally Posted by rukin5197 View Post
    For MIUIv4, for phone FC, I had to decompile the framework.jar in /system/framework (for both BASE and PORT) and go to com/internal/android/telephony/cdma and replace all the files with the ones from BASE.
    What method are you using to decompile framework.jar? I'm trying to use the jadclipse plugin with Eclipse to decompile, but I am new to Eclipse and coming up with no good help on the Google. Am I over-complicating this?

    As a side-note, I am using Ubuntu 12.04. All of the windows-based java-class decompilers are less-helpful for me.

    Thank you for any help you can offer.
    If I made your day a little better, feel free to tap that thanks button!

    "That's what I said!"
  3. #28  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: [GUIDE] How I port

    Quote Originally Posted by RyanJKremer View Post
    What method are you using to decompile framework.jar? I'm trying to use the jadclipse plugin with Eclipse to decompile, but I am new to Eclipse and coming up with no good help on the Google. Am I over-complicating this?

    As a side-note, I am using Ubuntu 12.04. All of the windows-based java-class decompilers are less-helpful for me.

    Thank you for any help you can offer.
    Here is how I would work with the jar files for porting if I decompiled anything it Linux.

    first unzip the jar file, in this case framework.jar
    Code:
    unzip -q framework.jar classes.dex
    next decompile the classes.dex using a baksmali.jar and set the api level to o/s version.
    Code:
    java -Xmx512m -jar baksmali.jar -a 10 classes.dex
    Replace the files needed and compile and compress a smali.jar is used to compile.
    Code:
    java -Xmx512m -jar smali.jar -a 10 out -o classes.dex
    zip -r -q framework.jar classes.dex
    Thanked by:
  4. #29  
    RyanJKremer's Avatar

    Posts
    155 Posts
    ROM
    Always changing!

    Default

    Thanks for the quick reply! Looks like I've got some learning to do! I'll google my way through these steps and see where I get.

    Sent from my LG-VM670 using Android Central Forums
  5. #30  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: [GUIDE] How I port

    Quote Originally Posted by RyanJKremer View Post
    Thanks for the quick reply! Looks like I've got some learning to do! I'll google my way through these steps and see where I get.

    Sent from my LG-VM670 using Android Central Forums
    No problem

    Just a note I would not use apktool.jar to decompile a jar file, it is better to unzip it and use a baksmile.jar/smaile.jar to decompile the classes.dex and zip it back up. That way if the jar is signed, the META-INF is not messed with.
    Of course the only time I use baksmile.jar/smaile.jar apktool.jar is with my Cygwin built tool. I'm adding a porting function for LeWa and MIUIv4 ROMs.
    Thanked by:
  6. #31  

    Default

    Apktool is different in Linux?

    Or is it different commands/

    Sent from my LG-VM670 using Tapatalk 2
  7. #32  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: [GUIDE] How I port

    Quote Originally Posted by ThatGuyLurkin View Post
    Apktool is different in Linux?

    Or is it different commands/

    Sent from my LG-VM670 using Tapatalk 2
    The command are the same for the most part if using the jar file with out the script or batch file.
    Thanked by:
    sammyz 
  8. #33  
    34
    34 is offline
    34's Avatar

    Posts
    30 Posts
    Global Posts
    31 Global Posts

    Default Re: [GUIDE] How I port

    Do the processors of the two devices have to be an exact match?
  9. #34  
    Nate456's Avatar

    Posts
    463 Posts
    ROM
    Stock, CM10, AOKP

    Default

    Quote Originally Posted by 34 View Post
    Do the processors of the two devices have to be an exact match?
    I don't think so because I ported backside to my droid with few problems.

    Sent from my Shole using Tapatalk.
    sammyz likes this.
  10. #35  
    34
    34 is offline
    34's Avatar

    Posts
    30 Posts
    Global Posts
    31 Global Posts

    Default Re: [GUIDE] How I port

    OK, thanks. Will I have problems with my phone's resolution?
  11. #36  
    brotherswing's Avatar

    Posts
    546 Posts
    ROM
    BACKside, TMU Bugless

    Default

    I'm curious too, there's an appalling lack of development for my wife's WFS, and I've thought about trying to port BACKside to it.

    thus he spake.
  12. #37  
    Nate456's Avatar

    Posts
    463 Posts
    ROM
    Stock, CM10, AOKP

    Default

    Quote Originally Posted by 34 View Post
    OK, thanks. Will I have problems with my phone's resolution?
    Just the boot animation.





    Quote Originally Posted by brotherswing View Post
    I'm curious too, there's an appalling lack of development for my wife's WFS, and I've thought about trying to port BACKside to it.

    thus he spake.
    Development for the Droid is almost dead that's why I ported it and CyanogenMod didn't have the customiazation like backside.

    Sent from my Shole using Tapatalk.
  13. #38  

    Default

    Quote Originally Posted by brotherswing View Post
    I'm curious too, there's an appalling lack of development for my wife's WFS, and I've thought about trying to port BACKside to it.

    thus he spake.
    You could do that in 10 minutes. MDPI device makes it easy

    Sent from my LG-VM670 using Tapatalk 2
  14. #39  
    jonny5449's Avatar
    AC Citizen

    Posts
    2,571 Posts
    ROM
    Cm7/Cm9/Cm10

    Default

    Quote Originally Posted by brotherswing View Post
    I'm curious too, there's an appalling lack of development for my wife's WFS, and I've thought about trying to port BACKside to it.

    thus he spake.
    U could probably do it easily another mdpi device =easy

    Looking for good cm9 or cm7 themes??? visit this site for good themes. http://forum.digitalhouseoftreats.com/
  15. #40  
    brotherswing's Avatar

    Posts
    546 Posts
    ROM
    BACKside, TMU Bugless

    Default

    I probably will, once I get caught up on everything. Kids, work, making themes, and running DHoT keeps me pretty busy!

    thus he spake.
    Thanked by:
  16. #41  
    sammyz's Avatar

    Posts
    825 Posts
    ROM
    OV:quattrimus OM:BACKside

    Default Re: [GUIDE] How I port

    Quote Originally Posted by Nate456 View Post
    Development for the Droid is almost dead that's why I ported it and CyanogenMod didn't have the customiazation like backside.

    Sent from my Shole using Tapatalk.
    I should of did that for my step brother's droid.....
  17. Thread Author  Thread Author    #42  
    rukin5197's Avatar

    Posts
    1,107 Posts
    ROM
    MIUIgb | AOKP

    Default

    Quote Originally Posted by brotherswing View Post
    I probably will, once I get caught up on everything. Kids, work, making themes, and running DHoT keeps me pretty busy!

    thus he spake.
    All honesty I would build from Jerry's git. Just throw in the wfs device/vendor folders and mess with the code a bit and compile. It will have all the features as backside. This will be better than porting, but porting will be easier alas

    Sent from my PC36100 using Tapatalk 2
  18. #43  
    brotherswing's Avatar

    Posts
    546 Posts
    ROM
    BACKside, TMU Bugless

    Default

    Quote Originally Posted by rukin5197 View Post
    All honesty I would build from Jerry's git. Just throw in the wfs device/vendor folders and mess with the code a bit and compile. It will have all the features as backside. This will be better than porting, but porting will be easier alas

    Sent from my PC36100 using Tapatalk 2
    If I do actually pursue this, that's how I would do it.

    thus he spake.
  19. #44  
    brotherswing's Avatar

    Posts
    546 Posts
    ROM
    BACKside, TMU Bugless

    Default

    Okay, I didn't. But I want to. I just think it would run better. Until I do, I tried this. It works as advertised, thank you! Now I need to figure out all the bugs. That shouldn't be to hard, just time consuming.

    thus he spake.
    Thanked by 2:
  20. Thread Author  Thread Author    #45  
    rukin5197's Avatar

    Posts
    1,107 Posts
    ROM
    MIUIgb | AOKP

    Default

    Glad to know this old baby still works

    Sent from my PC36100 using Tapatalk 2
Page 2 of 2 FirstFirst 12

Posting Permissions