[TUT] [TOOL] MT65xx ROM Porting

Status
Not open for further replies.

bigrammy

Senior Member
Apr 8, 2011
2,888
2,515
193
huddersfield
Help needed for OUR SoC

Hi,

I am trying to get better support for the Mediatek SoC on xda so could you all please help me help you and show your support Here

I am asking that the Mediatek SoC be granted its own section under "Device" instead of us being posted all over the forum. :mad:

Maybe they will listen if we get enough response :fingers-crossed:

Please spread the word Thanks :eek:
 
  • Like
Reactions: yuweng and Brick3d

yuweng

Senior Member
Feb 5, 2012
1,172
4,219
0
Hi all,

I have a personal request :eek:
Please show your support and encouragement for the master dev and creator of these awesome utility tools whom we hope :fingers-crossed: will fully support our MTK SoC so please lets show him some appreciation.

Please do not bomb him with lots of question just yet but feel free to hit the thanks button and leave some kind comments ;)

Thanks to all in advance for helping to try strengthen the MTK SoC community ;)

Please visit these page's Here [UTIL][Win]Android Ultimate Toolbox Pro

Key features
Update.zip creator
Update.zip signer
Flash kernels
Flash recovery images
Flash upate.zip
Flash system images
Flash data images
Flash splash images
Install APKs (system and user)
Uninstall APKs (system and user)
Unpack APKs
Repack APKs
Sign APKs
Deodex APKs, Jars (both computer and device)
Zip-align APKs
Check MD5 sums
File manager
Root checker
Root your device
Unroot device
Logger (logcat and dmesg)
Rebooter (normal reboot, reboot in recovery, reboot in bootloader, reboot from fastboot)
Backup manager
Backup/restore apps NEW!!
Device ID configurator (device name, build number, Android version)
Unlock bootloader
Lock bootloader
Wipe (system, data, cache, boot, recovery)
And much more to come!

Note: Not all flash features are supported on mtk SoC just yet also make sure to read the help topics within the tool before using Android Ultimate Toolbox Pro.

and Here Boot Animation Factory-Create,Preview and Manage Boot Animations

Key features:
Preview zipped boot animations (their actual format)
Preview boot animations from folder
Preview boot animation from phone (can save the boot animation to your computer)
Preview boot sound from phone
Create boot animations
Flip and rotate boot animations NEW!!
Export boot animations as GIF animations
Flash boot animations to phone
Flash boot sounds to phone
Explore boot animations
Favorites list of boot animations
Slick, easy-to-use user interface (can be themed)
Automatic update check option
Extended preview info (can be toggled in Settings)
No limitatins of any kind!

System requirements:
Windows XP SP3 or later (Windows 7 is recommended)
Microsoft.NET Framework 4 or later (Client Profile is also needed)
Yeoh bro, fully support your initiative... :highfive:

Tools that support branded devices such as Samsung, HTC, Sony & others are tremendously many while for MTK device is only two... :eek:

We need to start requesting these great DEVs to include support for MTK devices too & to encourage them by starting to hit those thanks button first... :cool:
 
  • Like
Reactions: bluefirebird

superbar

Senior Member
Dec 2, 2009
319
24
0
porting lewa os on my mt6589 device, everything works but the camera, actually the camera works but the screen is green tinted and its dark, any ideas what to patch?

on my mt6577, i only need libcameracustom.so and libmhaldrv.so, to make the camera work

my problem is that the mt6589 dont have the libmhaldrv.so
 

Brick3d

Senior Member
Mar 1, 2013
295
100
0
Zeeland
Default camera.so in /hw
Libcam*.so /lib

And the camera chmod and chown in the ramdisk init.rc (replace with stock lines, usr winmerge to find the lines)

Sent from my V360 using xda app-developers app
 

abel.jacob

Senior Member
Mar 6, 2012
72
21
0
In addition to the voetbalremco:

Unpack stock and port boot.img

Search init.rc in ramdisk for camera chmod/chown. Replace port with stock line

Sent from my V360 using xda app-developers app
I'm sorry but I didn't understand could u elaborate ?

Sent from my XOLO using Tapatalk 4 Beta
 

Brick3d

Senior Member
Mar 1, 2013
295
100
0
Zeeland
Ofcourse, I'll explain it more clearly. @yuweng. Please...include this in OP, ive explained too many times :p

I assume you use dsixda's kitchen.
Set up working folder for stock rom
Go to advanced > tools for boot.img
> unpack boot.img

Navigate to the folder called Boot-extracted.
> rename it to something else (for now: stock boot)

Set up working folder for port rom.
Go to advanced > unpack boot.img

Do a google search for 'winmerge' > install program (free).

Open winmerge, for left navigate to the 'stock boot' folder, and select init.rc (about 40kb)

For right, navigate to the port 'boot-extracted', and select init.rc (about 40kb)

In winmerge find lines like this
Chmod camera blablabla (on the left pane you will see where there are differences)
Chown camera blablabla

If there are differences in those lines, copy the stock lines, and overwrite the port ones

Save the files (crtl+s)

Navigate to boot extracted folder, you can close winmerge. Copy stock Zimage (from 'stock boot' folder) to port, and overwrite the Zimage there with stock one.

Go back to kitchen, > advanced > tools for boot.img > build new boot image.

Profit :D
 
Last edited:

abel.jacob

Senior Member
Mar 6, 2012
72
21
0
Ofcourse, I'll explain it more clearly. @yuweng. Please...include this in OP, ive explained too many times :p

I assume you use dsixda's kitchen.
Set up working folder for STOCK rom
Go to advanced > tools for boot.img
> unpack boot.img

Navigate to the folder called Boot-extracted.
> rename it to something else (like stock boot)

Set up working folder for PORT rom.
Go to advanced > unpack boot.img

Do a google search for 'winmerge' > install program (free).

Open winmerge, for left navigate to the 'stock boot' folder, and select init.rc (about 40kb)

For right, navigate to the port 'boot-extracted', and select init.rc (about 40kb)

In winmerge find lines like this
Chmod camera blablabla (on the left pane you will see where there are differences)
Chown camera blablabla

If there are differences in those lines, copy the stock lines, and OVERWRITE the port ones

Save the files (crtl+s)

Navigate to boot extracted folder, you can close winmerge. Copy STOCK Zimage (from 'stock boot' folder) to PORT, and overwrite the Zimage there with stock one.

Go back to kitchen, > advanced > tools for boot.img > build new boot image.

Profit :D

Sorry for all the capital letters, im on my phone so i cant use color ^^




Sent from my V360 using xda app-developers app
Thanks!

Sent from my XOLO using Tapatalk 4 Beta
 

superbar

Senior Member
Dec 2, 2009
319
24
0
Default camera.so in /hw
Libcam*.so /lib

And the camera chmod and chown in the ramdisk init.rc (replace with stock lines, usr winmerge to find the lines)

Sent from my V360 using xda app-developers app
Did the camera.so and all the libcam, still the same, but i havent tried the init.rc
 

Brick3d

Senior Member
Mar 1, 2013
295
100
0
Zeeland
Init rc, is the most important. For me, it fixed it. My only problem ever was the auto focus, so I don't know much about yours.

maybe you should try in this order to change things:

init.rc > test
init.rc + libcameracustom.so > test
init.rc + libcameracustom.so + defaultcamera.so (/hw) > test
init.rc + libcameracustom.so + defaultcamera.so (/hw) + libmhaldrv.so > test

for me, the third one always works...

Sent from my V360 using xda app-developers app
 
Last edited:

debasish497

Senior Member
May 23, 2013
461
125
0
Kolkata
kernel config for MT6589: custom base with varun chitre's kernel sources

Hi Buddy,

Can you help us compile the kernel with mt6589 sources/ we tried to compile using the mt6577 dual core kernel config, but its failing somewhere. even if we tried and compiled, it giving kernel panic while booting.
 

pratikmore

Senior Member
Jun 12, 2011
1,937
948
0
Mumbai
www.junk-m.com
Hi @pratikmore ....

Recently I have purchased one low end device iball andi 3.5 based on mt6575 chip.... i need to root this phone... can you help me. Somewhere in xda i have seen u spoke about cwmr of this phone. So i am seeking your help.

Thanks in advance.
I replaced that phone with Intex aqua wonder which is mt6577,dual core.you can try with mtk droid tool for root and cwm.
 

BHARDIK

Senior Member
May 27, 2012
741
546
123
Rajkot, Gujarat
www.hardikahir.in
Finally Done Porting Lewa 13.7.12

Hey Guys :) Thanks Masters Shifu voetbalremco and Yuweng for help me always :)

I successfully port Lewa os from Lenovo S920 to My New UMI X2 :)
even all features working fine :p
everything means everything lewa theme working , lewa file manager mount both sd internal and external, Rooted with latest su 1.34

i post some screenshots here :) , i already posted my porting methods which way i port this lewa os too :D ,

-> for network replace stock firmware folder in system>etc> ( firmware here )

-> for Audio check my old post audio fix screenshot for any MT6589 device :)

-> for screen you must select Density of your original device specified likewise mine is 480 ( 1920*1088 ) so i add this line at end of build.prop

ro.sf.lcd_density=480

then save it and replace in rom before flash it :)

Thanks
Hardy

Screenshots of my device Lewa ROM ( Actually its UMI x2 , but i dint edit build.prop :p so its showing Lenovo S920 still :D )

 

superbar

Senior Member
Dec 2, 2009
319
24
0
Hey Guys :) Thanks Masters Shifu voetbalremco and Yuweng for help me always :)

I successfully port Lewa os from Lenovo S920 to My New UMI X2 :)
even all features working fine :p
everything means everything lewa theme working , lewa file manager mount both sd internal and external, Rooted with latest su 1.34

i post some screenshots here :) , i already posted my porting methods which way i port this lewa os too :D ,

-> for network replace stock firmware folder in system>etc> ( firmware here )

-> for Audio check my old post audio fix screenshot for any MT6589 device :)

-> for screen you must select Density of your original device specified likewise mine is 480 ( 1920*1088 ) so i add this line at end of build.prop

ro.sf.lcd_density=480

then save it and replace in rom before flash it :)

Thanks
Hardy

Screenshots of my device Lewa ROM ( Actually its UMI x2 , but i dint edit build.prop :p so its showing Lenovo S920 still :D )

What file did you patch for the camera?
 

Brick3d

Senior Member
Mar 1, 2013
295
100
0
Zeeland
Hey Guys :) Thanks Masters Shifu voetbalremco and Yuweng for help me always :)

I successfully port Lewa os from Lenovo S920 to My New UMI X2 :)
Friend, can you post the equalizer + music player (including dex files) + soundFX folder (system/lib/soundFX) for me? I would like to have an EQ on my lewa aswell....

or..if you uploaded the rom somewhere, can you link it for me please ^^
@superbar ...please...read my post above...everyone keeps asking the same questions over and over here haha :good:
 
Last edited:

BHARDIK

Senior Member
May 27, 2012
741
546
123
Rajkot, Gujarat
www.hardikahir.in
Friend, can you post the equalizer + music player (including dex files) + soundFX folder (system/lib/soundFX) for me? I would like to have an EQ on my lewa aswell....

or..if you uploaded the rom somewhere, can you link it for me please ^^

@superbar ...please...read my post above...everyone keeps asking the same questions over and over here haha :good:

i can upload it for you :) but hole ROM not possible....sorry having very slow 2G Internet only ,
i upload Muisc.apk+MusicFX.apk both are deodex and sound fx folder from system/lib/

Wait for my next reply

Thanks
Hardy

---------- Post added at 09:17 AM ---------- Previous post was at 09:10 AM ----------

dear Brick3d,

here is your files
in this package u get music+musicfx deodexed apk + soundfx file
You can get it directly from here

http://d-h.st/bzR


Thanks
Hardy
 
  • Like
Reactions: Brick3d

superbar

Senior Member
Dec 2, 2009
319
24
0
Init rc, is the most important. For me, it fixed it. My only problem ever was the auto focus, so I don't know much about yours.

maybe you should try in this order to change things:

init.rc > test
init.rc + libcameracustom.so > test
init.rc + libcameracustom.so + defaultcamera.so (/hw) > test
init.rc + libcameracustom.so + defaultcamera.so (/hw) + libmhaldrv.so > test

for me, the third one always works...

Sent from my V360 using xda app-developers app
did this already, still didn't work, and my problem is that i don't have the libmhaldrv in my mt6589 hmmm
 
Status
Not open for further replies.