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)
Related
I was digging through the apk files of the leaked Pyramid rom and have been trying to get the new clockwidget and Streak live wallpaper ported over for the ThunderBolt and all my efforts to what I know as far as coding anyway, I can't get it working.
It could be related to it being encoded using Gingerbread, but these two alone are worth a look since they have new features and the new Live wallpaper "Streak" is going to be the new flagship background for all devices.
I have attached the said apk files for anyone willing to port these over for use on our ThunderBolt's
Attached are: (see download link, XDA limit is too low)
DOWNLOAD zip here http://www.mediafire.com/?wr8v3b9d9u95wkn
HtcHubSYNCprovider.apk
HtcLaputa.apk (HTC Locations)
HtcLaputaInstaller.apk (HTC Locations maps installer)
HTCLwallpaperStreak.apk (new Streak Livewallpaper)
HtcLocationsWidget3d.apk
HtcLocationsWidgetSettings3d.apk
HtcLockscreen.apk
HtcMailWidgets3d.apk
MyHTC.apk (HTC Hub / htcsense.com portal)
WeatherLivewallpaper.apk
do you have to be rooted to install?
under999 said:
do you have to be rooted to install?
Click to expand...
Click to collapse
These willl not work yet, read the op.
I think one of the main things needs to be addressed is the resolution / dimension (regarding the live wallpaper) .. i tried it on my HTC Desire (i know i just gave it a try) and it did not work
guys can u let me knw how to install in on my Samsung Galaxy S 2
Plz provide me the step to install it
sandeep_madahar said:
guys can u let me knw how to install in on my Samsung Galaxy S 2
Plz provide me the step to install it
Click to expand...
Click to collapse
Yes, i can tell you how. First, port Sense over to a samsung phone as this is the framework needed to run most of these. Second, i'm done with the sarcasm. Seriously though, unless there is a sense port to samsung, you're not getting these things on your S 2. Sorry bud.
I'm trying to port HTC ROM to my LG, but any try result on non-booting ROM. I used dsixda kitchen just to extract both ROMs in separate folders, but when I replace some files ex. under /system/lib or /etc it does not boot when flashing with clockwork zip. I removed unnecessary apps just to fit system to my phone.
Which files do I need to take from custom ROM for my LG to make HTC ROM working/booting. I took /hw /modules /egl under /lib some files /etc and keychars according to:
http://forum.xda-developers.com/showthread.php?t=815265
http://forum.xda-developers.com/showthread.php?t=1222746
Also I took boot.img from my GT540 and modified build.prop. I can't find a reason why it doesn't work, sadly logcat doesn't work too.
There are many ports but all sense to sense device. Any tips what to do? Just at least to boot it up, later is the time to make everything else, now its important.
I booted Eclair Sense ROM in past but nothing was really working good, just 3d, bt and gps but I see its possible according to 2.2 Sense ROM port made by cile for gt540.
I used HTC Pico RUU CHS latest leak 1.20 as ROM I wanted to port and I used libs from pcfighter .32 kernel one time and same result as with .29 libs from DevSwift's OXYGEN and miroslav_mm SDSL so I think its nothing wrong with my libs, just Im making mistake somewhere.
mesaj said:
I'm trying to port HTC ROM to my LG, but any try result on non-booting ROM. I used dsixda kitchen just to extract both ROMs in separate folders, but when I replace some files ex. under /system/lib or /etc it does not boot when flashing with clockwork zip. I removed unnecessary apps just to fit system to my phone.
Which files do I need to take from custom ROM for my LG to make HTC ROM working/booting. I took /hw /modules /egl under /lib some files /etc and keychars according to:
http://forum.xda-developers.com/showthread.php?t=815265
http://forum.xda-developers.com/showthread.php?t=1222746
Also I took boot.img from my GT540 and modified build.prop. I can't find a reason why it doesn't work, sadly logcat doesn't work too.
There are many ports but all sense to sense device. Any tips what to do? Just at least to boot it up, later is the time to make everything else, now its important.
I booted Eclair Sense ROM in past but nothing was really working good, just 3d, bt and gps but I see its possible according to 2.2 Sense ROM port made by cile for gt540.
I used HTC Pico RUU CHS latest leak 1.20 as ROM I wanted to port and I used libs from pcfighter .32 kernel one time and same result as with .29 libs from DevSwift's OXYGEN and miroslav_mm SDSL so I think its nothing wrong with my libs, just Im making mistake somewhere.
Click to expand...
Click to collapse
Its because (you have found this on a search) Sense is built deeply into the framework and drivers. It will only work on HTC devices. Same goes for Samsungs touchwiz and Motos Motoblur.
Anyway older sense worked, atleast it was booting and wasn't that far from working. In ciles port there were just some 3d problems, but I've found a solution for it, wifi(as usual), microphone(so calls, but gsm module was working), some other bugs like tethering, but look, it was developed recently even for other working roms, usb storage, but I think it was possible to be fixed with some kernel changes if devs made it in .32 and .35 kernels by yourself.
mesaj said:
Anyway older sense worked, atleast it was booting and wasn't that far from working. In ciles port there were just some 3d problems, but I've found a solution for it, wifi(as usual), microphone(so calls, but gsm module was working), some other bugs like tethering, but look, it was developed recently even for other working roms, usb storage, but I think it was possible to be fixed with some kernel changes if devs made it in .32 and .35 kernels by yourself.
Click to expand...
Click to collapse
Well if you can get it working then great you will be able to do something that many of the great developers here have been trying to do but have all failed.
I'm porting sense to sense so I understand some of what you are trying to do, a major problem for me was update script just so it can flash and you have to replace all hardware libs from target device but I don't know anything about framework and stuff like that. Hope this helps a little
Sent from my HTC Desire HD A9191 using xda premium
It works on galaxy s and nexus s. First order of business is to add bootclasspath from sense in init.rc which is part of intramfs which is part of the kernel to your init.rc.
Sent from my SPH-D700 using Tapatalk
I haven't been able to find a good answer on miui.us nor have I gotten a reply from any of the devs who have successfully ported to an unsupported device. I have searched for answers as much as possible, and I haven't been able to find out where miui devs get started. Are they compiling from source(I haven't found any source)? I plan on asking the same question there, but I have always gotten the best answers from the XDA community..
I'm waiting for my amaze 4g to come in the mail, the device doesn't have many devs, and while the main dev is working on ICS I figured I'd try to get into development(that is why I finally bought a new device) to see if I can offer the community something while we wait for ICS to get done/stable. If anyone can point me in the direction of where these devs go to get started, I would greatly appreciate it!
Silentbtdeadly said:
I haven't been able to find a good answer on miui.us nor have I gotten a reply from any of the devs who have successfully ported to an unsupported device. I have searched for answers as much as possible, and I haven't been able to find out where miui devs get started. Are they compiling from source(I haven't found any source)? I plan on asking the same question there, but I have always gotten the best answers from the XDA community..
I'm waiting for my amaze 4g to come in the mail, the device doesn't have many devs, and while the main dev is working on ICS I figured I'd try to get into development(that is why I finally bought a new device) to see if I can offer the community something while we wait for ICS to get done/stable. If anyone can point me in the direction of where these devs go to get started, I would greatly appreciate it!
Click to expand...
Click to collapse
They steal the code from CM source. Then they wrap it up in a closed source OS. So you won't find any source for it.
zelendel said:
They steal the code from CM source. Then they wrap it up in a closed source OS. So you won't find any source for it.
Click to expand...
Click to collapse
I figured it might be something like that, would explain why I haven't found anything really helpful.. but then the question becomes how do people port it to other devices? I'm personally a fan of the functionality it has over CM, and it would give the users of my device something to play with(and me something to learn/experiment with) while we wait for ICS to get built. Hell, if I can find some good resources, maybe I could contribute to the ICS build before it is done..
But while the resources I've been finding here are good, I learn best by tinkering, just figuring things out, so the resources between what is offered here and the finished product would do me the most good.
Silentbtdeadly said:
I haven't been able to find a good answer on miui.us nor have I gotten a reply from any of the devs who have successfully ported to an unsupported device. I have searched for answers as much as possible, and I haven't been able to find out where miui devs get started. Are they compiling from source(I haven't found any source)? I plan on asking the same question there, but I have always gotten the best answers from the XDA community..
I'm waiting for my amaze 4g to come in the mail, the device doesn't have many devs, and while the main dev is working on ICS I figured I'd try to get into development(that is why I finally bought a new device) to see if I can offer the community something while we wait for ICS to get done/stable. If anyone can point me in the direction of where these devs go to get started, I would greatly appreciate it!
Click to expand...
Click to collapse
So what we (miui porters) do is take the kernel from cm7 and some lib files from cm7 and add to an existing miui rom until it boots. It helps if you use a similar device as the base (I use the nexus s 4g as a base for my epic 4g ports b/c epic is pretty much a keyboarded version of the nexus s 4g).
Sent from my SPH-D700 using Tapatalk
xboxfanj said:
So what we (miui porters) do is take the kernel from cm7 and some lib files from cm7 and add to an existing miui rom until it boots. It helps if you use a similar device as the base (I use the nexus s 4g as a base for my epic 4g ports b/c epic is pretty much a keyboarded version of the nexus s 4g).
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Where do you guys get the weekly build of miui from, I know it is updated every friday, but I haven't seen where they are getting it from..
The phone I want to develop for is the Amaze 4g, the Sensation is pretty much the same with just a underclocked cpu. The amaze is new enough that everything I've found says they are working on a cm9 build and skipping cm7 all together, so the best I can think of is grabbing some files from the sensation cm7(like you do the nexus) and stock files from the official gingerbread releases for the amaze.
The question is what files can I use from the sensation, will the files from stock ginger work, and which files need to be ported at all. The best I've found is this http://www.madteam.co/forum/support-65/how-to-port-miui/ which I've read the feedback on, and results seem to vary quite a bit.
Silentbtdeadly said:
Where do you guys get the weekly build of miui from, I know it is updated every friday, but I haven't seen where they are getting it from..
The phone I want to develop for is the Amaze 4g, the Sensation is pretty much the same with just a underclocked cpu. The amaze is new enough that everything I've found says they are working on a cm9 build and skipping cm7 all together, so the best I can think of is grabbing some files from the sensation cm7(like you do the nexus) and stock files from the official gingerbread releases for the amaze.
The question is what files can I use from the sensation, will the files from stock ginger work, and which files need to be ported at all. The best I've found is this http://www.madteam.co/forum/support-65/how-to-port-miui/ which I've read the feedback on, and results seem to vary quite a bit.
Click to expand...
Click to collapse
Since your devices are so close, try just copying system/lib/egl and system/lib/hw from stock to Sensation MIUI and also IDK if Amaze and Sensation kernels are compatible, but I'll assume not because that could lead to a brick. So copy boot.img from stock to MIUI. Then Logcat and see what the errors are and replace whatever files error (If it says libcamera failed, replace it with one from stock). It may never boot from a stockbased kernel, it does on some devices and not on others. You may also be able to unpack the boot.img from stock and Sensation MIUI and copy the Sensations intramfs/ramdisk from Sensations folder to Amaze's. Then repack the Amaze folder, which has the Sensation's intramfs in it and then try.
xboxfanj said:
Since your devices are so close, try just copying system/lib/egl and system/lib/hw from stock to Sensation MIUI and also IDK if Amaze and Sensation kernels are compatible, but I'll assume not because that could lead to a brick. So copy boot.img from stock to MIUI. Then Logcat and see what the errors are and replace whatever files error (If it says libcamera failed, replace it with one from stock). It may never boot from a stockbased kernel, it does on some devices and not on others. You may also be able to unpack the boot.img from stock and Sensation MIUI and copy the Sensations intramfs/ramdisk from Sensations folder to Amaze's. Then repack the Amaze folder, which has the Sensation's intramfs in it and then try.
Click to expand...
Click to collapse
Awesome, a place to start. My buy for the Amaze got screwed up, so I'm going to likely get one from tmobile.. but I've already put together a rom to spec that you have described, and I have a few kernels to try too. I hope that checking the logcat and making some tweaks based on the output I get a working rom, the next questions would be what a script looks like(on a pc or mac) I could just apply to pull the files from the different sources to apply to weekly released-- I am pretty sure that is what successful ports do.. and what I could do to be more of a developer rather than just porting or kang'ing. I just figured this would be a good way to get some working experience in the meantime.. but I am guessing that once a good build of an OS is out there, people aren't compiling from source. Seems like many are just learning aspects of the OS and tweaking stock roms with things they have found..
Thanks again for the advice, as soon as I have the phone to test it with, I am gonna give this a try
Silentbtdeadly said:
Awesome, a place to start. My buy for the Amaze got screwed up, so I'm going to likely get one from tmobile.. but I've already put together a rom to spec that you have described, and I have a few kernels to try too. I hope that checking the logcat and making some tweaks based on the output I get a working rom, the next questions would be what a script looks like(on a pc or mac) I could just apply to pull the files from the different sources to apply to weekly released-- I am pretty sure that is what successful ports do.. and what I could do to be more of a developer rather than just porting or kang'ing. I just figured this would be a good way to get some working experience in the meantime.. but I am guessing that once a good build of an OS is out there, people aren't compiling from source. Seems like many are just learning aspects of the OS and tweaking stock roms with things they have found..
Thanks again for the advice, as soon as I have the phone to test it with, I am gonna give this a try
Click to expand...
Click to collapse
Actually, one more suggestion on the kernel. Using dsixdas kitchen, extract the boot.Img from amaze stock and sensation miui and go to boot.img-ramdisk folder and go to init.RC on both devices using notepad++ and find the line that says bootclasspath and copy it from miui to amaze stock. Then recompile using dsixdas kitchen and then test
Sent from my GT-P7510 using Tapatalk
do any one know why( exactly which code) makes the miui apps not to run on cm7?
i am in hard checking on how to port miui filemanager to cm7.
i decompiled the miui filemanager, and checked for any miui specific codes in the class files. i cant find anything like that. any one have any idea?
i think that the working of filemanager of miui is strictly dependent on miuis framework and my idea is to change those dependencies to cm7's.
if anybody have some ideas pls help me.
Sent from my HTC HD2 using xda premium
showlyshah said:
do any one know why( exactly which code) makes the miui apps not to run on cm7?
i am in hard checking on how to port miui filemanager to cm7.
i decompiled the miui filemanager, and checked for any miui specific codes in the class files. i cant find anything like that. any one have any idea?
i think that the working of filemanager of miui is strictly dependent on miuis framework and my idea is to change those dependencies to cm7's.
if anybody have some ideas pls help me.
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
The MIUI and CM7 specific apps use things from that framework.
If thry are not available in yours, it will simply not work.
Greets!
the worst thing is miui apk even dont run on android vm, where cm7 ones run. i use android 2.3.3 vm to check both, both apks are taken from 2.3.7 versions of custom roms. only cm7 based one runs the other refused to even install( i checked with many miui apks, same results).
then how miui apks are checked and debugged??
Sent from my HTC HD2 using xda premium
showlyshah said:
the worst thing is miui apk even dont run on android vm, where cm7 ones run. i use android 2.3.3 vm to check both, both apks are taken from 2.3.7 versions of custom roms. only cm7 based one runs the other refused to even install( i checked with many miui apks, same results).
then how miui apks are checked and debugged??
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
Good one...
I guess that if you clone the MIUIv4 source that it will work...
Greets!
showlyshah said:
the worst thing is miui apk even dont run on android vm, where cm7 ones run. i use android 2.3.3 vm to check both, both apks are taken from 2.3.7 versions of custom roms. only cm7 based one runs the other refused to even install( i checked with many miui apks, same results).
then how miui apks are checked and debugged??
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
It is most likely the way that CM changes the base android code. As.it will use the Cm framework you will most likely have to rebuild the app using the cm files and frameworks.
showlyshah said:
do any one know why( exactly which code) makes the miui apps not to run on cm7?
i am in hard checking on how to port miui filemanager to cm7.
i decompiled the miui filemanager, and checked for any miui specific codes in the class files. i cant find anything like that. any one have any idea?
i think that the working of filemanager of miui is strictly dependent on miuis framework and my idea is to change those dependencies to cm7's.
if anybody have some ideas pls help me.
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
It mainly due to /system/framework/com.miui-framework-res.apk which has the framework files for miui apps to run. Also the framework files like android.policy.jar. framework.jar, services.jar are different and are built to support miui apps. You need to dig deep into the framework to see what files are responsible for a particular miui app and incorporate them into miui apk you want to install om CM7 rom.
Sent from my HTC Vision using Tapatalk
zelendel said:
It is most likely the way that CM changes the base android code. As.it will use the Cm framework you will most likely have to rebuild the app using the cm files and frameworks.
Click to expand...
Click to collapse
thats the thing i already know, and all i want is to know whats the diff in miui, or whats that code which contains in miui and not in cm7 framework. by knowing that, we can replace that code in miui apps and put correspondig cm7 one.
i know apps like miui cam,gallery, music is already ported to cm7. and may be the dev of that port can hint me.
Sent from my HTC HD2 using xda premium
ajhavery said:
It mainly due to /system/framework/com.miui-framework-res.apk which has the framework files for miui apps to run. Also the framework files like android.policy.jar. framework.jar, services.jar are different and are built to support miui apps. You need to dig deep into the framework to see what files are responsible for a particular miui app and incorporate them into miui apk you want to install om CM7 rom.
Sent from my HTC Vision using Tapatalk
Click to expand...
Click to collapse
i dont think i should dig that much into framework and supporting files of miui, cut those specific codes, put it into cm7 framework and screw up.
but i think to take a diff aproch, dig into apps, find those lines that require miui framework and files, revert it to cm7's framework and files.
and i think i can do it. but i req some help from u people.
can anybody give me the original and ported file of any miui apps like camera,gallery( the best option) or music.
i have all the three, and originals i copied from miui rom. but its not same versions.
so this is i want, same versions of ported and non ported ones. like , if original camera is 2.1.114, i need ported camera too in same 2.1.114 version.
any one have those?
Sent from my HTC HD2 using xda premium
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