Attn: Dev's - Porting your ROM to the D2 made easy - Droid X Android Development

OK guys I am posting the files I needed to port my 2.3.340 based ROM, GummyJAR, to the D2..
This should work for any 320/340 DX ROM really.
Now with my ROM I also had to include the AOSP keyboard as the Gingerbread one doesn't work right on the D2.. Also make sure to to redue your build.prop edits as this update comes with a build.prop
Here is an update.zip with all the needed files
Please if you like my work donate as I would like to buy other phones to build other ROMS

Tried it on a few different roms. Camera and video camera, the things I couldnt get working, work Physical keyboard, the one thing I did figure out, does not. Easy fix though. Your awesome Kejar!!
**I updated your update.zip to fix keyboard. It works 100% on the 3 roms ive tested it on. Can I post it or do you want to post it?

Go ahead and post it
Sent from my DROIDX using Tapatalk

Here is kejars update.zip to port DX roms to D2. I tested this on 3 different roms and it works. Enjoy!

is there anyway to get this where it will work on the GB leak ???

Guys, is there something like this for defy, or even any chance?
Sent from Barebones-Defy using tapatalk.

Antszej said:
Guys, is there something like this for defy, or even any chance?
Sent from Barebones-Defy using tapatalk.
Click to expand...
Click to collapse
That would be a tad harder since you'll need more proprietary files. It is so easy for these devices because they have very similar hardware.

Related

Rosie.apk with Cyanogen Rom?

Has it been done? I couldn't tell if this http://forum.xda-developers.com/showthread.php?t=532822 is compatible with the cyanogen roms or this only applies for hero roms that have been worked with thus far. Otherwise, would love to see this done if possible.
Thanks for the input.
mekaziah said:
Has it been done? I couldn't tell if this http://forum.xda-developers.com/showthread.php?t=532822 is compatible with the cyanogen roms or this only applies for hero roms that have been worked with thus far. Otherwise, would love to see this done if possible.
Thanks for the input.
Click to expand...
Click to collapse
Rosie is tied to HTC's framework, trust me your not the first to bring this up.I asked this q months ago, even installed the rosie.apk and nothing happened.
Nope
Rosie is HtC Framework diffrent than Aosp Google
mekaziah said:
Has it been done? I couldn't tell if this http://forum.xda-developers.com/showthread.php?t=532822 is compatible with the cyanogen roms or this only applies for hero roms that have been worked with thus far. Otherwise, would love to see this done if possible.
Thanks for the input.
Click to expand...
Click to collapse
Not gonna happen, it relies on Htc's closed-source frameworks- thus only Sense based roms can use it (and older ones at that)
p.s. Post in the correct section next time
RE:
Think it will ever be open sourced or highly doubtful?
I mean, I without a doubt love kingklick's 0.6's rom, but it has some bugs that needs tweaking out such as everyone's problem it seems... the camera and bluetooth.
p.s. - please push this thread to Dream Q&A (sorry, my mistake).
mekaziah said:
Think it will ever be open sourced or highly doubtful?
I mean, I without a doubt love kingklick's 0.6's rom, but it has some bugs that needs tweaking out such as everyone's problem it seems... the camera and bluetooth.
p.s. - please push this thread to Dream Q&A (sorry, my mistake).
Click to expand...
Click to collapse
A mod will move it when they see it.
HTC wouldnt open source it unless they want it to be copied by other people which would be bad for business.The you would have hero widgets running on the liquid or droid and you get my point.

Developing Sense ROM

Hi guys!
Since two days I'm trying to create a ROM based on HTC Sense, porting from HTC Desire to our Nexus One using, as a base, the RCADSmixHD ROM.
I've been able to complete the entire package .zip and installing succesfully, BUT at reboot I'm stuck at the Nexus logo...
Do you think it's a kernel-related issue?
I really don't have any other ideas...
EDIT: I'd also like to know how to develop/modify a kernel for our Nexus One, but based on HTC roms... Someone has guides/links?
Try to Flash this Kernel: 2.6.35.6-eViL--10-7--1-wmcfg by eViL D:
You can find dl link here : http://forum.xda-developers.com/showpost.php?p=16995049&postcount=2
I had problems with the kernel include in RCADS on my N1
Thanks but no changes here... BTW the kernel included in RCADS rom works with my Nexus.. But here in this new ROM that I'm trying to develop I don't know what's wrong...
My guess there's something wrong with the ROM itself you probably have a few lines of code somewhere that are not working right. Were you able to compile the code on your computer?
Well, actually I'm trying to port a Sense ROM from HTC Desire with 250mb fit into /system/... I think that's the problem because my Nexus One could have bad blocks and/or less space into /system/, so this ROM wouldn't fit. I think so.
Regarding the code, I haven't written any kind of code, apart from looking at updater-script to be ok... Other suggestions? Thanks anyway, much appreciated
Now I'm trying to port a different ROM, the Desire S Gingerbread 2.3.5 with Sense 3.0!
But after replacing many folders and files from a Sense Rom of the Nexus One and the target Sense Rom that I'm developing, I have replaced boot.img and edited the updater-script properly (I think).
After installation, it's stuck at the Nexus logo... always!
What's wrong????????
Look at your logcat.
And at your /proc/kmsg.
If you don't know what these 2 mean - read up on those, use some googling.
If you can't - I believe you won't be able to develop anything worthy, or anything at all.
Moreover, Nexus has 145MB on /system partition. You need to utilize SD-EXT partition and symlink parts of the ROM to make it fit.
If I'm speaking Chinese and you can't figure it out - read the previous paragraph
From your posts I can't detrmine if you are developing or just trying to flash the rom to your phone, since you haven't done any coding. Am I misunderstanding?
rugmankc said:
From your posts I can't detrmine if you are developing or just trying to flash the rom to your phone, since you haven't done any coding. Am I misunderstanding?
Click to expand...
Click to collapse
You're right, because I'm not coding for a completely new ROM..
I'm just trying to "assemble" different pieces of ROMs together, a porting!
The only thing to "code" is the updater-script (or update-script)...
I have some errors there and I can't really determine why certain things goes wrong.. for now I don't have full knowledge of system partitions of Android.
And now I don't have enough time to fully explore this complex world
I have just tried for a couple of days...
Iperzampem0 said:
You're right, because I'm not coding for a completely new ROM..
I'm just trying to "assemble" different pieces of ROMs together, a porting!
The only thing to "code" is the updater-script (or update-script)...
I have some errors there and I can't really determine why certain things goes wrong.. for now I don't have full knowledge of system partitions of Android.
And now I don't have enough time to fully explore this complex world
I have just tried for a couple of days...
Click to expand...
Click to collapse
What did you add to the updater-script? And which folders specifically did you replace and change? And did you use a rooted ROM or the OTA one for the desire?
@Ace42:
Hi, I had used a rooted ROM from the Desire thread and I have followed this pretty useful guide which illustrates how to port Sense Roms:
http://forum.xda-developers.com/showthread.php?t=1222746
I have also had a look at almost all the files into each folders to see if there was differences in the code between the 2 roms..!
BTW the problem is in the updater-script...
For example I'm not able to mount "sd-ext", which is one of the most important steps to do for the Rom to being able to run into the device.
Look at that link properly, porting sense to OTHER SENSE DEVICES.
N1 isn't a sense device.
First, porting is more than replacing your boot.img and changing your update-script.
Like the other user said, you need to symlink files to your SD card cause N1 just isn't big enough.
Second, you're taking roms from other devices, most probably you'd have to re-write or mod the drivers.
Third, Porting just isn't that easy.
@illuminarias:
-> I know that, and in fact N1 becomes a Sense device when it has a Sense rom already installed... so it can be compared with other Sense devices.
-> I also know that we must symlink files, and you do that by adding lines of code into the updater-script (or update-script)!
-> If no one starts from something, how do you think that development for N1 can continue??
Iperzampem0 said:
@illuminarias:
-> I know that, and in fact N1 becomes a Sense device when it has a Sense rom already installed... so it can be compared with other Sense devices.
-> I also know that we must symlink files, and you do that by adding lines of code into the updater-script (or update-script)!
-> If no one starts from something, how do you think that development for N1 can continue??
Click to expand...
Click to collapse
The n1 also runs miui, is comparable to the m1? No.
Sent from my HTC Sensation Z710e using xda premium
illuminarias said:
The n1 also runs miui, is comparable to the m1? No.
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
I'm sorry but personally I love HTC Sense, not a-bad-copy-of-iPhone such as MIUI.
And since now I don't have money to change the device, I'll stick with this for other time.
Cheers
Iperzampem0 said:
I'm sorry but personally I love HTC Sense, not a-bad-copy-of-iPhone such as MIUI.
And since now I don't have money to change the device, I'll stick with this for other time.
Cheers
Click to expand...
Click to collapse
Yes, the same for me. I Love my nexus one with sense. Currently i also working on a gb sense rom for my nexus. Update Script is done and system should fit now with 151mb into the nexus rom. I ll will try to install & boot it at the weekend. Base was the currrent 2.3.3 Desire Release... Hopefully it fits into the small system and boots , to get logcats to work with...
If someone want to help & try, please contact me. I can upload the rom then to test. Currently i don´t have a lot of time , maybe together we get a working release...
@Deep-Knight:
Yep, I was working yesterday evening with the official Desire gingerbread update from HTC, but, as always, I'm stuck at the Nexus logo, after the installation is done... :/
I think I'm doing something wrong with system partition.. I know that our N1 can handle only 150mb for /system...
But I must admit that I'm using almost the same updater-script and boot.img as the N1Sensation v0.5 rom or RCADSmixHD rom..
Deep-Knight said:
Yes, the same for me. I Love my nexus one with sense. Currently i also working on a gb sense rom for my nexus. Update Script is done and system should fit now with 151mb into the nexus rom. I ll will try to install & boot it at the weekend. Base was the currrent 2.3.3 Desire Release... Hopefully it fits into the small system and boots , to get logcats to work with...
If someone want to help & try, please contact me. I can upload the rom then to test. Currently i don´t have a lot of time , maybe together we get a working release...
Click to expand...
Click to collapse
Just make a thread and upload your beta version, theres a plenty of people here able to test and help.
Thank you Menelkir for your interest!
But first I'll have to create something useful.. Maybe later on I'll create a new thread..
Till now I'm using some HTC Desire's ROM from the dedicated section here at XDA.
Stay tuned guys
As always graphical glithces will not be solved, until HTC releases Desire's Source Code..
The code is released already.
Unfortunately, the real trouble with porting ROMs is fixing the things that don't work - which will include trackball, hotspot etc - and this is the part where most of ROMs fail, because very few developers are skilled enough for that.

[Q] What are you looking for in a custom 8.9 LTE Rom?

So we have root, custom kernel, and now CWM. It is about time we have a custom ROM to flash. Still no developers with the device, but we have gotten this far with the help of other developers without the device. I was thinking we could get a list of requests and then contact the right people and provide them the files they need to modify.
I guess ill start with the most obvious ones.
[*] Root / SU / Busybox
[*] Zipaligned
[*] Deodexed
[*] Ad Blocking
[*] Browser tweaks
[*] Bloatware removal
[*] OC kernel?
[*] CWM 5.5.0.4 w/ .hidenandroidprogress built in
[*] Updated stock apps
[*] Extended Power Menu
[*] Theming? (not necessary)
[*] Tethering
Thats all I can think of for now. Once we get a list of things we can begin to find someone with the skills to do it.
Pretty much what you mentioned. And of course the obvious one. ICS is the big want and I know it will take some time. Preferably right now a cleaned up stock rom and themes would be cool.
So i installed linux on my netbook along with dsixda's ROM kitchen. I dont know much but ill see what i can do.
so yea.
so far i can create a ROM which is bloatware free, zipaligned, deodexed, rooted, CWM w/ hidenandroidprogress, updated system apps, with or without OC kernel, and with tethering. sweet.
basically teaching myself though so it may be a while.
I'm not really active on these forums, but I'm also available for testing on my i957. (Wasn't allowed to post in the dev forum until I hit 10 posts)
Yep all the above. the main thing is to get rid of this UI lag.
On my 8.9 LTE i just used another launcher and it was gone...
I'm using another launcher and it's almost gone. I still get forces. I really want to do a full restore of the original rom before any roots and try to push the OC and libs again. The stock ROM I was given by Croak only helps recover from issues but not the ones I mentioned. It never had force closes or any weird issues before. But since the OC it's been running kinda crazy.
Thanks Orlando for the initiative!
In addition to what you have written, If possible, I would also would love to have:
1. Icons representing cellular speed (2G,3G,H,H+,4G) as on my SGS2.
2. JKAY mod. I don't know if this mod is SGS2 only mod or not. , but if it is possible to port it to our tab it would be great.
Thanks
I am not a dev by any means. I just dont have the time to teach myself all of the ins and outs that sammy devs and AOSP devs do. I give them so much credit. Coming from years of a windows base and no programming experience, its tough. I cant make up for what real devs can do, but for now I think I can get a ROM out which will be decent until we can get some real help.
I thnk as soon as we get a good stable, flashable, deodexed base it will open up a lot more easily implimented possibilities for theming and adding/subtracting little odds and ends that differentiate some of the different major ROMS.
My suggestion is to just work on good stable base ROM with fully functioning basics first and let the community work it from there.
I really need to fix the update-binary and the update script in order for this to work in CWM.
but basically I just did simple automated tasks. Kitchened from my nandroid.
Rooted
Superuser
Busybox
Deodexed
Zipaligned
Da_G Overclock Kernel
NoFrills OC App
Custom Libs for OC
Asus Water Wallpaper
Asus Weather Widget
Titanium Backup
Rom Manager (Dont Use It)
Custom Boot Animation Enabled
Bash Shell Support
CWM 5.5.0.4 w/ .nandroidprogress
If it turns out that the nandroid wont work well, then the stock will have to be modified, which means basically just deodex, root, zipalign. thats about all I can do. I wish i knew more about the whole android system but sadly i dont. i am trying to teach myself but it is going to be slow, so i pray we get a real dev soon.
Whatever you can do man is much appreciated. I wish I had a coders heart and talent. Because spend enough time on a PC to be able to contribute if I could this type of coding.
I thought I had everything set and tried to flash and just got bootloops. Then I just took the stock ROM and made a flashable zip from the stock firmware and that didn't even boot. Really discouraging and it took forever to get my tab back to working. Might be better just to wait for someone who knows what they are doing.
Sent from my SAMSUNG-SGH-I727 using xda premium
Google Maps 6.2 Ownhere Mod is a most... For any rom...
Sent from my SAMSUNG-SGH-I957 using xda premium
orlandoxpolice said:
I thought I had everything set and tried to flash and just got bootloops. Then I just took the stock ROM and made a flashable zip from the stock firmware and that didn't even boot. Really discouraging and it took forever to get my tab back to working. Might be better just to wait for someone who knows what they are doing.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Take it easy... Did you took the $7 AT&T insurance for the tab? Usually the AT&T sales rep. does not even know that there is an insurance option for this tab. I went online and saw there was insurance... And mentioned it to the AT&T rep. when buying the tab and he said there was no insurance option... And I told him, yes there is! And he double check and finally realized there was insurance. I took it, because I know the feeling of converting into a brick a brand new shiny device, lol... And look where I am... Already rooted, O/C, flashed recovery and waiting for CM9 or any rom available, lol... Just taking the sidewalk on brick ave. Lol...
Sent from my SAMSUNG-SGH-I957 using xda premium
Gsm calls please
Sent from my GT-P7300 using XDA App
I am going to look into insurance today. if i can get it then ill keep flashing away
couldn't get logcat working though to figure out why the flashes went bad...
Got the insurance!
Sent from my SAMSUNG-SGH-I727 using xda premium
orlandoxpolice said:
Got the insurance!
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Great! so now... where can I download the orlandoxpolice ultimate kick ass rom? with all the features mentioned above with CM9 support, voice support for calls, that even unlocks tablet for any gsm sim card and all the latest versions of everything on the market? ahhh and everything in 4D of course... lol

Vanilla "de-blurred" GB ROM?

Haven't been able to find one, but I was hoping someone knew if there was a vanilla GB rom for the Droid 4. I want to get a "de-blurred" version on GB on the D4 until we get ICS. Anyone know of one? Thanks in advance!
There's a few roms that still have Motoblur but with less bloatware, but none that match your description. For a true "vanilla" GB experience you'd probably want CM7, but Hashcode pretty much abandoned his work on it for CM9. That was on the Droid 3, I highly doubt there's anything for the Droid 4 at this point.
Sent from my DROID4 using Tapatalk 2
Unfortunately, the biggest hold-back has been getting a deodexed version of the stock ROM. I tried deodexing once so far, and my result didn't boot. At the moment, I'm running one of the Nightlies of AOKP that has proven to be particularly stable, so whether I will go back to trying to deblur the stock ROM, I don't know. Honestly, I haven't seen much interest in it. You can try my Motoblur LT ROM for now and see how it works for you, though. I did replace the launcher with Zeam and added the stock Car Home, but that's about it I'm afraid.
I used this to deblur my phone a few minutes ago and it seems fine so far. btw i DID NOT hard reset my phone.
I'm running Eclipse 1.3.4, and it's de-Blurred enough that I can stand it. Intall a launcher, and you'd hardly know there is any Blur left.
Eclipse is deodexed.
Sent from my DROID4 using Tapatalk 2
Is it possible to build CM7 from source for the DROID 4? Can we use the vendor files the devs are using to build ICS?
Sent from my DROID4 using Tapatalk 2
We could start with the D3 port, and update it and go from there, but after talking with Hashcode, I was reluctant to work on it because I am not 100% familiar with how Safestrap works. Unfortunately, I rely HEAVILY on my phone for my school and work, and if I accidentally brick it, I am in big trouble.

Req. Cell Broadcast.

It's been asked for before in other places but I figure I should ask here. If it's the wrong place please move this. I would like the Cellbroadcast Service to be able to be installed on a ROM. They have it for Nexus here http://forum.xda-developers.com/showthread.php?t=2164711 and someone tried to do it for Atrix 4G and seems like it failed http://forum.xda-developers.com/showthread.php?t=1946265 I'd really like this without having to use Kyler's Froyo.
Sakuryu said:
It's been asked for before in other places but I figure I should ask here. If it's the wrong place please move this. I would like the Cellbroadcast Service to be able to be installed on a ROM. They have it for Nexus here http://forum.xda-developers.com/showthread.php?t=2164711 and someone tried to do it for Atrix 4G and seems like it failed http://forum.xda-developers.com/showthread.php?t=1946265 I'd really like this without having to use Kyler's Froyo.
Click to expand...
Click to collapse
have you tried any non Froyo ROM?
palmbeach05 said:
have you tried any non Froyo ROM?
Click to expand...
Click to collapse
I've Tried Nottactrix (I know I mispelled), MROM, CM 10.1, NOWBLAST, CM9, as well as almost all others. I've tried flashing the Cellbroadcast.apk and even dis-assembled the froyo rom that has it as an option but neither work. Point of interest, Kyler's Froyo Rom lacks the Cellbroadcastreceiver.apk so I don't know what I'd have to rip for it to work/
Sakuryu said:
I've Tried Nottactrix (I know I mispelled), MROM, CM 10.1, NOWBLAST, CM9, as well as almost all others. I've tried flashing the Cellbroadcast.apk and even dis-assembled the froyo rom that has it as an option but neither work. Point of interest, Kyler's Froyo Rom lacks the Cellbroadcastreceiver.apk so I don't know what I'd have to rip for it to work/
Click to expand...
Click to collapse
Ok, I hear what you're saying, but i'm a little confused. As an end result, what ROM are you trying to use?
palmbeach05 said:
Ok, I hear what you're saying, but i'm a little confused. As an end result, what ROM are you trying to use?
Click to expand...
Click to collapse
I use Nottach as my perma install. It's what I prefer, but I would like to have the Cellbroadcast option installed. I visit some areas where I need to know about tornados, shootings, hurricanes and the like. Plus it would be nice to have just in case.
Sakuryu said:
I use Nottach as my perma install. It's what I prefer, but I would like to have the Cellbroadcast option installed. I visit some areas where I need to know about tornados, shootings, hurricanes and the like. Plus it would be nice to have just in case.
Click to expand...
Click to collapse
ok, so with that said, you are looking for a CellBroadcastReciever.apk that is designed for GB (2.3-2.3.7), not for Froyo, ICS, JB, or KK (even if KK isn't available for our device just yet)
palmbeach05 said:
ok, so with that said, you are looking for a CellBroadcastReciever.apk that is designed for GB (2.3-2.3.7), not for Froyo, ICS, JB, or KK (even if KK isn't available for our device just yet)
Click to expand...
Click to collapse
Yes one that works on the Atrix 4G because the Nexus ones are for a GB device if I am reading correctly. I've tried just flashing those (Stupid I know) and no result. I've tried swip-swapping some stuff around and Iv'e come to the conclusion I cannot do this myself with just the froyo rom, the apks and nottach to mess with.
Both of those versions (this one and this one) work on JB and above only (one is for 4.1, the other is for 4.2).
As you noticed yourself, Kyler's stock Froyo does not contain it, and I was unable to find a version that works on Froyo. Where did you find one for Froyo?
ravilov said:
Both of those versions (this one and this one) work on JB and above only (one is for 4.1, the other is for 4.2).
As you noticed yourself, Kyler's stock Froyo does not contain it, and I was unable to find a version that works on Froyo. Where did you find one for Froyo?
Click to expand...
Click to collapse
One of his links takes you to a thread with a few posts. The last post has a download link.
I get that we have a froyo version based off of his searching, and that we do have JB versions based off of experience with epinter's ROMs. I don't know about GB or ICS versions, but he's definitely looking for the GB version.
Sent from my MB886 using xda app-developers app
palmbeach05 said:
One of his links takes you to a thread with a few posts. The last post has a download link.
I get that we have a froyo version based off of his searching, and that we do have JB versions based off of experience with epinter's ROMs. I don't know about GB or ICS versions, but he's definitely looking for the GB version.
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
It was in Kyler's Froyo settings, The APK is not there but the item is in the settings and fully customizable.
Well I'm trying out CM 10.2 right now but having a flashable version could work well if I switch back.
I examined Kyler's Froyo. Sadly it seems this functionality has been hardcoded into Settings.apk and BlurPhone.apk.
Ahhh, it seemed like that when I tore it apart.
I just examined the latest AT&T firmware (2.3.6) and I found the same thing therein. That means the same functionality should exist in the latest official GB as well?
I can't test this myself, I'm running a custom ROM and I don't really want to reflash now, plus to my knowledge none of the networks here offer cell broadcast.
I know florida has it, Due to ya know, all the high emergency weather and dangerous child kidnappers

Categories

Resources