yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] samuel2706:
Not looking like it's able to find a certain dir or a file, seems like you added or changed a lib that the system isn't happy with, try starting again changing the basic libs only like egl and hw and see where you get also perhaps a kernel issue? never come across this kind of error what are you trying to port? also i googled this and perhaps this may help Help
[Android Software/Hacking General [Developers Only]] CNexus:
Yup, +1 to the above. It looks like its a kernel issue. Did you swap the kernel with one for your device?
[Android Software/Hacking General [Developers Only]] xboxfanj:
To me, it looks like you replaced some files you shouldn't have. Only replace device specific files. Look at the device Mk in your cm device source and the vendor repo to see what to add.
[Android Software/Hacking General [Developers Only]] Epic.:
Can someone tell me if I'm correct? AFAIK if I was porting a rom from Desire X (Sense 4+ JB) to Incredible S (Doesn't have JB Kernel) it won't work right?
[Android Software/Hacking General [Developers Only]] xboxfanj:
You would need to start from your cm boot image and add the sense bootclasspath.
[Android Software/Hacking General [Developers Only]] XxPG_PHANTOMxX:
Help!! Who know what cause system_server to ask root permission ?

And how to prevent this from happen? I'm on sense 4A, ICS 4.0.3
[Android Software/Hacking General [Developers Only]] Google_one:
[MENTION=4852379]ImagioX1[/MENTION]

Hello, have you fixed the problem (of blackscreen) ? And if yes, how ?

Thank you in advance.

Have a nice day.
[Android Software/Hacking General [Developers Only]] ImagioX1:
Another guy fixed it for me. I think it was something in the boot.img but not exactly sure.
[Android Software/Hacking General [Developers Only]] Google_one:
Who helped you ?
[Android Software/Hacking General [Developers Only]] ImagioX1:
[MENTION=3271517]carl1961[/MENTION] he did a port separately from me and then gave me the finished product. Not sure what all he did.

Sent from my HTC One XL using Xparent Red Tapatalk 2
[Android Software/Hacking General [Developers Only]] Google_one:
Ok, thank you very much.

Have a good day.
[Android Software/Hacking General [Developers Only]] TheWizardOfROMs:
Is this true. Can you really port between Roms that have different version of android and different version of sence? Have you tested this for example port a ROM with android 4.1.2 to a ROM with android 3.1.2?
[Android Software/Hacking General [Developers Only]] CNexus:
It's possible but it would not be easy and would take a very long time.

All the apps and frameworks would need to edited for backwards support, since android 4.1.x uses libraries that android 3.x does not have.

It would be a long and tiring process, and you would also need to be a very skilled smali editor to do it, since there is no source code for sense apps/framework.
[Android Software/Hacking General [Developers Only]] TheWizardOfROMs:
OK well does this method work if I use a base ROM with no sense? (If the target ROM is senseless and if its 4.1.x)

Ignore this. My real question is can I port sense 5 to a device that supports sense 4 (note the ROM I am trying to port phase android 4.1 but my device has 4.0)
[Android Software/Hacking General [Developers Only]] CNexus:
Yes
[Android Software/Hacking General [Developers Only]] TheWizardOfROMs:
OK thanks
[Android Software/Hacking General [Developers Only]] TheWizardOfROMs:
If I understand correctly all you need to do for the device to boot is replace the boot.IMG(kernel) and edit the build.prop. all the other thing you need to replace are optional but are needed for the hardware stuff like camera, sound, microphone, fling, to work right?
[Android Software/Hacking General [Developers Only]] CNexus:
If you are porting an unsupported sense version, you need to start with your CM rom of the same version and edit the init.rc inside the CM boot.img

You can try following the guide here

http://xdaforums.com/showthread.php?t=2245786

Since your device has only up to ICS, but Sense 5 is JB, you need to use your CM boot.img that had been edited for Sense.
[Android Software/Hacking General [Developers Only]] TheWizardOfROMs:
Tried this guide. Did every step. Flashed the ROM successfully rebooted it got passed the splash screen and it got stuck. There was no boot animation until after 1 minute it got back to recovery by itself. My logcat shown that it cannot find a file called lib go.so. I checked and the file was there. Please help me.
[Android Software/Hacking General [Developers Only]] carl1961:
change your bootclass in init.rc for starters

export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/com.htc.android.bluetooth.jar:/system/framework/HTCDev.jar:/system/framework/HTCCommonctrl.jar:/system/framework/HTCExtension.jar:/system/framework/wimax.jar:/system/framework/com.orange.authentication.simcard.jar:/system/framework/usbnet.jar
[Android Software/Hacking General [Developers Only]] TheWizardOfROMs:
I can do that using the android kitchen.
[Android Software/Hacking General [Developers Only]] carl1961:
yes
[Android Software/Hacking General [Developers Only]] mogongz:
req

hello to dev, can you port the weather animation on lockscreen to other device? :o :fingers-crossed:
[Android Software/Hacking General [Developers Only]] gmzombie:
could you use the same build prop from target device on new rom if both roms are for example sense 4.1 ics 4.0.4
[Android Software/Hacking General [Developers Only]] samuel2706:
I'm guessing you mean HTC sense interface, yeah sure, good luck; you will need to change a lot of framework, the software (i mean) for HTC things to work outside of the HTC environment on another phone, i'd praise you if you managed it.
[Android Software/Hacking General [Developers Only]] nithish_cbe:
Hai guys please help me I port sense 3 2.3.4 for my htc explorer

but Rom not booting

Here my logcat

http://pastebin.com/qlEXGRgn
[Android Software/Hacking General [Developers Only]] FahmiFitu:
Hey .. I want to port this rom (4.1.2 sensa 5) for my Htc sensation .. and I'm kinda of confused of what to use as a base .. do I use a cm10 4.1.2 or sense4 (4.1.2 )?
[Android Software/Hacking General [Developers Only]] Koli96:
Hi.

Can I port JB Sense 4+ to device what support ICS Sense 3.6? (Evo 3D)?

~_~_~_~_~_~

And Can I use CM with Android 4.1.2 for ROM based on JB 4.1.1?
[Android Software/Hacking General [Developers Only]] doga.ozkaraca:
no sense 4+ jb needs ion kernel. so, you must port ion kernel before porting rom.
[Android Software/Hacking General [Developers Only]] kmdangi:
Port between DHD & VIVID

Hello,

I have two HTC devices, Desire HD and Raider 4G (known as Vivid). - both rooted and S-off

I want to port Sense 4.1 ROM from DHD to Vivid. Is it possible ? because screen resolution of both the devices is different.

HTC Desire HD : 480 x 800 pixels, 4.3 inches (~217 ppi pixel density)

HTC Vivid : 540 x 960 pixels, 4.5 inches (~245 ppi pixel density)

Can you Guide please ?
[Android Software/Hacking General [Developers Only]] xboxfanj:
It would be ideal if you found something more similar to the Vivid such as the Amaze or Sensation or Evo 3D (ideally, the first two since they're GSM/HSPA).
[Android Software/Hacking General [Developers Only]] xpirt:
You will boot it fastly if you use Sense 4+ as base with stock HTC kernel ;)

xpirt
[Android Software/Hacking General [Developers Only]] Explore The Universe:
Trying to port sense 5 to evo but can't boot.. Tried different kernels but nope.

logcat

https://dl.dropboxusercontent.com/u/49778084/logcat.txt
[Android Software/Hacking General [Developers Only]] carl1961:
did you use correct partitions in updater.script

mount("ext4", "EMMC", "/dev/block/mmcblk0p37", "/data");

package_extract_dir("data", "/data");

format("ext4", "EMMC", "/dev/block/mmcblk0p35", "0", "/system");

mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");

and try using "sdcard" file from your working rom
[Android Software/Hacking General [Developers Only]] Explore The Universe:
Can you take a look at this?

https://dl.dropboxusercontent.com/u/49778084/updater-script

..and yes, im using working rom's sdcard file.

Thanks for reply.
[Android Software/Hacking General [Developers Only]] Multidex24:
I really want to port a sense5 rom to my rezound. i don't know where to find a good sense 5 rom? i need help with porting this. plzzzz
[Android Software/Hacking General [Developers Only]] Flashalot:
With out the right kernel it won't happen
[Android Software/Hacking General [Developers Only]] Dr. Globbyglob:
Thanks so freakin much!!!! I love u not in a flamboyant way u know what i mean, i can finally get my sense 4 rom going!!!!!!! Yahoooooo!!!!!
[Android Software/Hacking General [Developers Only]] BIGMOH:
Hi [MENTION=3423567]samuel2706[/MENTION],

Thanks for posting this nice guide.

Just wondering if it is possible to port a HTC One sense Rom to the HTC Jetstream that has been rooted and custom kernel flashed on it.

Currently the HTC Jetstream is running on STOCK HTC ROM GB :(

Any insights would be appreciated, as i'm not sure where to start.

Thanks in Advance! :good:
[Android Software/Hacking General [Developers Only]] ChadMan097:
Can this/will this be updated to work for/with Sense 5. I am trying to port a ROM for the HTC One X to the XL. Exact same device only thing is different processor. HOX is a Niveda Tegra 3 (quadcore) and HOXL is Qualcomm Snapdragon S4 (dualcore). Any ideas or help of what should be changed from this guide to make this work?

Thanks!
[Android Software/Hacking General [Developers Only]] piraterex:
4.4 sense 5.5

i am not even able to pass bootloader...wat to do!?
[Android Software/Hacking General [Developers Only]] ZANKRUT.DOSHI:
I have samsung device grand quattro with same processor ,gpu,resolution ,ram as htc desire 500 is it possible to port sense 5 on top of touchwiz stock rom??
[Android Software/Hacking General [Developers Only]] Jonny:
No, Sense requires the HTC framework which touchwiz doesn't have.
[Android Software/Hacking General [Developers Only]] Explore The Universe:
What about ion+pmem kernel?
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Nice, havent tried but sounds pretty promising.

you might wanna add what to change in the updater-script, make sure they mount the proper blocks or could result in a brick :P
[Android Software/Hacking General [Developers Only]] nodeffect:
I have a desire S, is it possible for me to port Desire HD's ROMS to my device using this guide? Can I port Sense 4.0 ROMS using sense 3.6 files? Thanks... need help..

EDIT: and btw, what do you mean by target device? You mean that I need to use the original rom files? what if I want to port a higher sense version but my device doesn't has that version? Can I still use a older sense files?
[Android Software/Hacking General [Developers Only]] DG|Buu:
MTK6589?

Does It Works With MTK6589?

:confused:
[Android Software/Hacking General [Developers Only]] samuel2706:
It should still work for ALL cpu and chipsets, just make sure you put the respective name in the board row.
[Android Software/Hacking General [Developers Only]] praveen7682:
HTC DNA Rom PORT

I successfully ported HTC DNA Rom to HTC Butterfly..Everything went well..Boot was successfull, no forecloses, camera working fine etc..But the issue i have is the power is showing only 3% eventhough thw mobile is fully charged..Also the battery icon in the status bar is always showing as charging..All the time i get battery low indicator...Please help how to resolve this..
[Android Software/Hacking General [Developers Only]] samuel2706:
Have you tried clearing battery stats, or looking in to the framework-res.apk files to see if it's the battery icons itself

It's either a problem between the battery and the chip which is to do with battery calibration, however the battery will use the framework files to determine the icon shown in the notification bar.
[Android Software/Hacking General [Developers Only]] davidjumani:
I didn't touch the framework.res except to edit the storage_list.xml so don't think that is the problem. Battery stats works when it is not calibrated properly but here it is stuck at 3% and shows that it is charging no matter what. Any way to fix that??? Thanks
[Android Software/Hacking General [Developers Only]] Jonny:
Logs may help.
[Android Software/Hacking General [Developers Only]] davidjumani:
Could you tell me how to do that. Noob here sorry. Btw it says battery not present
[Android Software/Hacking General [Developers Only]] samuel2706:
Get yourself in to ye old adb logcat mate, if you don't know how that works then you need to learn it buddy, also dmesg is great fun.
[Android Software/Hacking General [Developers Only]] davidjumani:
Here you go. Thanks :)
[Android Software/Hacking General [Developers Only]] davidjumani:
Build.prop tweks

By the way, which build.prop lines deal with the in-call volume?? Because in another port it is dead. Like no volume when i make or receive a call. Also the wifi does not turn on. It says that it is turning on but doesn't and i can't even turn it off. I know it is a build.prop tweak because when i replace the port's build.prop with the base's one it works fine. Thanks
[Android Software/Hacking General [Developers Only]] Jonny:
Just get some sort of comparison software and use text compare to diff the 2 build.prop files - you haven't posted the content of the build.prop files so we can't do much about that unless someone can remember the relevant lines off the top of their heads which lines it is (I can't) ;)
[Android Software/Hacking General [Developers Only]] samuel2706:
Have you tried diffing the two and adding things in which you think is part of it, it's all about learning pal, diff the files then keep adding until it works, then take out some stuff until you pin-point it, then you can be proud of knowing you did it yourself, XDA is all about learning buddy,
[Android Software/Hacking General [Developers Only]] davidjumani:
Thanks :) I got it :D I'm just a little worried about flashing it so many times. It might cause the hw to crash or something.
[Android Software/Hacking General [Developers Only]] KuroKeita:
I do exactly as you guide but when i flash the rom, it just fail after 2%, at the symlink, any solution here @@

It say Creating symlink toolbox -> Symlink: Some symlinks failed
[Android Software/Hacking General [Developers Only]] calikevin:
In the guide on the first page, is "target device" the base ROM or the port ROM?

Also, all the pictures are dead except the last one
[Android Software/Hacking General [Developers Only]] GazaIan:
Did you remember to change the boot.img? Sounds like an issue where the wrong boot.img was flashed, or none was flashed at all. Did you use a Sense boot.img? (assuming you're porting a Sense ROM). You can't use a non-Sense boot.img, as it has an AOSP kernel that wont work with Sense ROMs.
[Android Software/Hacking General [Developers Only]] Droidzone:
This is cool.. Thanks a lot for sharing! Now to make my first port! :D
[Android Software/Hacking General [Developers Only]] EclipseX:
and non sense devices?!
[Android Software/Hacking General [Developers Only]] samuel2706:
See when you said update binary i presumed you meant in the BIN folder.

Now i see what you mean ;) i'll change it thank you
[Android Software/Hacking General [Developers Only]] samuel2706:
They are different, i only did sense as my phone is sense
[Android Software/Hacking General [Developers Only]] con247:
What is the likelyhood of a Froyo Sense kernel running GingerSense?
[Android Software/Hacking General [Developers Only]] Proz00:
can i port htc tablet sense hc3.2 in future to asus tf101 ?

edit:

got it the phone to be htc first
[Android Software/Hacking General [Developers Only]] AndroidGraphix:
Great thread. Thanks for the tutorial.
[Android Software/Hacking General [Developers Only]] Juzer:
Im not sure what you mean by "replace the SOUND8660 with the board number" could you explain that please? thnx!
[Android Software/Hacking General [Developers Only]] samuel2706:
I'll give you an example

your board number is 7x30

the sound bin is sound8660

you then delete that sound8660

and copy over

sound7x30

:)
[Android Software/Hacking General [Developers Only]] xpack90:
Guessing this wouldn't work porting 3.0 -> 2.1
[Android Software/Hacking General [Developers Only]] samuel2706:
Course it would pal, it's ANY SENSE to ANY SENSE :) it was written with that in mind!
[Android Software/Hacking General [Developers Only]] nodeffect:
Thanks for this useful guide... I've include it on the desire s complete tutorial thread. Thanks man! Keep it up!
[Android Software/Hacking General [Developers Only]] fshami:
Thanks & a question

Thanks for the guide :).

One question here that how i can extract system.img using windows?

I have Gizmo & i mounted the system.img of my DHD in it. I tried to copy all the contents into a separate folder but it gives me error while it is copying files from bin folder... any idea?

one more thing, for META-INF folder, can i use it from any ROM say CM7?

Thanks again
[Android Software/Hacking General [Developers Only]] samuel2706:
Just use the htc android kitchen to get it from there ;) i have a DHD what are you trying to do?
[Android Software/Hacking General [Developers Only]] fshami:
Just want to play around, experiment first.. lets say by porting WildFires ROM for DHD :-D

Not sure if testing it with BootManager will be a good idea..
[Android Software/Hacking General [Developers Only]] notsointeresting:
tried this and replaced everything and couldnt get past Splash screen after boot will try another ROM maybe. (EVO to EVO Shift)
[Android Software/Hacking General [Developers Only]] fshami:
Porting WildFires ROM for my DHD :-D... fingers crossed
[Android Software/Hacking General [Developers Only]] fshami:
Confusion here, i took system.img of buzz rom & boot.img of dhd rom, placed both of them in the kitchen & started cooking :-D..

Do u suggest to copy dhd boot.img once i am done making the final rom zip file? or the original needs to be placed first before cooking it?

btw have you ported Sensation's rom to dhd?
[Android Software/Hacking General [Developers Only]] dumraden:
Tried porting the original doubleshot deodexed-rooted rom, using files from RMK's Deodexed and rooted phone from the original 2.3 OTA release for the G2.

Also gave a try into modding rosie.apk with the sensor mod.

I ended up with a Sense 2.1 ROM, the sensor rotation was working. Everything seemed like 2.3 G2 OTA. all the apps everything.

Anything i did wrong?
[Android Software/Hacking General [Developers Only]] samuel2706:
You did nothing wrong pal, it is 2.1 sense is doubleshot isn't it?
[Android Software/Hacking General [Developers Only]] dumraden:
no it is 3.0

Its the only device sporting a landscape mode on sense 3.0
[Android Software/Hacking General [Developers Only]] fshami:
Any one to help?
[Android Software/Hacking General [Developers Only]] samuel2706:
Hmmm what have you done so far?
[Android Software/Hacking General [Developers Only]] 522122:
awesome thread

What about porting AOSP to sense device?
[Android Software/Hacking General [Developers Only]] samuel2706:
Never tried it pal, that's Cyanogenmods job ;)
[Android Software/Hacking General [Developers Only]] 522122:
Well I'm Desire S owner and there is no official AOSP rom for my device. Some people are porting from DHD and the roms are almost without bugs. I was just wondering which files are important, so I'm verry thankfull for this thread.

When I tryed porting I just made backup of my boot.img, took bcm4329.ko file and edited build.prop. But there was no sound working, and many other things and I didn't know what to do next which files could be important, now thanks to you I know little more :)
[Android Software/Hacking General [Developers Only]] Droidzone:
Edit: Seems I was mistaken.
[Android Software/Hacking General [Developers Only]] Slatter39:
can someone explain what the OP means by target device. I have an evo 4g and i am porting HTC sensation. Will the sensation be the target device or my evo 4g.

Thanks
[Android Software/Hacking General [Developers Only]] roscoenr:
Sensation.

Swyped from my Orange Peeled Synergist EVO
[Android Software/Hacking General [Developers Only]] con247:
The target device is what you want to port to. In other words, the target device is the device you are making the rom for.
[Android Software/Hacking General [Developers Only]] shark147:
Target = EVO 4G

you want port HTC Sensation Rom on your Device Evo 4G.
[Android Software/Hacking General [Developers Only]] con247:
Is it possible to boot Froyo Sense with an Eclair kernel? The reason I am asking is because we don't have 2.2 kernel source, but we have eclair source. So I figure I can compile an overclocked and undervolted Eclair kernel.
[Android Software/Hacking General [Developers Only]] Craigerade:
It would boot, but camera, wifi, and other things wouldn't work right.
[Android Software/Hacking General [Developers Only]] SKAm69:
Will it work if I port Desire S, HD or mytouch 4g Slide's Sense 3,5 or 3.0 to a HVGA device?

Does the ROM needs to be stock on my phone or can I use another port with Sense 2.1 that works great?
[Android Software/Hacking General [Developers Only]] dansta34:
Mate your a bloody legend for this thread good work good to see people having success from your thread!

Has anyone on this thread successfully ported to a hd2 im having no luck dont no where i have gone wrong i had done everything said in the OP if anyone could give me some tips i seriously would appreciate it and if anyone can help i will explain everything i have done so you can tell me where i have gone wrong.
[Android Software/Hacking General [Developers Only]] tspx23:
just a question, I know that the mytouch line is a different version of sense.

Would it be possible to port the mytouch 4g slide rom over to the sensation?
[Android Software/Hacking General [Developers Only]] civicvx94:
So since this guide is for any version of Sense, where does resolution come into play? If I attempt to port a Flyer rom to the Sensation, would any images files need to be resized? If so, would that involve taking Rosie.apk from the flyer, decompile it, then find the workspace m10 files and decompile then size?

I'm gonna mess with this but want to make sure I have the right idea in mind.

Thanks in advance.
[Android Software/Hacking General [Developers Only]] Craigerade:
Yeah you would have to resize the images from most of the stock apks. The platypus has a thread in the evo 4g section for porting express to the email. I would ask him for details in what to expect.
[Android Software/Hacking General [Developers Only]] civicvx94:
Ah, ok thats a bummer.. I'll give it a shot and ask him for some help once I make a little progress.

As for for the actual port job, I'm at system/etc/ and there are no csv files from the target and two from the Flyer..should I keep the ones from the Flyer intact or delete them all together?
[Android Software/Hacking General [Developers Only]] civicvx94:
I've found that there a quite a few files listed in OP that are missing from the target (sensation) rom...Some are present in the rom om porting (flyer), while some are not..... Not too sure what to do here
[Android Software/Hacking General [Developers Only]] Droidzone:
@samuel2706,

Supposing one of the files you've asked to replace doesnt exist on the target device, what should we do? Delete the source file too?
[Android Software/Hacking General [Developers Only]] dungphp:
Will have alot of ROM but dont know what's good rom !
[Android Software/Hacking General [Developers Only]] GazaIan:
adb logcat- exec '/system/bin/sh' failed: No such file or directory (2) -

Damn it -_- sh is here, busybox is there, boot.img is correct.. Damn -.- gotta try what I did with Rcmixglacier..