Dependencies/Structure of Sense ui? - Android Software Development

1) I want to know, what parts of sense are device specific?
2) Is a new kernel needed to port it?
3) What dependencies does rosie.apk have?
4) To anyone that has ported it, what was the general process?
On samsung i5700 btw
Thanks

i too would like more info. There has to be a better way than the way of just trial and error. for the windows mobile of Sense, a couple of devs developed a SDK to actually program sense based roms and not just hack
would be interesting to see something like this come to android
crowstar said:
1) I want to know, what parts of sense are device specific?
2) Is a new kernel needed to port it?
3) What dependencies does rosie.apk have?
4) To anyone that has ported it, what was the general process?
On samsung i5700 btw
Thanks
Click to expand...
Click to collapse

crowstar said:
1) I want to know, what parts of sense are device specific?
2) Is a new kernel needed to port it?
3) What dependencies does rosie.apk have?
4) To anyone that has ported it, what was the general process?
On samsung i5700 btw
Thanks
Click to expand...
Click to collapse
#1 You dont see SenseUI on non HTC devices because drivers just dont match up. Its difficult to port from one htc phone to another, imagine porting from HTC to Motorola (although it is being worked on)
#2 I have used non sense kernels for Sense ROMS and there are some overclock kernels that are universal for all ROMS (for a specific device). Im not sure about all kernels.
#3 WOW this is a big one. The list is too long to describe haha. The Sense UI runs deep down from the framework to system files and you wont be able to simply drag a few files over to a NON sense ROM and make it run. The reason you don't see sense widgets floating around on non sense ROMS is because they reference back to other system files and images in the framework. Ok so SOME sense apps like the keyboard can be ported over because all dependencies and files run within the application so thats ok. I know the widgets are a no go for the most part.
#4 Cant help you on that one. Never ported one completely but Ive modified already ported sense ROMS.

I don't know about Sence, but my Liquid has a lot of changes in system libs and frameworks. But from the visual side of things - it is stock Android. So Sense should be even more intrusive.
Nothing is impossible - just take dissassmbler, debugger and plenty of time to accompany you.

Related

possible to port over samsung moments 2.1?

ok samsung just got their 2.1 leak
http://www.engadget.com/2010/04/08/eclair-shocker-android-2-1-leaked-for-samsung-moment/#comments
is it possible to somehow get this on the hero? like complete transfer, with no sense etc...
Already talked about.....
http://forum.xda-developers.com/showthread.php?t=660179
Have are own leak who care's just adding more of the same posts. If you must have it go to the market and download home switcher and switch to stock android launcher. There now you have the moment leak.
DO A SEARCH
chippillie said:
Have are own leak who care's just adding more of the same posts. If you must have it go to the market and download home switcher and switch to stock android launcher. There now you have the moment leak.
DO A SEARCH
Click to expand...
Click to collapse
1. you are being unnecessarily rude.
2. yes there is a post on this already.
3. I am working on getting a port of this to boot tonight.
obelisk79 said:
1. you are being unnecessarily rude.
2. yes there is a post on this already.
3. I am working on getting a port of this to boot tonight.
Click to expand...
Click to collapse
Your a **** I was about to go to bed!
But I am still going to bed, drop me a PM if ya need any help on this would love to try it out!
Roman
Seriously not worth the time to port it. You'll end up with virtually the same functionality as Darchstars AOSP 2.1 build. Depending on what kernel your using if you use 2.6.26 then camera and video recording aren't going to be possible and I'm afraid that if you use the leaked HTC 2.6.29 kernel your going to run into problems with the touch screen since HTC has a non standard power management implementation in that kernel that doesn't play nice with android and the touchscreen even though getevent will show screen presses from event1. Unless someone has the source for that 2.6.29 kernel so you could revert the changes. The only good that might come out of the leak is functioning mms and visual voice mail.
I'm merely doing a straight port, going to get it to boot then release it for someone else to mess with.
I'm just saying that for others just because it's a phone from sprint doesn't meant that it's magically going to work. Some people here understand and some don't. It's not impossible port it just that it's not going to be fully functional when it is ported. Your working with something built for different hardware. Sure you can swap the libs to get it going but you'll end up with something we pretty much have already in the AOSP 2.1 build.
I gave in to temptation and I'm working on it too. Converting the factoryfs.rfs is taking forever.
I wasn't able to find a way to convert them... I'd love to know how, but I managed to find a system.img someone dumped shortly after the leak was posted. Thats what I've been working on.
Link? Cause this is taking forever. It's a ruby script I'm using.
http://www.mediafire.com/file/0ncjzjnymzm/Moment 2.1 DD03 System Dump.zip
thanks. i attached the ruby scrips that convert the rfs to a mountable vfat image.
pretty fresh build from 04.03.2010
awesome... I just need the ramdisk from the leak to get this booting now.
Did u try using the ruby script to extract rootsfs.rfs? The init.rc might be in there. Unless there is a boot image floating around the web that we can extract and use.
Havent tried it yet

[REQ]shubCRAFT build + Htc Sense

is there way to make this happend
so we could remove from the update file apks we dont want
thx
old topic
Code:
shubCRAFT build + Htc Sense possible ?
if i take the apks of htc sense and put them in
htc update file in shubcraft its will install the htc ?
and remove the LauncherPro
nope, it isnt possible, sense is much more than just a launcher it has lots of modified frameworks too
I'm sure you can find a theme that looks similar to sense if thats all your after.
Maybe similar but it is not the original.
the htc dialer would be great if theres anyway to bring it in.
Proz00 said:
shubCRAFT build + Htc Sense possible ?
if i take the apks of htc sense and put them in
htc update file in shubcraft its will install the htc ?
and remove the LauncherPro
Click to expand...
Click to collapse
A cat is fine too...
Whats wrong with the builds that natively run sense? What is the benefit to sense on top of shubcraft. The entire idea of shubcraft is to be an alternative to sense via the cyanogen mod.
shubchraft! was made for those who don't like HTC Sense and Original android stock! I also like HTC Sense and I am using Darkstone latest with HTC sense and it works great!
You guys don't get it, huh?
Most builds, except shubcraft, come with the system in an ext2 image that needs to be mounted in linux in order to make changes to the system. shubcraft, which uses zegobit's superb initrd, has the ability to use an OTA-like update.zip that requires no signature and is used to create the system image.
What OP is asking for is for a sense build built around this rootfs.
It's possible/doable. I'm still very much a linux newbie and I don't understand the boot process too well. I do know that as it is right now, the init.rc in the rootfs only sets the jar classpath for the stock android and misses some jars actually needed to get sense builds to boot too.
I figure it could be as easy as taking the initrc from a sense build, commenting out the filesystem mounting procedures (as the init script already takes care of it), and then make an update.zip using, say, matt's sense system (mount it, extract it, and then compress it all into a zip).
Guess I'll give it a shot and then post both the update.zip and rootfs if it works
yes that what i meant
hope u will success
This would be great to have.
Sent from my HTC HD2 using XDA App
Perhaps a Motoblur option would be fab too.
Sent from my HTC Desire using XDA App

[GUIDE] How to port sense to non-HTC devices.

How to port Sense.
Source: http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/164989-guide-how-i-port.html (second post)
This is NOT my guide, just posting it here!
This is a very difficult process that I hope you'll understand.
First step is to find a device that is preferably VERY similar to your device, in this instance I guess we would use the htc thunderbolt, which I've been told multiple times that it is used for the MT.
You're going to want to use CM7 for parts. Simple enough.
I will be referring the Sense ROM to SENSE and CM7 as BASE to simple things up. So remember that.
When I say replace, I would recommend deleting from one and adding it with the other
Open up Sense and Base in different windows.
Put in the boot.img from Base into Sense (make sure you put the original boot.img in some other place that you'll remember)
go into /system/usr on both
replace keylayouts and keychars from Base into Sense (this is just your keys)
download dsixda's kitchen (http://forum.xda-developers.com/showthread.php?t=633246)
Get the ROM you have so far set up in it and what not (I'm a little fuzzy at this part)
Once you get done with that, run the menu in terminal and navigate your way to decompile the boot.img (action key- "a") and then run the same thing except run the action key "w" to decompile the original boot.img. So the key here is to decompile both boot.img's.
Go into the ramdisk on both and go into init.rc
THE MOST IMPORTANT PART IN THIS (THE MATTER OF BOOT AND BOOTLOOP) IS THE LINE
"export BOOTCLASSPATH" near the top. It will have a bunch of lines after it. Now in the Base's boot.img, delete this whole line. Replace it with the lines from Sense's boot.img.
Now you can add anything else you want that looks like it belongs (preferably anything sense related)
Don't recompile the boot.img yet.
Now we add a2sd. To do this, just follow this guide (https://www.facebook.com/note.php?note_id=158823170833688)
The only thing you do in there is the edits to the init.rc, don't listen to the decompiling/recompiling mentions. Now you can go back into the menu for the kitchen and recompile the boot.img (action key - "b"). Now don't compile the WHOLE ROM, just take the new boot.img in working_** and put it into the Sense zip.
Now you're going to want to download my ROM (sorry, just don't feel like uploading each individual file) http://gannon5197.blogspot.nl/2012/03/got-sense-booted.html
And go into the /system/bin on both
these are the files you're going to need: a2sd, bash, apps2sd.hlp, busybox.a2sd, chka2sd, jita2sd, launcha2sd, starta2sd, and maybe possibly sh (try once without it)
And you're going to want to set permissions for each one of these in the updater-script (look at mine for references)
Now also look at my zip and you'll see move_cache_sd. Put that in yours and set permissions for it in updater-script (use mine for references)
After that, the other stuff is mainly just getting rid of all the bloatware, (look in /system/app and /system/media) I wouldn't delete any libs as of right now. If you try to flash it and it reboots recovery then it is too big.
If it is too big, you're probably going to want to move a lot of the apps to data. To do this, just make a file called data/app/put_your_apps_here on the root of the zip. You're going to have to set permissions for it in the updater-script, but use the test.zip I sent you in the original.
This will most likely get you booted. Nothing will likely work. Which is expected. If you have any problems, just use logcat. It will be your bestfriend. Have fun porting
Click to expand...
Click to collapse
reserved
Thanks for reopening it bro...
Sent from my LG-P500 using Tapatalk 2
No problem :thumbup:
Don't know how this above awesome thread is so blank
Have u tested if this way works
Sent from my LG-P500 using Tapatalk 2
great guide, gonna try out soon
hmm this one's new for me. saved
should come in handy sometimes
someone has to do this for the Galaxy S2.
Will it also work for ICS ROMs?
I must do this. Anybody know where I can get the firmware for the One S?
Can i use a Gingerbread ROM as a base instead of cm7?
Hello for lg p500 there is 2 sense rom but data and mic not working in both rom can you help to solving that problems????btw great tutorial.
in fact sensse porting is differnet from the tutorial showed it is a little bit more difficult and there are some libs needed that there is only for the devices you are porting to. so a general tread will not really work
QuBe2 said:
in fact sensse porting is differnet from the tutorial showed it is a little bit more difficult and there are some libs needed that there is only for the devices you are porting to. so a general tread will not really work
Click to expand...
Click to collapse
Well this is not my tutorial just found it on the internet so I don't know if it works
Lord Inglip said:
Well this is not my tutorial just found it on the internet so I don't know if it works
Click to expand...
Click to collapse
why sharing things on the internet
QuBe2 said:
why sharing things on the internet
Click to expand...
Click to collapse
Because it's the internet. This guide was the only thing I could find.
Well you ported a htc sense One x rom to the Nexus S, so can you show us how you did it?
Lord Inglip said:
How to port Sense.
Source: http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/164989-guide-how-i-port.html (second post)
This is NOT my guide, just posting it here!
Click to expand...
Click to collapse
Similar phone means the same chipset,processor and gpu??
a2441918 said:
Similar phone means the same chipset,processor and gpu??
Click to expand...
Click to collapse
Yes it's better if the phones have the same hardware
Lord Inglip said:
Yes it's better if the phones have the same hardware
Click to expand...
Click to collapse
I have an xperia x10.. will the nexus one and HTC desire be suitable??
My cm7 rom which i downloaded doesn't have a boot.img file.. So how to get it?? Is it the system.img got from a nandroid backup?? and the sense rom which the post refers to is the stock sense rom of the phone in a zip format or a modded one??
Not working..stuck at boot logo

[Q] [REQ] Smart Dialer mod

Is there a way we can get smart dialing on this phone? i know theres tons of apps out there but i like the stock look and feel of the vanilla android dialer. any help would be greatly appreciated:laugh::good::cyclops:
Would really like this feature as well.
kd78 said:
Would really like this feature as well.
Click to expand...
Click to collapse
hopefully someone answers our prayers lol
Same!
When y'all are asking for a "[MOD]", does that mean you're looking for something you can flash with a recovery mod?
If yes, I know CyanogenMod adds this feature to the stock dialer. However, I don't know if that's something you can just extract the phone .apk and upload. However, if you're able to flash would you consider flashing a new ROM anyway? Most nightlies of the big roms (CM10.1, AOKP) are usually really stable on Nexus devices because they have all of the proper drivers & source for everything. Nightlies aren't as stable on other phones because they're missing device-specific drivers and such.
If no, then nevermind. I don't know of an option to add this ability to the stock dialer. Sorry.
exDialer
Been using this since I got the phone. Skinable, no ads, and quick
https://play.google.com/store/apps/details?id=com.modoohut.dialer&hl=en
A couple of the custom ROMs have this feature (Paranoid Android being one of them). You can either flash one of the ROMs that include it, or try to extract the dialer apk from it and try installing it.
I would prefer a new modded apk over a new rom. Anyone have the apk from cm10?
http://www.mediafire.com/?vyezzb40e01m1eh
For deodexed ROMs
Sent from my Nexus 4 using xda premium

Moto XPRT Gingerbread Modding HERE!

Hello everybody, It´s been like a week since I last posted, a lot of things went wrong in my house and I somehow lost all my computers
anyway, back in business again, Last night I had to install the stock Sprint GB sbf, to my surprise it worked Really, Really good.
I´ve had a Defy+ and a Milestone 2, And I remembered having lots of issues with modding aka. no signal, wifi issues (like the cm7 and 9 ones) data issues, system lags, poor battery life, kernel errors on development, Overclocking settings not being saved, recovery mess-ups, and a lot of depicable stuff, most of all kernel-related.
Anyway, last night I flashed the stock rom over cm7 and noticed a real speed, functionality and battery boost, so I thought of just theming, de-bloating and optimizing the stock Sprint ROM.
Please follow me here:
We will never be able to flash custom kernels (not w/o the help of a reaaaaal good DEV)
CM9 &10, though they are eye-candy, are based actually on Gingerbread kernel, so no new features can be added besides the ones you can get withg new apps.
CM7, though stable, lacks the performance and functionality of the stock rom.
Finally, the stock rom as I said, (and I´ve tested TONS of ROMS in different motorola devices) is the one with the best responsivenness, snappiness and battery life, plus It's almost clean (eg. bloatware is easily removed.)
How will it be done?, you may ask.
Well Our first step, will be deodexing the stock GB SBF.
After deodexing we will be optimizing the build.prop on our phone, to trick apps into installing on our phones, and to make some quick optimizations.
Once we have deodexed our rom, we will be able to run,autorun and theme /system/apps.
Apps like Gnow, the statusbar and other tweaks can be easily (RELLY EASY) ported to deodexed ROMS
So this is the challenge guys, Let´s build our own stockcustom ROM.
So far I´m re-flashing stock sprint GB to continue testing only the essential apps, so we can build from there.
And just for a tease; here is my latest build.prop, with some tweaks and tricks taken from other roms and my personal experience, just make sure you have root access, fire up a file explorer and replace your build.prop
Please Refer to next post for links on how to maybe help me with deodexing the full rom.
And please, developers, dont take this as a shady move towards your development, I just think that the best way to make something is to start from scratch..... there are too many source files, modded files and crap files on cm7,9&10 specially when not officially supported (Because everybody messes with the files and re-distributes them, so a lot of clutter and unneeded files, references and code are injected on some releases....)
So my friends, we have a common goal, By now I have succesfully overclocked/undervolted the phone to 1350/233 mhz (not on recovery!!)
I´ve deodexed system/framework/
and Im stuck trying to deodex system/apps/
Xprt Owners of the world, please come on over here, we can do this...
I´m an architect/artist so I really want this to have a sleek look, but not copying a specific stock look, if you know what I mean....
From now on refer to the "wished features post" for features you´d like
And now my final statement:
Though it IS possible to compile JB or ICS from source to our phones, my experience with this somehow outdated android motorolas, is that you will not get significant performance boosts or super cool functions with new software. The only way to get this functionality is by upgrading the kernel which I again declare IS NOT POSSIBLE on our phone. CM9 and 10 my look like JB and ICS, but run straight off a GB kernel.
Yes you will get a lot of new stuff like menus and graphics, but the functionality will be the same, plus all the eye candy will trade off your new features with lags and possible errors.
Software is built in time with devices, and it doesn´t matter how much you say "but the hardware is capable of more!!", incremental software updates "ignore" some HW features, so they have to be forced or modified to run, which adds more procesess/tasks to the kernel and this will suck your speed and battery.
Let´s build something pretty...............:laugh:
Hello everybody, and welcome to the world of modding.
From today, we will be coordinating an army of people to work towards a common goal: Having the best ROM for our phones, and surviving the day.
The tools you absolutely need:
Brain
Hands
Eyes
Text-comprehension.
Be a self-troubleshooter
Advanced Google skills
Patience
Some Weed
First of all I will just oversee the topic: ODEXED vs DEODEXED
In simple words, Odexed systems have XX.apk and XX.odex, which store certain app properties (like icons, colors, fonts, menus) so that they wont be messed up with, thus making the system more stable, Deodexed systems, have only APK´s with their icons, colors and behaviors packed on, thus making theming, modding and using alternative system apps easier.
If you would LOVE to read about the subject, please refer to this: http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Well, now that you are totally aware of the odex-deodex situation, you might ask yourself..
-how the phuck do I deodex my system??????
Well, deodexing implies merging the .odex properties onto the apk.
Hey!!!! but how???
you need brains, patience, Java SDK7, Android sdk, and music.
http://forum.xda-developers.com/showthread.php?t=1852322 this instructions are for deodexing.. good luck....
To save your time, you need Android SDK and JSDK properly installed, you need xUltimate (Try and find the version that works on you), and you need the patience and willingness of Sidharta.
Ive tried already 5 versions of xUltimate to find out errors on different files!!!!!!
http://forum.xda-developers.com/showthread.php?t=2065270This will tell you some other basics on the xultimate deal.
There are other ways to deodex, help me google that.
We will be based on the stock 1FF-p3_kronos_cdma_kronos-user-2.3.5-4.5.1-110-KNS-46-49-test-keys-signed-Sprint-US SBF....
I would love to develop something good to both sprint and boost, but I have a Sprint handset, so I cannot assure our development will work on boost handsets, so please just sprint handset owners only for now.
For xultimate errors and troubleshooting, please refer to Google.com!
Ive been up all last night deodexing my system apps, and found out that most google related apps cannot be deodexed...
maybe that's why you need to install gapps in cm7 or other custom roms...
anyway people, let's get fully deodexed.
Make sure you have both Android SDK and Java SDK 7 PROPERLY installed oin your pc before trying this.
Cheers, luck and please reply
One last thing, I dont know if it is related somehow, but try to flash your stock rom without a SIM card inserted
Quick update: I Think I´ve got it figured out....
You need full Android SDK, and Java development kit, Android sdk tools alone wont do it, and java alone wont do it, you need developer runtimes and libraries for some programs like xultimate to run right.....
And you need not to activate, use or anything your phone before trying to deodex, I guess just starting up and entering simple things as the time, or having a sim card installed, or your google account can write data on the phone and mess up with the deodexing process.....
xultimate has already deodexed full framework and has passed from the yesterday´s troublesome google quick search box...(first thing to fail last night) so let´s hope it goes well.. it is indeed a loong process...
and just another error, but now I think I have it figured out, you need smali-baksmali assembler/disassembler for some specific .jar packed files... I´ve just installed it, and hopefully will post a fully deodexed stock rom today or tomorrow, for you to test and for us to start theming.
remember if you want to try... you need jdk not just java, you need full android sdk bundle, and you need smali/baksmali on your jdk installation for it to work properly...
%#%"!!!
This completely sucks, I´ve been trying to troubleshoot the errors xultimate is throwing at me on specific files, that lead me to download A LOT of java JRE and JDK versions, and both in x64 and x32 flavors, which apparently caused a major mixup on my PC´s guts....
Now I´m freaking trying to clean up my dev enviroment, trying to re-set the appropiate paths and classes, but hell with it...
Anyone succeeded??? please let me know if you´ve tried and if you get into any error can you please upload a screenshot???
thanx
Sounds like hell. I haven't tried, because I just don't have enough time in the day to do something like this. Plus, the xprt is my only phone, so I can't afford to experiment on it much.
Sent from my XT720 using xda premium
tzuba12 said:
Sounds like hell. I haven't tried, because I just don't have enough time in the day to do something like this. Plus, the xprt is my only phone, so I can't afford to experiment on it much.
Sent from my XT720 using xda premium
Click to expand...
Click to collapse
Same.
Sent from my MB612 using xda app-developers app
are you trying to deodex the stock rom?
rongsang said:
are you trying to deodex the stock rom?
Click to expand...
Click to collapse
yes sir, but in the mean time I managed to patch it with the battery mod, power menu and ICS style notifications
If I can deodex it I think I can improve it a little bit more in terms of performance and looks and functionality , but my powerful pc is a zombie right now, this is no task an old notebook can handle
I have deodexed it a long time back but sadly I can't upload it now. You can run kitchen from cygwin and it will deodexed your rom completely.
Sent from my MB612 using xda app-developers app
Ive used the kitchen and xUltimate with no good results mate!...
I always get smali errors or heap size errors despite I was using even a 4gb heap size, and tried using different versions of smali baksmali....
I am beggining to think I´ve been cursed by the digital gods.
BTW, if you´re able to upload it, I´ll be very thankful dude! I think Im going nowhere right now

Categories

Resources