yashsingh1/xdaforums huggingface dataset:
[Android General] voetbalremco:
copy camera.apk to system/app from a 4.1 or 4.0 rom to yours

use CTRL +F to search in system/lib

search for "camera" and copy all libs from a 4.1 or 4.0 rom to your ported rom.
[Android General] CrackerTeg:
Anyone try porting 4.2 to a 4.1.2 device?

Back story. I have a d2att running BlackBean (AOSP based with cherry picks) 4.1.2. I had a Crespo prior to this running RasBeanJelly 4.1.2. Obviously, Rascarlo and quite a few others on the N4 and GNex forums have started creating 4.2.1 ROMs. Is it possible to port 4.2.1 to my d2att? They're both JB but obviously different versions. Its an idea I had and I miss RBJ which is why I ask.

One more thing, all the AOSP ROMs available to the d2att have plenty of picks from CM and AOKP, theme chooser being one of them, whereas RBJ does not have theme chooser. Would the folders that need to be migrated affect that? Thanks for any and all help that can be provided.

Again, this is an idea and I haven't talked to any of the devs about my idea but if it can be done, I will most definitely check with them to use their ROMs as base or port.
[Android General] brakke97:
Nice guide! Thanks! :good:
[Android General] jonah1234:
Wondering the same thing. I'm on 4.1.2 on my DNA and no aosp yet. :mad:

Sent from my Team 420 themed HTC Droid DNA
[Android General] ariadelvana:
I've tried the tutorial above but I had bootlop
[Android General] brakke97:
Pretty nice guide! Thanks for sharing your knowledge! :good:
[Android General] Flashalot:
Any one know how to fix auidio on sense ROMs
[Android General] cyrusalmighty:
So do we use build.prop from "port" after its edited and put it with the final Rom as the "Base"?

Edit* Very sorry. I see OP said," Final Rom is ported." I guess Im using this & Oogways tut(which is based off this) and got confused, but does this mean we still using build.prop from ported?
[Android General] voetbalremco:
Whats your device?

Try replacing all libs related to 'audio'. Use ctrl+f(search) inside /system/lib

If not booting; add a logcat here
[Android General] Flashalot:
Evo 3D CDMA

porting dark sense to Evo 3D CDMA

Still a no go on audio I tried rung logcat on pc but did not work could I try using alogcat from the play store every thing works except audio
[Android General] pratikmore:
can i port stock jb rom by taking stock ics as base?or port cmx on stock ics?
[Android General] pratikmore:
I am getting this error in logcat couldnt find an eglconfig matching the screen format;egl querysurface :352 error 300d

call to opengl es api with no correct context(logged once per thread)

any help.trying to make cm x compatible for my tab.
[Android General] mlecruz:
Thanks for this wonderful guide.

My port works but I I'm only receiving one bar for my signal. It's H+ capable but I'm only getting H data connection. Any suggestion?
[Android General] Peteragent5:
Multi-Platform Tool to port ROMs is coming... ;)
[Android General] rirozizo:
yes yes yes YES YESSSS!!

this will spare me some time while i port :D

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[Android General] DroidOFr:
nice thanks wait for the multi platform tools
[Android General] Athanasis:
I am impressed that some people would trade their iPads for android....

Yes. I smell android to dominate the markets in the coming years....

I have bought a cheap PRESTIGIO pmp3270b.

I have bricked it and now it won't boot....

I am looking to buy one of those more expensive Samsung series...

Anyone knows a Tablet that won't "brick" so easily?

I mean something that I can root and flash ROMs easily without fear of screwing things up

Thanks....
[Android General] strapped365:
If you read and follow all instructions its pretty hard to actually brick a device. Sure I can brick mine on purpose in about 30 seconds but that's besides the point. All users who wish to root should actually understand the process so they don't end up in your shoes.

Sent from a KangBanged JellyBAM
[Android General] voetbalremco:
Ipad doesnt 'brick' so fast ;)
[Android General] Athanasis:
Ok thanks but.....

Motorola devices have files called SBFs that can be flashed onto the phone to restore the device. HTC devices have something similar. Not sure about Samsung, however.

I mean there are tools available out there but specific to each device.......

Which device would be best for this reason.....

Thanks
[Android General] mingolianbeef:
I'll put it like this, the evo 3D has a thing that requires us to PURPOSELY BRICK our devices to downvrade the boot loader (scary right) and for the love of god it was hard to actually BRICK yye device. I had to use a different method. HTC devices are very hard brick devices. If you want a little peace of mind, I can recall Samsung devices having unbrickable mod. Finally, if you want more security than that, I have the Barnes and noble nook TABLET (Not color, confused me too) and I swear to you it is the easiest root method I have ever done in my life, and I'm a dev lol. They have CM10, CM10.1, STOCK 4.1 and 4.2 and 4.2.1, along with paranoid android an AOKP that I will be bringing to them in the near future. Very good tablet
[Android General] Athanasis:
Thanks ognimnella....

Very informative post.....I will take it into consideration. I am also going to research about the Google Nexus 7 because it has the best specs for the price.....

Take care

:highfive:
[Android General] mingolianbeef:
No problem :) and another note.! I was considering the N7 too, issue is, no expandable memory.! Once you install a custom ROM on the NT, you have 16 GB of APP SPACE (ohhhh the glory lol), and 1GB of internal space, plus a memory slot for up to 32 GB of extra space.

And the tegra is a bunch of hype. Unless ur infatuated with tegra HD games, don't worry about it. On CM10 (with my tablet) its overclocked 1.3 GHz dual core, a 16 GB memory card and it does a magnificent job of playing Modern Combat 3 and 4 :) , oh and NOVA 3. Even on stock, rooted, gapps and no overclock, I played MC3 with no issues

I'm sorry lol, just don't like ppl falling for hype, don't get me wrong the N7 is a total badass device.! But I mean I found more value in my NT, just some additional 2 cents lol
[Android General] Athanasis:
ognimnella

Good that you remind me about " ppl falling for hype". It happens everyday. I am wondering why "ordinary" people go for expensive tablets when they can't really understand the real deferences between cheap and expensive ones..........

Come over for a beer brother !!!!! Haha... (you will probably have to pay for the air ticket though ....)

with Love

Athanasis !!!
[Android General] mingolianbeef:
Lol I wish I cud, family has hidden anything that cud possibly allow me to travel for Christmas.! I just like informing ppl, we can't afford to just haphazardly spend money lol
[Android General] Athanasis:
ognimnella Merry Christmas to you!:highfive:
[Android General] Toni5830:
My galaxy ace uses a qualcomm processor with adreno 200 gpu, while galaxy young has broadcom processor and gpu.. is a porting possible?? (Both arm-v6)

Tapatalk wishes Merry Christmas
[Android General] SpaceCaker:
Galaxy y isnt armv6 its a whole different cpu but its the same as galaxy ace i

Try porting roms from ace i first ;)
[Android General] voetbalremco:
Its possible, but this guide doesnt completely fit. You will need to resize in order to get it working.
[Android General] Toni5830:
"Resize"?? Sorry what do you mean?

Tapatalk wishes Merry Christmas
[Android General] voetbalremco:
Galaxy Y is LDPI, am I right?

ace is MDPI, so you will need to resize the apk's in order to work flawlessly.
[Android General] mingolianbeef:
Merry Christmas to you too dude :) :highfive:
[Android General] Toni5830:
Need help please:)

Stuck on Samsung logo.. porting from ace-i to ace

I took 2 logcats.. main errors and "everything"

Tapatalk wishes Merry Boxing Day
[Android General] MustafaHadaKing:
im stuck at HTC logo, porting from One X to DNA
[Android General] utkaar099:
blank sd card

i have successfully ported a rom to the at&t htc one x, but sd card is blank when i use a file manager and menu button isnt working. when i boot into recovery, the sd card is there and mounts just fine. any advice on how fix?
[Android General] voetbalremco:
replace void.stab in /system/etc from your base to ported

for SD card.

for menu button:

replace system/lib/modules and system/lib/hw from Base to ported
[Android General] Toni5830:
Up :(
[Android General] pratikmore:
i want some help; logcat :-

http://pastebin.com/6thwJUXG

trying to make cm x compatible with my tab.
[Android General] Zejsters:
Can i port AOKP Milestone 1 From HTC Desire to HD2 CM10 as base???
[Android General] Whiplashh:
Whenever I try to port I get Status 7 Error
[Android General] Tim1928:
I have never been able to port aokp from a cm base for some reason aokp dosent like cm libs

This is a updater script issue assuming you mean you get this error in recovery
[Android General] Peteragent5:
If you want to know the answer, you should try porting it first :)

updater-script problems or wrong update-binary.
[Android General] voetbalremco:
You didnt modify the build.prop or the updaterscript correctly
[Android General] Quinny899:
Hey everyone, need some help. I'm porting ParanoidAndroid (2.54, 4.1) using the guide and a CM10 base, to my Archos G9 from the Galaxy Nexus. I'm getting this error when I try to boot it:

http://pastebin.com/H0VBF8fB

(after the end it loops the error loading bit)

I know it's triggered when it tries to load apache-xml.jar for the first time, but what's causing it and how would I go about fixing it? Thanks :D
[Android General] rirozizo:
again, thanks to this guide, i ported my third ROM based on CM7, it's the absolution ROM from Desire HD to Desire Z.

strangely, it booted without any bugs from the first time, usually it takes 5 tries and fixes to first boot a ROM, this woked from the first time :D

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[Android General] nikhil_dabral_29:
Can i port galaxy y rom to my galaxy ace s5830i..
[Android General] rirozizo:
can you? let's find out... try it and tell us.

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[Android General] Peteragent5:
It looks like some fonts & libs are failing to load. Are you sure the libs are correct for your device? Is there anything you did wrong during the porting process? Try retracing your steps :)

No Problem

I've P.Med you :)
[Android General] pratikmore:
error:- 'android/webkit/HTML5VideoViewProxy'

paste htmlvideoviewproxy from your archos g9 to galaxy nexus.It is located in framework.jar.
[Android General] Quinny899:
The funny thing is that if I return the original apache-xml.jar from the device to the ported ROM, it still gives the same error. Surely that would mean that if I did copy it back it will still fail with the same error?
[Android General] pratikmore:
You have to use nexus framework folder;not your.copy all videovieeproxy from your framework.
[Android General] Quinny899:
Right, I'll go over this in a bit more detail

If I use the one from the Nexus ROM it fails with that error

If I then push the original one from the archos to it, wipe cache and reboot, it comes up with the same error

So they both cause the same error. Surely merging them would make no difference?
[Android General] Red Devil:
Can someone help me with this please ??

I/SystemServer( 5277): Entered the Android system server!

I/SystemServer( 5277): Entropy Mixer

I/SystemServer( 5277): Power Manager

I/SystemServer( 5277): Activity Manager

I/ActivityManager( 5277): Memory class: 48

W/UsageStats( 5277): Usage stats version changed; dropping

E/AndroidRuntime( 5277): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread

E/AndroidRuntime( 5277): java.lang.UnsatisfiedLinkError: Native method not found: android.util.ExtendedPropertiesUtils.readFile:(Ljava/lang/String;)Ljava/lang/String;

E/AndroidRuntime( 5277):	at android.util.ExtendedPropertiesUtils.readFile(Native Method)

E/AndroidRuntime( 5277):	at android.util.ExtendedPropertiesUtils.getProperty(ExtendedPropertiesUtils.java:415)

E/AndroidRuntime( 5277):	at android.util.ExtendedPropertiesUtils.getProperty(ExtendedPropertiesUtils.java:382)

E/AndroidRuntime( 5277):	at android.app.ContextImpl.init(ContextImpl.java:1601)

E/AndroidRuntime( 5277):	at android.app.ContextImpl.init(ContextImpl.java:1711)

E/AndroidRuntime( 5277):	at android.app.ContextImpl.createSystemContext(ContextImpl.java:1570)

E/AndroidRuntime( 5277):	at android.app.ActivityThread.getSystemContext(ActivityThread.java:1904)

E/AndroidRuntime( 5277):	at android.app.ActivityThread.attach(ActivityThread.java:4891)

E/AndroidRuntime( 5277):	at android.app.ActivityThread.systemMain(ActivityThread.java:4930)

E/AndroidRuntime( 5277):	at com.android.server.am.ActivityManagerService.main(ActivityManagerService.java:1370)

E/AndroidRuntime( 5277):	at com.android.server.ServerThread.run(SystemServer.java:179)

E/AndroidRuntime( 5277): Error reporting crash

E/AndroidRuntime( 5277): java.lang.NullPointerException

E/AndroidRuntime( 5277):	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)

E/AndroidRuntime( 5277):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)

E/AndroidRuntime( 5277):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)

Thanks in Advance !! :D
[Android General] Toni5830:
Did you use libandroid_runtime.so from ported rom??

Tapatalk 2
[Android General] Red Devil:
No should I use it ? Thanks a lot
[Android General] MaartenXDA:
Hey man, great guide.

But I have a problem, I've been trying to port trickdroid for the HTC Desire HD, to the HTC Desire X. (yeah, I got the permissions.)

But it won't boot, I used the libs android server android runtime and media jni, but it just won't boot. I tried porting the kernel, but I don't really understand that. Could someone please help me out?

Sent from my awesome fridge
[Android General] Quinny899:
Can you post a logcat? I've ported ROMs like that before, might be able to help

---------- Post added at 08:43 PM ---------- Previous post was at 08:43 PM ----------

Yes, you should be doing, like the guide says to do
[Android General] MaartenXDA:
Yeah, but adb won't recognize it, I'll add a line in build.prop, flash it and give the logcat tomorrow, no time for that now.

Thanks for helping anyways, would be great if I finally got it to boot, I've been trying for the past 4 weeks now.

Sent from my awesome fridge
[Android General] pratikmore:
after flashing a rom adb wont recognize my tab;why?I am trying to take logcat because my rom not booted.
[Android General] Red Devil:
Hey check if you copied the line of " persist.sys........USB storage , ÀDB " from build prop If there is one in the port ..
[Android General] pratikmore:
yaah that line is present but adb wont recognise my tab,why?it shows device driver not installed but i alredy installed it successfully.
[Android General] jim7777:
Does porting to a dual sim capable phone works?

Like porting a CM9 to a Galaxy S Duos? Is that possible? Or CM doesn't support dual sim?
[Android General] MaartenXDA:
Okay, i got the logcat.

Any suggestions?
[Android General] MaartenXDA:
Nothing yet?

Is there anyone with experience in porting sense ROMs?

Sent from my awesome fridge
[Android General] Quinny899:
It looks very similar to the error I'm encountering on my ParanoidAndroid porting. Try decompiling the framework file and replacing the part mentioned with the original one from your device
[Android General] pratikmore:
logcat of cm 10:-http://pastebin.com/XEybEepy

my tab doesnt have hdmi port.any help?
[Android General] MaartenXDA:
Sorry I'm not that experienced yet, can you explain it a bit more?

Sent from my awesome fridge
[Android General] widokeren:
i have success port SGS3 international ROM to S3 Korean Version,

it seems all worked fine, i can make a call, send sms message, but, i cant connect to mobile network.

can you help me to fix that, thank you so much before.
[Android General] Quinny899:
I've been messing with Smali today to fix errors like this one:

E/dalvikvm( 505): Requested: Landroid/os/Binder;.getOrigCallingUidNative:()I
E/JNIHelp ( 505): RegisterNatives failed for 'android/os/Binder', aborting

(which means it cannot find that method)

But where is android/os/Binder in the core.jar when decompiled? I cannot find its smali file anywhere. Is that the error here, I should rip it from a core.jar that does?
[Android General] pratikmore:
It is in framework.jar android/os/binder.smali
[Android General] voetbalremco:
Wildfire is NOT arm v7.

Its clocked at 400 or 600 depending on (s) or not.

Its problably arm v6
[Android General] jahrule:
New guide dose not help. Still royal fail. I am trying to port nexus s aosp rom to sgs2
[Android General] MrAwesomePT:
Yup that's exactly what I was saying. It is ARMv6. You can check this wiki page where it talks about the chipset and what popular devices use it, and Wildfire S is in the list.

And in this list of ARMv7 there is HTC Explorer, and so is HTC Desire S, the one I was trying to port from, so at least I was doing it right :D
[Android General] voetbalremco:
You can port to it, but do need to change the kernel, decompile etc,
[Android General] Peteragent5:
Everyone, please respect and give me credit for this Guide cause I am the

only one

who figured this out and the creator. Everyone just couldn't find a Pure, Successful way of porting. This is why I feel bad for you guys and I wanted to share. :)

I assure you the next update will be a

greater chance

of porting, as I have done it many times.
[Android General] r1c4rd0:
hey there, i hope this message is not for me, because i have noting to do with this blog...

they just asked for your previous guide and i just googled and found it and shared it.

just hope you understand that the guide in that blogue is no mine, i just found it!!!
[Android General] oguzhan mobile:
how to port sense? I like sense but I havent got sense. please helpme. I have got u8800
[Android General] Peteragent5:
Sense is the same guide as in post 1. But you need to change the BOOTCLASSPATH in boot.img (Kernel)

Unpack sense kernel.

Open init.rc with Notepad++

Copy the BOOTCLASSPATH line

Unpack your kernel

Open its init.rc and replace its BOOTCLASSPATH to the Sense

(I'm not sure if you use a CM or Stock Kernel when you port Sense, because I am still experimenting around :))
[Android General] Santa-Claus_16:
For all that meets libandroid_runtime.so?
[Android General] PipelinerArd:
I have my rom ported and it will boot up to the boot animation and just stay there. Any suggestions on how to get it fully booted? I'm porting from desire s to inspire 4G
[Android General] Thatgrass:
Okay, watch out guys, i'm going to port (:
[Android General] kokabiel:
i have Samsung GT-I5510 a.k.a Callisto n do have CM7

i want to port CM7 from Samsung Galaxy Mini to my phone, because in Galaxy Mini have a lot of stuffs that it doesn't in my phone.

is it possible???
[Android General] voetbalremco:
Everything isvpossible, but does neef a bit of work..

Use cm7 from glalaxy mini as base and follow the guide
[Android General] PipelinerArd:
+1 everything is possible. I just ported aokp from the desire s to my inspire 4g. Main thing is find a good solid kernel for your device and just try to get the rom booted. This is going to take a LOT of trial and error..trust me. Once you get it booted then worry about fixing what's broken.
[Android General] D-FUSE:
So if my base Rom doesn't have a stk.apk and my port Rom does should I leave it out or will this not work cuz the port Rom has a sim card and mine phone doesn't take a sim card
[Android General] Peteragent5:
You should just leave the stk.apk. But if it's causing you problems then delete it :)
[Android General] D-FUSE:
How would I unpack the kernel in Windows ?
[Android General] broodplank1337:
You can't you will need to use a unix shell, you can use cygwin which acts as a linux shell, but the times i tried to pack a kernel it hanged at samsung logo, even if I didn't make any changes, so i really recommend ubuntu or so

and btw @ OP, The Base and Ported words are so confusing :confused:, at some points I don't get what the actual need is of that action, since we are only making 1 rom then why we need to prepare 2 dirs?
[Android General] D-FUSE:
Okay I have unbuntu
[Android General] D-FUSE:
I am think he is just making an easy way for you to have all the lib file and stuff. That you need. you are needing files from both roms and replace some. Anyways I pretty should I understand what the dude is doing.
[Android General] MaartenXDA:
@quinny sorry, wich one of the framework files, and I can't find a "mentioned" part in the logcat.

Sent from my awesome fridge
[Android General] Quinny899:
You need to decompile both framework.jar files (base and ported), open the mentioned file (quoted below) and copy the bit from BASE to ported, then recomplile, place the out.dex as classes.dex in the .jar file and push the modified ported file back to the system. This tells you the file:

E/dalvikvm( 126): ERROR: couldn't find native method
E/dalvikvm( 126): Requested: Landroid/webkit/WebViewCore;.nativeSetMonthValue:(IIIIII)V
E/JNIHelp ( 126): RegisterNatives failed for 'android/webkit/WebViewCore',
[Android General] MaartenXDA:
Thanks, will try some other stuff too and look at the logcat.
[Android General] darblack:
spectacular guide. thanks for this help.
[Android General] widokeren:
Please help me to give me step by step, thank you for your kindness...
[Android General] Red Devil:
Sir I replaced it .. But the ROM doesn't boot at all .. Still get some partition errors
[Android General] voetbalremco:
partition or mounting errors?

chanhe the mount values in the updaterscript
[Android General] Oogway13:
Yes.

You would open PORTED and BASE build.prop and edit the PORTED one to match your BASE.

You end up using PORTED build.prop (remember that your final ROM is PORTED).
[Android General] pratikmore:
I am trying to port cm9 from ics 4.0.3 but stuck at a point.logcat attached.

full logcat :- http://pastebin.com/5CcYR9j6
[Android General] pratikmore:
Finally cm9 booted and show android upgrading but low on space and when ALL apps installed it reboots.logcat attached.Plz,tell me where is the problem.logcat:-http://pastebin.com/xAGpvWtC
[Android General] DraXonic:
Del. Some system apps and try again and for sure del only useless apps..
[Android General] pratikmore:
which app should i del when cm9 is used?
[Android General] roobeyn:
I have Xperia ion, can I use CM10(Xperia ion) as base and Stock 4.1.2(Xperia T) as Port? Thanks xD
[Android General] pratikmore:
you can try but dont know about success;like i made cm9 from stock,while booting it shows low on space then reboots.
[Android General] cyrusalmighty:
Peteragent (or anyone else who can help), I am dealing with Xperia Play "base" Rom and Xperia Arc "port" Rom. Both are Gingerbread but Im having trouble with build.prop and getting to boot. Can you help/instruct me on what to fix. >HERE< are both build.props in original form(untouched.) I even made a thread asking for help >HERE<.lol. Both devices are very similar and I followed all other instructions.
[Android General] pratikmore:
ANYOUNE??
[Android General] Flashalot:
Delete system apps I know someone said this but what

apps do you have in the system folder

What phone is it

And is there a data folder in the zip for extra apps

Sent from my HTC VLE_U
[Android General] pratikmore:
i deleted some apps(14 mb) but it showing same result low on space while booting.It is hcl me u1 tab with stock ics 4.0.3,1 ghz vimicro cpu.no data folder,all cm9 apps are in system app folder.which apps are useless??
[Android General] nik263:
Thanks... downloading
[Android General] Quinny899:
Congrats, you got yourself reported for spam!
[Android General] DraXonic:
Keyboard... voice search i know that these are not useless but u can install them again once cm9 starts..:)
[Android General] Flashalot:
Most of every thing in a cm Rom is not useless.

Sent from my HTC VLE_U
[Android General] pratikmore:
I deleted that apk but still not booted.almost 30mb less than previous rom but same low on space error.