Remove All Ads from XDA

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

87 posts
Thanks Meter: 64
By Lord Inglip, Member on 13th June 2012, 01:06 AM
Post Reply Email Thread
How to port Sense.
Source: (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 (
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
"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 (
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)
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 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

The Following 20 Users Say Thank You to Lord Inglip For This Useful Post: [ View ] Gift Lord Inglip Ad-Free
18th June 2012, 08:58 PM |#2  
Lord Inglip's Avatar
OP Member
Thanks Meter: 64
The Following 2 Users Say Thank You to Lord Inglip For This Useful Post: [ View ] Gift Lord Inglip Ad-Free
18th June 2012, 11:25 PM |#3  
kssood's Avatar
Senior Member
Flag Shimla
Thanks Meter: 1,413
Thanks for reopening it bro...

Sent from my LG-P500 using Tapatalk 2
19th June 2012, 12:34 AM |#4  
Lord Inglip's Avatar
OP Member
Thanks Meter: 64
No problem :thumbup:
The Following 2 Users Say Thank You to Lord Inglip For This Useful Post: [ View ] Gift Lord Inglip Ad-Free
19th June 2012, 02:07 PM |#5  
kssood's Avatar
Senior Member
Flag Shimla
Thanks Meter: 1,413
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
20th June 2012, 10:54 AM |#6  
voetbalremco's Avatar
Inactive Recognized Developer
Flag gelderland
Thanks Meter: 1,927
Donate to Me
great guide, gonna try out soon
20th June 2012, 04:39 PM |#7  
djpbx's Avatar
Inactive Recognized Developer
Thanks Meter: 1,569
hmm this one's new for me. saved
should come in handy sometimes
20th June 2012, 06:06 PM |#8  
Senior Member
Thanks Meter: 260
someone has to do this for the Galaxy S2.
Will it also work for ICS ROMs?
20th June 2012, 09:02 PM |#9  
nerfman100's Avatar
Senior Member
Thanks Meter: 94
I must do this. Anybody know where I can get the firmware for the One S?
22nd June 2012, 04:33 AM |#10  
4rth's Avatar
Thanks Meter: 1
Can i use a Gingerbread ROM as a base instead of cm7?
22nd June 2012, 11:10 AM |#11  
vikasb32's Avatar
Recognized Themer
Flag Hardwar
Thanks Meter: 2,026
Donate to Me
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.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes