[Q] Porting HTC sensation stock rom to HTC Bravo - Android Q&A, Help & Troubleshooting

Hi, please someone can explain me the main steps to porting this rom "RUU_Pyramid_HTC_Europe_1.45.401.2_Radio_10.56.9035.00U_10.14.9035.01_M_release_208857_signed" know as official stock 2.3.5 latest, to HTC Desire / Bravo ?
I know that:
From system.img, must replace /lib/modules with modules of a stock kernel original Bravo, but the rest ?
There any other files that must be replaces with Bravo original stock ?
(i know that I must use SD to store framework / app file)
Please someone tell me the right way, I would have a HTC Desire with stock 2.3.5.
And in future tu update by myself my device.

Use the search button, there is a thread on how to port sense Rom to another sense phone.
Accidentally sent from my Nexus S using XDA Premium App

THEY LACK MATERIAL ON SENSE, BIG TIME.
Hit that search button all you want, and you might find a few threads on sense porting. A lot of left out info.
Sent from my Droid Incredible 3D using XDA App

Related

[Q] How to port a rom?

Could anyone teach me how to port a rom, or could someone do it for me, I am trying to port Tweaky Rom from Galaxy S I9000 2.3.3?
Thanks
The question is like asking "how do you write music" A bit complex....
You can use some of the apps and tool out there to help you extract the rom and or other information you want, kitchen and rom oven are a couple that come to mind.
You need some understanding of Linux and ADB
Here is a basic explanation of sorts but this not complete:
Take a base ROM from another phone. First thing, delete the boot.img. That boot.img contains the kernel, which usually will not be compatible for your phone.
Next,
Add the boot.img from your phone to this rom (use commom sense, if you are porting a vanilla rom, use an AOSP kernel, if porting sense, use HTC kernels, if you are porting other UI’s like blur, use an AOSP kernel.)
Then>
Go into the /system folder. In here, we want to first delete the usr folder. The usr folder has hard button and keypad drivers. Replace the usr folder with the one from your phone.
Then>
Go into the etc folder. delete the vold.fstab andapns-conf.xml and replace with the one from your phone. Next, we want to go into the lib folder. Here, we will want to replace the lights.(device name here) (and the sensors.name if it is an AOSP port) and replace with files from your phone.
-There much more to it but this is a basic overview-
Every phone is slightly different I have never ported on a Vibrant but this was my memory of how I did it on my HTC.......... hope that clarifies for you......
If your porting w i9k rom, replace the kernel and modem with the ones from our phone. Since its gingerbread, you will need a special modified gb kernel. Simply honey 2.3.3 uses chainfires modded kernel. See if you could use it. Or register at the edt site. We have custom gb kernels on our site. Then you will have to modify the two files in system/usr/keylayout; malfes_touchkey.kl to get the home button to work, and aries-keypad.kl to fix the volume buttons. Next you need to decompile the android-policy.jar and edit the phone window manager to make the haptic feed back work on the home key. Hope this helps.
Sent from my GT-I9000 using XDA Premium App
Dan_Brutal said:
If your porting w i9k rom, replace the kernel and modem with the ones from our phone. Since its gingerbread, you will need a special modified gb kernel. Simply honey 2.3.3 uses chainfires modded kernel. See if you could use it. Or register at the edt site. We have custom gb kernels on our site. Then you will have to modify the two files in system/usr/keylayout; malfes_touchkey.kl to get the home button to work, and aries-keypad.kl to fix the volume buttons. Next you need to decompile the android-policy.jar and edit the phone window manager to make the haptic feed back work on the home key. Hope this helps.
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
There you have it from the porting legend
Thanks, both your responses were really helpful, I really appreciate it.
One more question, would it be possible to use the custom gb kernels with jvh which is what I plan on porting?
Sent from my GT-I9000 using XDA Premium App
That's what I'm using. All the vibrant gb kernels, with the exception of the cm7/miui kernels, will work with 2.3.3.
Sent from my GT-I9000 using XDA Premium App

[Q] porting sense3 to X10

Hi
I can port miui rom to my x10 but I tried to port sense3 from desire to x10 but no luck!
any ideas about porting sense????
a good start
http://forum.xda-developers.com/showthread.php?t=1222746
Amin` said:
Hi
I can port miui rom to my x10 but I tried to port sense3 from desire to x10 but no luck!
any ideas about porting sense????
Click to expand...
Click to collapse
It is not possible unless using a HTC phone as the HTC framework files are a must. Porting miui is easy as most of the work is done by CM before MIUI even gets it.
zelendel said:
It is not possible unless using a HTC phone as the HTC framework files are a must. Porting miui is easy as most of the work is done by CM before MIUI even gets it.
Click to expand...
Click to collapse
thanks a lot man!
so i will take the framework-res.apk and other apk releated to framework decomoile them add all the resource that HTC added to they framework , decompile the framework.jar and other framework files , and see what changes they have made to the original android one and rewrite that on JAVA and add on the android or cm7 sources , then compile , and for the libs we will need somme precompiled HTC libs that i will take from the already builded rom of HTC
Any other ideas?
Well HTC and other OEMs like Samsung don't change the main framework files but instead use their own resources apologize. Like HTC uses com.resources.apk that controles most things and the framework-res apk controls very little. You would have to use all the HTC resource files as well as most of all the system apks as well as the lib files.
Porting sense to a non HTC phone just isn't possable with our known tools.
So I see that it seems to be quite impossible but there are people who are trying and have even gotten it to boot. but not too far from there. I am hoping that something does come to the light so i can have sense on my epic. I know its a very tedious task but is there any guide that i can follow? please be ever so kind and post one if there is! Thanks!
Not impossible, just hard. Tweet rafyvitto and he will help. Galaxy s and nexus s have ports of sense.
Sent from my SPH-D700 using Tapatalk
yes It's not impossible...but it is imposible for me because I am a beginner and....
Jearplea(fxp) had ported a sense rom for x10 many time ago....(android 2.1)

[MOD][08 June] Search key to ICS recent apps |for rom 3.08.401.1 & 3.28.401.1|

Search key to ICS recent apps on Sense Rom|Sense3.6|
Download:
4shared:
Search to App for Rom Based on 3.08.401.1
Search to App for Rom Based on 3.28.401.1
Dev-Host:
Search to App for Rom Based on 3.08.401.1
Search to App for Rom Based on 3.28.401.1
115.com:
Search to App for Rom Based on 3.08.401.1
Search to App for Rom Based on 3.28.401.1
Click to expand...
Click to collapse
Info:
This mod base on leak rom Sense 3.6 [3.08.401.1] and [3.28.401.1].
I think it can use on all sense rom based on these two leak rom version.
This mod no need to manually do any thing, just flash it zip file with recovery.
After I succeed modify the file, the advanced reboot menu was lost, it also showed in the video. I don't know how to re-add it. But I think the advanced reboot menu is not use so frequently.
Why not 3.24.401.3 or 3.27.401.2?
3.08.401.1 has the full beats support, and tweaks, since I used beats rom with my blue tooth MW600+sennheiser MX760, I cann't change to no beats rom anymore. If the new rom with beats, I will make a new mod(maybe after the post, rommer may add this feature to it's rom).
And if you do not care beats, you will using the rom based on 3.28.401.1 which is the newst one, so I only created this two version.
Click to expand...
Click to collapse
Background:
What is the mod for?You can check the video first.
The search key at Evo 3D is barely no useful, at least I do NOT want the search function take a hardware key from my phone. From the HTC one series, there is a multi-task key, which I tried is very useful and no need to long press home key to bring up the multi-task interface(long press is very take time and not good experience). In Sense 3.6 rom, there is no HTC multi-task program, but I feel the ICS multi-task also very good, it bring us the switch and close apps function together, not as the GB only can switch between recent apps. But in Sense 3.6 rom, only change the "atmel-touchscreen.kl" file to mapping the key 217 to APP_SWITCH is not enough, it only bring up old GB Recent apps interface. So, if you need bing up ICS recent interface, need modify the android.policy.jar. This is what the mod do, make the android.policy.jar support APP_SWITCH to ICS multi-task.
Click to expand...
Click to collapse
Warning:
U'RE FLASHING U'r DEVICE SO DO NOT BLAME ME IF SOMETHING GOs-AS-S WRONG
Backup your system first, If you install this mod with not compatible rom, it will cause boot failure.
After you install this mod, the first boot will update system with all apps, this is normal because of the new android.policy.jar, just wait it finished.
Click to expand...
Click to collapse
Creadit:
Anryl for his rom. Rom link
evilisto for his sharing how to modify and which file to modify.(even I didn't and can not do it with source code, because there is no source code yet.) This is the guide based on Jave source code by evilisto
Click to expand...
Click to collapse
Guide:
1. How to install?
Just flash with recovery, but backup with recovery first.
2. How to change back?
1) only want to change back the key function.
just modify the "/system/usr/keylayout/atmel-touchscreen.kl" with RE, change the APP_SWITCH to SEARCH or POWER(If you already using Search key to lock the screen).
2) change back to your orignal rom's android.policy.jar.
By using recovery advanced restore only restore the system partition or restore all or you can modify my zip file change the android.policy.jar to orignal one, and flash it.
Click to expand...
Click to collapse
Thanks! Can you port it to Sense 4 Roms?
Just installed this and I must say it is awesome.
I'm running Nonsense 3.1, based on the leak, and it works perfectly. So it looks like this is an universal install package.
However I do have one request, since the search button is gone I have some difficulty opening the the bar in the browser. Could you make it so that long press on home button will cover this button?
Thanx anyway
Sent from my HTC EVO 3D X515m using xda premium
It´s work.
I like it.
crimmylol said:
Thanks! Can you port it to Sense 4 Roms?
Click to expand...
Click to collapse
Sense 4 no need these, just modify the "/system/usr/keylayout/atmel-touchscreen.kl" with RE, change the key 217 SEARCH to APP_SWITCH, save and reboot, then you can bing up Sense 4 multi-task program. It is pretty than ICS's.
qwerp said:
Just installed this and I must say it is awesome.
I'm running Nonsense 3.1, based on the leak, and it works perfectly. So it looks like this is an universal install package.
However I do have one request, since the search button is gone I have some difficulty opening the the bar in the browser. Could you make it so that long press on home button will cover this button?
Thanx anyway
Sent from my HTC EVO 3D X515m using xda premium
Click to expand...
Click to collapse
sorry, I do not know how to change the long press action yet. I will try to find the codes related.
No problem at all, just curious.
It works great anyway.
Sent from my HTC EVO 3D X515m using xda premium
crimmylol said:
Thanks! Can you port it to Sense 4 Roms?
Click to expand...
Click to collapse
Sense 4.0 uses the long press home button and will do the same thing.
This doest work with my 2.3.3 sense 2.1 desire z =\
Sent from my HTC Vision using XDA
cc101 said:
Sense 4.0 uses the long press home button and will do the same thing.
Click to expand...
Click to collapse
this mod is for no need long press.
Steven How said:
This doest work with my 2.3.3 sense 2.1 desire z =\
Sent from my HTC Vision using XDA
Click to expand...
Click to collapse
of cause can not work with 2.3.3 sense 2.1,
this is for ICS.
10928 said:
of cause can not work with 2.3.3 sense 2.1,
this is for ICS.
Click to expand...
Click to collapse
Okay...been searching for this mod 2 weeks,but all I found is for cm9
Sent from my HTC Vision using XDA
Link is down, please re-upload or can someone provide a mirror? Thanks.
Sent from my HTC EVO 3D X515m using Tapatalk 2
I put everthing manualy on 3.27.401.2 mvakious v6 rom and working perfectly.
kjames2001 said:
Link is down, please re-upload or can someone provide a mirror? Thanks.
Sent from my HTC EVO 3D X515m using Tapatalk 2
Click to expand...
Click to collapse
links are good, maybe your country can not visit 4share.
Already add mirror in the op.

[Help] Port Sense ROM to non-Sense device

Hey all.
Well first i'm gonna talk a bit about myself.
I have Huawei Ascend G300, and before that i had Huawei Ideos X3 (my first android). I've been playing with ROM's flashing since almost the beginning but now i'm trying to learn a bit more. What i'm trying to do is to port a Sense ROM to my G300. From HTC One V to be exact (http://forum.xda-developers.com/showthread.php?t=1943412). I don't have any kind of experience in developing, this is my first try, but i guess i would learn more porting Sense than any other normal port as it is much deeper than others. Don't give me answers like "you can't do it based on your experience" or "if you want Sense buy HTC". This is Chef Central so i'm expecting tips from experienced Dev's. And this little project is just to learn more about how android works. Finally, i would get a decent HTC if i had money for it.
So, the guid i'm following:
http://forum.xda-developers.com/showthread.php?t=1707177
If you have more detailed guides please send them to me.
What i've done so far. In CM9 (base) i've edited init.rc copying from Sense ROM and compiled the boot.img back. I've tacken the keys from CM9 to Sense ROM. Copied the files that the guide told me to. After this i recompiled the Sense ROM. Tried to flash and got problems with updater script. So i took the updater script and binary from CM9 to Sense ROM and tried again. It flashed this time but doesnt get past Splash Screen.
I've not made changes in framework.res and build.prop yet (it's my next task).
So how am i going? Am i on a good path?
Thanks!
I'm also working on a sense port. And your doing well so far, however, I would recommend editing the updater - script to match your mount points from stock script instead of copying the stock script over. There are some important processes that run that are sense specific. I've only made it to boot animation so far.
Sent from my SPH-L710 using xda app-developers app
Let me also join you
jagannn said:
Let me also join you
Click to expand...
Click to collapse
Have you already started porting? If so how far have you gotten? We haven't made it to the lock screen yet.
Sent from my SPH-L710 using xda app-developers app

4.2 Keyboard and camera

Android 4.2 keyboard with gesture, its as good as swipe.
http://m.pocketnow.com/2012/10/30/android-4-2-stock-keyboard-now-available-for-download-unofficially
After installing go to languages and input and check Android Key board
Hope it will be useful.
Download and Install
Now, getting it on your device is going to be easy for some of you, and less easy for others. You'll need to be on Android 4.0+, to start.
If you're on a phone with a UI overlay that has the stock keyboard disabled (eg, Samsung TouchWiz, HTC Sense, Sony), you can just download the apk below- no root required. To install, make sure you have "install from unknown sources" enabled in your phone settings, and after installation, go into your phone's keyboard settings and enable "Android keyboard." Then, you can switch to the new keyboard. This may also work on some "stock" Android custom ROMs - but it will not work on stock Android builds distributed by Google.
Get the apk here: http://d-h.st/XuS
If the apk doesn't work, you're running a phone that is either A.) running stock Android (as in, AOSP), or B.) running software that has the stock Android keyboard as an option, you'll need to download this ZIP file, and flash it in recovery. That also means you're going to need root. as you'll be writing to /system/apps. Before you do, though, either back up the stock keyboard (if you don't know how, you probably shouldn't be doing this) or create a full image backup, just in case. Here's that ZIP file:
Get the zip here: http://d-h.st/36D
Source: http://www.androidpolice.com/2012/1...d-4-2-keyboard-with-gesture-typing-right-now/
Android 4.2 camera
available now with photo sphere simply move to system apps and set permissions to rw-r-r- and reboot.some reports of photo sphere force closing but had no problems here
http://www.mediafire.com/?927d7dm454g435o
Here's the working zip, flash feom cwm
http://forum.xda-developers.com/showthread.php?p=33551677
Press thanks if u liked
YO YO CYRIN
The keyboard is working, but the Mediafire Link is down :S
Sent from my HTC Desire X using xda app-developers app
I'm having problems with keyboard. Installation is working, I check the keyboard in settings and change to my language, but I can't swipe (I have turned on the trace option). I tried more languages and no trace in English, German etc... Any idea?
<---Slide(it)d from my Desire X --->
Gnaver said:
I'm having problems with keyboard. Installation is working, I check the keyboard in settings and change to my language, but I can't swipe (I have turned on the trace option). I tried more languages and no trace in English, German etc... Any idea?
<---Slide(it)d from my Desire X --->
Click to expand...
Click to collapse
+1 but I'm using a Desire C...
Sent from my ToasterOven running Toastdroid 4.2
SchleckBlood said:
The keyboard is working, but the Mediafire Link is down :S
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Here's the link..... Flash it through cwm recovery
http://www.2shared.com/file/yUbXupM0/camera42_patched.html
Sent from my MB526 using xda premium
Do I need CWM to flash this zip? My dad wants the camera.
Sent from my ToasterOven running Toastdroid 4.2
Stereo8 said:
Do I need CWM to flash this zip? My dad wants the camera.
Sent from my ToasterOven running Toastdroid 4.2
Click to expand...
Click to collapse
Yup I think so because the Desire X won't allow you to touch the /system partition using a File Explorer even with ROOT permissions
The Android Manual said:
Yup I think so because the Desire X won't allow you to touch the /system partition using a File Explorer even with ROOT permissions
Click to expand...
Click to collapse
What if I use fastboot boot cwm.img? Will it leave any trail of tampering except camera app in system/app and libs in system/lib?
PS: His phone is a Desire C, not X.
Stereo8 said:
What if I use fastboot boot cwm.img? Will it leave any trail of tampering except camera app in system/app and libs in system/lib?
PS: His phone is a Desire C, not X.
Click to expand...
Click to collapse
sorry I don't know how to play with a Desire C
I know, I know, just asking... It's the same thing...
Thks & br
Sent from my HTC Desire X using xda app-developers app
keyboard works perfect thanks (flashed in cwm)
does the camera specially photosphere works???????
leon
First, sorry for the question but im new here! and my eng is not very good.
Why to install camera.apk from here and what will change ? Better quality ? New effects ? I just dont get it!
Sorry for the stupid question!
Htc ime theme
Hello I am looking for this theme for a keyboard .... http://www.fonsymbian.net/img/uploads/20101025_89.png
camera download link invalid.... help..
meherzad said:
camera download link invalid.... help..
Click to expand...
Click to collapse
...try to download from: [URL="http://www.2shared.com/file/yUbXupM0/camera42_patched.html"]http://www.2shared.com/file/yUbXupM0/camera42_patched.html
[/URL]
Should be online and work!
Has someone a camera with the photosphere mode (not the Panorama) working? i can just make one picture...
Sent from my HTC Desire X using xda app-developers app
Thank a lot bro im downloading
Who ever put on HTC Desire X ? Bugs have?

Categories

Resources