[Android General] 7awliet:
Sharing Permission And Contribution

You should put a notice next to the links that you share so that you would get proper credits for you work. These things can take some time, especially for me when I build from source (20GB+, 3hours+ download, etc.), and to see someone else claim it as their work is the worst. I appreciate the work you did on that port.

Yeah, that Russian CAPTCHA is a menace. Having to install Russian input keyboard in Windows Control Panel then bring up the on-screen keyboard and try to decipher it.

Now ^^^THAT's^^^ helpful contribution :good:

I contacted him through the link at the top of page: http://www.mtkroms.com/p/contact-me_28.html. He got my email, but I haven't received a reply yet, I'll let you know if I do though. I think he would be more active on the Facebook pages/groups as I read some pages back: https://www.facebook.com/groups/mtkroms/

It's a closed (private) group and I don't have a FB account anyway.

Also, I think Ajit uses generic MTK 6582 ones anyway or that are from another MTK 6582 device but edits the \system\build.prop to generic details before uploading.

...
ro.product.manufacturer=mediatek
...
...
...
# ro.build.product is obsolete; use ro.product.device
ro.build.product=mt6582
...
ro.product.device=mt6582
...

ro.product.manufacturer=mediatek and ro.product.device=mt6582 are Vendor (Manufacturer) and Device details respectively, but I still need the actual Trees (setup configuration files). I should try Google-ing from them again.

Lenovo A5000's are: ro.product.manufacturer=LENOVO and ro.product.device=A5000

If you go to http://specdevice.com/showgroup.php?mfid=LENOVO and press Ctrl+F then in the find box type A5000, it'll highlight all the spec uploads people have done for A5000. In fact as of writing this, another Lenovo A5000 upload is one of the latest uploads by someone (look at the Latest's list on the left of the page).

Take that one, for example: http://specdevice.com/showspec.php?id=3b64-079f-8c15-05f44234c63e

If you click on the 6th tab 'build.prop', you can get an idea of what the stock one is supposed to look like.

However, as I only wanna look at the latest stock one (S124) and the perfect spec upload, the upload before that one (http://specdevice.com/showspec.php?id=0340-9c6b-e9b7-41200dcbc051) is the one to inspect. Then if you go to the bottom of the page, under 'Find Similar devices' and check 'Same ro.build.description:', then click Find, you will get a list of all the other phones that have a similar ro.build.description (full_lcsh6582_w_l-user 5.0.2 LRX22G 1447828312 release-keys): http://specdevice.com/find_similar.php?id=0340-9c6b-e9b7-41200dcbc051.

That way, you have a wider reach for custom ROMs that you can port and a bigger community for help :)

Also, in the very top-right corner of the page there is 'Download SpecDevice.apk V1.1.7 (V1.1.5)', so people can use that to upload their spec details. I'm only interested in seeing the custom ROM uploads because we already know stock ROM details and hardware details. There are very few custom ROM spec uploads. Looking in the 6th tab (build.prop) in each of those custom ROM spec details upload, you get an idea of what things are similar and different and what changes/stays the same between the different ROMs.

If you decide to try the .apk on your custom ROMs, try going through as many of the different checks and tests as possible, as you can see some didn't to the touchscreen test and their spec says 'No multitouch' :eek:

I think I know how to (theoretically) get Vendor Trees and Device Trees from a (stock) ROM: http://www.cnx-software.com/2014/05...device-tree-file-from-android-firmware-files/

Of the 4 code boxes with commands, the only one that I didn't know about back then was a tool called DTD (Device Tree Decompiler). We already know about the commands the that s/he gave in those boxes, for example, we know how to extract and split the boot.img (speaking of which, MTK 6582 boot.img's are a nightmare to work with, I'll explain below).

(Also, check last comment on that page if you wanna see the New Device Tree specifications (draft)).

No worries, gets me back in the game, I've got some time on my hands and she's a cool girl, so why not? ;)

As for the boot.img that I uploaded... I give up. I've spent the last 4-5 full nights trying to crack that thing, even with my Linux setup not fully done.

Either it is a 3.10.54 (custom) kernel inside it that is for MM 6.0.1 but it has been heavily modified, or EVERY boot.img splitter tool/script that I have tried is just faulty. In summary, when I extract and split the kernel (sometimes named as boot.img-kernel) from the boot.img, it does not copy the part of the boot.img that has the magic word (1F 8B 08 00 (last two zeros aren't compulsory)). If you open the boot.img with a hex editor, you can easily find the magic word with a quick search for it, so I know it exists. In fact the boot.img also starts with the 'ANDROID!' (exclamation mark isn't compulsory, I think) keyword in the header, which it should, so it seems like it was correctly made but modified (I'm guessing) later on. After all,

there are already MM 6.0.1 ROMs for kernel 3.10.54 for MTK 6582 chipset

out there, BUT those kernels are custom kernels (which doesn't bother me except that people don't share them, not that they have an obligation to but :().

Here is just one of the ROMs I found that don't know the kernel version of:

http://mtkcrom.blogspot.co.uk/2016/04/aicp-11-aicp-custom-rom-for-mtk6582.html

We could probably try flooding the comments section of that page :p (and also of this page: http://mtkcrom.blogspot.co.uk/p/help-and-support-for-mt6572-roms.html, linking the page you're referring to), the Facebook post (https://www.facebook.com/permalink.php?story_fbid=1333764003306987&id=1097570156926374), and the Google+ post (https://plus.google.com/100111462531824498148/posts/hjBw974cCpq), asking what kernel version it is, because everyone is already asking the same question.

(Or you could port it and flash it, but we all know the risks involved there, especially when we don't know the kernel version it's based on).

xda user ariafan already has MM 6.0.1 for kernel 3.10.54 on MTK 6582 chipset: http://xdaforums.com/showthread.php?t=2274332&page=437 but as s/he said on that page that s/he doesn't share it. Granted there are 510 pages of that thread and I didn't read them all, so s/he may or may not have released the ROM in those next 73 pages. I didn't try the Thread Search box on the right of the page, which I should have though, but that's a lot of searches and reading.

You can try Google-ing terms like:

mtk6582 6.0.1 3.10.54

mtk 6582 6.0.1 3.10.54

mt6582 6.0.1 3.10.54

mt 6582 6.0.1 3.10.54

mtk65xx 6.0.1 3.10.54

mtk 65xx 6.0.1 3.10.54

mt65xx 6.0.1 3.10.54

mt 65xx 6.0.1 3.10.54

Search like this:

Go to: https://www.google.com/ncr

Then type advanced_search at the end of the URL so it looks like this: https://www.google.com/advanced_search then press Enter

In the first or second box put:

"3.10.54" "6.0.1"

In the third box put:

MT6582 OR MT65XX OR MTK6582 OR MTK65XX OR MT 6582 OR MT 65XX OR MTK 6582 OR MTK 65XX

Then click Advanced Search button at the bottom. You should come out with something that looks like this (your cookies settings may be different to mine): https://www.google.com/search?as_q="3.10.54"+"6.0.1"&as_epq=&as_oq=MT6582+OR+MT65XX+OR+MTK6582+OR+MTK65XX+OR+MT+6582+OR+MT+65XX+OR+MTK+6582+OR+MTK+65XX&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=&as_occt=any&safe=images&as_filetype=&as_rights=

Now comb through 4,230 results to find the MM 6.0.1 ROMs for kernel 3.10.54 on MTK 6582 chipset, simple :o

Not to mention that many sites have their posts as [mtk6582] [6.0.1] [3.10.54], so adding brackets to the mix too, plus some use MT, some use MTK, and some use MediaTek.

Then there's also www.bing.com.

Have fun.

A whole bunch of other stuff I was going to say but for now I think I may just keep going to get the Vendor Trees and Device Trees or try building a custom kernel (3.10.54). Even though GPS (only a problem for some ROMs, it's getting better in RR 5.6.9 and newer ROMs) and VPN (band-aid solution half way through the page in green text: http://www.mtkroms.com/2015/11/fix-bugs-in-all-cyanogenmod-12-roms-mtk.html) are definitely possible in 3.4.67.

I hope anything I wrote is of some use to someone :)