Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] How to test Cooked / Ported ROM - SGR

OP iKevinShah

5th March 2012, 06:56 PM   |  #1  
OP Senior Member
Flag Mumbai
Thanks Meter: 145
 
239 posts
Join Date:Joined: Aug 2011
Donate to Me
More
PORTING ROM - TUT

As per this guide i have made a rom port of Wiui for SGR

i want to test it

whats the safest method to test it (except flashing it on my cell, as bricking is always the threat)

AVD is also not in the scene i tried many times !

please guide
5th March 2012, 08:21 PM   |  #2  
TheFrankenstain's Avatar
Senior Member
Flag Moscow
Thanks Meter: 2,828
 
1,085 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by iKevinShah

PORTING ROM - TUT

As per this guide i have made a rom port of Wiui for SGR

i want to test it

whats the safest method to test it (except flashing it on my cell, as bricking is always the threat)

AVD is also not in the scene i tried many times !

please guide

If you replace the kernel with the phone then nothing happens but you have not bootable version, need flash and get logcat
6th March 2012, 04:50 AM   |  #3  
OP Senior Member
Flag Mumbai
Thanks Meter: 145
 
239 posts
Join Date:Joined: Aug 2011
Donate to Me
More
i am totallly new to this scenario

i searched online and logcat seems to be something related to Android SDK ?

am i wrong ?

also

I ported using Android Kitchen

and replaced kernel during that

and after doing all changes to build.prop, made the zip, signed it

now if i copy to sd card and update will it be done :/


what should i do to avoid BRICKING
6th March 2012, 08:33 AM   |  #4  
Senior Member
Thanks Meter: 201
 
120 posts
Join Date:Joined: May 2010
Quote:
Originally Posted by iKevinShah

i am totallly new to this scenario

i searched online and logcat seems to be something related to Android SDK ?

am i wrong ?

also

I ported using Android Kitchen

and replaced kernel during that

and after doing all changes to build.prop, made the zip, signed it

now if i copy to sd card and update will it be done :/


what should i do to avoid BRICKING

Flashing will probably fail if you use kitchen generated updater-script.
I needed to use a custom updater-script from another working rom to make it flash.

Good luck!
6th March 2012, 05:22 PM   |  #5  
OP Senior Member
Flag Mumbai
Thanks Meter: 145
 
239 posts
Join Date:Joined: Aug 2011
Donate to Me
More
FranzJesus

\can u explain me a lil mroe?

abt custom updater script ?
6th March 2012, 10:53 PM   |  #6  
Senior Member
Thanks Meter: 201
 
120 posts
Join Date:Joined: May 2010
Quote:
Originally Posted by iKevinShah

FranzJesus

\can u explain me a lil mroe?

abt custom updater script ?

The script file is far down the META-INF directory.
Replace that file with one from a custom rom zip file.

More info on the scripting language is here: http://forum.xda-developers.com/showthread.php?t=936175

The rest is up to you. Google is your friend
The Following User Says Thank You to FranzJesus For This Useful Post: [ View ]
7th March 2012, 04:23 AM   |  #7  
OP Senior Member
Flag Mumbai
Thanks Meter: 145
 
239 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Quote:
Originally Posted by FranzJesus

The script file is far down the META-INF directory.
Replace that file with one from a custom rom zip file.

More info on the scripting language is here: http://forum.xda-developers.com/showthread.php?t=936175

The rest is up to you. Google is your friend

ok so all i need to take care is about the UPDATE SCript right

rest all the porting from the kitchen happens perfectly ?

i.e boot.img and kernel and system,etc ?
7th March 2012, 09:29 PM   |  #8  
Senior Member
Thanks Meter: 201
 
120 posts
Join Date:Joined: May 2010
Quote:
Originally Posted by iKevinShah

ok so all i need to take care is about the UPDATE SCript right

rest all the porting from the kitchen happens perfectly ?

i.e boot.img and kernel and system,etc ?

Yeah, pretty much.
But it's the updater-script that makes sure the files gets to the correct partitions.
There is no "easy" way to do this. No shortcuts. Kitchen makes it easy to add stuff, sign and change build.prop things. But that's about it.
You need to study code and the information that is here on XDA or on google, because if you wan't to succeed you need to get your hand dirty.

As for your little project, do you have a aosp-rom for our phone to build from?
Because that guide you are referring to says that you need a cm7 or aosp base build for you phone, otherwise the build you are doing won't boot.
8th March 2012, 05:19 AM   |  #9  
OP Senior Member
Flag Mumbai
Thanks Meter: 145
 
239 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Question
Quote:
Originally Posted by FranzJesus

Yeah, pretty much.
But it's the updater-script that makes sure the files gets to the correct partitions.
There is no "easy" way to do this. No shortcuts. Kitchen makes it easy to add stuff, sign and change build.prop things. But that's about it.
You need to study code and the information that is here on XDA or on google, because if you wan't to succeed you need to get your hand dirty.

As for your little project, do you have a aosp-rom for our phone to build from?
Because that guide you are referring to says that you need a cm7 or aosp base build for you phone, otherwise the build you are doing won't boot.

AOSP is there in early stages

no cm7 as of yet...
so what m doing is chucking the Kitchen part for porting,

Can I :-
Edit the stock ROM and rename it,add root permissions and change some apps in system/apps and replace them with the ones found in MiUI and CM7

and then SIgn it back and update (flash it via CWM)

will that work atleast ?
8th March 2012, 07:34 AM   |  #10  
Senior Member
Thanks Meter: 201
 
120 posts
Join Date:Joined: May 2010
Quote:
Originally Posted by iKevinShah

AOSP is there in early stages

no cm7 as of yet...
so what m doing is chucking the Kitchen part for porting,

Can I :-
Edit the stock ROM and rename it,add root permissions and change some apps in system/apps and replace them with the ones found in MiUI and CM7

and then SIgn it back and update (flash it via CWM)

will that work atleast ?

I think you have better luck having stock as base build, but you can not replace all apps. As far as I know.

I think, but not sure, that it is the updater-script that handles rooting, renaming after kitchen has been done. And if you replace the updater-script with a custom one, you will lose those changes you made with kitchen.

Therefore, until kitchen has full support for our phone, I would advise you to learn how to write your own updater-script. As I sad before, start looking at an updater-script from another rom for example Infected or Titanium.

The Following User Says Thank You to FranzJesus For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes