How-to make a port??? - myTouch 3G, Magic Android Development

Hello,
first, scuse me for my very bad english, but I'm 15, Swiss and my native language is French!
I have a question....how can I make a port? Because it got many ROM for 32A [6.35], and they are very good, but I can't have those. If I have a 32A without BT, OK, but how can I make a port?
I've tried to repack boot.img using a 32B (eris ROM) kernel to port a 32A [6.35] ROM, but, it don't freeze, but it restarted many times, and then, it go to recovery!
If anyone can help me....

The 6.35 radio are a bit tougher to build for. But you can take a working 6.35 kernel and repack it with the ramdisk from the ROM you want to port. A port basically has the following:
1) Kernel that matches the device you want to port TO (ie. 32A)
2) ramdisk from the ROM you are porting
You then have to pack those files together using mkbootimg --base 0x19200000
Here are two posts that take you through the steps:
http://wiki.cyanogenmod.com/index.php/How_to_build_a_kernel_port
http://androidspin.com/forum/showthread.php?t=2207
Here is an old guide, where it says to use mkbootimg-H, use mkbootimg --base 0x19200000.
http://rapidshare.com/files/249740980/Guide_nk02ion_r4_LITE.txt

i used the kitchen linked in my sig to make my current rom, which i ported from 32A to 32B.

By the way, I wanna ask you two questions that always confused me.
First, what is a PORT?
And does every ROM need a port?
THX

nabor said:
By the way, I wanna ask you two questions that always confused me.
First, what is a PORT?
And does every ROM need a port?
THX
Click to expand...
Click to collapse
I don't know how to define port for you so ill use examples!
I'm a 32A user, and since there are a ton of 32B roms.. I need a port to use a 32B rom.
There are also ports for other things like... if I'm using a 6.35 radio, people like giant_rider can port over a g1 rom over to a 32a. Does this make sense LOL sorry if I confuse you more!
But users like myself need these ports since there aren't many 32A roms for my radio (3.22 and 6.35)
So hopefully you understand that not every rom needs a port after reading the above..

nabor said:
By the way, I wanna ask you two questions that always confused me.
First, what is a PORT?
And does every ROM need a port?
THX
Click to expand...
Click to collapse
in general terms, a port is making a piece of software or code designed to work on one particular type of hardware work on a different type of hardware.
in this case the HTC magic uses two different types of motherboard. 32A and 32B.
a rom might be built specifically for the 32A board and so it will not work on the 32B unless it is ported first.
therefore, not all rom's need to be ported. you only need to port a rom if you wish to use it on hardware that it was not originally designed for.
not all rom's can be ported.

bcrook said:
The 6.35 radio are a bit tougher to build for. But you can take a working 6.35 kernel and repack it with the ramdisk from the ROM you want to port. A port basically has the following:
1) Kernel that matches the device you want to port TO (ie. 32A)
2) ramdisk from the ROM you are porting
You then have to pack those files together using mkbootimg --base 0x19200000
Here are two posts that take you through the steps:
http://wiki.cyanogenmod.com/index.php/How_to_build_a_kernel_port
http://androidspin.com/forum/showthread.php?t=2207
Here is an old guide, where it says to use mkbootimg-H, use mkbootimg --base 0x19200000.
http://rapidshare.com/files/249740980/Guide_nk02ion_r4_LITE.txt
Click to expand...
Click to collapse
hey what are the advantages to using mkbootimg... because i've been using the so called old port tools

Sphaerophoria said:
hey what are the advantages to using mkbootimg... because i've been using the so called old port tools[/QUO
Only advantage is that you can build with diff offsets. Only need one binary for all packages u might build. If the "old" one works, keep using it.
Click to expand...
Click to collapse

So, I'm testing it, I say you later if I can make a port!!! And if yes, I will upload it!

OK, I think I weren't clear. Can I port a 32A 6.35 to 32B?

Artifex14 said:
OK, I think I weren't clear. Can I port a 32A 6.35 to 32B?
Click to expand...
Click to collapse
only if you change a bunch of things and move apps around in the build usually
6.35 radio is nearly identical to porting from hero as it is very easy to port to 6.35 radio - would reccomend you just port from hero roms because it would be the same effort with more work having been done on hero

OK, just one question more. Can I flash the 6.35 radio? "only if you change a bunch of things" ??, and which kernel can I use?
Thank you

OK, just a thing... don't use the "--base 0x19200000" parameter..., because otherwise, the ROM won't boot!!
Apparently it boot!!! This ROM!!
I say you latter

Related

Kernel for [32A] Motorola Cliq by Raiderx303 & Drizzy"(Alpha-test)

Alright, so im itching to tryout the Blur ROM. Last night I wanted to try out the preliminary rom Drizzy had up on my 32A Magic. I figured since the rom is based off of cupcake a version of the cupcake kernel should make it work.
I then tried the rom with Cyan's 4.04 kernel. No luck. After this i tried watever kernels i had on my SD card at the time. So that included myhero, evilhero (these two were really just for kicks), hofo kernel. None of these worked.
So I wanted to know if you guys know which kernel will make it work if there are any existing ones which will make it work... And if not could someone make a kernel ? Thanks for the input
Yea, same problem here. Cant wait till someone ports it or points to a working 32a kernel.

Official HTC 1.5 Sense-UI Port for 32B?

Is there a nice Dev that has ported this over for us 32B handset users?
I am new to the whole rom flashing thing, and have been hesitant to root and flash my phone with the existing sense roms because I don't want to lose functionality and/or make my phone any more lagtastic than it already is.
The official HTC 1.5 Sense rom seems to be right up my alley.. And with a Dev porting it (perhaps with some of their slick optimization settings) that should make for one awesome rom to flash.
If anyone has some info, that would be awesome.
Thanks!
I second this. Show some love to your 32B counterparts.
this was asked yesterday
and it's been said countless times but the Dream forum is the place to go for 32B ROMs. You'll find that 32B gets more love than 32A does, actually
I don't want to lose functionality and/or make my phone any more lagtastic than it already is.
The official HTC 1.5 Sense rom seems to be right up my alley..
Click to expand...
Click to collapse
That's wrong, unfortunately. SenseUI needs more RAM than your phone has and will always make 32B devices lag. The G1 Devs have managed to get it to a usable state using Swap and tweaks but from what I know it's still that... laggy.

Rom SuperEclair V6.1 Based in Cyano & OpenEclair

First, forgive my poor English.
For Magic 32b / Dream g1
Superatmel'm from Spain and I first of all thank all the members of this forum for everything I've learned thanks to you.
Well, here I leave a rom based on sources of Cyanogen and wesgarner & Ctso, thanks to them for their progress, I only use the best of each in addition to my own improvement in certain parts of the rom and kernel configuration .
Thanks to Wysie for Nubdial
Includes SupSetup v4.04, will shortly be translated into English.
Video does NOT give otherwise is a very fast and stable rom.
You can find the rom in my Wuala
I leave with some catches.
superatmel said:
First, forgive my poor English.
For Magic 32b / Dream g1
Superatmel'm from Spain and I first of all thank all the members of this forum for everything I've learned thanks to you.
Well, here I leave a rom based on sources of Cyanogen and wesgarner & Ctso, thanks to them for their progress, I only use the best of each in addition to my own improvement in certain parts of the rom and kernel configuration .
Thanks to Wysie for Nubdial
Includes SupSetup v4.04, will shortly be translated into English.
Video does NOT give otherwise is a very fast and stable rom.
You can find the rom in my Wuala
I leave with some catches.
Click to expand...
Click to collapse
multi language ?? especific Arabic language .. cuz i need it
Superatmel,
I would love to flash your ROM as I posted on www.htcmania.com.
The port you created for your 32A SuperCSDI ROM did not work for me and I am running the new radio. I was able to flash the ROM successfully, but my phone got stuck on the boot screen.
Is it possible for you to create a 32A port for your SuperEclair ROM and one for the new Magic radio 6.35.10.18?
Thanks
need 32a port for old radio or new radio is ok . thx
.........deleted..............
Go to the following thread for current SuperEclair ROM and 32a ports:
http://forum.xda-developers.com/showthread.php?t=638589
The port is for the Magic 32a with the new radio.
I am not responsible if you brick your phone.
Note: The first time my phone booted after flashing, the ROM did not load. The phone automatically rebooted a second time and was then successful.
The English translation is complete.
Here is what I did to install the ROM on my Magic 32a (new radio already installed):
1. Download the ROM from Superatmel's link I provided above.
2. Download the EB1 port from the Rapidshare link I provided above.
3. Wipe data/factory reset
4. Wipe Dalvik-cache
5. Wipe SD:ext partition
6. Flash ROM.
7. Flash EB1 port.
8. Reboot.
My phone did not fully boot after this first try.
It automatically reboot and was successful on the second try.
I think I read on the dev's original thread this might be necessary - I can't remember.
You need radio 6.35.10.18, SPL 1.76.2007 and either recovery-RA-Magic32A-6.35-v1.5.2 to get this to load on your 32a Magic.
If you do not know how to update / change your radio, SPL and recovery don't proceed or go learn how.
You will have to manually enter your APN or restore it from a backup because the dev does not include the APN list for North America.
Wow..thanks dude. This a stable and fast ROM?
Thanks.
So far for me it is as stable as they get.
And it's fast.
Give thanks to Superatmel and everyone who contributed to his ROM like Cyanogen.
I am just spreading the good word
it is GREAT that we have some new ROM aand someone who wants to DEV! Its getting slow, now that the main DEVs have really slowed down on all development, cause everyone got Nexus Ones so more focus is going there. So its really someone new is gonna have to step up and take over and be a master DEV, and make some badass ROMs
giant_rider said:
So far for me it is as stable as they get.
And it's fast.
Give thanks to Superatmel and everyone who contributed to his ROM like Cyanogen.
I am just spreading the good word
Click to expand...
Click to collapse
I feel my English but I just want to comment that the kernel of this rom is 100% superatmel. In other roms if he use Kernel Cyano but in the latter .... He did just.
ANd the rom is the best test and try many before XD
At first it is slow (the first 2 hours) because it creates the files needed by the system as the system needs it. And then ... to fly!
Personally I recommend the launcher 1, the nexus of the Magic slow down a bit.
nicknowsky said:
it is GREAT that we have some new ROM aand someone who wants to DEV! Its getting slow, now that the main DEVs have really slowed down on all development, cause everyone got Nexus Ones so more focus is going there. So its really someone new is gonna have to step up and take over and be a master DEV, and make some badass ROMs
Click to expand...
Click to collapse
The Superatmel (creator of the ROM) is a crack. See by http://www.htcmania.com/forumdisplay.php?f=178 and you can enjoy all its roms
FC on camera; 32A magic new SPL/RADIO. is it just me?
stgeorge88 said:
FC on camera; 32A magic new SPL/RADIO. is it just me?
Click to expand...
Click to collapse
Do u try set to 2MP?
Cheers
Is mandatory have a ext partitions to use this ROM?
Thanks.
stgeorge88 said:
FC on camera; 32A magic new SPL/RADIO. is it just me?
Click to expand...
Click to collapse
No, good catch. I don't use my camera so I hadn't caught that bug. That is the first force close I've gotten.
I checked the Superatmel's post and thread at htcmania.com
It looks like he's not going to work on the camera or video and has chosen to wait for the the HTC drivers / code. I hope I got that right and am not misrepresenting him. I am using Google Translate to read the posts.
fabioccoelho said:
Do u try set to 2MP?
Cheers
Click to expand...
Click to collapse
no i don't think i did. actually i don't think i can even get to the point of setting anything.
now uninstalled and no way to tell... sorry
stgeorge88 said:
FC on camera; 32A magic new SPL/RADIO. is it just me?
Click to expand...
Click to collapse
i got the same problem , but it is a great rom~
hope to see a great port with cam working normally.
fabioccoelho said:
Is mandatory have a ext partitions to use this ROM?
Thanks.
Click to expand...
Click to collapse
No, it is not mandatory.
If you prefer a 1.6 ROM that has everything working, Superatmel also has his CSDI ROM which apparently is up there as far as ROMs go:
Here is the ROM:
http://www.wuala.com/superatmel/Sup...CSDI por [email protected] la evolución de las CRDI/
But you will need a port for 32a old and/or new radio. I haven't tried the port for the old radio but here it is in case someone wants to test. You should be fine as long as you know what you're doing....The port for the new radio works good. This ROM is much faster than his SuperEclair.
Here is 32a EB1 port for old radio for his CSDI ROM:
http://rapidshare.com/files/3549573...SDIV1_port_EB1_old_rad_signed_signed.zip.html
MD5: 5F1455C772358445E62F36F3FC679F72
Here is 32a EB1 port for new radio for his CSDI ROM:
http://rapidshare.com/files/3549577...SDIV1_port_EB1_new_rad_signed_signed.zip.html
MD5: AF0582A1247169D8368945E1A904CB51
More info here:
http://translate.googleusercontent....&twu=1&usg=ALkJrhjYMbPcIU7CwYDkC7dGxNNXAh7lIQ
http://translate.googleusercontent....&twu=1&usg=ALkJrhjt8ZuMcqlytc4SoehFkK0Z6g9Xug
http://translate.googleusercontent....&twu=1&usg=ALkJrhiD42fzsIpQBmeMM-kr5Nlow33aFQ
Flashing right away will edit with my feedback. Thanks in advance.
Okay, its been quite a few hours since I am using this rom. Home and menu speed is very smooth and fast. but when accessing call log or messages, it takes a few seconds to load. Look and feel wise, well it looks okay until u press a button or enter text or when you look at your download progress.. it all has boring blue background/border/progress bar as well as purple check boxes. That I personally don't like. Otherwise this rom has the potential of being one of the best.
Btw using AutoKiller gives a great speed advantage.
Oh and upon usb connection the notification bar likes to retain its spanish norms despite changing the locale to English.
__
32B Vodafone Magic

[PORT][EBI1] CyanogenMod/SuperD port for Rogers Dream [Ram Hack]

This is an EBI1 port of CyanogenMod and SuperD with the Ram Hack
It is compatible with radio version 3.22.20.17 or 3.22.26.17(latest from Rogers).
To root your Rogers Dream see: CyanogenMod Wiki - Full Update Guide - Rogers Dream EBI1 to CyanogenMod
To install this port first flash the EBI0 rom:
CyanogenMod:
http://forum.cyanogenmod.com/index.php?/topic/295-cyanogenmod-for-dream-magic-v4215-03032010/
SuperD:
http://forum.xda-developers.com/showthread.php?t=613809
http://www.benbuchacher.com/superD/2010/04/29/super-d-1-11/
It doesn't matter which one you pick any version will work.
Then download and flash the EBI1 port file:
CyanogenMod 4.2.15.1:
Beav-CM-4.2.15.1-EBI1-RamHack-signed.zip: http://www.multiupload.com/3GO3ID129A
SuperD 1.11 with Merlos' WGv4 kernel:
Beav-SuperD-1.11-EBI1-GM-WGv4-RamHack-signed.zip: http://www.multiupload.com/N93MKLKAZB
The kernel in this SuperD port is built from Merlos' fork of Wes Garner's v4-beta tree.
You can also just flash this on top of another port file without a wipe.
The ROM version must match the port file version.
The ram hack gives you about 8mb extra ram
Before hack: 98956
After hack: 107084
Thanks Daproy for the patch
Thanks to Cyanogen, Wes Garner, bbuchacher, merlos and all the other great devs out there!!
Testing this now! Will report back soon.
EDIT: It works! Thanks! Been waiting for this for a long time! My HTC Dream has never been snappier!
EDIT2: Will this kernel boot work for 32A Magics as well?
No wireless on Super D 1.9.3. I think you forgot the wlan.ko
SilentTweak said:
Testing this now! Will report back soon.
EDIT: It works! Thanks! Been waiting for this for a long time! My HTC Dream has never been snappier!
EDIT2: Will this kernel boot work for 32A Magics as well?
Click to expand...
Click to collapse
No problem
I think it should work on a 32A Magic but I don't have one to try it.
xaueious said:
No wireless on Super D 1.9.3. I think you forgot the wlan.ko
Click to expand...
Click to collapse
Sorry about that. Try it again.
Looks like you used magic port and added a ram hack
both these kernels exist wo ramhack already in sapphire development which is wherethis should be posted
Works now as expected. Saved lazy old me some time
This hack applies to any Magics and Dreams with a 3.X series radio, so this does fit here.
Difference is noticeable on my phone
alan090 said:
Looks like you used magic port and added a ram hack
both these kernels exist wo ramhack already in sapphire development which is wherethis should be posted
Click to expand...
Click to collapse
The RAM hack is not very useful for Magic users because their phones already have enough RAM. Because this port is only useful for Rogers Dream users, I posted it in the Dream section.
xaueious said:
Works now as expected. Saved lazy old me some time
Click to expand...
Click to collapse
Great!
alan090 said:
Looks like you used magic port and added a ram hack
both these kernels exist wo ramhack already in sapphire development which is wherethis should be posted
Click to expand...
Click to collapse
Why? The Sapphire doesn't really need the extra RAM, but the Dream does. Besides, some of don't know how to add a RAM hack to anything
Zoltair Wright said:
Why? The Sapphire doesn't really need the extra RAM, but the Dream does. Besides, some of don't know how to add a RAM hack to anything
Click to expand...
Click to collapse
BECAUSE 3.x radio is technically 32a which is sapphire / ebi1 dreams
6.X radio is hero/sense 32a radio
32B is 2.x radio aka dream / g1
EBI rogers dream users should be in the sapphire section for roms as they are compatible with any 32a rom
OR
sign the data waiver and use the REGULAR 32b roms?
THERE IS NO REASON TO USE EBI1 radio on rogers dreams other than making life difficult for yourself
There are two versions of the Sapphire/Magic. One has less RAM than the other.
alan090 said:
BECAUSE 3.x radio is technically 32a which is sapphire / ebi1 dreams
6.X radio is hero/sense 32a radio
32B is 2.x radio aka dream / g1
EBI rogers dream users should be in the sapphire section for roms as they are compatible with any 32a rom
OR
sign the data waiver and use the REGULAR 32b roms?
THERE IS NO REASON TO USE EBI1 radio on rogers dreams other than making life difficult for yourself
Click to expand...
Click to collapse
You don't know what you are talking about with regards to 32A/32B. There's a lot of confusion at XDA about this though.
Also, the Dream forum has traditionally been the place to be for 32B Magic ROMs, due to the hardware similarities between the phones.
This is getting off topic. If this port isn't for you, you may ignore this thread.
This port is universal among Dream/Magic and is dependent only on radio version.
alan090 said:
BECAUSE 3.x radio is technically 32a which is sapphire / ebi1 dreams
6.X radio is hero/sense 32a radio
32B is 2.x radio aka dream / g1
EBI rogers dream users should be in the sapphire section for roms as they are compatible with any 32a rom
OR
sign the data waiver and use the REGULAR 32b roms?
THERE IS NO REASON TO USE EBI1 radio on rogers dreams other than making life difficult for yourself
Click to expand...
Click to collapse
You signed your soul away to Robbers. That's all I have say. I refuse to let Robbers make me sign anything besides voice contracts.
xaueious said:
There are two versions of the Sapphire/Magic. One has less RAM than the other.
You don't know what you are talking about with regards to 32A/32B. There's a lot of confusion at XDA about this though.
Also, the Dream forum has traditionally been the place to be for 32B Magic ROMs, due to the hardware similarities between the phones.
This is getting off topic. If this port isn't for you, you may ignore this thread.
This port is universal among Dream/Magic and is dependent only on radio version.
Click to expand...
Click to collapse
Too true. Someone should make a post about that on the wiki. It gets so confusing with all the guides about "How To Change SPL, Change Radio, Change Recovery" There should be a list of what's compatible with what. Like a combinations list.
Been running sweet with superd since release, thank you, I wanted my ram back, phones aren't for playing 3d games as far as I'm concerned.
beav_35 said:
This is an EBI1 port of CyanogenMod and SuperD with the Ram Hack
It is compatible with radio version 3.22.20.17 or 3.22.26.17(latest from Rogers).
To root your Rogers Dream see: CyanogenMod Wiki - Full Update Guide - Rogers Dream EBI1 to CyanogenMod
To install this port first flash the 32b rom:
CyanogenMod:
http://forum.cyanogenmod.com/index.php?/topic/295-cyanogenmod-for-dream-magic-v4215-03032010/
SuperD:
http://forum.xda-developers.com/showthread.php?t=613809
http://www.benbuchacher.com/superD/downloads/roms/
Be sure to download the NON Ram hack version
Then download and flash the EBI1 port file:
CyanogenMod 4.2.15.1:
Hotfile.com: Beav-CM-4.2.15.1-EBI1-RamHack-signed.zip
uploaded.to: Beav-CM-4.2.15.1-EBI1-RamHack-signed.zip
SuperD 1.9.3:
Hotfile.com: Beav-SuperD-1.9.3-EBI1-WGv3-RamHack-signed.zip
uploaded.to: Beav-SuperD-1.9.3-EBI1-WGv3-RamHack-signed.zip
The kernel in this SuperD port is built from Wes Garner's v3-cfs tree.
You can also just flash this on top of another port file without a wipe.
The ROM version must match the port file version.
The ram hack gives you about 8mb extra ram
Before hack: 98956
After hack: 107084
Thanks Daproy for the patch
Thanks to Cyanogen, Wes Garner, bbuchacher and all the other great devs out there!!
Click to expand...
Click to collapse
Hey would you shoot me the memory addresses for the EBI1 with RAMHack? Will post it to github
Isn't it this?
beav_35 said:
Isn't this it:
http://github.com/daproy/dp-kernel/commit/2f1d3a3fc8ce7ccf5b09f291d791350083801ff5
Click to expand...
Click to collapse
xaueious said:
Isn't it this?
Click to expand...
Click to collapse
Yes, it is
thanks works great
Now that all the bugs have been worked out of Super D 1.10 I built my ram hack port for the latest release.
SuperD 1.10.2:
Hotfile.com: Beav-SuperD-1.10.2-EBI1-WGv3-RamHack-signed.zip
uploaded.to: Beav-SuperD-1.10.2-EBI1-WGv3-RamHack-signed.zip
Click to expand...
Click to collapse
Thanks for doing this again and saving me some time.
Edit:
Flashed. No wipe. Only wiped dalvik cache. Rom is fine.
1.10.3 ??
Can we use this on superD 1.10.3?
If not, can we expect the port soon?
Boomgawd said:
Can we use this on superD 1.10.3?
If not, can we expect the port soon?
Click to expand...
Click to collapse
Yes, it will be out soon.

A quick question for 2.1 roms

I've been searching and trying many different roms for the MT3g that are android 2.1, and there are many many talented developers on this website it's too hard to just try them all.
Can anyone point out there most "stable" and working rom for 2.1 32B they have use / are using
It's been annoying having to change and reflash different roms every other week for something new / need something else to work that I wonder if anyone has their preferred roms they could point out
Thanks in advance
icepally said:
I've been searching and trying many different roms for the MT3g that are android 2.1, and there are many many talented developers on this website it's too hard to just try them all.
Can anyone point out there most "stable" and working rom for 2.1 32B they have use / are using
It's been annoying having to change and reflash different roms every other week for something new / need something else to work that I wonder if anyone has their preferred roms they could point out
Thanks in advance
Click to expand...
Click to collapse
where have you been?? lol.. cyanogen mod 5.0.7... go check it out in the g1/dream forum...
oh yea it is marked as experimental but i think its pertty solid compaired to anyother eclair rom..
...and for new Radio?
...and for new Radio??
edit: nevermind, smoki is only for 32A

Categories

Resources