My friend asked me this earlier and it got me wondering....what would happen if we flashed a rom from a different phone after changing the boot.img?
You brick it. Don't ever ever EVER flash a ROM for another phone.
I was not thinking about doing it myself...i was just curious as to how the porting process gets underway and it sparked that question. This is a very broad category...but what are the main steps to porting from another device?
rizdog23 said:
I was not thinking about doing it myself...i was just curious as to how the porting process gets underway and it sparked that question. This is a very broad category...but what are the main steps to porting from another device?
Click to expand...
Click to collapse
You can use Android kitchen to port the ROM and then try to get it booting.... Not exactly Easy I have been working on a DX ROM from nexus s still won't install.... or you can look up freeyourandroid and it has directions to do it yourself but it does the same as kitchen
http://forum.xda-developers.com/showthread.php?t=633246
Sent from my SPH-D710 using xda premium
Related
Hey all! I've been real interested in developing my own variation of the Android Rom. Such as custom themes, my own boot screen and things of that manner. I do a little Java and have the SDK but I want to know how hard it is to compile your own working Rom. My biggest hurdle at this point is I have a an Xperia Play R800x (CDMA, Locked Boot-loader) and from what I see most custom Roms out there need Unlocked Boot-loaders to run properly or a lot of work to work with CDMA.
I've searched around the forums but couldn't find to much of making your own Rom variant.
Thanks for any future help!
I don't have any dev advice per se. However the one piece of advice I will pass along is this: make sure that what you post is your own work! If you do borrow anything from someone else, please get their permission first, and give credit where credit is due.
We have had a run of "devs" lately that take someone else's work, make extremely minor changes and then post it up as their own work.
Sent from my R800x using xda premium
netizenmt said:
We have had a run of "devs" lately that take someone else's work, make extremely minor changes and then post it up as their own work.
Sent from my R800x using xda premium
Click to expand...
Click to collapse
The only thing I plan to borrow is the method of how some devs have CDMA working. Other than that, I will use the Vanilla AOSP Roms, most likely just 2.3.3 (Which I guess in theory I could modify my current Rom on my phone) or 2.3.4 (If Verizon chooses to update any year from now). I would love love to mod out Ice Cream Sandwich for Xperia but that is not feasible at this point.
The theme I really want why I'm off topic for a second is the HTC Rhyme "Sense" theme I believe it's called. It's truly nifty in terms of how it works.
You won't necessarily need an unlocked bootloader, that's only necessary if you're using a ROM that needs a new kernel, such as CyanogenMod or a different firmware level, such as from 2.3.3 to 4.0. That being said, you may want to check out Cola or GBTweaked or IT-Rom for inspiration. They're all available for the Locked R800x phones, and I'm pretty sure they all have tweaks thrown around in there that have nothing to do with needing an unlocked bootloader. I say "pretty sure," because I've only used Cola, then got my bootloader unlocked.
If you do make a rom for locked bootloaders, I believe it will need to be released in the form of a nandroid backup, in which case before you do that backup, you'll need to remove all of your personal information from it.
lightningdude said:
You won't necessarily need an unlocked bootloader, that's only necessary if you're using a ROM that needs a new kernel, such as CyanogenMod or a different firmware level, such as from 2.3.3 to 4.0.
Click to expand...
Click to collapse
I think I understand this, so say I want to use 4.0.3 (Latest stable ICS build) on Xperia via Vanilla Android as my base Rom, I'd have to write a new kernal and that would need a unlocked boot-loader? Makes sense. I guess for now I will wait until 2.3.4 pushes since it will be a different setup on my phone before developing. Plus 2.3.4 has all the bug fixes.
Hope you didn't take offense at my input. And I hope you do dev something up for the locked boot loader set. I was one myself not so long ago. They certainly can use some ROM lovin'!
Sent from my R800x using xda premium
netizenmt said:
Hope you didn't take offense at my input. And I hope you do dev something up for the locked boot loader set. I was one myself not so long ago. They certainly can use some ROM lovin'!
Sent from my R800x using xda premium
Click to expand...
Click to collapse
No offense at all. Believe me, I come from the emulation of online games community and see first hand how people steal others work and call it theirs. World of Warcraft, Aion, Rift etc all have stolen code and lost projects. EQ 1 & 2 are the only projects that have a single core / team.
I believe in Open Source and that's why I love Android. I just wish the big companies would see that too instead of not letting us do what Android was meant to do, mod to our hearts content. (In my opinion at least)
There are many ways to create a rom, if you want to create a CDMA rom, why not use your own stock rom as a base? You can dump your /system/ partition, make whatever changes you see fit, then pop it in an update .zip. As you update your rom, you will learn from experience and other members how to create better roms, how to decompile/recompile .apk's, compiling kernels. Ect
Sent from my HTC Sensation XL with Beats Audio X315e using Tapatalk 2
Do you by chance have a link to teach me how to do dumps? I know how to use CWM but thats for nandroid backups. Sorry, I'm a complete noob at Android. I just know how to root and flash
Phryxus said:
Do you by chance have a link to teach me how to do dumps? I know how to use CWM but thats for nandroid backups. Sorry, I'm a complete noob at Android. I just know how to root and flash
Click to expand...
Click to collapse
Dude if it comes to it, you can do.a nandroid, then use unyaffs to extract system.img ... There you go, system dump
Sent from my HTC Sensation XL with Beats Audio X315e using Tapatalk 2
Phryxus said:
Do you by chance have a link to teach me how to do dumps? I know how to use CWM but thats for nandroid backups. Sorry, I'm a complete noob at Android. I just know how to root and flash
Click to expand...
Click to collapse
Easiest way to do it is this
adb pull /system/ [location]
Sent from my CM9 Kindle Fire
Im trying to port a ROM for the Droid Incredible from the LG G2X and I cant even flash it . Clockwork recovery gets stuck at installing update... What did I do wrong?
Depends on what kind of ROM you're trying to port.
Sent from my HTC Incredible 2
tylerlawhon said:
Depends on what kind of ROM you're trying to port.
Sent from my HTC Incredible 2
Click to expand...
Click to collapse
It's a stuck ROM btw I'm sure you know but I'm a n00b so spare me LOL. I followed procedures to changing files but it wont flash.
I made sure it's a zip file and i tested it with 7zip when I put it on my sd-card
So... Is this question dead now? No support? *sigh*
XAlexander_AlexanderX said:
So... Is this question dead now? No support? *sigh*
Click to expand...
Click to collapse
Check my sig for a port guide
Not sure you can port an LG ROM to and HTC phone. Too many proprietary stuff for both. Most phones firmware is not interchangeable between what different devices. The only exception is AOSP and even then we still have some problems.
Sent from my HTC Incredible 2
The Archangel said:
Check my sig for a port guide
Click to expand...
Click to collapse
This looks much easier and detailed to the one I was originally following. Thanks
XAlexander_AlexanderX said:
This looks much easier and detailed to the one I was originally following. Thanks
Click to expand...
Click to collapse
Pm me if you need help
its extremely hard (if not bordering improbable) to port oem skin roms from different manufacturers
the amount of things that has to be changed, as well as kernel levels mods are prohibitive....id say get familiar with a) making stock roms and later on b) porting sense roms phone to phone to learn whats going on first
nitsuj17 said:
its extremely hard (if not bordering improbable) to port oem skin roms from different manufacturers
the amount of things that has to be changed, as well as kernel levels mods are prohibitive....id say get familiar with a) making stock roms and later on b) porting sense roms phone to phone to learn whats going on first
Click to expand...
Click to collapse
Thank You!
I just came over from a HTC incredible s and I have to say this phone is amazing. The hardware is beautiful and I love the screen! The only thing is the lag that is noticable, not to mention the fluctuating battery life
So I'm thinking of unlocking the bootloader and rooting to get some of the sweet custom rom goodness onto my phone. But I was just wondering how the kernels and roms work. I.e. how can I find out which kernel posted in the development section is compatible with which rom? And if I want to put a custom kernel onto a different custom rom how do I go about doing that??
Cheers all
Sent from my HTC One X using xda app-developers app
Just read the manuals. I always use the standard kernel that comes with the ROM.
When rooting, beware to execute every step otherwise your phone will be bricked.
You could just start off by trying a custom ROM to rid the lag. If you still want a custom kernel just read the threads and it'll say what its compatible with usually. Hope this helps, man. Btw, congrats on getting the Hox!
Zomere86 said:
Just read the manuals. I always use the standard kernel that comes with the ROM.
When rooting, beware to execute every step otherwise your phone will be bricked.
Click to expand...
Click to collapse
Please avoid using the term bricked. If you don't follow the steps then the ROM will not boot but that is far from being bricked.
The only sure fire way to end up bricked is by simulate battery pull wile updating Hboot with an ruu.
Sent from my HTC One X using xda app-developers app
SkookDroid said:
You could just start off by trying a custom ROM to rid the lag. If you still want a custom kernel just read the threads and it'll say what its compatible with usually. Hope this helps, man. Btw, congrats on getting the Hox!
Click to expand...
Click to collapse
So the kernel dev will say what roms it is compatible with? I had a look at some and they didn't seem to be explicit as to which roms they're compatible with.
And can I clarify that the kernel is in the boot.img? So to flash kernel just fastboot flash boot xxxx.img?
Sent from my HTC One X using xda app-developers app
Well for example- http://forum.xda-developers.com/showthread.php?t=1647993 This kernel states its for rooted stock and custom ROMs. This kernel- http://forum.xda-developers.com/showthread.php?t=1800603 is for AOSP ROMs for the time being. Those are just two examples but just read through and it'll state what kernels are for what. For installation just read the flashing instructions and all will be good, hope I helped!
SkookDroid said:
Well for example- http://forum.xda-developers.com/showthread.php?t=1647993 This kernel states its for rooted stock and custom ROMs. This kernel- http://forum.xda-developers.com/showthread.php?t=1800603 is for AOSP ROMs for the time being. Those are just two examples but just read through and it'll state what kernels are for what. For installation just read the flashing instructions and all will be good, hope I helped!
Click to expand...
Click to collapse
Yea you did, thanks man!
Sent from my HTC One X using xda app-developers app
my htc dhd has a 2.3.7 android os, I want to upgrade for the new rom and new android os
I don't know nothing about nothing. all I nead is a good advice about nice tutorial/guides for work on it
Thank's!
Henm3000 said:
my htc dhd has a 2.3.7 android os, I want to upgrade for the new rom and new android os
I don't know nothing about nothing. all I nead is a good advice about nice tutorial/guides for work on it
Thank's!
Click to expand...
Click to collapse
Here you go!
http://bit.ly/13VrMks
Unfortunately my friend this is not a hold my hand and guide me forum. You need to do some reading and learning like the rest of us. We all had to do it and we all were new at this once. So please read and search then read and search some more before you end up coming back to us requesting help to fix your phone.
Never attempt anything without some kind of basic knowledge of what you are trying to do.
To get anything higher than 2.3.7 means you have to go custom rom like JB or ICS. So my first advice to you would be reading up on how to get your bootloader unlocked since its a DHD. If its an inspire then read up on rooting if its still supported.
Good luck and enjoy the learning.
Sent from my GOLDENEYE S4
Reinaldo33897 said:
Unfortunately my friend this is not a hold my hand and guide me forum. You need to do some reading and learning like the rest of us. We all had to do it and we all were new at this once. So please read and search then read and search some more before you end up coming back to us requesting help to fix your phone.
Never attempt anything without some kind of basic knowledge of what you are trying to do.
To get anything higher than 2.3.7 means you have to go custom rom like JB or ICS. So my first advice to you would be reading up on how to get your bootloader unlocked since its a DHD. If its an inspire then read up on rooting if its still supported.
Good luck and enjoy the learning.
Sent from my GOLDENEYE S4
Click to expand...
Click to collapse
I agree...
To op. Please look through the forums, people have already done lots and lots of work already for you, creating guides and tools and roms and recoveries.
Now I don't want to sound mean, but at the end of the day your going to have to do all the work rooting and flashing yourself, this stuff is not easy for beginners (noobs) your going to have to do some reading and learning.
However this does not mean that some one is not going to help you after you've learned some skills.
Welcome to the xda DEVELOPERS community.
Sent from my GT-I9505 using xda app-developers app
ranger4740 said:
i agree...
To op. Please look through the forums, people have already done lots and lots of work already for you, creating guides and tools and roms and recoveries.
Now i don't want to sound mean, but at the end of the day your going to have to do all the work rooting and flashing yourself, this stuff is not easy for beginners (noobs) your going to have to do some reading and learning.
However this does not mean that some one is not going to help you after you've learned some skills.
Welcome to the xda developers community.
Sent from my gt-i9505 using xda app-developers app
Click to expand...
Click to collapse
yeah what he said!
Ok, so I downloaded Dr. Katan's MI6 ROM for the 7100 and with a touch of insanity installed it to my AT&T phone. IT BOOTED RIGHT UP!
All while using the stock 4.3 Kernel that came with it!
Whole ROM runs perfectly, I have WiFi and GPS and everything's great EXCEPT, no cell signal :crying: When I try to look at the APNs it says No Sim Card.
I flashed the AT&T modem again. That changed nothing.
So, I figured I'd follow a port guide: http://forum.xda-developers.com/showthread.php?p=40575946
It didn't work. Installs fine, but the phone just won't boot with it. Just sits there and vibrates occasionally with a black screen.
I figured since it's a 4.3 ROM, I should use a 4.3 base, so I used Beanstalk for AT&T (my daily driver, NOT a Touchwiz Rom).
Should I try it with the stock 4.1 Touchwiz ROM as the base? It seems counter-intuitive, but I could be wrong, as this is my first stab at this.
Since just the modem is the issue, is there one part of the porting that I should be paying extra attention to?
Unfortunately while typing this, I just discovered that the S-Pen isn't working either... It detects it's being removed/inserted, but it doesn't work on the screen.
I'm not seeing anything else on this topic other than "WHEN", "WHY NOT ME", and "THIS IS N7100 ONLY, IT'LL BRICK YOUR PHONE DON'T TOUCH IT GET AWAY FROM IT GO BACK TO AT&T"
Obviously it doesn't brick your phone and I don't want to until December if I can help it.
I'm no dev. I'm what could be considered a Script Kiddy at best, but I'll do all I can to make this work.
Any help would be appreciated!!
Strange that there's no actual developers on this... My attempts thus far have failed.
h00rj said:
I'm no dev. I'm what could be considered a Script Kiddy at best
Click to expand...
Click to collapse
Hey, script kiddies are heroes every day around here...
Did you have a look at these porting guides as well?
1. http://forum.xda-developers.com/showthread.php?t=2102283
2. http://forum.xda-developers.com/showthread.php?t=2018411
3. (MOD ROM: Note3 apps for Note2 - This might help with the SPen/Air Commands)
http://forum.xda-developers.com/showthread.php?t=2467810
Attached are the recommended apk files, resourcemanager.apk that you're supposed to replace and penwindowmanager_v1.apk
Godspeed man!!! Keep trying, tweaking and testing! I hope you have success and share it with us!!
GalaxyUser said:
15. Reboot to Ubuntu.
Open dsixda's Android Kitchen
Decompile both boot.img/kernel
Open both init.rc files
In CM/AOSP kernel replace BOOTCLASSPATH by the one from PORT boot.img ROM
Save and recompile kernel
Use CM/AOSP modified kernel in your rom.
Click to expand...
Click to collapse
How did you do this? I'm completely lost!!!! I copied the contents of "Android-Kitchen-0.224" over to "c:\cygwin64\home\ME" and am in ubuntu, run "menu" from inside there and then am confused and lost.
h00rj said:
Strange that there's no actual developers on this... My attempts thus far have failed.
Click to expand...
Click to collapse
You can stop trying to port and start flashing: http://forum.xda-developers.com/showthread.php?t=2496292, it's officially leaked... That is if you have a AT&T Note 2, which I take it that you do after reading your post.
n1nj4Lo said:
You can stop trying to port and start flashing: http://forum.xda-developers.com/showthread.php?t=2496292, it's officially leaked... That is if you have a AT&T Note 2, which I take it that you do after reading your post.
Click to expand...
Click to collapse
Right there with ya, bro! You flash it yet? I'm waiting until after work...
h00rj said:
Right there with ya, bro! You flash it yet? I'm waiting until after work...
Click to expand...
Click to collapse
Not yet downloading now though, or attempting to... Then to figure out which way to flash it. Crazy I spent all day yesterday trying to port and flash different combo's of AOKP/CM 4.3 and N7100 4.3 messing with boot.img's and .co files and all that stuff, now this happens today, AWESOME! LoL