[Q] Porting a ROM for first time - EVO Shift 4G Q&A, Help & Troubleshooting

I am wanting to try my hands at porting Sense ROMs for my Shift and was wondering what I should use as the base. I found a thread, http://forum.xda-developers.com/showthread.php?t=934313, that has the stock ROM from the Shift that has just been rooted and nothing else. Is this what I should use as the base for it and then find another Sense ROM, ideally 3.0 or above, and use it as the porting ROM? Thanks for any answers, I am hoping to become a help to those who are wanting to get into this field by not being afraid to ask these questions, because I myself would love to become a dev and figured porting would be the best jumping off point and then working my way into building whole custom ROMs.

This would be an updated base for Gingerbread Sense ROMS http://forum.xda-developers.com/showthread.php?t=1873472
To port Sense 3.6+ ICS is going to be some work. Porting Sense is more involved than just moving a few files and getting it to boot. It's honestly easier to use the dsixda kitchen to turn a system.img and boot.img into a ROM than it is to port. I've been messing with Android for a good year now and I've just learned to port aosp, and Def can't port Sense.
Sent from my miTouch-4G-Slide using Tapatalk 2

strapped365 said:
This would be an updated base for Gingerbread Sense ROMS http://forum.xda-developers.com/showthread.php?t=1873472
To port Sense 3.6+ ICS is going to be some work. Porting Sense is more involved than just moving a few files and getting it to boot. It's honestly easier to use the dsixda kitchen to turn a system.img and boot.img into a ROM than it is to port. I've been messing with Android for a good year now and I've just learned to port aosp, and Def can't port Sense.
Sent from my miTouch-4G-Slide using Tapatalk 2
Click to expand...
Click to collapse
So most of the "porting tutorials" I have seen out there are full of bs and not as easy as they make it out to be then lol. I have read through ones using dsixda kitchen, I will go that route, thanks for the advice and answer.

nateandjess07 said:
So most of the "porting tutorials" I have seen out there are full of bs and not as easy as they make it out to be then lol. I have read through ones using dsixda kitchen, I will go that route, thanks for the advice and answer.
Click to expand...
Click to collapse
In all honesty they were that easy, but with every new version of android comes new files, or renamed files ect.
Porting aosp is as easy as the guides, megaghost is who started teaching me how to port aosp, then a couple guides later I noticed that there were libs I never moved over from port to base.
Dsixda kitchen is just a tool for me, I use it to sign apks when I don't decompile them in android-utility also if I'm leaving the house and need something deodexed, or to simply cook an ota into a flashable.
Sent from my miTouch-4G-Slide using Tapatalk 2

But there is always something with AOSP ports that you have to go back and fix and that is not always easy... In fact it is sometimes mind numbingly difficult to get some stuff to work. Trial and error, and don't be afraid to ask questions if you get stuck.

Yes just post up. People in the Shift forum are more than willing to help each other out

Related

Hack you way into proprietary libs with gdb and IDA Pro,guide from creator of apktool

Found this thread about editing lib files , not sure if developers have come across it or not, but could be a way to get real3d framework onto cyanogen mod roms
http://forum.xda-developers.com/showthread.php?t=1374345
there is cyanogen mod for 03D
He means to port the real3d framework into cyanogen. Dont know if it will work though because im a noob.
Sent from my LG-P920 using xda premium
Yeh, I meant actually getting the 3d bits from original roms which are proprietary and using them in roms such as cyanogen mod type roms (or vanilla, or unofficial ics roms)
I doubt this will be used by the cyanogen team, but if a Dev picks this up, manages to port the 3d libs into CM7, this will be the all time dominating ROM for this phone. Period.
yeh im hoping an "anonymous" dev with a bit of free time comes across this and ports the damn thing already lol. this will open huge possibilities for more ports from other phone \ roms which are far better ,without loosing the main factor for buying this phone. But chance of this happening is slim
There are official ICS roms out for this phone?
kyanox said:
There are official ICS roms out for this phone?
Click to expand...
Click to collapse
Nope and it won't be anytime soon...

[HOW-TO] How i port AOSP ICS ROMS **Will not work with MTD ROMS**

Alot of people have been asking me how i ported Slim ICS, soooo...i made a tutorial on how i port AOSP ICS roms...this is a general tutorial that should be just enough to get the port to boot. your port will not be flawless and it will probably have some major bugs that need fixing which are usually fixed by libs.
This should work with all AOSP ICS roms except those formated in a MTD file system (MTD is not supported by the infuse)...but for best compatibilty use a similar phone like the galaxy s...also before porting if you plan on uploading it you must get permission first!!! Dont make the same mistake i made with slim...
http://www.youtube.com/watch?v=loFHhYf0ca4
Guide:
***DISCLAIMER***
i am not responsible to any damdge caused to your phone by following this tutorial, you are doing this at your own risk. Before beginning you can not be afraid to mess with system file, to experiment, to get boot loops or even completely destroy your phone-for the infuse this is highly unlikely
if you fear bootloops or bricking a phone than you should not follow this tutorial
this guide should work for all phones and all AOSP roms, however every rom is different so some may require extra steps which you will be on your own for...this should be enough to get you to boot up though.
***END OF DISCLAIMER***
if you have any questions please feel free to comment bellow, dont message me on youtube i probably wont answer...if you do comment i may or may not help you, but maybe somebody else will. i have a busy life, and am constantly busy with the infuse and can not spend the time to address everyones issues...but by commenting maybe some one will help.
TOOLS/PROGRAMS NEEDED:
1) 7zip or other archive program
2) text editor, for windows i would use notepad++
STEPS:
1) download CM9 for your device or other AOSP based ics rom ***This is your base rom, you will use this to replace files in the rom you want to port***
What ever firmware your base is is the firmware you will be able to port...EX: 4.0.4 base=4.0.4 port
***for this tut i will be using CM9 4.0.4 for the infuse found here: http://forum.xda-developers.com/showthread.php?t=1601844 ***
2) download rom you want ported ***it can be from any phone, but for best compatibilty/least amount of bugs use a rom from a similar device, since i have an infuse i will use a Galaxy S ICS rom"
3) open up the CM9 or whatever base rom you are using with 7zip (dont extract it just view the archive...for 7zip right click rom, go to 7zip option and choose view archive)
4) delete the following folders in the system folder: app, framework, media, and fonts
5) open up the rom you want to port and use the app, framework, media, and fonts folder to replace the ones you just deleted in the cm9 base
6) copy libandroid_runtime.so *located in /system/lib/* from the rom you want to port into the cm9 base (you are replacing the one already in there) keep a copy of the one in CM9...if it doesnt boot up put the CM9 one back in
OPTIONAL/NOT NEEDED to make the rom run
a) go to build.prop and change the name of the rom
b) change the name of the CM9 base zip to whatever you are porting
7) place the rom on your sd card and flash...if you get bootloops do a logcat
If your rom is unresponsive/not working right you may need to replace some stuff in the /system/lib/ with stuff from the rom you are porting (just compare the rom you are porting with cm9 and whenever you see something missing in the CM9 base or dif size switch it over BUT keep a backup of the unresponsive one that booted...this part is all trial and error) i can not help you with this part...you are on your own, but feel free to comment and i may try and help or someone else may try and help
Also logcats will help in diagnosing problems...
please dont pm me for help, comment on this thread and if i have time i will try and help...or someone else will. im really busy, im a junior in highschool, so i have homework monday-friday, not to mention that my 92 year old great aunt is moving in with us as she can no longer take care of her self alone so i will be busy taken her to appointments and what not.
If i could i would help each and every one of you guys...but i just dont have the time to help everyone so if we can restrict the questions and answers to here hopefully we can limit the amount of questions asked.
Saved for Q&As...
just in case...
Thank you very much MG for your hardwork and dedication. This guide will actually help and inspire many of us to bring ICS flavours on Infuse. :thumbup:
Only a HS junior? My god what was I doing when I was your age? Definitely not porting Android roms.
Sent from my Samsung Infuse running AOKP.
i was bumping school to join computer class
ndhanta said:
i was bumping school to join computer class
Click to expand...
Click to collapse
Hmm I believe we were smoking cigs and talking about girls. But then in those days we didn't have computers or cell phones
Rom Aeon v 1.3.1
oldbbman said:
Hmm I believe we were smoking cigs and talking about girls. But then in those days we didn't have computers or cell phones
Rom Aeon v 1.3.1
Click to expand...
Click to collapse
Although oldbbman is more seasoned than me...I do remember those days...now I jjust dip Copenhagen and still talk about the girls...MILFs....
bigjoe2675 said:
Although oldbbman is more seasoned than me...I do remember those days...now I jjust dip Copenhagen and still talk about the girls...MILFs....
Click to expand...
Click to collapse
Lol
Luckily I didn't know then what I know now or I would probably have more kids then I have now.
Now back on topic. Porting ics Tom's is getting bigger on this forum
:thumbup::thumbup::thumbup:
Rom Aeon v 1.3.1
Believe me...for a while I wasn't making the smartest choices...wasn't hanging around the right crowd and was leading my life down the wrong path...doing these ports and developing has helped me turn my life around and make better choices, I love the challange and I lobe figuring things out...always have
Sent from my SGH-I997 using XDA
Btw...you guys should see a new port by me tomorrow...maybe even tonight, and I have received permission this time...
Sent from my SGH-I997 using XDA
ndhanta said:
Thank you very much MG for your hardwork and dedication. This guide will actually help and inspire many of us to bring ICS flavours on Infuse. :thumbup:
Here are steps for port which are with the Youtube video of MG2195. (It also deserves to be here).
TOOLS/PROGRAMS NEEDED:
1) 7zip or other archive program
2) text editor, for windows i would use notepad++
STEPS:
1) download CM9 for your device or other AOSP based ics rom ***This is your base rom, you will use this to replace files in the rom you want to port***
What ever firmware your base is is the firmware you will be able to port...EX: 4.0.4 base=4.0.4 port
***for this tut i will be using CM9 4.0.4 for the infuse found here: http://forum.xda-developers.com/showthread.php?t=1601844 ***
2) download rom you want ported ***it can be from any phone, but for best compatibilty/least amount of bugs use a rom from a similar device, since i have an infuse i will use a Galaxy S ICS rom"
3) open up the CM9 or whatever base rom you are using with 7zip (dont extract it just view the archive...for 7zip right click rom, go to 7zip option and choose view archive)
4) delete the following folders in the system folder: app, framework, media, and fonts
5) open up the rom you want to port and use the app, framework, media, and fonts folder to replace the ones you just deleted in the cm9 base
6) copy libandroid_runtime.so *located in /system/lib/* from the rom you want to port into the cm9 base (you are replacing the one already in there) keep a copy of the one in CM9...if it doesnt boot up put the CM9 one back in
OPTIONAL/NOT NEEDED to make the rom run
a) go to build.prop and change the name of the rom
b) change the name of the CM9 base zip to whatever you are porting
7) place the rom on your sd card and flash...if you get bootloops do a logcat.
If your rom is unresponsive/not working right you may need to replace some stuff in the /system/lib/ with stuff from the rom you are porting (just compare the rom you are porting with cm9 and whenever you see something missing in the CM9 base or dif size switch it over BUT keep a backup of the unresponsive one that booted...this part is all trial and error) i can not help you with this part...you are on your own, but feel free to comment and i may try and help or someone else may try and help
Also logcats will help in diagnosing problems.
Click to expand...
Click to collapse
Your right should be here...I'll add to the op
Sent from my SGH-I997 using XDA
mg2195 said:
Btw...you guys should see a new port by me tomorrow...maybe even tonight, and I have received permission this time...
Sent from my SGH-I997 using XDA
Click to expand...
Click to collapse
Now we can see more and more Android 4.x.x. in the Development section.
Nice work. Thanks for sharing with the community.
Sent from my SGH-I997 using xda premium
mg2195 said:
Alot of people have been asking me how i ported Slim ICS, soooo...i made a tutorial on how i port AOSP ICS roms...this is a general tutorial that should be just enough to get the port to boot. your port will not be flawless and it will probably have some major bugs that need fixing which are usually fixed by libs.
im a junior in highschool, so i have homework monday-friday.
Click to expand...
Click to collapse
Good job..thanks for sharing.
Now I can't say I never learned anything about tech from a high schooler..
Um that is a wise statement
Hey mg. I have your v1.0 slim ics and the ns tools fix. How would i combine them? Thanks in advance
I was going through the files and if I just put the apk in the system/app it would be alright?
isaiahe97 said:
Hey mg. I have your v1.0 slim ics and the ns tools fix. How would i combine them? Thanks in advance
I was going through the files and if I just put the apk in the system/app it would be alright?
Click to expand...
Click to collapse
yep, that would fix it
you may want to warn those about the mtd partition system while porting since i ve ran into several of them
GoSooners345 said:
you may want to warn those about the mtd partition system while porting since i ve ran into several of them
Click to expand...
Click to collapse
Yeah...ive been looking for another rom to port as the one i last did was just discontinued by the original dev, out of the three ive tried so far all have been mtd file system...will add to OP/title that it doesnt work with mtd file systems...

Port a rom

Guys,I want port this rom: http://forum.xda-developers.com/showthread.php?t=1763514. Is there a guide for do this? Thanks in advance!
Sent from my nexus s using xda app
Spidergio said:
Guys,I want port this rom: http://forum.xda-developers.com/showthread.php?t=1763514. Is there a guide for do this? Thanks in advance!
Sent from my nexus s using xda app
Click to expand...
Click to collapse
The OP in that thread says:
4. No ports based on my ROM zip file, manifest.xml will be updated regularly and feel free to compile from source
Start elsewhere, unless you want to learn to compile. Come back with a ROM you're allowed to port and post it here. Then we'll help you
same
trying to port a rom also still working on it
Porting can be easy or hard depending on many factors.
First of all, if the rom type the you are porting (AOSP, Sense, AOKP, CM7/9/10, Touchwiz, Motoblur, etc.) already has similarly typed ROMs for your device your life will be much easier as you will have a base to work with.
The general idea for an easy port is to use the boot.img, keylayout, modules, and many libs from a similar ROM that already exists for your device. Also, the build.prop and updater-script will need edited (updater-script for most, but not all, ROMs).
If you are on an HTC device and you go grab a Touchwiz ROM to port, you're most likely going to have a bad time. Start with something that exists in large quantities for your device. AOSP ROMs are usually a great place to start.
estallings15 said:
Porting can be easy or hard depending on many factors.
First of all, if the rom type the you are porting (AOSP, Sense, AOKP, CM7/9/10, Touchwiz, Motoblur, etc.) already has similarly typed ROMs for your device your life will be much easier as you will have a base to work with.
The general idea for an easy port is to use the boot.img, keylayout, modules, and many libs from a similar ROM that already exists for your device. Also, the build.prop and updater-script will need edited (updater-script for most, but not all, ROMs).
If you are on an HTC device and you go grab a Touchwiz ROM to port, you're most likely going to have a bad time. Start with something that exists in large quantities for your device. AOSP ROMs are usually a great place to start.
Click to expand...
Click to collapse
I am on a nexus s and now i want TO port the touchwiz5. Can anyone help me? I am a student! I'm inexperienced, but I want to try.. Thanks .
Sent from my nexus s using xda app

Love my Sense, but...

I got small problem. I love the Sense but is not available(working) for the slide. The only one that I found was the Mike, but is old. I would like to learn how to port a rom. I spend hours Google the subject and found nothing related to slide and sense. Most - if not all - are related to CM.
The stock sense 3.0 works fine, but lack some esthetic and improvement. I would like to "make" 4.1 rom, but have no clues how. Any one know a good guide for beginners?. Even at my age ( old fart) I am willing to learn just need a "push" into right directions. Thanks.
cuiltheory said:
I got small problem. I love the Sense but is not available(working) for the slide. The only one that I found was the Mike, but is old. I would like to learn how to port a rom. I spend hours Google the subject and found nothing related to slide and sense. Most - if not all - are related to CM.
The stock sense 3.0 works fine, but lack some esthetic and improvement. I would like to "make" 4.1 rom, but have no clues how. Any one know a good guide for beginners?. Even at my age ( old fart) I am willing to learn just need a "push" into right directions. Thanks.
Click to expand...
Click to collapse
Check the mirror thread there is a 4.1 sense rom by sundream
Sent from my SGH-T889 using Tapatalk 2
I read those posts. He give it up and link for download is not available. There is china web site, but can not figure out the download. He had some problems with using virtuous kernel.
mattlowry said:
Check the mirror thread there is a 4.1 sense rom by sundream
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
cuiltheory said:
I read those posts. He give it up and link for download is not available. There is china web site, but can not figure out the download. He had some problems with using virtuous kernel.
Click to expand...
Click to collapse
SCROOL UNTIL YOU SEE IT
cuiltheory said:
I read those posts. He give it up and link for download is not available. There is china web site, but can not figure out the download. He had some problems with using virtuous kernel.
Click to expand...
Click to collapse
You didnt check the MIRROR THREAD did you?
Sent from my SGH-T889 using Tapatalk 2
cuiltheory said:
I read those posts. He give it up and link for download is not available. There is china web site, but can not figure out the download. He had some problems with using virtuous kernel.
Click to expand...
Click to collapse
MIRROR THREAD! http://forum.xda-developers.com/showpost.php?p=30281206&postcount=3
Sorry for the "quiet time". I was reading and downloaded some roms, but still do not found any good quide to rom making. I had partial success with rom kitchen. I took my stock rom and made one without ruu. That way I can flash it - if need without flashing radio. I added root and busybox, then zipalign. For some reason, the kitchen refuse to de-oxed. The root manager lite did not install. I had to side loaded. I found a quide to adjust transparency, but it is for evo phone. Will try that. I found couple of guides to make my own rom, but all are for non-sense roms. I want to learn to port sense rom. The other interesting info I found. The slide have Expresso UI. Variant of sense, but not true sense. Could that be a problem?. Thanks.
cuiltheory said:
Sorry for the "quiet time". I was reading and downloaded some roms, but still do not found any good quide to rom making. I had partial success with rom kitchen. I took my stock rom and made one without ruu. That way I can flash it - if need without flashing radio. I added root and busybox, then zipalign. For some reason, the kitchen refuse to de-oxed. The root manager lite did not install. I had to side loaded. I found a quide to adjust transparency, but it is for evo phone. Will try that. I found couple of guides to make my own rom, but all are for non-sense roms. I want to learn to port sense rom. The other interesting info I found. The slide have Expresso UI. Variant of sense, but not true sense. Could that be a problem?. Thanks.
Click to expand...
Click to collapse
Do what you want but if it were me I'd learn to fly in a Piper Cub. You can always graduate later to a Lear jet. Good Luck!
You COULD Google "Porting Sense ROMs" & it will give you plenty of selections.

Android Kitchen Rom porting?

Hey Everybody,
Has anybody tried using Android Kitchen by dsixda to port roms to our device, the one sv?
According to the Kitchen's thread it was built for Htc devices....
I am new to porting and porting to htc devices seems much harder than porting to Samsung devices?!
I have tried using ViperSv.. It's horrible.. I mean it's really laggy .. I am currently using the stock rom with many Xposed mods.
What exactly do you expect it should do for you?
Porting other roms will need either very much resizing to resolution of SV or finding drivers/files that work with its hardware (in simple words).
In both cases the kitchen will not do the work for you.
I thought you left! Welcome Back
I thought porting is just copying kernel files/drivers and using a rom from a device with the same res. #noobinglikeaboss
imankareem said:
I thought you left! Welcome Back
Click to expand...
Click to collapse
From time to time i come and take a look, if there is something new up here
I thought porting is just copying kernel files/drivers and using a rom from a device with the same res. #noobinglikeaboss
Click to expand...
Click to collapse
Well, if it would be that easy....
I don't want to discourage you, but at least some basic knowledge is needed.
I tried to port Desire 500 dump, but it didn't even boot, so i think you need a good guide, to do that.
Awww.. Well I thought it would be easy since Cm gets ported instantly to every new device

Categories

Resources