Porting - 7" Kindle Fire HD Q&A, Help & Troubleshooting

Can someone give me a working and well explained guide on how to port ROMs?
Sent from my Amazon Tate using XDA Premium 4 mobile app

wire55 said:
Can someone give me a working and well explained guide on how to port ROMs?
Sent from my Amazon Tate using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Depends on what type of port you're planning to do. If you're building from source,download the target ROM's source code,add Hashcode's device specific files to it and build. For a dirty port i.e teh easy way,take a ROM you're running now as well as the ROM you're porting. The rest of it is pretty much replacing stock stuff with target ROM stuff. Except for the build.prop,you'll have to edit that by hand. Search on XDA. There are many guides and even a handy batch file for dirty porting. But building from source is cleaner and more difficult and it depends on your own knowledge.

Related

How to Kang/Combine Jelly Bean sources.

I know how to build CM10 and AOKP JB on my computers (using OS X), but does anyone know how I can make my own custom rom combining different cherry picks from the two sources?
I don't know exactly how, but go to gerrit and see what mods that haven't been merged and use terminal to enter the cherry pick code at the bottom of the page. I can help you more tomorrow if you would like!
Sent from my GT-I9300 using xda premium
b-eock said:
I don't know exactly how, but go to gerrit and see what mods that haven't been merged and use terminal to enter the cherry pick code at the bottom of the page. I can help you more tomorrow if you would like!
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Alright cool, I'll see what I can do tonight. Thanks!
I can't build AOKP for some reason. I did everything correctly, but when I try to build I get:
** Don't have a product spec for: 'aokp_captivatemtd'
** Do you have the right repo manifest?
I get the same problem with AOKP but not CM10 :/
Sent from my GT-I9300 using xda premium
I am gonna be getting on soon, I have to shower and do some chores. I just got back from a 4 hour football practice...
Sent from my SGH-I897 using xda premium
b-eock said:
I am gonna be getting on soon, I have to shower and do some chores. I just got back from a 4 hour football practice...
Sent from my SGH-I897 using xda premium
Click to expand...
Click to collapse
Yeah I've been looking around, but found nothing of help.
Come chat with me?
[email protected]
Sent from my GT-I9300 using xda premium
nygfan760 said:
I can't build AOKP for some reason. I did everything correctly, but when I try to build I get:
** Don't have a product spec for: 'aokp_captivatemtd'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
You don't have the captivatemtd in your vendor directory or it not in the platform manifest. I had the same problem with aokp. Look at cyanogenmods jellybean source.
Sent from my SGH-I897 using xda premium
crt60 said:
You don't have the captivatemtd in your vendor directory or it not in the platform manifest. I had the same problem with aokp. Look at cyanogenmods jellybean source.
Sent from my SGH-I897 using xda premium
Click to expand...
Click to collapse
Alright thanks, I'll check it out.
Alright, so I noticed AOKP listed the Captivate officially. Should I be able to build it now without the above problems, or do I still need captivatemtd in my vendor/manifest? Also, if I want to KANG can someone give me some direction?

How to make your own rom

I have a ? I have windows 7 and I would love to know how to build my own rom can any one point me to the tools I need to make my own I want to be a ics rom if any help think you
Sent from my SGH-I897 using xda app-developers app
Winrar, notepad, explorer.exe
Sent from my HTC Desire using xda premium
Can I ask what that is
Sent from my SGH-I897 using xda app-developers app
Yea but how do I complie other Rom's tho like say if I want a cm9 base but want aopk settings with a lil bit of slim parts how do I do all that
Sent from my SGH-I897 using xda app-developers app
Follow the steps in this thread (But it's jellybean) http://forum.xda-developers.com/showthread.php?t=1813924 I used this step to compile my own CM10 and my own Semaphore Kernel with custom tweaks. Just replace where it says "galaxys" with "captivatemtd".
Sent from my SGH-I897 using xda app-developers app
winrar
you can start looking how the zip is structured, you can use winrar for that, for example system/app contains the apps that are preinstalled you can delete apps you dont want, or system/media that cointains bootanimation file ringtones etc
You can build a custom ROM if you use a already built ROM as your base. But if you want to build a custom ROM from the ground up, you need to compile the ROM from source. And that needs to be done on a Linux machine or a Mac. Don't quote me on this though, as I am still learning also. But I am building my custom ROM from source, on a Linux machine. Backtrack 5 to be exact.
Sent from my CyanogenMod 10 flashed Captivate using xda premium
Sorry to open a really old thread... But it would be good if there were more tut's on building your own rom since the big "Kitchen" has been closed for a while... I'm trying the winrar and notepad++ way now, but I've still a lot to learn and would love some videos to assist me on what I'm doing :laugh:
Catley said:
Sorry to open a really old thread... But it would be good if there were more tut's on building your own rom since the big "Kitchen" has been closed for a while... I'm trying the winrar and notepad++ way now, but I've still a lot to learn and would love some videos to assist me on what I'm doing :laugh:
Click to expand...
Click to collapse
The XDA-U is always a good place to start.

Kernel differences on devices.

Between our device, and the HTC one X's stock, what are the kernel differences? I'm attempting to port over sense 4.1.1 stock and I only get a reaction out of a 4.1.2 stock kernel(Mexican retail).
Also, is there anyone who could assist with updater scripts? I'm stuck adb pushing through recovery right now and it's very unreliable.
Update: 4.1.1 AT&T stock kernel didn't even get a boot loop. It seems the 4.1.2 retail has some of the needed components but not all of them. Does anyone have any opinions? I cannot get to the point in which I can obtain a logcat. Things would probably get much simpler once I can get logcats.
Sent from my MB886 using xda premium
I dont think you can port the kernel. People usually port SYS. Kernel is device specific. So you take our kernel and get Sys from one x, fiddle with them to boot...
You can port kernel too, but need to decompile it and replace some scripts in ramdisk.... Search in android general section, you may get some tutorials....
Sent from my MB886 using xda app-developers app
Aingaran said:
You can port kernel too, but need to decompile it and replace some scripts in ramdisk.... Search in android general section, you may get some tutorials....
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
My Internet is beginning to work better, so I'll be able to upload stuff soon.
Sent from my mb886 using xda premium

[DEV][PORT][4.2.2]Sense 5 from HOX

Hello,as many of you know ,that here was no updates made for a long time ,but i was working on this ROM with the help of Adam77Root ,Ive tried a lot of different combos of the Build, a lot of logging ,testing was done,but now Ive come to point where I ask any developer to help Porting this ROM to our for 4X ,so ive decided to make this an open development and publish current build.
NOTE: THIS FOR DEVELOPERS ONLY,THE ROM IS NOT BOOTING
CURRENT STATE:
This Port is based on CM10.1 stable with no /system/app.It has - repacked kernel, many imported libs and frameworks. The ROM was stuck at bootanimation all the time ,untill the last libhw_legacy.so was added and it got stuck at LG splash .
DOWNLOADS:
HOX SENSE 5 ROM:
http://www.androidfilehost.com/?fid=23060877490001102
PORT BUILD:
https://mega.co.nz/#!qQ4W2A6T!DvelYll6Z8J_OlbvWd1YlQnonK8a_iS8KvqsbHxOzh4
Thanks to:
iodak
GalaxyUser
Adam77Root
Yea finnaly. wil try it when i am at home
(Bad english)
Sent from my LG-P880 using xda app-developers app
What is this based on? Which Android version?
4.1 Jelly Bean
going to try it in the evening
Sent from my LG-P880 using xda app-developers app
i just started the download and its about 16 min left ( i dont have good internet speed, only about 500kb/s) but ill report back and tell if this boots or not
one person reported that the rom reboots all the time,im still not home to test it.
Sent from my LG-P880 using xda app-developers app
It is more than obvious that the rom will not boot ... No hard feelings!
I wish that this was booted and with no bugs because i would definitly use it.
(only 15 Dutch so maybe bad english.)
did u changed the kernel ?
boot class path (smth like this)
Sent from my LG-P880 using xda app-developers app
tobixdev said:
did u changed the kernel ?
boot class path (smth like this)
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
iodak did it ,right now its his kernel with the bootclasspath from one x
Sent from my LG-P880 using xda app-developers app
Since you port from HOX and use Sense 4+, I assume it's the 4.1.1 version. It will be an enormous work.
Does this.boot or i need to test myself?
Sent from my LG-P880 using xda app-developers app
Small suggestion. EGL libs have no need to change also hw libs (for start) so first to get the rom booting and after that fixes...there is no need to pile all at once!
today i haven't got enough time to have a look at it sorry. i will do it before monday
You could ask dexter_nlb if he has some tipps for you.
Hope you will get that thing work
Sent from my LG-P880 using xda app-developers app
tobixdev said:
today i haven't got enough time to have a look at it sorry. i will do it before monday
You could ask dexter_nlb if he has some tipps for you.
Hope you will get that thing work
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
contacted him before this ,didnt answer yet ,priority is to get it booted now.
In reply to @Gmobilize for the PM, but others might also be interested:
This and similar ports are not impossible to do. It just needs a lot of work. We are in a good situation, because: 1. We have NEON instruction support (Nowadays almost all new devices have this, but it's a pain if one doesn't.) 2. The HOX is similar both in chipset and in screen size and resolution. 3. We have official JB.
These were the pros, now the cons: HOX JB is based on 4.1.1 and it's slightly different from 4.1.2. Many native libraries should be replaced, which should not cause a problem as the chipset is similar.
I have already worked on a port similar (Stock Samsung JB from Exynos 4 to Tegra 2, without NEON support -> it was really hard), but would not participate in this project right now (I'm intereseted, but have some other work atm.).
Regarding rumours, 4.2.2 with Sense 5 will land in July to the HOX, I would wait for that.
If you need any help with the project, I'm here. Some advices first: Don't flash the whole rom, rather do it one-by-one, i.e. first frameworks, fix the necessary natives, boot into system_server, let SystemUI and core services start app, add providers, add core apps then others. It is a time (and adb ) consuming port, but it has to be this way.
Finally is it booting?I didnt find in any post anything
GRG13 said:
Finally is it booting?I didnt find in any post anything
Click to expand...
Click to collapse
Try it
Sent from my LG-P880 using xda app-developers app
My data plan doesn't afford it.im on vacation.so I will wait until come back

Samsung - SM-G730A

Hello everyone, I just wanted to know is there any development currently done for the Samsung Galaxy Slll mini SM-G730A.
Sent from my SAMSUNG-SM-G730A using XDA Premium 4 mobile app
I really feel disappointed to see that there is only one root method for this device and there is no CWM recovery or TWRP, This device don't even have Dowload Mode, How I'm going to flash a custom rom??? i have several devices all of them rooted running custom roms, and this is the newest and the worst since i can't make any modifications :what::banghead:
Sent from my SGH-I997 using XDA Premium 4 mobile app
alexischino said:
I really feel disappointed to see that there is only one root method for this device and there is no CWM recovery or TWRP, This device don't even have Dowload Mode, How I'm going to flash a custom rom??? i have several devices all of them rooted running custom roms, and this is the newest and the worst since i can't make any modifications :what::banghead:
Sent from my SGH-I997 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you want it so bad then why don't you try to make it happen?
Since there is root, it shouldn't be impossible to start by dumping partitions and share them to make it available for whoever want's to take a look at it.
tys0n said:
If you want it so bad then why don't you try to make it happen?
Since there is root, it shouldn't be impossible to start by dumping partitions and share them to make it available for whoever want's to take a look at it.
Click to expand...
Click to collapse
I totally forgot about that,once I get my new laptop i will start right away to post the partitions dump files, thanks for the heads up.
Sent from my SAMSUNG-SM-G730A using XDA Premium 4 mobile app
i posted the partitions in my root thread.. and there is download mode get quick boot pro and you can get to it..
also i was going to work on a recovery but the website that builds them has been down. and I dont really want to configure a whole fedora box and start from there.
this is really strange! i try the 3 button combo when I get this phone and didn't work but I try again today and yes it has the (download mode) and the (3e recovery) :what:
Sent from my SAMSUNG-SM-G730A using XDA Premium 4 mobile app
I have a G730A and I want CyanogenMod 10.2. I am willing to help develop and test. I have very basic programming skills, and some Linux skills (currently do not have Linux installed though). If I am told what to do I can research how to do it and get it done. I just need instructions.
And if having linux is going to make it way easier, I can install it. I prefer Ubuntu but I can work with Fedora.

Categories

Resources