[NEW] How to port custom roms and custom recoveries for sc7731/sc8830 - Android General

hello guys i'm coming today with a new method to port custom roms and recoveries for sc7731/sc8830 phones
First i love to thanks @dev.shinchan @amiro13 @thedevilashish for their help
let's get started
How to port a custom recovery​1- download AIK android image kitchen on your laptop http://forum.xda-developers.com/attachment.php?attachmentid=3638835&d=1454959265
2- get your stock recovery.img
3- extract the AIK
4- place your stock recovery and the custom recovery in the AIK
5- now drag your stock recovery to unpackimg then you will see two folders ramdisk and split-img put them out of the AIK
6- now drag your custom recovery to unpackimg you will see again two folders split-img and ramdisk
7- delet custom recovery split-img and keep the ramdisk
8- copy stock recovery split-img to the AIK
9- now double click on the repackimg and wait until he finich
10- now you will see a file named image-new.img this your ported recovery just flash it with fastboot from your computer or flashify from your phone
twrp
https://www.dropbox.com/s/ix5ztylxl9enipd/twrp sc7731 sc8830 2.8.7.0.img?dl=0
https://www.dropbox.com/s/z9urwbgf7mc5wld/twrp cameleon A1.img?dl=0
https://drive.google.com/file/d/0B1MnFzuGjoAPdWpBNTBueUJzbW8/view?usp=sharing
https://drive.google.com/file/d/0B1MnFzuGjoAPV2pvWFJyNjFfN1k/view?usp=sharing
philz temporary flash it via recovery
http://www.mediafire.com/download/aluiyy7q318qssx/Philz_Non_Touch_Recovery_advan_s4k_#2.zip#2.zip
cyanogen
https://www.dropbox.com/s/fyivg78vkegbg3p/clockworkmod.img?dl=0
clockworkmod temporary flash it via recovery
http://www.mediafire.com/download/4xqaqut7a54lp8s/Temporary_CWM_6.0.3.7.zip
miui
https://drive.google.com/file/d/0B8vhq1nCgRGddWN1WVpERGZzb1U/view?usp=drivesdk
How to port a custom rom​
first you need
stock rom with boot.img
custom rom (i will give you the link)
winrar
the most important " a normaly workin brain " :silly:​its really easy
what you need to do is very simple you just need to copy some files from stock rom to custom rom
let's get started
just copy lib folder from /system and you have ported the rom
now replace custom boot.img with your stock boot.img and delete logo.bin compress your custom rom wirh winrar set compression zip and compression type as normal and flash it via custom recovery
if you face any bugs just contact me
custom roms
pussyfap v1
https://mega.nz/#!PIZiHKoR!d4laRHzQxW_57-GOL3QohIUb6VrDVlyZOqK7qDKzCSA
rushpop
https://mega.nz/#!XZw3iZYT!KsO8L9s_2-BZ2IcKo9tRVB0onIJeWInEFQqeUBTvsAc
lg-G4 rom deodexed
https://mega.nz/#!GRQlkLyD!IfzM1U23ZwdJWFpZu63oHMdOS66Ywp6_j_j34dCK6Fs
Brown X
http://www.4shared.com/zip/LjLx8RSLce/BrownX.html
more roms all crédits to advan s4p official group
color os
http://www.mediafire.com/download/38op3632rpwpcxc/[RomPort]_Color_Os_S4P.zip
galaxy s6 theme
http://www.mediafire.com/download/at85x1tdu6t1yiz/[RomPort]_Samsung_S6_for_S4P.zip
asus stock rom
https://mega.nz/#!vghjVSKY!m4bQ7J6DSZfHqQusMiw2_AoRCP2JbBGJS0BZdIs6YOU
huge of roms
Lolli mini v2
https://mega.nz/#!ehF03BzS!9rk7qXMkQ9VG7pvu41DxvCFmyzkemZm4EgyF2Hz8MuM
XPERIA_Z ROM
https://mega.nz/#!qpUWUQLZ!KZQUu9M6-5L5g5svdfXpkcbkQP7SA14oPnjVwPPKYgY
RushPop V2 (Revised)
https://mega.nz/#!qpUWUQLZ!KZQUu9M6-5L5g5svdfXpkcbkQP7SA14oPnjVwPPKYgY
( Marshmallow ROM )
https://mega.nz/#!HN1USawa!B3ND4aFWFoHNwlLIcta9Y-QLMw5oE3ZE3XldQ4LyZZM
PHILIPS ROM
https://mega.nz/#!Cc9wDRAb!6yrX_eOHI_1-tWCiS7KNAz6JBUPuG1-mNgCrDHCyPZY
:highfive::good:
And don't forget to thanks . i spend a lot of time to this work
i will upload more roms soon

TO FIX DATA CONNECTION BUG
copy phoneserver from system/bin
Add onscreen navigation keys
Open build.prop in notepad and paste them at last
qemu.hw.mainkeys=0
Click to expand...
Click to collapse
To disable 'em paste
qemu.hw.mainkeys=1
Click to expand...
Click to collapse

Hi!!
would like to know if the temporary recoveries will for my sc7731
https://pinoyscreencast.net/product/myphone-my28s/

archeart said:
Hi!!
would like to know if the temporary recoveries will for my sc7731
https://pinoyscreencast.net/product/myphone-my28s/
Click to expand...
Click to collapse
It works for all sc7731/sc8830 phones

nasreirma said:
It works for all sc7731/sc8830 phones
Click to expand...
Click to collapse
I tried it and no luck.. I think this is only for kitkat im on lollipop

archeart said:
I tried it and no luck.. I think this is only for kitkat im on lollipop
Click to expand...
Click to collapse
yeah its work just on kitkat devices

nasreirma said:
yeah its work just on kitkat devices
Click to expand...
Click to collapse
bummer guess I will try to downgrade my sc7731 XD I am not happy with lollipop...
now to research on how to haha

Ported twrp but touch not working

Ravi bailwad said:
Ported twrp but touch not working
Click to expand...
Click to collapse
try another one

Thanks
Thanks you just saved me
I was trying to port many recoveries for more than a week but all were unsuccessful. But finally your method worked. Thanks for your help. U r a legend.

nasreirma said:
hello guys i'm coming today with a new method to port custom roms and recoveries for sc7731/sc8830 phones
First i love to thanks @dev.shinchan @amiro13 @thedevilashish for their help
let's get started
How to port a custom recovery​1- download AIK android image kitchen on your laptop http://forum.xda-developers.com/attachment.php?attachmentid=3638835&d=1454959265
2- get your stock recovery.img
3- extract the AIK
4- place your stock recovery and the custom recovery in the AIK
5- now drag your stock recovery to unpackimg then you will see two folders ramdisk and split-img put them out of the AIK
6- now drag your custom recovery to unpackimg you will see again two folders split-img and ramdisk
7- delet custom recovery split-img and keep the ramdisk
8- copy stock recovery split-img to the AIK
9- now double click on the repackimg and wait until he finich
10- now you will see a file named image-new.img this your ported recovery just flash it with fastboot from your computer or flashify from your phone
twrp
https://www.dropbox.com/s/ix5ztylxl9enipd/twrp sc7731 sc8830 2.8.7.0.img?dl=0
https://www.dropbox.com/s/z9urwbgf7mc5wld/twrp cameleon A1.img?dl=0
https://drive.google.com/file/d/0B1MnFzuGjoAPdWpBNTBueUJzbW8/view?usp=sharing
https://drive.google.com/file/d/0B1MnFzuGjoAPV2pvWFJyNjFfN1k/view?usp=sharing
philz temporary flash it via recovery
http://www.mediafire.com/download/aluiyy7q318qssx/Philz_Non_Touch_Recovery_advan_s4k_#2.zip#2.zip
cyanogen
https://www.dropbox.com/s/fyivg78vkegbg3p/clockworkmod.img?dl=0
clockworkmod temporary flash it via recovery
http://www.mediafire.com/download/4xqaqut7a54lp8s/Temporary_CWM_6.0.3.7.zip
miui
https://drive.google.com/file/d/0B8vhq1nCgRGddWN1WVpERGZzb1U/view?usp=drivesdk
How to port a custom rom​
first you need
stock rom with boot.img
custom rom (i will give you the link)
winrar
the most important " a normaly workin brain " :silly:​what you need to do is very simple you just need to copy some files from stock rom to custom rom
let's get started
From system/bin
netd
sensorservice
tc
wpa_supplicant​from system/etc
bluetooth (whole folder)
dhcpcd (whole folder)
firmware (whole folder)
permissions (just handheld_core_hardware and platform)
wifi (whole folder )​from system/lib
egl (whole folder)
hw (whole folder )
modules (whole folder)
all libs exept libandroid-runtime and libandroid-servers​from system/usr
keylayout (just Generic.kl)​now replace custom recovery boot.img with your stock boot.img and delete logo.bin compress your custom rom wirh winrar set compression zipe and compression type as normal and flash it via custom recovery
custom roms
pussyfap v1
https://mega.nz/#!PIZiHKoR!d4laRHzQxW_57-GOL3QohIUb6VrDVlyZOqK7qDKzCSA
rushpop
https://mega.nz/#!XZw3iZYT!KsO8L9s_2-BZ2IcKo9tRVB0onIJeWInEFQqeUBTvsAc
lg-G4 rom deodexed
https://mega.nz/#!GRQlkLyD!IfzM1U23ZwdJWFpZu63oHMdOS66Ywp6_j_j34dCK6Fs
Brown X
http://www.4shared.com/zip/LjLx8RSLce/BrownX.html
more roms all crédits to advan s4p official group
color os
http://www.mediafire.com/download/38op3632rpwpcxc/[RomPort]_Color_Os_S4P.zip
galaxy s6 theme
http://www.mediafire.com/download/at85x1tdu6t1yiz/[RomPort]_Samsung_S6_for_S4P.zip
asus stock rom
https://mega.nz/#!vghjVSKY!m4bQ7J6DSZfHqQusMiw2_AoRCP2JbBGJS0BZdIs6YOU
huge of roms
Lolli mini v2
https://mega.nz/#!ehF03BzS!9rk7qXMkQ9VG7pvu41DxvCFmyzkemZm4EgyF2Hz8MuM
XPERIA_Z ROM
https://mega.nz/#!qpUWUQLZ!KZQUu9M6-5L5g5svdfXpkcbkQP7SA14oPnjVwPPKYgY
RushPop V2 (Revised)
https://mega.nz/#!qpUWUQLZ!KZQUu9M6-5L5g5svdfXpkcbkQP7SA14oPnjVwPPKYgY
( Marshmallow ROM )
https://mega.nz/#!HN1USawa!B3ND4aFWFoHNwlLIcta9Y-QLMw5oE3ZE3XldQ4LyZZM
PHILIPS ROM
https://mega.nz/#!Cc9wDRAb!6yrX_eOHI_1-tWCiS7KNAz6JBUPuG1-mNgCrDHCyPZY
:highfive::good:
And don't forget to thanks . i spend a lot of time to this work
i will upload more roms soon
Click to expand...
Click to collapse
I need cyanogen rom. I already tried marshmallow rom specified in description but i didnt like the notification panel. I want cyanogen rom which i can port to my Zen ultrafone u506 pro which is running in speadtrum sc7731.

rockermr said:
I need cyanogen rom. I already tried marshmallow rom specified in description but i didnt like the notification panel. I want cyanogen rom which i can port to my Zen ultrafone u506 pro which is running in speadtrum sc7731.
Click to expand...
Click to collapse
sorry impossible to port cm you need to build it from source

nasreirma said:
sorry impossible to port cm you need to build it from source
Click to expand...
Click to collapse
Well can u tell me how to build it from source. I have some experience in working with linux. CAn u post a tutorial abt that.

ph

amiro13 said:
Hi nasreirma
I did port(with your method) omnirom for my device from here:http://4pda.ru/forum/index.php?showtopic=728189&view=findpost&p=47445640
Download rom link :https://yadi.sk/d/BzSNIIplpTwEj
The device is Manta MSP4506 sc7731g and in system's folder of this omnirom there is init.d folder.
My device is huawei y560-u02 sc7731g have support init.d , few days ago i installed it.
I think , i can to flash this port omnirom...
Your opinion, pls
Before flashing rom,need to wipe cache/dalvik, system, data ?
Thanks
Click to expand...
Click to collapse
i already port it from fly era life 7 but tnx 

rockermr said:
Well can u tell me how to build it from source. I have some experience in working with linux. CAn u post a tutorial abt that.
Click to expand...
Click to collapse
there you go but first need to download cm11 source
https://wiki.cyanogenmod.org/w/Doc:_porting_intro

nasreirma said:
i already port it from fly era life 7 but tnx 
Click to expand...
Click to collapse
Welcome
Congrats :good:
ok, found passyfap v.1

Will this work on my sp7715 phone if I port it? I've been trying to build twrp from source using the device tree I created, but it doesn't work. It just hangs on the manufacturer splash screen.
My tree I've been working on: http://github.com/Qiangong2/android_device_BLU_D190U

CM Port
Yeah i know that. I saw some tutorials in xda. Intial steps were ok but they told to setup a device tree from github. Im confused with those steps. Those tutorials were for popular phones. Those devices were listed in github. I own Zen ultrafone u506 pro which is not famous and it is not listed in github. wjhat can i do.

Related

[GUIDE]Easiest MEathod For porting Recovery

How to port Recovery !!! easiest method Ever , no compile! just port!~~
credits-:
Dsixda For His awesome kitchen
And TO me For Awesome Guide
ITS ONLY FOR PEOPLE USING DSIXDA KITCHEN OR IF U DONT HAV JUST TAKE ANY BOOT.IMG EXTRACTOR AND RE PACKER
1 Take recovery u want to port and 2 roms (of same phone u hav or copy rom)
2 Copy recovery and replace with boot.img (rename recovery to boot.img)
3 Place in Original_update
4 Open kitchen click on port rom
5 select 1 rom having boot.img (not recovery)
6 now select rom having recovery named as boot.img
7 it will port and now make a zip of rom hav recovery named as boot.img
8 And flash rom , i know u will have grafs prob~ but sol=: open recovery by kitchen (name boot.img) goto res folder in ramdisk and chang wid your fone's recovery!!!!!
9 Fix and Enjoy!!!!!!!!!!!!
Flash Recovery at your own Risk! I am not Taking Any Credits l0l for Your Bricked Device den dont cum wid crying that my fone is BRICKED!
Hui hui swag level
kD said:
hey buddy improve your english spelling of menthod is wrong lol :d
Click to expand...
Click to collapse
Hello. I know this is old post but do you happen to create Intel Bay trail recovery?
Or at least tell me how?
Thanks a bunch!! :good::fingers-crossed:

How to port roms to your mtk with android device

HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE
Most of us have always wanted to use custom roms but there just no custom roms for our devices so we just use different app launchers and uninstall some bloatware to make our stock rom feel good.
Rom porting makes it possible to use a custom rom on your mtk device provided in this tutorial they have the same chipset (example: mtk 6582 ported to mtk6582).
THINGS NEEDED :
1. B1 archiver / ES FILE EXPLORER
2. Root Browser.
4. A rooted device is also needed but not much important if you have CWM INSTALLED WITHOUT ROOT.
PROCEDURE :
1. Make a backup of your current rom, preferably CWM backup. You can either use MTK DROID TOOLS or ROM MANAGER...
The location of the backup will be at clockwork/backup/"date and time of the backup ". This is very important since we will need stuff from the back up and we will also use the backup to recover the phone should the ported rom give any problems.
2. At this point I presume you have already downloaded the apps needed and the custom rom you want to use which is in a zip format( this was not important but I had to bring it up cause I know zombies could be reading this.
3. Now extract the custom Rom with Root Browser. if you extracted with Root Browser then the location will be "speedsoftware/extracted/"folder with the name of the custom rom "".
4. Now open Root Browser and open the folders side by side "custom rom which will be ported at one side and other side will be used for searching for the location of the things needed for the custom rom.
5. Delete the following from the Custom rom:
Boot.img
logo.bin (You do this only when you like the Your current logo.bin)
system/vendor
system/usr
system/lib/hw
system/lib/modules
system/lib/libncurses.so
system/etc/firmware
system/etc/vold.fstab
system/etc/vold.fstab.nand
system/etc/bluetooth
6. Now that you have deleted them from the custom rom replace them. You will find the boot.img at clockworkmod/back/"folder with date and time"/boot.img. The rest of the files and folders will br located in the Root /system. Just copy and paste
7. Now at the custom Rom panel go back to where you find the "META-INF" folder,open /google/android will now long press on "updater script" and tap on open with then select text editor.
8. Check The mount & format point check something like this mmcblk0p. A number is always written after the "P" replace the number of your BASE to PORT.
9. Check multi select in B1 archiver Select ( do not archive the folder the files are in but the individual files in the folder containing the extracts)
10. Compress to ZIP file wait till the process finished. Now boot to recovery and flash your ROM
Good luck in porting Your Rom... I have used this method to port 5 roms including AROMA ROMS. and I have never ported a Rom with a pc before
MAYBE U NEED TO EXTRACT THE BOOT IMG TOO IF THIS DIDNT WORKED
DO IT AS FOLLOWS
Requirements:
-- BusyBox (cpio, gunzip and gzip is mandatory)
-- /System Write Permissions (Does not need to be a modified kernel)
-- Terminal Emulator
-- ES File Explorer (or similar)
-- Hex Editor (or use of DD)
-- Open up your android terminal emulator.
-- Now go ahead and pull your boot.img from your device (or use another one if you wish)
-- Open up your boot.img with the Hex Editor and look for: ANDROID!. Remove everything before it so that the ANDROID! header is the first to be read then save it over top of the boot.img. NOTE: This is only required if you are using a stock boot.img.
OR USE THIS IF U DIDNT UNDERSTOOD THIS
Hello Everyone, I’ll show you how to Unpack and Repack your Phone’s Boot.img & Tweak Karnel. Lets start.
Make a new folder named “boot edit” in cache/
image
Pull your boot.img in this folder
image
Now open ApkTool. Long press on “cache“, click on Get Access Permission.
image
Open cache folder and do same with boot edit. Give ApkTool access permission
image
Open boot edit, click on boot.img select Expack(MT65xx), press ok
image
It will unpack your boot.img.
image
Now open file manager & go to cache/boot edit/. You wil find your unpacked boot.
image
Now edit/modify the files or tweak karnel.
Again open ApkTool. Goto cache/boot edit click on ramdisk select repack-mt65xx.
image
It will repack your boot.
image
You will find an img file named new.img
image
This file is your Tweaked/edited/custom boot.img!!
Flash it via Recovery or Flashify & Enjoy..
FOR DETAILED AND STEP WISE GUIDE WITH SCREEN SHOTS SEE HERE
Mod Edit: link removed
XDA:DevDB Information
HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE, ROM for all devices (see above for details)
Contributors
manhar2108, manhar2108, 2108kick
Source Code: Mod Edit: link removed
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: all
Version Information
Status: Stable
Created 2015-08-16
Last Updated 2015-08-16
HIT THANKS IF I HELPED U
Good guide..
Especially for noobs....
Darshan601 said:
Good guide..
Especially for noobs....
Click to expand...
Click to collapse
i too am a noob so i tried and made this guide
how bout porting 5.1 rom to 4.4.2 stock?
what should I consider?
aside from tweaking kernel
manhar2108 said:
i too am a noob so i tried and made this guide
Click to expand...
Click to collapse
Yeah....Even I am a noob
gunzgunz said:
how bout porting 5.1 rom to 4.4.2 stock?
what should I consider?
aside from tweaking kernel
Click to expand...
Click to collapse
just replace all these files and use stock kernal to port them
good luck
Sir i tried your guide in porting rom. Mt6582 tp mt6582 chipset roms.. But after replacing those files you mentioned and when i flashed it to my phone, it was tuck in boot screen and keep on restarting. How am I going to fix this?
Thread closed. Pay per click links are not allowed on XDA.
Darth
Forum Moderator

[MTK][Utility]Port And Flash recovery On the go

Hellow friends..?
Here is a small utility forMTK u guys may like..
https://mega.nz/#!4lAgkQCR!ly1L3qopC_LJyAdzF94aCIBg-AsE22xEma25h0mlZbc
what is this tool...?
-This is a recovery flashable zip.
what it does..?
-It ports the recovery of other mtk device to your mtk device and flashes on the go.
How to use..?
- Extract this zip
- Replace recovery.img by any of your choice(may b of any other devices also)
- Repack it
- And flash it from a working stable recovery.
- Thats all done,If the porting is success,u will b booted into new recovery
what if i lost my recovery in doing this..?
- Dont worry
Old recovery is backed up to internal storage
flash /sdcard/recovery-old.img using flashify
Does this works on any android and any recovery..?
-No,Works with most of the mtk devices and most of the mtk recoveries(currently supports ramdisk in gz compression only)
#NOTE: This is only to taste new recoveries,it may contain issues.If u want to customise or stabilise recovery u can port or compile urself?
special thanks to @kuberrocks96
and [email protected] used their binaries
and me
If any new guy to development interested to port rom or port recovery,here is an awsome guide by Kuber Sharma
https://forum.xda-developers.com/android/software-hacking/guide-port-64-mtk-roms-t3555933
AWESOME
Keep it up Uday.
Very very Good Guide
kuberrocks96 said:
AWESOME
Keep it up Uday.
Very very Good Guide
Click to expand...
Click to collapse
Thanq for ur help and support?

new recovery cyngenmod for j120h

tody porting recovery for j120h only
FOR INSTALL:
1-DOWNLOAD RASHR.APK (need root)
2-chooes recovery in flash as recovery
enjoy
We are can work together to bring Los for j1 2016 j120?
thinhx2 said:
We are can work together to bring Los for j1 2016 j120?
Click to expand...
Click to collapse
ok I'm currently working on cm12 for this device
can you help me
syria-droid said:
ok I'm currently working on cm13 for this device
can you help me
Click to expand...
Click to collapse
you can share source code?
I use currently this rom for porting http://forum.xda-developers.com/galaxy-star/development/cyanogenmod-12-1-samsung-galaxy-star-t3421905/
You have modified the following:
*file build.prop
* replace folder system>etc>wifi from rom stok
* replace folder system>etc>bluetooth
* replace folder system>etc>ppp
*replace folder system>lib>hw
*replace folder system>lib>modules
* replace folder system>egi
* replace file system>USR>keylayout>Generic.kl
* Modify a file updater-script
*Modify boot.img
The result:
boot Compatible with rom
and And popping up bootanimations
but bootloop after 3m
I found a file in vendor>firmware>"BCM4343A0_001.001.034.0039.0100_ORC_Higgs-2G.hcd" I couldn't open it
this file Speciale to g350e
I think the problem Related with this file
thinhx2 said:
you can share source code?
Click to expand...
Click to collapse
yes sir here http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=j120h
syria-droid said:
tody porting recovery for j120h only
FOR INSTALL:
1-DOWNLOAD RASHR.APK (need root)
2-chooes recovery in flash as recovery
enjoy
Click to expand...
Click to collapse
Does it work?sorryI just wanted to know if its safe because i dont know if it will brick my phone thank you

[Guide] [SC8830/SC7731/SC9830] Custom Recoveries Porting guide for Spreadtrum phones.

Code:
[CENTER][COLOR="Red"]Your warranty is now void.[/COLOR]
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research before asking help and reporting bugs and please read the entire OP.
YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.[/CENTER]
All suggestions and helps are welcome here so please help me in improving this thread by suggesting your ideas.
This guide will work for any SPRD phone (any SPRD chip) from Old versions of android to latest Oreo but recoveries that I provided in this thread will work for devices from KitKat to Marshmallow no guarantees for older or newer versions.
Buckup! Backup! Backup!​
Before modifying system it's highly recommended to have full dump of your device. So don't forget to take backup.
It's simple to get custom recovery for rooted users as they can directly backup, modify and flash recovery or boot images on the go with the help of root. But non-rooted users need to do some extra which will be explained later. Follow the below steps:
=>Download and setup AIK (Android Image Kitchen)
=>Grab your stock_recovery.img
For rooted users​Install Flashify, Rashr, Partitions Backup or like apps (available on play store for free) and backup the stock recovery. If you are using Flashify to backup you have to rename the backed up image with .img extention
For non-rooted users​Download your stock firmware which will be in .pac extension extract it using this guide and copy the recovery.img
=>Now download custom recovery (for downloads see 2nd post)
=>Port recovery
For PC version of AIK​
• Extract the AIK on desktop in a folder (extracting inside other folder(s) is not recommended)
• Place stock_recovery.img (use the name recovery.img only I added stock to refer the image) in earlier extracted folder
• Now double click on 'unpacking.bat'
• Now you'll see two folders 'ramdisk (mostly executables)' and 'split-img (kernel to boot recovery) rename those folders like this 'ramdisk.s' and 'split_img.s' (renaming is used to avoid copying/moving needed files)
• Now delete the earlier pasted stock_recovery.img and paste custom_recovery.img (rename it to recovery.img)
• Unpack it just like stock_recovery
• Delete the split-img and rename the 'split_img.s' to split_img
• Open recovery.fstab from /ramdisk.s/etc (stock recovery's fstab) and /ramdisk/etc (custom recovery's fstab) using Notepad++ or with your favorite note editor. In case of TWRP recovery this file will be named as twrp.fstab if there is recovery. fstab you can ignore it.
• Edit the partition names and mount points in custom recovery with your stock recovery's fstab. But in most cases the mount points will be shown like this 'mmclbk0p17 for system partition' in that case you need to change custom recovery.fstab with the mount points of your device, to find out mount points of partitions install Diskinfo from play store and enable all options in it which will show complete information regarding each and every partition on your device
• At last double click on 'repackimg.bat' now you'll see 'image-new.img' which is ported custom_recovery.img for your device
• The final step is flashing the recovery. It's easy for rooted users simply use Flashify app to flash. For non-Root users you need to flash it over fastboot mode for this look at this thread.
For mobile version of AIK​
You can also port the recovery on-the-go using AIK-Mobile unfortunately to use this needs your device must be rooted with BusyBox (Stephen (stericson) is recommended) installed.
It's a flashable zip but you can extract the zip and place the files manually. Follow below steps for setup:
• Extract the AIK-Mobile.zip
• Paste the AIK-Mobile folder under data/local of extracted zip to /data/local
• Paste files under /bin of extracted zip to /data/local/AIK-Mobile/bin
• Make sure all files including folders are having these permissions "-rwrx-xr-x-".
For placing files, changing permissions and executing scripts 'Explorer' by speed software is recommended.
For porting follow above steps (steps in PC version of AIK) the only difference here is .bat files of PC version will be as .sh in mobile version which are to be executed as root for unpacking and repackaging images.
Note:Follow the instructions properly, don't quote entire OP while asking for help. Due to some touch related drivers missing in kernel of recovery in some devices touch recovery won't work in that case please use Non-Touch recovery. In lollipop or later versions don't flash <3.x.x versions which may result in SD card mounting issues and even flashing errors. First test the recovery that you ported by flash a simple mode (I prefer AIK-Mobile since it doesn't modify the system partition hence there is not chance of bootloop. Also see whether wipe options works properly or not in some devices wiping (even cache) takes ~10m in that case goto settings check the option "use rm -rf instead of formatting".
Hit thanks button instead of posting thanks it'll boost me to create more threads like this.
Credits:
Advan S4P [Official] (fb group), SuDroid Tech (fb group), @@ki , @Jitheshwar (it's me), and some aliens from other universe.​
Created: 27-09-2017
Last Updated: 27-09-2017
Custom recovery downloads
1) TWRP recovery images
2.7.0-0
2.8.5-0
2.8.5-0
3.0.0-0
3.0.2-0
3.0.2-0
3.0.2-0
3.1.1-0
2)Cyanogen recovery (for lollipop)
3)Cyanogen recovery (for kikat)
4)MIUI recovery
5)Ultra CWM
6)Temporary CWM (only for KitKat and older
7)Temporary Philz (only for KitKat and older)
Temporary recoveries provided here are not for porting. You can flash those zips directly from you stock recovery these recoveries will have basic functions like flashing ROMs, Wiping (in some devices it'll take too long to wipe so just use factory reset option of stock recovery and then flash this recovery finally the ROM. Back up option of recovery might not be fully functional. Scrolling is glitchy but it'll work when you press button. These are more for users who are unable get working recovery
Reserved for FAQ.

			
				
Do you know how to port boot to help twrp recovery mode boot up ? Please guide me.
Boot Secure & twrp
Jitheshwar said:
Click to expand...
Click to collapse
I have fpt x50 , vn phone , which runs android 7.0 with sc7731c
Will this guide work ??
Jitheshwar said:
..
Click to expand...
Click to collapse
Sir...
you wrote that delete only split_img.s.....
but not ramdisk.s.......
Is there any problem will arise when repacking with ramdisk.s with ramdisk and split_img of custom recovery?
HemanthJabalpuri said:
Sir...
you wrote that delete only split_img.s.....
but not ramdisk.s.......
Is there any problem will arise when repacking with ramdisk.s with ramdisk and split_img of custom recovery?
Click to expand...
Click to collapse
Read again carefully you have to pack custom recoveries ramdisk with stock split_img and reversing the process will mess up the recovery and then you have to flash the stock recovery. So read the guide carefully step-by-step and follow the process exactly unless you know different working method.
unknown said:
I have fpt x50 , vn phone , which runs android 7.0 with sc7731c
Will this guide work ??
Click to expand...
Click to collapse
Give it a try it may work. But none of the recoveries that are provided here will work for your device, you need to find Android 7.0 and later recoveries which will be compatible with your chipset model.
kaew158 said:
Do you know how to port boot to help twrp recovery mode boot up ? Please guide me.
Boot Secure & twrp
Click to expand...
Click to collapse
TWRP has nothing to do with boot.img. If you are not able to boot to recovery try different key combination. Is you messed up recovery too then flash it via fastboot and then flash the stock Rom.
Jitheshwar said:
Click to expand...
Click to collapse
Sir finally the process is to pack
⇛split_img of stock recovery ......
⇛ramdisk of custom recovery you listed by replacing recovery.fstab file
Some doubt are ... from where the recoveries are taken sir?
another one is can i port a custom recovery made for similar device to my device by using these steps?
Thanks for supporting spreadtrum devices....
HemanthJabalpuri said:
Sir finally the process is to pack
⇛ramdisk of recovery you listed by replacing recovery.fstab file
⇛spit_img of stock recovery right......
Some doubt are ... from where the recoveries are taken sir?
another one is can i port a custom recovery made for similar device to my device by using these steps?
Thanks for supporting spreadtrum devices....
Click to expand...
Click to collapse
Kindly go through the entire post carefully, I believe I provided sufficient info that even a newbie can port.
Jitheshwar said:
Kindly go through the entire post carefully, I believe I provided sufficient info that even a newbie can port.
Click to expand...
Click to collapse
Sir I read entire post...
But there is no line that states to delete ramdisk of stock recovery....
Check and add that line sir....
Also process of installing AIK for Mobile changed...
We directly install and use the AIK as all other apps on playstore
HemanthJabalpuri said:
Sir I read entire post...
But there is no line that states to delete ramdisk of stock recovery....
Check and add that line sir....
Also process of installing AIK for Mobile changed...
We directly install and use the AIK as all other apps on playstore
Click to expand...
Click to collapse
I clearly stated all the steps in an easy and simple way. My kind request to you to read the post again. And one more thing if you want to use apk version use it I don't have any issues but don't ask me if anything goes wrong.
i ported twrp 3.2.1 to sc8830 sucessfully but touch is not working , can you help?
where can i find non-touch recovery
I'm using android 5.1
What is specification kernel architecture in this tutorial?. I have HH Advan S50 same with the name of chipset version.I still doubt fo following your tutorial.
denmasgie said:
What is specification kernel architecture in this tutorial?. I have HH Advan S50 same with the name of chipset version.I still doubt fo following your tutorial.
Click to expand...
Click to collapse
This is just some copy&paste guide thath will not work on most bootloader locked spreadtrum OEM phones
Please fix the twrp links!!!
@Vortex said:
This is just some copy&paste guide thath will not work on most bootloader locked spreadtrum OEM phones
Click to expand...
Click to collapse
No custom recovery will work on bootloader locked devices...
denmasgie said:
What is specification kernel architecture in this tutorial?. I have HH Advan S50 same with the name of chipset version.I still doubt fo following your tutorial.
Click to expand...
Click to collapse
Kernel architecture is ARM.

Categories

Resources