721 pagesV  < 1 2 3 4 5 6 > »  
 
REPLY
> Porting firmware to MTK6580 / MTK8321 | We solve problems, we collect information. All available versions of Android.
* Akella *
Message#1
01.01.17, 09:31
SoWa Team
*********
[offline]

Group: Banned
Messages 7052
Check in: 09.05.12
MTS Smart Surf 2 4G

Reputation:-  1113  +

������������ �������� �� MTK6580/MTK8321 download


Let's gather information on this process together. For those who do not knowMTK8321- it's the sameMTK6580onlyfor tablets.

Porting firmware for smartphones based on Mediatek 6735/53 processors | Porting CyanogenMod 12.X - 14.X MTK6592 and 6582 | Porting firmware MTK 6737 Android 6.0 | Build Android 4.4.x (KitKat) / 5.x.x (Lollipop) / 6.x.x (Marshmallow) / 7.x.x (Nougat) / 8.x.x (Oreo) for MTK processors | Creating / Porting CWM / TWRP | Instructions for editing system resources
  • To get started, it is strongly recommended to get acquainted with Forum RulesandRules section "Android - Development and Programming"
  • Before asking a question, look Android OS FAQandGlossary. Respect your and other people's time.
  • The administration of the resource and the authors of the manuals for the erroneous or incorrect actions of the owners with their device are not liable
  • All operations with your phone, You do at your own risk.
  • Sure tomake a full backup before any manipulations with the device!
  • Before posting photos, read the topic Working with Images on the forum
  • Messages that are not related to the topic of discussion (offtopic) are deleted without warning.
  • This topic only discusses the versions of Android that are available for the specified processors.below version 5.1 is not, and will not be !.All questions like"And you can port 4.4 to 6580, etc." will be deleted without warning!



(!) For beginners
A bit of terminology:
Stock - official software that came with a smartphone / tablet. It includes - firmware, recovery.
Porting - the process of adapting software from a device with similar or not very characteristics to your device. The resulting result is calledport.
Donor - a device whose software serves as the basis forport (see above)
What do the terms meanporting and crossporting

All files specified in the instructionstaken from the unzipped system.img image Your official firmware for your device fromspecified foldersand copiedin the same foldersdonor firmware.

Unpacksystem.img can this (2 point)

All instructions provided are not an absolute guide to action. First of all, you always need to think with your head and only then do something with your hands. The instructions do not give a 100% guarantee that after completing them you will start the firmware.

Template for the message with the problem
I urge you to stick to common sense - before writing about the problem. The more you break down the points, the better.

And to make it easier to do this, I suggest this template:
[b] Android version [/ b]
[b] Firmware [/ b] Specify the name of the firmware in which the problem, if possible, give a link to the donor from which port
[b] Description of the problem [/ b] Here we write where (after which) it started, in what is expressed concretely.
[b] Actions taken [/ b] What was done on the issue before writing the post.


"Though there are psychics among us, but the predictive-chakra energy is not limitless. Therefore, all that is required of you is: virgin hair, rascal's seed, a drop of dew from the Guatemalan dawn, a piece of the unicorn's mane,well, or log ... "(c) Some of the members of the forum
The error log is required (when the situation requires it), there is no log, there is no problem!

I also recommend to post a problem.attach screenshots (if possible, and this is clearly required by the situation). About working with images on the forum can be found in the topic.Working with Images on the forum

A post with a problem that did not fulfill at least approximately (even in a free form) these requirements will be deleted.

If you are not ready to state your problem clearly and clearly, then you are not ready to engage in porting. I recommend to continue to study the material more carefully.


How to shoot logs

How to remove the log can be found in this topic What is LogCat and how to use it? Also, if you have problems with the connection, you can remove the log and So .
Solutions for problems with connecting via adb to a PC are also available. here

Important note! Log off the commandadb logcat *: E ->logcat.txt. Then only errors will be shown in the log, which will greatly simplify its processing.

If you have an error during the installation of the firmware through the recovery then the log can be removed and there . In TWRP 3.0.X, the log is removed as follows:
1. An error is played first (the same actions that caused the error are repeated)
2. After we go to"Advanced - Copy log". The log will be saved to the memory card (if available in the phone) as a file recovery.log. It must be attached to the post with a description of the problem (see spoiler "Template for the message with the problem" ).


Porting Instructions - Author Recipes
MIUI: porting, problem solving, useful information

Kernel version 3.10.72:

Kernel version 3.18.19:

Kernel version 3.18.35:

Kernel version 3.18.79:


Problem Solving / Author Recipes
Solving basic problems after launch (Sound, GPS, communication) fromAkella_MC . Post updated
Edits when porting Android 5.1 (3.10.72+) | GPS Edit Option frombgakasha
Solving problems after installing the port
Camera

Memory

Sound, video

Fingerprint scanner / face scanner (Facelock

Internet

Miscellaneous (patches, problem solving

Patches, features:

Problem solving features:


Donors
Links to the list of devices work only through the browser!
Donors: Android 5.1-core 3.10. *
Donors: Android 6.0 - kernel 3.18.19+

Firmware:
Various kastomy can be found on the following resources:
https://sudroidtech.com/
https://www.romclaims.com/

****

On the core3.10.72:


On the core 3.18.19+:


On the core 3.18.35:


On the core3.18.79:


Useful Information / Useful Utilities
Useful information
How to correctly recognize errors through logcat
All about mount in update-script
How to find out the kernel version.
Making the firmware for the recovery of the FlashTool firmware:

Merge the firmware from the phone in the system.img format:

TWRP - error values ​​during the firmware:
Basic error information here - Android updater-script (Post Prince_Saint # 27695720) - Be sure to read this information!


*****

Adding Gapps to the firmware.


Useful Utilities

Topicsrecommended for review!


Gratitude thanks to peopleExpress by raising your reputation.If you do not have the required number of messages - contact the moderator via the "a complaint ". Posts "thanks, try," and stuff like that, deleted without warning


K
Theme -not a table of ordersfor porting firmware.

*******

Dear users - questions"Is it possible to port to the kernel 3.10.72 Android 6 - 7" and other similarwill bewill be deleted without warningas a flood.
The answers are in the subject and below the link.Also, questions about the assembly of kernels, porting the recovery are equivalent to an offtopic (there is a specialCreating / Porting CWM / TWRP) build issues are discussedhere.

Answer to the question "Is it possible to port ..."
With questions of restoration of bricks we appeal to the topic of our device.



The curator of the topic isrozetkin

Post has been editedrozetkin - 04.04.19, 10:55
Reason for editing: Lenovo Vibe ui
* Akella *
Message#22
02.01.17, 12:15
SoWa Team
*********
[offline]

Group: Banned
Messages 7052
Check in: 09.05.12
MTS Smart Surf 2 4G

Reputation:-  1113  +

Daggoth123 @ 02.01.17, 12:12*
Or with this kernel, I only sit on lp

I have not yet met such ... and on the 72 core of custom so far more than on MM ...
barminov1976
Message#23
02.01.17, 14:58
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 791
Check in: 18.11.13
Xiaomi Redmi Note 5A 3/32

Reputation:-  172  +

Who has a pink camera on cm13 try replacing libcameracustom.so helped me.


--------------------
Xiaomi Redmi Note 5A Prime 3 / 32G
R05tik
Message#24
02.01.17, 15:02
Alibi
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1091
Check in: 25.02.16
Leagoo KIICAA Power

Reputation:-  328  +

* barminov1976,
barminov1976 @ 2.01.17, 13:58*
Who has a pink camera on cm13

Yes, pink does not pink, but it is already dark, what to do here?


--------------------
Quod licet bovi, non licet Iovi ...
Astronomy Club -savagemessiahzine.com
Stas2502
Message#25
02.01.17, 15:10
Experienced
******
[offline]

Group: Curators
Messages 498
Check in: 24.06.13
Huawei P Smart (2019)

Reputation:-  202  +

How to port 6.0 or 7.0, if the firmware offs only 5.1?
* Akella *
Message#26
02.01.17, 15:13
SoWa Team
*********
[offline]

Group: Banned
Messages 7052
Check in: 09.05.12
MTS Smart Surf 2 4G

Reputation:-  1113  +

Stas2502 @ 02.01.17, 15:10*
if the firmware offs only 5.1?

Build a kernel for these versions, or wait for friends over the hill to twist the thread, most likely, I think ...

Post has been editedAkella_MC - 02.01.17, 15:13
barminov1976
Message#27
02.01.17, 15:15
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 791
Check in: 18.11.13
Xiaomi Redmi Note 5A 3/32

Reputation:-  172  +

* R05tik,
These have not tried lib / libfeatureio.so / lib / libdpframework.so?


--------------------
Xiaomi Redmi Note 5A Prime 3 / 32G
R05tik
Message#28
02.01.17, 16:08
Alibi
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1091
Check in: 25.02.16
Leagoo KIICAA Power

Reputation:-  328  +

In general, the problem with the darkening of the camera on the CM13 decided to replace system / lib /libcameracustom.so,
libfeatureio.so,
libcam.paramsmgr.so

Another option tried frombgakasha
libdpframework.sofor camera

These four libs (libraries) on my DOOGEE x6 fully lifted the camera: they removed darkness, redness, started autofocus, flash on all firmware based on CM13, including FlymeOS, and other custom, such as HiOS, AmigoOS, etc. d.
The camera began to work even better.
Liby to take from the stock firmwareï¼
: D
Picture


Post has been editedbgakasha - 02.09.17, 17:17
Reason for editing: In the topic header.


--------------------
Quod licet bovi, non licet Iovi ...
Astronomy Club -savagemessiahzine.com
barminov1976
Message#29
02.01.17, 16:18
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 791
Check in: 18.11.13
Xiaomi Redmi Note 5A 3/32

Reputation:-  172  +

And how to solve the problem with the incorrect display of the signal of the SIM card network on cm13?


--------------------
Xiaomi Redmi Note 5A Prime 3 / 32G
derwanderer
Message#30
02.01.17, 17:38
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 649
Check in: 19.12.13
Google Nexus 5X

Reputation:-  141  +

* barminov1976,
At the moment, no way.
R0STEFAN
Message#31
02.01.17, 17:57
Amateur
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2039
Check in: 21.10.12
Xiaomi Redmi Note 5 3/32

Reputation:-  218  +

If anyone is interested, on xda the guy was cropping the firmware emui from some kind of huavei. I also created a foreign theme on the development and porting of firmware on 6580 on Facebook. I will watch and keep it on track


--------------------
Xiaomi Redmi Note 5 4/64
4
897654
Message#32
02.01.17, 19:14
Experienced
******
[online]

Group: Friendssavagemessiahzine.com
Messages 679
Check in: 07.11.12
Meizu M6 Note 3/16/32

Reputation:-  70  +

* R0STEFAN,
If I'm not mistaken that EMUI Firmware in some completely incomprehensible form. It seems I watched it. I did not understand. Strange folders, unknowns, etc.


--------------------
“I’m an old pirate and I don’t know the words of the License Agreement ...â€
rock1234
Message#33
02.01.17, 20:34
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1559
Check in: 04.08.12
Doogee x5

Reputation:-  610  +

Akella_MC @ 01.01.17, 23:34*
How to "cure" the device from requesting the authorization key of the same debugging? For even the logkat does not remove, if you port regular firmware (I do not mean CM), it hangs in the terminal

You can do so in init.rc at the end to register
on property: persist.logd.logpersistd = logcatd
# all exec / services are called with umask (077), so no gain beyond 0700
mkdir / data / misc / logd 0700 logd log
# logd for write to / data / misc / logd, log group for read from pstore (-L)
exec - logd log - / system / bin / logcat -L -b all -v threadtime -v usec -v printable -D -f / data / misc / logd / logcat -r 64 -n 256
start logcatd

service logcatd / system / bin / logcat -b all-f / data / misc / logd / logcat -r 256
class main
user root
group root

In default.prop register
persist.logd.logpersistd = logcatd

The log will be on the data / misc / logd path.
Picture


Post has been editedbgakasha - 02.09.17, 17:37
Reason for editing: In the header.


--------------------
Fly iq245 ---->Leagoo Lead 3 ---->Texet X-Basic ---->Doogee Voyager2 DG310 ---->Doogee x5
* Akella *
Message#34
02.01.17, 20:37
SoWa Team
*********
[offline]

Group: Banned
Messages 7052
Check in: 09.05.12
MTS Smart Surf 2 4G

Reputation:-  1113  +

* rock1234This is all well and good, thanks for the answer, but I need exactly what I wrote in that message, the task is not to pull out the log, namely, to disable authorization before the system is loaded, at least, because every time it is boring to copy the key. ..

Post has been editedAkella_MC - 02.01.17, 20:38
R05tik
Message#35
02.01.17, 20:39
Alibi
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1091
Check in: 25.02.16
Leagoo KIICAA Power

Reputation:-  328  +

* Akella_MC,
Android version 6.0.1
FirmwareCM13
Description of the problemThe problem is this, FMRadio does not work, rather, only the sound does not work either in the headphones or in the speaker. When you turn on the recording when the headphones are connected and the radio is on, then you play that recorded.
Action takenI have changed the system / lib / libaudiosetting.so, lihfmjni.so and libfmcust.so results from the system.
Apparently, as they said knowledgeable, cant in buta.

That took a log
Attached filelogcat.txt.zip(13.35 KB)

Via terminal
Attached filelog.zip(119.12 KB)


Post has been editedR05tik - 04.01.17, 17:36
Reason for editing: Log


--------------------
Quod licet bovi, non licet Iovi ...
Astronomy Club -savagemessiahzine.com
* Akella *
Message#36
02.01.17, 20:45
SoWa Team
*********
[offline]

Group: Banned
Messages 7052
Check in: 09.05.12
MTS Smart Surf 2 4G

Reputation:-  1113  +

* R05tik, By the sound of what would they throw? You can try to put the radio from the drain ... but I don’t think it’s a deal, the log wouldn't hurt at all, at the time the radio is working, maybe we’ll see, it’s either the codecs or the audio libs ... IMHO ...

Post has been editedAkella_MC - 02.01.17, 20:49
Hey, you
Message#37
02.01.17, 20:56
a guest
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 550
Check in: 23.12.14

Reputation:-  432  +

Akella_MC @ 01.01.17, 21:34*
How to "cure" the device from requesting the authorization key of the same debugging?
All entries in boot.img (default.prop) and in build.prop are made, there is no effect.

Well, if everything is done, then no one will help, because according to the idea
vitaly51370 @ 27.01.15, 22:15*
- the ro.adb.secure parameter is responsible for device authorization, i.e. if the value is 1, the authorization request will be displayed; if the value is 0, there will be no corresponding request


--------------------
use search- use someone else's experience, take care of time anddo not make others nerves
And yet sheLaGbut!© someone from the great
* Akella *
Message#38
02.01.17, 21:00
SoWa Team
*********
[offline]

Group: Banned
Messages 7052
Check in: 09.05.12
MTS Smart Surf 2 4G

Reputation:-  1113  +

* Hey, youOkay, we will think, in cyan it works like that, we will gut it ...
rock1234
Message#39
02.01.17, 21:01
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1559
Check in: 04.08.12
Doogee x5

Reputation:-  610  +

I wrote on a quick hand a couple of programs (batch files)
1.adb_log.exe -for logging
2.repack.exe-for repacking boot.img and recovery.img
The second program will offer to create files for adb, further agree and select the log
Picture


Attached files

Attached filerepack.exe(445.5 KB)
Attached fileadb_log.exe(1.18 MB)


Post has been editedbgakasha - 02.09.17, 17:38
Reason for editing: In the header.


--------------------
Fly iq245 ---->Leagoo Lead 3 ---->Texet X-Basic ---->Doogee Voyager2 DG310 ---->Doogee x5
rock1234
Message#40
02.01.17, 21:58
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1559
Check in: 04.08.12
Doogee x5

Reputation:-  610  +

There are firmware with a signature, there will be problems with unpacking
To correctly unpack boot-sign.img:
1.Download any hex editor
2.Open the boot.img hex editor
3.And cut the piece to the word ANDROID
Example
Attached Image

4.Save and unpack
To properly unpack system-sign.img (harder here):
1. I found a script with the following content
# UTF8 may slow down grep, switch to C
export LANG = C

#Look for ext4 magic and calculate its position
magic = `grep -aobP -m1 '\ x3A \ xFF' system.img | head -1 | cut -d ":" -f1`
offset = $ (($ magic))
dd if = system.img of = system.new.img ibs = $ offset skip = 1

But there is one thing, this script is made under linux and all the actions I did there
2. In Linux, create a text file and paste into it a script that is higher
3. Put the script next to your system-sign.img (it should be renamed to system.img)
4. Start the terminal Ctrl + Alt + T and write in it.
cd your system.img folder
./script (let's say we called our text file with a script)
We get the output system.new.img
Picture


Post has been editedbgakasha - 02.09.17, 17:37


--------------------
Fly iq245 ---->Leagoo Lead 3 ---->Texet X-Basic ---->Doogee Voyager2 DG310 ---->Doogee x5
WErt (WErt)
Message#41
02.01.17, 22:04
Mimoprohodil
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2108
Check in: 08.04.11
HTC Wildfire S

Reputation:-  451  +

rock1234 @ 01.02.2017, 21:58*
magic = `grep -aobP -m1 '\ x3A \ xFF'

In the same hex, look for 3A FF and cut off everything in front of it.


--------------------
Watch yourself...

721 pagesV  < 1 2 3 4 5 6 > » 


 mobile version    Now: 05/01/19 22:22