[Android General] blahmartinblah:
Android Development

ROM Reading / Writing with SP Flash Tool:

Smartphone Flash Tool (SP Flash Tool) is a Windows application for reading and writing to MediaTek SOC powered devices.

To read or write to a specific device, you need a 'scatter file' for the correct type of CPU. The scatter file defines the memory ranges within the chip. P6000 Pro uses the MediaTek MT6753 SOC:

http://androidurdu.net/mediatek-scatter-files-download/

Instructions to read back from SP Flashtool:

1. Load the Scatter file (download from above)

2. Select the 'Readback' tab, press 'Add' to add a range

3. Double click on the row that appears in the table. Type a filename to save this memory range to (Eg. recovery.img if you're reading the recovery memory area)

4. Enter the start address and length of the section you are reading back - copy them from the scatter file.

3. Push 'Read Back' button

4. Remove the battery from the phone

5. Connect the phone to USB. No need to power it on. It will connect and commence reading. The recovery memory range took about 3 seconds to read back.

6. It will say 'Readback OK' and you will now have a img file from that memory range.

Available ROMs:

Stock Android 5.1 20150910:

http://bbs.elephone.hk/thread-7986-1-1.html#.VghUSflVhBc

https://mega.nz/#!ghgSHQCL!xxvBWtgCQsaXe2I7yOBxIl5w5SV2hpfFRtefAEmWxPU

Stock Android 5.1 20151031:

http://bbs.elephone.hk/thread-9362-1-1.html#.Vl9bd_nhC70

https://mega.nz/#!M5YFWRiC!pYiql0Q556CmFyB0t8XRUxgTxMe-LW1pfSfuqUxEYvY

FlyME 4.5.3a:

http://bbs.elephone.hk/thread-7380-1-1.html#.VghUevlVhBc

https://mega.nz/#!z8NRAKyS!BkQQc44aTciy9vuT-d4-kWnyr8pnHkI595U7nEfXMGU (26.08.2015)

DCU v12.1 (AOSP):

http://bbs.elephone.hk/thread-8759-1-1.html

http://4pda.ru/forum/index.php?showtopic=686517

https://yadi.sk/d/637BNhDQjdwtr (09.10.2015)

https://yadi.sk/d/ylE2JKN5jroQN (20.10.2015)

Eragon 5.1 Lollipop (AOSP):

http://xdaforums.com/android/development/rom-18-11-eragon-v1-0-p6000-pro-android-t3251881 (Credit: [MENTION=4626501]skeleton1911[/MENTION])

IUNI OS Android 5.1.1:

http://4pda.ru/forum/lofiversion/index.php?t686517-320.html (release thread)

https://yadi.sk/d/UGEdEkb2jutMp (22.10.2015)

Upcoming ROMS:

Elephone have announced Android 6.0 Marshmallow will be released for the P6000 Pro:

http://www.elephone.hk/readnews/8160.html

Custom Kernel:

[Kernel][1.5 Ghz] visi0nary's kernel for P6000 Pro credit: [MENTION=3784300]BlueFlame4[/MENTION]

Stagefright Patch:

The stock ROM is vulnerable to Stagefright CVE-2015-6602 and CVE-2015-3864. A patch is available:

http://xdaforums.com/android/development/bug-fix-stagefright-t3193219 Credit: [MENTION=5238428]superdragonpt[/MENTION]

Note: Modification to the loader script or manual installation via ADB required, due to the P6000 Pro using different partition names. A modified version by [MENTION=5942301]ahorntaler[/MENTION] is available on needrom but may not be the latest version.

Source Code:

Elephone have released via Github the source code for the P8000, which shares the same CPU (MTK6753) and GPU (ARM MALI-T720) as the Elephone P6000 Pro:

https://github.com/elephone-dev/P8000-Kernel

Discussion: http://xdaforums.com/elephone-p8000/development/kernel-elephone-p8000-kernel-source-code-t3163314

Compiled P8000 kernel: http://xdaforums.com/elephone-p8000/orig-development/kernel-visi0narys-kernel-t3226081 Credit: [MENTION=3784300]BlueFlame4[/MENTION]