Friday, 5 May 2017

[Guide] MTK Sprout Porting Guide - Port Android One ROMs To MT6582/92 [FULL GUIDE WIth Fixes]

Hello Friends, Today i am Going to Share an Guide to Port MTK ROMs From Sprout To generic MT6582/92. This is Best Guide For Sprout ROM Porting Which Includes All The Fixes For all Commmon Issues Which you Will Face After Booting Into ROM.Sprout ROM Porting Guide Involves Fixes Such As RIL FIX,GPS Fix,2nd SIM and Hotspot Fixes and Many More.SO Without Wasting Much Time Here is Full Guide:-


Note= If You Want to Port CM Based ROM Then You Must have to Use CM As Your Base ROM (For E.g= To Port AOKP/RR/AICP You can Use CM13 as Base).

Thanks To/Credits:-

Don’t forget to give credits Whenever You PORT Any Sprout ROM :-

  1. Suraj Lad (Gathered All Fixes For Sprout Bug Fixing And For RIL FIX)
  2. Yazad Madan And Kishan P Patel (for figuring and making common guide - You can Check it out Here )
  3. Fire855 - For His Awesome Work in MTK (CM11/12/12.1/13/14)
  4. All Sprout Developers 
  5. And You :)

SPROUT PORTING GUIDE:-


  1. Copy All FIles in System/lib/HW Folder From Base ROM to Sprout ROM 
  2. Copy And Replace All CM13 Xport Libs Except libAndroid,libAndroidServer,libandroidruntime,libweb* in Sprout ROM 
  3. Now Copy All Bins From Sprout and Paste it Base ROM, It Will ask to Replace That Time Skip Them And Now Copy All Bins From Base ROM and paste it in Sprout ROM.
  4. Now Copy Folders Such As Usr , Vendor , Xbin From Base ROM To Sprout ROM.
  5. Copy Folders such as Bluetooth,Firmware,Security and WIFI From Etc Folder From Base ROM to Sprout ROM.
  6. Copy Files Such As Media_codecs*.xml , spn-conf.xml,apn-conf,agps_conf From Base ROM And paste It In Sprout ROM
  7. Finally Copy META-INF Of Base ROM to Sprout ROM
  8. In Boot.img,Extract Boot.img And Copy Init.environ.rc  From Sprout ROM To base ROMs Boot.img And Repack The Boot.img. 
  9. Now Repack The Sprout ROM To AnyFILENAME.Zip And Flash It

If You Followed All Steps Properly,It Should Boot into ROM With Some Bugs To Fix Them Follow The Following Fixes And Repack And Flash.


========================
BUG Fixes in PORTING
========================

NOTE:- For BugFixes I Suggest to Keep WinMerge And TickleMyAndroid Softwares in Your PC Those Helps a lot.

1) Fix 2nd SIM And Implement MTK RIL :-
  • Extract Telephony_common.jar Of Both ROMs and Replace MediaTekRIL From CM to Sprout + 2 Lines in Build.prop.
    2 Lines are :- 

ro.telephony.ril_class=MediaTekRIL


    ro.telephony.ril.config=fakeiccid

    • Also Replace Smalies like SIMRecords, UICCCard1 , UICCCard2 , UICCCard , Subscriptioninfoupdater From Telephony --> No Sim FIX

    2) Fix RIL in AOSP ROMs [COMPLICATED]


    Extract Telephony_common Of Both ROMs ( Take Base as AOSPA ) And Merge Vacant Spaces in Files Accordingly.
    • Phone.smali 
    • PhoneBase.smali  
    • PhoneFactory.smali  
    • PhoneProxy.smali 
    • RIL$1.smali  (1 Line Only )
    • RIL$2.smali  (1 Line Only )
    • RIL$RILReceiver.smali  (All)
    • RIL.smali  
    • SubscriptionInfoUpdater.smali (All)

    Now In Uicc Folder Merge Everything In Following Smalis
    • UiccCard.smali
    • UiccCard$2.smali
    • SIMRecords.smali
    • IccCardProxy.smali

    Now to Fix USSD :- 
    • In Uicc Folder 
    • Gsmphone.smali ( add onUssdFinished Method ( Compare DU Tele) )
    • Now Add mtkRil And SProut RIL(if Not Added previously) and Repack Telephony And Add two MtkRIL lines in Build.prop ( of fakeiccd )

    3) AutoRotation Fix And Hotspot Fix:- 

    For AutoRotation:-
    Extract Framework-res.apk, Values> Bool ( <Boot>Rotation Sensor= true) 

    For Hotspot:- 
    Extract Framework-res.apk, Values> arrays( <arrays>wlan Change To ap ) 

    4) For FM RADIO Fix :- 

    • Copy All LibFm* , LibMediaplayer , libmtkplayer , libaudioflinger 
    • Copy Mediaplayer.smali ( From CM or AOSP based ROM )  ( If PORT ROM Is CM Based Then take All From CM Based ROM Else If Its AOSP based Then Take libs form AOSP ROMs)
    • Copy FM Radio app From Any Other Working ROM and Add it in Your ROM (System/Apps)

    5) Fix Home Button To Show Recent And Back Lit Of Buttons

    Decompile framework-res.apk And Go To Values And Add Following Lines

    To Show Recent:- 
    <integer name="config_longPressOnHomeBehavior">1</integer>

    For Backlit:- 
    <bool name="config_button_brightness_support">true</bool>

    6) GPS Fix 
    • Delete libmnlp in xbin
    • add libmnl and libcurl in libs From Your Base ROM
    • Replace mtk_agpsd in bin
    • remove all gps.**.so in hw leaving only gps.mtxx.so

    That All Forks For Now, Happy Porting Dont Forget To say Thanks And If You Have Any Doubts Or Queries, Do Ask Them In Our Comment Section And Visit Again For More Tech Tips and Tricks.

    Saturday, 22 April 2017

    Ryzen PC Build - 63K Gaming PC [ Build Guide ]

    Hello Friends, If You are Planning To Get New PC Assembled In Budget Of Roughly 60K-65K Then You Are At Correct Place. here are Top Favorable Components For Beast Gaming PC. This PC Can Play Every AAA Titles Till Now in High-Ultra Settings at 50+ Fps For sure. If You Have Lower Budget Like 40k Or 50K Then Do Comment Below I will Suggest alternative Components which Will Cut Down total cost and will also provide good performance.

    So Let's Get Started :-

    CPU :-



    RYZEN CPU's are Bang For Bucks Right Now, They are Giving Superior Performance at Very Affordable Price tag.I selected Ryzen R5 1600x Here As It Has 4 Cores and 8 Threads which Will Not Only Help You In Gaming But also Will Be Very Good for Content Creation (Like Video/Image Editing, Rendering etc).

    However If You Are Intel Freak, You Can Go With Core I5 7500 Which will cost approx same But Do Note I5 7500 is 4 Cores / 4 Threads Processor.

    Motherboard :-



    Since We Arr Going With AMD Ryzen R5, We have to Get Motherboard Having AM4 Socket Hence I am Going With Gigabyte B350M Motherboard, It is Decent Motherboard With Price of Rs.8000. The Motherboard Does Support Overclocking As well.

    However If You are Going with Intel CPU Then You Can Get Gigabyte B250M-D2V Motherboard Or else MSI B250M-PRO VH Will also Work Well.

    GPU :-

    ASUS RX470 Strix Edition = Rs.16,800


    GPU is Heart of Any Gaming Pc Build Which also Costs Most Of Times Higher Than any Components in Systems.For Our Build I would Suggest to Go With AMD RX470 4GB Version Or Else If You Are Getting RX480 in About Same or Little bit High Cost Then Go with RX480.

    Both RX470/480 Are Great Cards, They Have Stunned PC Market When They Got Launched, RX480 Is Definitely Big Brother To 470 , But Do Note 470 is Trimmed Down Version Of 480 Hence If You have Less Budget or strict on Budget Adding RX 470 Rather Than RX480 Will Not Be Big Mistake.

    RAM :-

    CORSAIR VENGEANCE LPX SERIES - 8GB (8GBx1) DDR4 2400MHz = Price :- 4400


    For RAM, We Need Atleast 8GB Right now To Play Games Now A Days,  Here You Can Go with 16GB Right Now By Dropping GPU to GTX 1050Ti But I would Not Recommend it. Get 8GB stick Now Ànd Upgrade to 16Gb By Getting another 8GB stick after Some Months For Now 8GB Is OK. 

    Storage:-



    Now A Days Game Sizes are Buffing AF, They Are Easily Ranging About 20-30GB Or More. hence Having 1TB HDD Is Very Necessary.Hence We Are Going with 1TB WD Cavier Blue HDD.WD Is Reliable Brand And This HDD Is Exceptionally Good For It's Price Tag.

    Cabinet :-

    Corsair Carbide 100R / Spec 01 = Price:- Rs.3400


    Corsair Carbide 100R is Good Cabinet Which Have Simpler Look And Comes With Side Window Where Is Spec 01 Has Kind Of Gaming/Killer Design With Side Window.both Of This Cabinet Are Good Depends Upon Your Like You can Get One. 

    Power Supply:-



    To powering Up Our System, We Need Approx Of 375w PSU Even Though For Sake Of Efficiency I would Suggest to Go For Corsair VS550 PSU having 550w of Capacity. This PSU is Non Modular PSU Which Comes with 80% Power Efficiency and From Side of Corsair.
    If You are Getting GTX 1050Ti Then You Can Get Corsair VS450 PSU which will Cost About Rs.2400. VS450 will Be Sufficient Enough For GTX 1050Ti Build.

    Monitor :-



    For Monitor, We Have Built Powerful 1080P Gaming PC Hence Choosing Good Monitor Is also Necessary. hence I am Going with LG 22MP68VQ-P 22"inch Monitor, This Is Best Gaming Monitor You can get In This Price tag It Has 75Hz Of Refresh Rate And 5ms Of Response Time.  Great thing Is That It Comes with AMD FreeSync Technology Therefore For Our GPU RX470 Or RX480 It will Be Great Pair.
    Monitor Also Looks Awesome It Also Supports Wall Mounting.


    Total Cost For This Build :-

    CPU:- Rs.14,489
    GPU:- Rs.16,800
    RAM :- Rs.4400
    HDD:- Rs.3500
    Cabinet:- Rs.3400
    PSU:- Rs.3350.
    Monitor:- Rs.8900.

    Total :- Rs.63,000.

    Online Retailers Price For Computer Components in India are very High At Moment, I would Strictly Suggest to Check Offline Prices For this products and get them From There, In Mumbai (Lamington Road) at least , You Can get Those All Products For Atleast 10% Discount than Online Costs. 


    Considerable Upgrades in Future:-
    In Future, Or within Next 5-6 Months You can Consider to Have this Upgrade on Your Build For Better Performance,If You Have Budget to Expand More than 63K Then You can Get them Now Only.

    SSD :-


    Including 120GB SSD (240GB is also Good Choice if you can get it for 5-6K) in PC Will Surely Give Better Performance Of System For General Use Like We Can Add Our Operating System Here Or You Can Also Add Your Needy Softwares, Which Will Load Faster Than HDD. However You Can Completely Ignore SSD To Upgrade RAM.Here we Are Going With Kingston UV400 However You Can Also Go For WD Blue SSD Or Samsung 850 EVO SSD.

    8GB RAM Upgrade:- 


    You Can Consider to Upgrade RAM to another 8GB To make it 16GB PC Rig. 16GB will be Required For Gaming (at least in Some Games) in future.So Having More RAM Wont Hurt Your PC.


    Friday, 20 January 2017

    [6.0.1] Krexus ROM For Xiaomi Redmi Note 3G [MT6592]

    Hello Friends,Here is Another Custom ROM For Xiaomi Redmi Note 3G. Krexus ROM is Another Custom ROM based On AOSP Codes Which Supports Substratum Theme Engine.ROM is fast And Smooth Also Light Weight.This ROM Is Built From Source By Tirth Patel And Ported To Redmi Note 3G By Suraj Lad ( Me).

    Credits:- 
    • Fire855 - Made CM12.1 And CM13 for MT6592. Major thanks
    • Ferhung
    • Yazad Madan And Kishan Patel
    • Tirth Patel
    • TLS
    • Suraj Lad (Me) - Ported It To Redmi Note 3G 

    Screenshots:-



    What's Working :
    • Camera And Bluetooth
    • Audio in calls
    • Auto Rotation
    • Sensors
    • USSD
    • Audio
    • Mic
    • RIL
    • SMS (Receive and Send both working)
    • WiFi And Hotspot
    • Data Connection
    • Dual SIM
    • Both Storage's (SD and Internal) mounting in both Phone and PC
    • GPS

    Bugs :

    • VPN
    • Other Ignore able Issues Here and There, Which You May Or May Not Notice !

    =====================================
    !! Please Note it Guys, There is Always Potential Risk While Flashing ROM in Any Device.So You Have to do it at Your Own Risk And Think about it twice Before doing. !!

    I Am NOT Responsible If You Done Any Damage To Your Device While Flashing ROM !
    If There Is Any Problem Happen I Will Try My Best To Solve It :)
    ======================================


    Download Links:-

    NOTE:- Gapps Are NOT Added in This ROM, So Flash This Gapps Immediately After Flashing ROM.



      How To Flash:-
      • Reboot Into Recovery.
      • Wipe Data/Factory reset.
      • Wipe Cache, Dalvik Cache.
      • Flash "Krexus" ROM .
      • Now Flash Gapps Package And SuperSU.
      • Reboot
      • Done

      If You Have Any Doubts Or Queries, Do Ask Them In Our Comment Section And Visit Again For More Future ROMs And ROM Reviews :)

      Tuesday, 27 December 2016

      [6.0.1][OMS] PureNexus ROM For Xiaomi Redmi Note 3G

      Hello Friends, Here Is Another ROM For Xiaomi Redmi Note 3G.PureNexus ROM- It Is AOSP Based ROM With Substratum Theme Engine,This ROM is Meant For Pure Performance.This ROM Has Got Some Options Added For Customization,Offcourse Due to Stock Android.However For Theming You can Install Substratum Theme Manager ( Yes, Substratum Supported ) By which You can Apply Various Theme Available on Playstore for Substratum.This Is Built By Tirth Patel And Later Ported To Xiaomi Redmi Note 3G by Suraj Lad ( Me).

      Credits :-

      • Fire855 - Made CM12.1 And CM13 for MT6592. Major thanks
      • Ferhung
      • Tirth Patel
      • TLS
      • Suraj Lad (Me) - Ported It To Redmi Note 3G 

      Screenshots:-
      Using Xposed+Android N'ify :- 



      What's Working :
      • Camera And Bluetooth
      • Audio in calls
      • Auto Rotation
      • Sensors
      • USSD
      • Audio
      • Mic
      • RIL
      • SMS (Receive and Send both working)
      • WiFi And Hotspot
      • Data Connection
      • Dual SIM
      • Both Storage's (SD and Internal) mounting in both Phone and PC

      Bugs :

      • VPN
      • 2G/3G Switch
      • Other Ignore able Issues Here and There, Which You May Or May Not Notice !

      =====================================
      !! Please Note it Guys, There is Always Potential Risk While Flashing ROM in Any Device.So You Have to do it at Your Own Risk And Think about it twice Before doing. !!

      I Am NOT Responsible If You Done Any Damage To Your Device While Flashing ROM !
      If There Is Any Problem Happen I Will Try My Best To Solve It :)
      ======================================

      Download Links:-


        Note:- Gapps Are Not Added In This ROM !


          How To Flash:-
          • Reboot Into Recovery.
          • Wipe Data/Factory reset.
          • Wipe Cache, Dalvik Cache.
          • Flash "PureNexus 6.0.1 r74" ROM .
          • Now Flash Gapps Package And SuperSU.
          • Reboot
          • Done

          If You Have Any Doubts Or Queries, Do Ask Them In Our Comment Section And Visit Again For More Future ROMs And ROM Reviews :)

          Sunday, 18 December 2016

          [6.0.1] Chroma ROM for Xioami Redmi Note 3G[MT6592]

          Hello Friends, Here Is Another ROM For Xiaomi Redmi Note 3G.Chroma ROM- It Is AOSP Based ROM With Substratum Theme Engine,This ROM is Meant For Pure Performance.This ROM Has Got Some Options Added For Customization,Offcourse Due to Stock Android.However For Theming You can Install Substratum Theme Manager ( Yes, Substratum Supported ) By which You can Apply Various Theme Available on Playstore for Substratum.This Is Built By Tirth Patel And Later Ported To Xiaomi Redmi Note 3G by Suraj Lad ( Me).

          Credits :-

          • Fire855 - Made CM12.1 And CM13 for MT6592. Major thanks
          • Ferhung
          • Tirth Patel
          • TLS
          • Suraj Lad (Me) - Ported It To Redmi Note 3G 

          Screenshots:-


           


          What's Working :
          • Camera And Bluetooth
          • Audio in calls
          • Auto Rotation
          • Sensors
          • USSD
          • Audio
          • Mic
          • RIL
          • SMS (Receive and Send both working)
          • WiFi And Hotspot
          • Data Connection
          • Dual SIM
          • Both Storage's (SD and Internal) mounting in both Phone and PC

          Bugs :

          • VPN
          • 2G/3G Switch
          • Other Ignore able Issues Here and There, Which You May Or May Not Notice !

          =====================================
          !! Please Note it Guys, There is Always Potential Risk While Flashing ROM in Any Device.So You Have to do it at Your Own Risk And Think about it twice Before doing. !!

          I Am NOT Responsible If You Done Any Damage To Your Device While Flashing ROM !
          If There Is Any Problem Happen I Will Try My Best To Solve It :)
          ======================================



          Download Links:-


            Note:- Gapps Are Not Added In This ROM !


              How To Flash:-
              • Reboot Into Recovery.
              • Wipe Data/Factory reset.
              • Wipe Cache, Dalvik Cache.
              • Flash "Chroma 6.0.1 r74" ROM .
              • Now Flash Gapps Package And SuperSU.
              • Reboot
              • Done

              If You Have Any Doubts Or Queries, Do Ask Them In Our Comment Section And Visit Again For More Future ROMs And ROM Reviews :)

              Friday, 16 December 2016

              [6.0.1] UberMallow ROM for Xioami Redmi Note 3G[MT6592]


              Hello Friends, Here Is Another ROM For Xiaomi Redmi Note 3G.Ubermallow ROM- It Is AOSP Based ROM With Substratum Theme Engine,This ROM is Meant For Pure Performance.This ROM Has Nothing For Customization,Offcourse Due to Stock Android.However For Theming You can Install Substratum Theme Manager ( Yes, Substratum Supported ) By which You can Apply Various Theme Available on Playstore for Substratum.This Is Built By Tirth Patel And Later Ported To Xiaomi Redmi Note 3G by Suraj Lad ( Me).

              Credits :-

              • Fire855 - Made CM12.1 And CM13 for MT6592. Major thanks
              • Ferhung
              • Yazad Madan And Kishan Patel
              • Tirth Patel
              • TLS
              • Suraj Lad (Me) - Ported It To Redmi Note 3G 

              Screenshots:-
              (Taken With Xposed+N'ify+ModernUI Theme (Substratum) ) 


              What's Working :
              • Camera And Bluetooth
              • Audio in calls
              • Auto Rotation
              • Sensors
              • USSD
              • Audio
              • Mic
              • RIL
              • SMS (Receive and Send both working)
              • WiFi And Hotspot
              • Data Connection
              • Dual SIM
              • Both Storage's (SD and Internal) mounting in both Phone and PC

              Bugs :

              • VPN
              • 2G/3G Switch
              • Other Ignore able Issues Here and There, Which You May Or May Not Notice !

              =====================================
              !! Please Note it Guys, There is Always Potential Risk While Flashing ROM in Any Device.So You Have to do it at Your Own Risk And Think about it twice Before doing. !!

              I Am NOT Responsible If You Done Any Damage To Your Device While Flashing ROM !
              If There Is Any Problem Happen I Will Try My Best To Solve It :)
              ======================================


              Download Links:-


                How To Flash:-
                • Reboot Into Recovery.
                • Wipe Data/Factory reset.
                • Wipe Cache, Dalvik Cache.
                • Flash "UberMallow 6.0.1 r74" ROM .
                • Now Flash Gapps Package And SuperSU.
                • Reboot
                • Done

                If You Have Any Doubts Or Queries, Do Ask Them In Our Comment Section And Visit Again For More Future ROMs And ROM Reviews :)