yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] dew.man:
What does your guide have to do with this thread? You don't seriously think people are going to go and read your thread just because it's mentioned here, do you?

I take offense to that - I have nothing against this tool, nor against kadevil and his efforts to learn more! My only complaint is that he repeatedly tells people that they can build roms using this tool without disclosing that it may boot but will not be usable!

However, people are coming here directly and asking for a rom and kadevil is telling them they can build it themselves with this tool without any of the prerequisite disclosures, and nothing in the OP other than a reference to your thread which most people will not bother to read. And those that do read your thread, may easily misconstrude the references - I myself wasted several hours with this tool after being directed here from your thread before I realized it was incomplete.

Again, nothing wrong with kadevil building this tool and sharing it. But he needs to be clear to people that this will not yield usable roms!

It's obvious that I've ruffled some feathers and instead of taking my comments as constructive criticism, you two are getting your panties all up in a bunch. Maybe it's a language barrier, or maybe it's my demeaner. Regarless, you are both great contributors to this board, and I am thankfull for your efforts. I intended no offense to either of you, and with that said...

Peace; Out!
[Defy Android Development] TJKV:
That right there is the problem. So many of life's problems will be solved if people just read the OP thoroughly...but you are right, maybe it's better if kadavil mentions that bit about framework mods being needed in his OP :)
[Defy Android Development] fabrquila:
Is there a way to extend the tool for porting MIUI JB? It's going to be officially released for Nexus S and Galaxy Nexus phone.s
[Defy Android Development] oSandmaNo:
It is possible but MIUI needs more tweaks. If someone can guide me with that i can add that support as well.

If you want the best MIUI go to Wajk's thread. Its awesome and he is working on a JB version.
[Defy Android Development] idoavni99:
Kadavil can you please add CNA support to your tool.
[Defy Android Development] oSandmaNo:
If i find out what what changes CNA needs i can do that too. I dont know porting. I just make the tool according to the porting guide :)
[Defy Android Development] UncleDan:
I was trying to port PA 1.991 using CM10 Quarx 22/08/2012. The procedure went fine, but stuch on PA logo after reboot. Any hint?
[Defy Android Development] oSandmaNo:
Try pressing y when it asks to copy libandroid-runtime

Press y not Y

Caps Y doesnt act as yes.

and try porting from s2. Thats works for a lot of people
[Defy Android Development] UncleDan:
Thanks I will try band report.
[Defy Android Development] UncleDan:
Nope, still stuck. But thanks for your answer. Back to CM10 for daily use.
[Defy Android Development] oSandmaNo:
Sad. Well unless I get more knowledge on porting I cant do anything more with this tool.
[Defy Android Development] Salo-S:
i've tried to port AOKP JB from this link: http://xdaforums.com/showthread.php?t=1790554

and my defy+ keeps on bootscreen.. anyone can help me?
[Defy Android Development] ldiomedi:
Why port it if we already have a aokp build from sources?

Here is the link: http://xdaforums.com/showthread.php?t=1833036

And it's more updated than that u want to port. Its a great rom and good for daily use.

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] Salo-S:
DOWNLOADED! THAAAAAAAAAANKS now i have an tasty rom on my Defy+ :D
[Defy Android Development] Shaddy-Z.:
I want to try and port Paranoid Android to my HTC one X. What will it take? Will this work out of box if I extract the ROM from the international version and put the output of one of my CM10 nightlies that are made for my phone? Our phones have very few ROM's and I want to help out. If you could PM me that would be great, I probably won't come here often. Google search brought me here :P

So I compiled a ROM using the hard port method, but now I'm nervous to flash. I don't want to hard brick my phone..
[Defy Android Development] debasish_roy2000:
I tried to port rom for my htc sensation using RomPorterV5 tool. it successfully installed in my device but its not starting. Got stacked in the boot screen. Can somebody please help me.
[Defy Android Development] oSandmaNo:
@Shaddy-Z

It wont hard brick(at least for defy users flashing another ROM solves the problem)

@debashih_roy2000

Did you try pressing "y" when it asks to?

NOT CAPS Y. That doesnt mean yes.
[Defy Android Development] debasish_roy2000:
Yes I'm pressing 'y' only.And one more thing, inside the output rom boot.img file is not coming.Can you please guide me through.
[Defy Android Development] oSandmaNo:
I dont know about the boot.img :(

sorry! anyway this tool is as good as dead here since porting from source has taken a huge leap forward! :D
[Defy Android Development] kapil_dheer:
How do we generate a logcat while booting.
[Defy Android Development] brajesh.sharma87:
Go to bootmenu first, select boot, enable adb and then boot to 2nd unit. Now u can see logcat through adb while booting.
[Defy Android Development] kapil_dheer:
Thanks for guiding....android has so much hidden.....

I tried to port pa_i9100-2.10-06SEP2012-134608

To quarx's CM10-20120912-NIGHTLY-mb526 but hot stuck in bootanimation bootloop. This I did with Porter v5.

The logcat of process is in attached link

http://db.tt/yKeCb770

Please look and guide where I could be going wrong. I copied the lib....so file when given the option.
[Defy Android Development] Megalith27:
Just a quick and may be a dumb question, can use this tool to port PA from Defy to MS2?

Or what i need to modify to be able to do that.

Thanks

Edit:

Added these lines

and now will try to the output rom :fingerscrossed:

Edit2: Tried it and got bootloop....
[Defy Android Development] oSandmaNo:
You have to read more:D. Those files are useless if empty. sorry about the bootloop though. I can't help you there. This is just an automated guide
[Defy Android Development] Megalith27:
Yeah, i've read the README file, and populated the a953_backup.txt and a953_remove.txt, and the process ran smoothly. But one thing I've noticed that build.prop file was not modified and also /system/etc/paranoid folder was not copied across. Maybe because, I was trying to port JB Paranoidandroid...not sure if people with Defy/+ had success with it.

Bootloop is not a problem:D have been getting them for three days, trying to port, as long as I can access bootmenu, I can restore every thing...it's just a little frustrating.

Would apreciate if you can prove more input on how to port JB PA rom.

Thanks
[Defy Android Development] oSandmaNo:
Ah Build.prop not getting edited??

If you can please post me the stuff that shows in command prompt while porting.
[Defy Android Development] sebx_g1:
Is this possible to add functionality for codename branch of roms ?
[Defy Android Development] oSandmaNo:
This tool is useless now:D

Roms are being compiled From source. I'll ask moderator to close it
[Defy Android Development] sebx_g1:
But where can I found codename rom compiled from source for DEFY ?
[Defy Android Development] Kayant:
It's in the works my friend..... No eta on when it will arrive but test version will be out sometime soon I hope.
[Defy Android Development] vedhasd:
Does euroskank needs libandroid.so ?

एक्स.डि.ए एप्लिकेशन इस्तेमाल करके, MB525 द्वारा भेजा |
[Defy Android Development] vedhasd:
M nt able to port euroskank builds of jb via this tool..
[Defy Android Development] oSandmaNo:
This tool is useless now :crying:

Each ROM has its own way of porting and it is not possible to include all methods into this :(
[Defy Android Development] bharaththeunique:
Sad....i was thinking of porting my own pa2.22 since skeevy is busy these days ...well i guess the wait continues
[Defy Android Development] oSandmaNo:
Build from source. kayant's guide is good.
[Defy Android Development] bharaththeunique:
Sigh ..neither do i have a pc or the time or the experience to do that...this method would have been easy and would take much less time.
[Defy Android Development] oSandmaNo:
Yep! but as new versions get out porting requires more changes! I only know to code not port! Brajesh told me how to port and I implemented it in code :)
[Defy Android Development] vedhasd:
But whatewa you implemented was cool...nyc wrk...!
[Defy Android Development] brajesh.sharma87:
If kadavil is interested I can guide him with the process so that the tool can be useful for other devices too. :D

Where have u been mate? I was missing you. Dont forget guyz, these kind of ports were started by Sesme first in defy forum.

Can u send me the framework-res.apk of codename port? I might have a solution for that. I thought once to port codename but currently JB version doesnt have much features.
[Defy Android Development] tonyp:
brajesh.sharma87 already contacted me about it.

It should be possible and I could rewrite it to replace the Defy specific stuff with 2x specifics.

But as we currently have no CM10 nightlies and there isn't much happening at the CM9 site anymore I think I'll wait till this tool develops further and we finally receive officiall ICS for the 2x.
[Defy Android Development] oSandmaNo:
Yes, if users can help me, I can easily make this tool port to other devices as well

-Information like which apps are specific to your device (eg, for defy we have defyparts,motohelper,etc)

-Apps which are present in AOKP roms which are useles on your device (eg fo defy NFC.apk, tvout.apk)

-Names of devices which are similar to your device and have known working AOKP ROMs
[Defy Android Development] brajesh.sharma87:
Since the code is open, at least one member of the device forum can edit the name of the apks to be added and deleted. And then present it to the users so that they can do it with 1 click.

Just a credit to kadavil :D
[Defy Android Development] swapnil360:
Please make a Linux version. Please! :rolleyes:
[Defy Android Development] SuperSkill:
Tonyp, you're here as well?

I know we ain't got cm10 yet, but still it seems like more activity on cm development than on stock for o2x, i find the owners of defy really proud of the device and it's still activity on a high level, I love my defy too, mostly used at work though.....i just thought that a automatic porter tool would be handy to help keeping development for o2x grow further and making more of us able to put a rom together so please consider it guys, I'm sure it will be appreciated :)

Sent from my latest DjangoManouche and latest Spica Kernel
[Defy Android Development] oSandmaNo:
Sorry. Im not familiar with the linux commandline :o

Ok. Il add o2x support in the next update :)
[Defy Android Development] Jojo1992:
No Chance To port sense With that or?
[Defy Android Development] brajesh.sharma87:
Look, porting sense without making change in kernel (even after that) is kinda impossible until u r dexter.
[Defy Android Development] pabloltg:
CNA 3.0 for MB526 done!

Works-

Button Backlights

Media scanner

Storage

Defy parts

and.. all CM10 features.

Not works-

Navigation bar

Thanks to kadavil and brajesh!!:highfive:

View attachment 1243173

View attachment 1243174

View attachment 1243175

View attachment 1243176
[Defy Android Development] Sesme:
good work!!!
[Defy Android Development] SuperSkill:
Thanks mate, appreciated a lot :D

Sent from my latest DjangoManouche and latest Spica Kernel
[Defy Android Development] pabloltg:
I only need edit the vibration pattern for capacitive buttons, it's very strong for me.

Later shared.. :good:
[Defy Android Development] brajesh.sharma87:
Dude, navigation bar can be enabled by changing value in bools.
[Defy Android Development] pabloltg:
I know, but can be disabled from Interface controls:confused:
[Defy Android Development] brajesh.sharma87:
I understand what you mean, changing values will permanently disable/enable it.

But if somebody wants it so desperately, he can swap frameworks. :D
[Defy Android Development] Jojo1992:
So first i have To port myself to dexter? Is that right?
[Defy Android Development] pabloltg:
Good point, I will place an alternative framework with navigation bar and buttons off.

Everything is working perfect, only FC in Advanced, Button Brightness.
[Defy Android Development] brajesh.sharma87:
LOL....I didn't mean to offend u bdw. :)

Even I want to use a fully working sense port on defy, be it even Sense 2.1

I always make a good poing. just kidding. :D

make cwm flashable zip of those 2 frameworks and use the one when ever you want :)
[Defy Android Development] Jojo1992:
Yeah me too...i will buy a HTC desire ...
[Defy Android Development] SuperSkill:
Imo sense are boring in ut self, but for development reasons it's exiting as it demands some skills exporting to other devices :)

Sent from latest Django Manouche with latest Spica Kernel
[Defy Android Development] MotorolaDefyLuke:
This might be a stupid question but it got to the end after I tried porting AOKP rom? then it said zipping and that but I dont know where it put the file can anybody help?
[Defy Android Development] sebx_g1:
OK - first converted rom is ready - newest AOKP suggested in first post + Quarx 04/08 - will see if it works .

It was pretty fast proces on my PC. :rolleyes:

So I must say ported rom works good, it has problems with root rights access I almost have solution for it. Why power menu from CM10 is replaced with AOKP? My keyboard SwiftKey 3 works perfect fast and it stays default after reboot.. Greate work :thumbup:
[Defy Android Development] tarekh020:
Can i use this tool with Older CM9 and Older AOKP to enjoy the full features of AOKP

The latest AOKP Rom Control is missing the Settings like the : Weather - Performance - etc..... ,that makes it better than CM10 other than Toggles

BTW : Why no1 care to share his work if stable and working good

Green lens version is preferred
[Defy Android Development] oSandmaNo:
The zip name is outputrom_signed.zip

You will see it in the romporter folder itself!

Yes you can do it with cm9 as well.:D

@sebx_g1

Power menu replaced by AOKP because the new ROM is AOKP :D

Anyway glad it worked well for you :)
[Defy Android Development] Jkmoran:
Hello, this tool is amazing, but i have a problem, when try to sign the output rom, the file just disappear. I reinstall java but still not working, some ideas?
[Defy Android Development] Shubhamqweasd:
latest CM9( by eppy) + milestone 6 = bootloop :(

latest CM9( by eppy) + AOKP build 28 beta5 ( as used by sesme) = still bootloop ??

itll be gud , if some designated people , like kadavil , brajesh , sesme , pablotg and more , if they have some free time , they can start some specefic threads for Codename Android port , latest AOKP port , Paranoid Android port etc.. so that people may find easier to locate the specefic rom they want to use :D
[Defy Android Development] oSandmaNo:
If bootloop select y when it asks to install libruntime.

Its thwre in the OP :p

If signapk error then might be java problem itself. Download latest version and see.

Do you have enough space on your drive for the output ROM?
[Defy Android Development] Shubhamqweasd:
it still bootloops , i tried both methods :D
[Defy Android Development] Jkmoran:
Well, i found the solution. Just change the name to the java folder and works, now i hope my new rom boot :D Thanks

Edit: The rom boot fine, but i can't install the batery fix and can't find defy parts
[Defy Android Development] sebx_g1:
Not all things work as intended - to get SU working and roots rights access I was forced to flash this one new SU app : http://xdaforums.com/showthread.php?t=1538053

Then I found that gallery app works slow and don't show latest pictures - I'm fighting with this issue now ... tried normal gapps , aokp gapps ... minimal gapps no sucess yet . I don't like to do full data wipe ....
[Defy Android Development] brajesh.sharma87:
@kadavil: add these things in your code.

delete "SuperSU.apk'

add "Superuser.apk" from defy rom

This will solve the SU issue.

About the gallery thing, this seems to be a common issue with JellyBean, U will see lots of users complaining the same in the original CM10 thread too.

And I must mention again, This tool is for getting the ROM to boot, to solve some other issues like button backlight, bootmenu text in reboot menu, storage fix, navigation bar enable/disable you will need to decompile framework-res.apk match the value with defy framework-res.apk and recompile again. Some advanced users can also upload the edited framework to help normal users.
[Defy Android Development] oSandmaNo:
Defy parts doesn't work in AOKP at the moment.

Why cant you install battery fix? What error do you get?

Sure. Il make a minor update.
[Defy Android Development] sebx_g1:
Gallery problem is known I agree but I have class 4 Sd card and I never had problems with CM10 and gallery , there must be something wrong in Nexus rom ?
[Defy Android Development] oSandmaNo:
Did you come from CM10 to AOKP without data wipe?
[Defy Android Development] sebx_g1:
Yes - everything works except gallery problems - but few roms ago I had this set of data and apps on AOKP rom and even settings stays as before ... .
[Defy Android Development] oSandmaNo:
Awesome update coming up today! :)

VERY VERY VERY VERY easy to add new devices support to script! (currently MB525 and MB526.)

The tool automatically detects which device is going to recieve port and runs the port. ITS STILL A ONE CLICK PORTER :)

Will now be able to port to any device if device is not supported by attempting a FORCED PORT. ROM may or may not work properly but an option to FORCE PORT is now available.

code cleanup thanks to balika01 for making some parts of my code more efficient!
[Defy Android Development] brajesh.sharma87:
Just excellent!!

In addition, if you still want to add 'jordan' there in place of MB525, you can make an database of the model no. with respect to device code. You can take that database from stats.cyanogenmod.com, I hope u get what I am saying.

and the new thing about adding and deleting apks that you sent me on PM is just awesome. Once the tool gets good feedback, you can release it directly in the "Android Developement Thread". Way to go dude. :)
[Defy Android Development] vedhasd:
guys you doing a sexy work man!! any noob can port the roms!! This is awesomness of xda,android community!!

BIG THANKS TO QUARX,EPPY and now on>>>>>KADAVIL, BRAJESH, SESME
[Defy Android Development] oSandmaNo:
Thank u thank u :D
[Defy Android Development] oxristsis:
Hey guys, perfect work!

I tried to port myself AOKP rom from nexus S and i succeed.

But then i tried to port another 2 roms from Nexus S development section (1)Codename Android 3.0.1 Beta [JB] and 2)Kangyultra-EX 1.3 | RRemix 0.1 ) but then when i install them on my Defy Green Lens i got a bootloop on the boot animation =/

Whhy is this happening? we can only port AOKP ROM ?

thank u
[Defy Android Development] oSandmaNo:
I made this for AOKP

But it shuld work on other ROMs too.

For the other two ROM press y when it asks to copy libruntime nd see if it boots
[Defy Android Development] brajesh.sharma87:
Oops, not yet kadavil. :D

Different ROMs need different lines to be copied in the build.prop

And one more thing, not all ROM can be ported with this method at the moment, try only with CM based ROM.
[Defy Android Development] oSandmaNo:
RomPorter V4 submitted for testing :D

EDIT:

V4 is out! :D
[Defy Android Development] vedhasd:
what is the boot process for normal ROM? cause i had tried sesme's aokp with cm9-hwa using your guide...nd it bootlooped! in cm(s) i dont see devtree.img,boot.img and so on..and in aokp i do..! how to know which rom needs which files to boot? :confused:
[Defy Android Development] oSandmaNo:
I dont know but pablotg ported codename android 3.0 using this tool. Brajesh sharma ported paranoid android using this tool.

I guess some roms are just incompatible
[Defy Android Development] syamo:
Thank you for a great script.

Booted it in Codename-Android!

RomPorterV4

input:Codename-Android-3.1.0-NS

output:CM10-20120804-NIGHTLY-mb525

choice:n
[Defy Android Development] brajesh.sharma87:
There are ROMs in which some libs like "libandroid_runtime.so" and others are patched. They will not boot with this process. Later AOKP ICS had patched libs so when u try porting, it goes in bootloop.

And this kind of port is actually not original and building from source is still better. But then not everybody can do that.

devtree.img, boot.img and logo.img are generally not much important for defy as we dont have much option to choose kernel (only moto kernel). You will only see these in RC roms.
[Defy Android Development] pabloltg:
I'm working in Holo white AOKP for our Defy..

View attachment 1245118

View attachment 1245119

View attachment 1245120

View attachment 1245121
[Defy Android Development] Sesme:
please no use nav bar... is a great mierdaca!!!
[Defy Android Development] Nonda95:
Anyone tried port PARANOIDANDROID with this tool??
[Defy Android Development] idoavni99:
Can i Port Sense4all from nexus S to defy
[Defy Android Development] meilbox:
or ability to port cm7 miui mokeos... :-p
[Defy Android Development] Kayant:
Read first before posting answer here - http://xdaforums.com/showpost.php?p=29819047&postcount=29
[Defy Android Development] oSandmaNo:
Brajesh.sharma tried it and it worked. If you get bootloop, try once again and select y when it asks to copy libandroid_runtime.so

Nope. No MIUI!
[Defy Android Development] TJKV:
So I just ported the latest official CM9 nightly of the nexus s onto quarx's last nightly for the 525...just for kicks :)

I'll try the latest cm10 kang by euroskank next...
[Defy Android Development] malcho:
Port to another device

Hi,

my name is malcho and i'm active in samsung galaxys thread.

I'm trying to port CNA3.1.0 to galaxys using this tool.Here is the error:

Signing ZIP

SIGNAPK.CMD - 2010-04-11 (fixed problem with spaces in filenames)

Written by phaelox, to make using signapk.jar simpler

[JAVA.EXE detected in "C:\orant\jdk\bin"]

Signing OutputRom.zip...

-jar: illegal argument

usage: java [-options] class

where options include:

-help print out this message

-version print out the build version

-v -verbose turn on verbose mode

-debug enable remote JAVA debugging

-noasyncgc don't allow asynchronous garbage collection

-verbosegc print a message when garbage collection occurs

-noclassgc disable class garbage collection

-ss<number> set the maximum native stack size for any thread

-oss<number> set the maximum Java stack size for any thread

-ms<number> set the initial Java heap size

-mx<number> set the maximum Java heap size

-classpath <directories separated by semicolons>

list directories in which to look for classes

-prof[:<file>] output profiling data to .\java.prof or .\<file>

-verify verify all classes when read in

-verifyremote verify classes read in over the network [default]

-noverify do not verify any class

-nojit disable JIT compiler

ROM has been ported! Enjoy!

Press any key to continue . . .

Maybe somebody can help me with error?

Zip file isn't created.

Many regards
[Defy Android Development] oSandmaNo:
Hello!

try running the tool once again(clean the output folder before you do so)

then when it says "signing zip" check if an outputrom.zip file is created, if the zip file is created, then my tool works fine and the problem is while signing only.
[Defy Android Development] malcho:
Yes it creates Outputrom.zip file.What next?
[Defy Android Development] oSandmaNo:
then my tool is OK :P

Install latest java and try again! :)

oh, check if all files are present in RomPorter folder, one or more files might have got deleted or something.
[Defy Android Development] malcho:
Yes Java is problem.Latest version solve the problem.

Thanks
[Defy Android Development] oSandmaNo:
So did it boot?
[Defy Android Development] TJKV:
Porting any ROM using epsylon's cm10 builds as base doesn't work, right?
[Defy Android Development] malcho:
Have to try.No time right now.When i come home.

I'll let you know how it goes.

Many regards
[Defy Android Development] oSandmaNo:
Not sure!! I havent used this tool to make any ROMs for me :cyclops: