148 pagesV  1 2 3 4 5 6 > »  
 
REPLY
> Devices on MT657x - Porting firmware on the MT657x platform
dns-25
Message#1
02.03.13, 13:04
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

Porting firmware from device to device with MT657x processor
Necessary and useful

You can not port the firmware, for example from MT6575 to MT6577. Both the base and stock firmware must be for one processor.
Both firmware must be the same OS version


Shoveled a bunch of sites and forums in search of normal instructions for porting firmware from MT6577 to MT6577, I found one very brief and working instruction. I myself managed to get the firmware from one device to another. For others, the instruction when downloading the firmware is on the logo.
User wrote the instructionsback37from the forumhttp://forum.china-iphone.ru.
Here is the topicwhere i got the instructions from. In it you will find a lot of useful information needed not only for MediaTek processors, but also for others.
Created a thread onsavagemessiahzine.comto make it easier to find instructions (I personally searched for a very long time). The instruction was a little paraphrased, but the essence is the same.

Actually the instruction itself:

First step

We take a working firmware for your device (BASE);
We take the ported firmware for custom recovery (PORT).


Second step

ATPORTWith replacement, we drop folders fromBASE :
/ system / vendor
/ system / lib / hw
/ system / lib / modules


and files
/system/etc/vold.fstab
/system/etc/vold.fstab.nand
system / usr / keylayout / generic.kl
boot.img


Third step

Go to META-INF / com / google / androidPORT , open updater-script.
If there are lines:
assert (getprop ("ro.product.device") == "Smartphone" ||
getprop ("ro.product.board") == "Smartphone" ||

Remove them.

If there are no rows
assert (package_extract_file ("boot.img", "/tmp/boot.img"),
write_raw_image ("/ tmp / boot.img", "bootimg"),
delete ("/ tmp / boot.img"));

append them to the end of the script.

Fourth step

The firmware will be in the folderPORT . Now all this needs to be packed with normal compression in zip (If you unpacked). And sure subscribe .

Fifth step

We are stitching. If it hangs on the logo for more than 10 minutes, it will not load. You need to edit boot.img, namely, unpack both boot and drop the folderrmdiskofPORT at BASE with replacement. Unpack / Pack boot.img can this program . The resulting boot (if the name is new_image.img, rename it to boot.img) is inserted into the archive with the firmware and signed again.

Addition
If something does not work in your firmware after porting, it’s not a fact that it will work after the manipulations given below. But it’s worth a try: yes2:.
HereIt is written which binaries and libraries are responsible for the operation of different modules (GPS, Bluetooth, Wi-Fi, radio, etc.) Try replacing them too.

*OfBASE at PORT

GSM does not work, 3G - change folder/ system / etc / firmware
Wi-Fi does not work - change files/ system / bin / p2p_supplicant; / system / bin / wpa_supplicant
The camera does not work - we change/system/lib/libcameracustom.so
Problems with sound - we change/system/lib/libaudiosetting.so
The radio does not work - we replacesystem / lib / libaudiosetting.soandlibfmcust.so
Heard wheezing / sound artifacts are replacingsystem / lib / soundfx
Do not work the hardware keys change the foldersystem / usr / keylayout

*Solving some problems (addition)

It does not catch the connection-from the system / etc / firmware folder, we take out modem.img, if after that the network does not work, then we take files from the system / lib / modules folderccci.ko, ccci_plat.ko

The problem with the home key does not work as intended - from the system / usr / keylayout folder we take the fileGeneric.klandmtk-tpd.kl

Wi fi-does not work from the system / lib / modules / folder.mtk_stp_wmt.koandmtk_wmt_wifi.kothen go to META-INF / com / google / android / updater-script looking for symlink symlink (“/ system / lib / modules / wlan_mt6620.ko and changing the value to 6628 if you have such a chip, if you don’t know what , go to the base and in build.prop we search in the wlan line

If there are problems with bluetooth, then we take a file from the folder.system / lib / modules / mtk_stp_bt.koif not working then change these two filessystem / lib / libbluetooth_mtk.so
system / lib / libbluetoothem_mtk.so


Radio does not work - we changesystem / lib / modules / mtk_fm_priv.koandsystem / lib / modules / mtk_fm_drv.koif does not work, then we change these files
system / lib / libfmar1000.so
system / lib / libfmcust.so
system / lib / libfmjni.so
system / lib / libfmmt6616.so
system / lib / libfmmt6620.so
system / lib / libfmmt6626.so
system / lib / libfmmt6628.so

If, however, does not work changeFMradio.apk

The camera does not work with the system / lib / hw / folder; change this file camera.default.so; if it does not help, then with the system / lib folder we change:
- libcamalgo.so
libcamera_client.so
libcameracustom.so
libcameraprofile.so
libcameraservice.so

video does not work change these fileslibmhalandlibMTKOmxin the system / lib folder

The problem with GPS is changing these files.system / xbin / libmnlpandmnld

Black screen, slow animation, slow auto-rotate-change this filehwcomposer.mt6577.soin the system / lib / hw folder -commentby Andrey567

The compass, the proximity sensor or something from this opera does not work, we changesystem / lib / hw / sensors.default.so


Brief instructions (not universal) for porting 4.2.2 to 6577 devices.

There is no curator in the subject. If there is a user in the subject who wants to become a Curator and the correspondingRequirements for candidates, he can apply in the topicI want to be curator(after having studied the topic header and all materials for curators).
Prior to the appointment of the curator, on filling caps, please contactmoderatorssection through a buttonPictureunder the messages to which you want to add links.


Post has been editedvaalf - 13.05.18, 19:08
Dviker
Message#2
05.03.13, 14:47
Guru
*********
[offline]

Group: Curators
Messages 2233
Check in: 30.04.12
Xiaomi Mi A2 4/64

Reputation:-  268  +

And to 73 this instruction applies?
dns-25
Message#3
05.03.13, 16:26
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

Dviker @ 03/05/2013, 15:47*
And to 73 this instruction applies?

It works exactly on MT6575 and 6577.
For 6573 I do not know. Try, still not long to port. It turns out - write.

UPD:everything works on 6573!

Post has been editeddns-25 - 06.05.13, 21:44
lamer858
Message#4
06.03.13, 15:00
Dog Breeder
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 809
Check in: 21.01.10
LeTV One X600

Reputation:-  35  +

Is it possible to do from the base of the 4th android on 4.1?


--------------------
ETEN X 800 → Moto Droid → Moto Milestone 2 → Sams S II (4pcs) → Sams GIO → LenovoA789 → LenovoA800 → Star S5 → TCL Idol X → UMI EMAX
Club players in SHADOWGUN - competition
sanek-25
Message#5
06.03.13, 17:20
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 393
Check in: 22.03.11
Xiaomi Redmi Note 3 Prime

Reputation:-  14  +

Lamer858 @ 03/06/2013, 14:00*
Is it possible to do from the base of the 4th android on 4.1?


Find the firmware with android 4.1 on the MT6577 processor and try to muddle. But I do not think that something will come of it.
tulen5215
Message#6
06.03.13, 21:46
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 220
Check in: 14.08.12
Honor 10

Reputation:-  6  +

And what will happen if I take a deodexed firmware for the Port, and a coded one for the Base?) or vice versa? can't it be like that?
Dmitryrp
Message#7
07.03.13, 02:27
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 183
Check in: 15.11.12
Asus Zenfone Max Pro (M2) ZB631KL

Reputation:-  5  +

Hello everyone) boot.img fails to repack something, it goes with errors, there is someone who has a program for repacking the 3.0 version, here it is not possible to download, 504 error

Posted on 03/07/2013, 02:25:

P.S. There is no uboot.bin file in the original, there is uboot.img

Posted on 03/07/2013, 02:27:

P.P.S. I port Miui to DNS S4001


--------------------
Asus Zenfone Max Pro (M2) ZB631KL,

OS- Android 8.1 download

:: Asus n53sv, 8Gb RAM, Intel Core i5 2410M, OS- Debian 8
dns-25
Message#8
07.03.13, 13:51
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

Lamer858 @ 6.3.2013, 16:00*
Is it possible to do from the base of the 4th android on 4.1?

You need android 4.1 kernel specifically for your smartphone.
If this is not, you can not.


Added 03/07/2013, 1:51 PM:

tulen5215 @ 6.3.2013, 22:46*
And what will happen if I take a deodexed firmware for the Port, and a coded one for the Base?) or vice versa? can't it be like that?

Can
dns-25
Message#9
07.03.13, 14:01
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

Dmitryrp @ 03/07/2013, 03:27*
P.S. There is no uboot.bin file in the original, there is uboot.img

Try without it.
In general, there is another command for uboot.img. I will look, I will unsubscribe.

Posted on 03/07/2013, 2:01 PM:

Dmitryrp @ 03/07/2013, 03:27*
P.P.S. I port Miui to DNS S4001

If you want, I can port.
dns-25
Message#10
08.03.13, 16:24
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

Dmitryrp @ 03/07/2013, 03:27*
P.S. There is no uboot.bin file in the original, there is uboot.img

Here is a team use

assert (package_extract_file ("uboot.img", "/tmp/uboot.img"),
write_raw_image ("/ tmp / uboot.img", "uboot"),
delete ("/ tmp / uboot.img"));
Dmitryrp
Message#11
08.03.13, 23:13
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 183
Check in: 15.11.12
Asus Zenfone Max Pro (M2) ZB631KL

Reputation:-  5  +

dns-25if it is not difficult to port, I will not refuse, nothing happens at the very, CWM refuses to accept


--------------------
Asus Zenfone Max Pro (M2) ZB631KL, OS-Android 8.1 :: Asus n53sv, 8Gb RAM, Intel Core i5 2410M, OS- Debian 8
dns-25
Message#12
09.03.13, 10:02
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

Dmitryrp @ 9.3.2013, 0:13*
dns-25if it is not difficult to port, I will not refuse, nothing happens at the very, CWM refuses to accept

I wrote to you in QMS, accomplish your goal.
accept_for_all
Message#13
11.03.13, 11:39
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 71
Check in: 26.02.09
Samsung Galaxy Note 3 SM-N900

Reputation:-  2  +

And if the stones are the same, but the screens are different, then everything is without options?
dns-25
Message#14
11.03.13, 18:03
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

accept_for_all @ 11.3.2013, 12:39*
And if the stones are the same, but the screens are different, then everything is without options?

Different screen resolutions? You can port, I think the image will adjust, but if there are no files in apk and the framework for the screen resolution of your smartphone.

Firmware from 320 * 480 to 480 * 800 can not be screwed correctly without additional editing.
If from 1280 * 720 or 960 * 540 to 480 * 800 porting - it can work.
I already ported 2 firmware, both were on the whole screen.
So try it.
accept_for_all
Message#15
11.03.13, 19:32
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 71
Check in: 26.02.09
Samsung Galaxy Note 3 SM-N900

Reputation:-  2  +

Interested in just the transition from the smaller to the larger. And what arc and framework do I need to pick?
dns-25
Message#16
11.03.13, 19:43
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

accept_for_all @ 11.3.2013, 20:32*
Interested in just the transition from the smaller to the larger. And what arc and framework do I need to pick?

What permission for what?
Apk I do not know what to pick, but I think, if I change the pixel density in build.prop, I will.
In any case, you must first try, and then, if it does not work as it should, think.
accept_for_all
Message#17
12.03.13, 09:44
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 71
Check in: 26.02.09
Samsung Galaxy Note 3 SM-N900

Reputation:-  2  +

960x540 =>1280x720
In build.pop, not the slightest mention on ppi, if you had it in mind. Is the parameter ro.sf.lcd_density (which is absent again) responsible for this?
dns-25
Message#18
12.03.13, 12:16
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

Accept_for_all @ 03/12/2013, 10:44*
960x540 =>1280x720
In build.pop, not the slightest mention on ppi, if you had it in mind. Is the parameter ro.sf.lcd_density (which is absent again) responsible for this?

Try to port it like this. If it does not start or is crooked, we will think.
accept_for_all
Message#19
12.03.13, 15:00
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 71
Check in: 26.02.09
Samsung Galaxy Note 3 SM-N900

Reputation:-  2  +

This is for the future. Now with Jelly Bean bother to break, here comes 4.2, we'll smoke there =)
proFC
Message#20
14.03.13, 09:28
^_^
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1578
Check in: 08.04.09
Xiaomi Redmi Note 3 Pro Standard

Reputation:-  33  +

Comrades firewood on the screen where they lie? system / lib / hw somewhere here?

Posted on 03/14/2013, 09:28:

I did everything as it is written, the firmware from the hardware with a large screen resolution, the rest is identical, the screen is black ... why ..?
dns-25
Message#21
14.03.13, 12:10
Guru
*********
[online]

Group: Curators
Messages 2280
Check in: 11.01.12
Xiaomi Redmi 4 Prime

Reputation:-  552  +

Did you take uboot from your firmware? Firewood is registered in it. Folder vendor changed.
It is better to use the firmware from the same screen resolution.

148 pagesV  1 2 3 4 5 6 > » 


 mobile version    Now: 04/30/19/09: 18