install Custom rom in Android SDK - General Questions and Answers

How can i test my Custom ROM before flashing it into my phone?????I heard android SDK is gud for that job......i found some tutorial for installing custom ROM on SDK in windows....I've some doubts regarding that alsolike how to convert my custom ROM ZIP to a .img file......So kindly help me....

Related

[ROM] How to combine root filesystem, kernel in android

Hi all,
I am trying compile and build custom ROM from android source for nexus s.
In the custom ROM for example crespo.zip we have three files inside
*META-INF
*system
*boot.img
I have compiled a android from source , but i don't known which files are needed in "out" directory to make a zip file. i googled and found tools to extract boot.img file and repack it . I don't known what are the steps to follow to create a META-INF folder.
i already rooted my phone and able to install custom ROM .zip downloaded from cynogenmod.
But how to built our own custom ROM
Can anyone give the steps to follow after compiling android from source
Regards
Sivakumar

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

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.

Need A Custom Recovery for Mtk6582... Sc8830/sp7731gea Device Iball Andi Hd6

Hello All..
I am Shobuj.
I have a phone named Iball Andi Hd6..
Its Android version running 4.4.2
its rooted with kingroot
Its a Mtk6582 and sc8830/sp7731gea based device..
Now I am find a cwm/twrp/ctr/philz recovery for it.. but i can't.
At Last I am here for finding some help...
plz Anybody make for me a custom recovery,,
My Stock Recovery is here https://drive.google.com/file/d/0B3oA3Az757gCdWl2d0pPcVZoVkk/view?usp=drivesdk
And Boot.img is here..
https://drive.google.com/file/d/0B3oA3Az757gCeHhfWm5ldEc4dTA/view?usp=drivesdk
Plz Help Me...
Asking someone to build a recovery for you is waste of time you better port a recovery for your device for this watch this tutorial on how to port recovery( no PC method) https://m.youtube.com/watch?v=uBS-uJ8rJUg if you have a PC then watch this https://m.youtube.com/watch?v=g4LAiJ0r1dE
For no PC method you need to flash this zip http://forum.xda-developers.com/attachment.php?attachmentid=3725442&d=1461180809 on your phone for this you must be rooted you can flash zip using any of this apps Flashify,Flashfire,Rashr(you can find this apps at play store)or any other liketool.If this doesn't work for you there is another method using apktool google it you'll find.
Note:Before proceeding you have to google what is porting.To port a recovery you need a working recovery of another device which has same CPU that your device is having.There many tutorials out there on XDA and youtube go through those tutorials.Happy porting
I forgot to tell that the zip can be flashed if you have custom recovery.Since you do not have you to extract that zip,copy AIK-mobile folder from zip and place it here /data/local/ after placing AIK-MOBILE folder you have to copy files which are suitable to your processor in "bin" folder of zip and place it here /data/local/AIK-MOBILE/bin/ to do this use any root explorer.

How to make a stock rom file into TWRP Flashable zip file . Guide me Guys.

How to make a stock rom file into TWRP Flashable zip file . Guide me Guys. I need to flash stock rom without going root & twrp recovery.
what mobile r u using if u use mediatek mobile u can use sp flash tools

Newbie Question How to flash custom rom

I just unlocked my bootloader and was able to flash a recovery, LR recovery to be exact. I currently use the stock miui android 11 and I'm not sure if I'll be able to flash roms like evolution, corvus and etc. I don't understand the vendor thing when flashing a custom rom, will you help me out on how to make things clear for me on what is a vendor and how to know if it's the right one for my phone. Thank you in advance.
TheSilhouette said:
I just unlocked my bootloader and was able to flash a recovery, LR recovery to be exact. I currently use the stock miui android 11 and I'm not sure if I'll be able to flash roms like evolution, corvus and etc. I don't understand the vendor thing when flashing a custom rom, will you help me out on how to make things clear for me on what is a vendor and how to know if it's the right one for my phone. Thank you in advance.
Click to expand...
Click to collapse
IF this is the INDIAN poco x2, then your device model id is PHOENIXIN_in_global, so you cant install any custom roms here. If you can mod the id to PHOENIX then all the roms here are open for installation. However upon inspection of extracted fastboot versions (not recovery version) of Miui roms I've seen vendor files which are images, now if you can replace the vendor files from your desired rom with your model's specific vendor image files you can practically install any rom.
You'll have to extract the fastboot rom which is when you'll be able to see these files. And again just get platform tools and copy past all files from the rom to install by just clicking on flash_all.bat
AIDROOS said:
IF this is the INDIAN poco x2, then your device model id is PHOENIXIN_in_global, so you cant install any custom roms here. If you can mod the id to PHOENIX then all the roms here are open for installation. However upon inspection of extracted fastboot versions (not recovery version) of Miui roms I've seen vendor files which are images, now if you can replace the vendor files from your desired rom with your model's specific vendor image files you can practically install any rom.
You'll have to extract the fastboot rom which is when you'll be able to see these files. And again just get platform tools and copy past all files from the rom to install by just clicking on flash_all.bat
Click to expand...
Click to collapse
Very Useful Information..
Thanks))
So practically every ROM has to be altered and installed only in Fastboot version?
And how about recovery version as Install Zip Files? do you recommend it>
AIDROOS said:
IF this is the INDIAN poco x2, then your device model id is PHOENIXIN_in_global, so you cant install any custom roms here. If you can mod the id to PHOENIX then all the roms here are open for installation. However upon inspection of extracted fastboot versions (not recovery version) of Miui roms I've seen vendor files which are images, now if you can replace the vendor files from your desired rom with your model's specific vendor image files you can practically install any rom.
You'll have to extract the fastboot rom which is when you'll be able to see these files. And again just get platform tools and copy past all files from the rom to install by just clicking on flash_all.bat
Click to expand...
Click to collapse
Hey Could you please explain in detail how I can do this? I want to install a custom rom(Arrow OS) on my phone(miui 12.1.2) but I keep getting the following error when I try to do it using twrp:-
E1001 failed to update system image. ERROR 1
Failed to mount /system_root(invalid argument)
Failed to mount /product(no such directory)
I'm new to this and any help would be greatly appreciated.
PS: I get the same error for anything else I flash too.

Categories

Resources