yashsingh1/xdaforums huggingface dataset:
[XDA-University] Stryke_the_Orc:
Line 1977: 01-01 02:18:43.531: E/dalvikvm(2256): ERROR: couldn't find native method

Line 1978: 01-01 02:18:43.531: E/dalvikvm(2256): Requested: Landroid/content/res/AssetManager;.setConfiguration:(IILjava/lang/String;IIIIIIIIIIIIII)V

Line 1979: 01-01 02:18:43.531: E/dalvikvm(2256): Candidate: Landroid/content/res/AssetManager;.[COLOR="Red"]setConfiguration:(IILjava/lang/String;IIIIIIIIIIIIIII)V
[/COLOR]
Line 1980: 01-01 02:18:43.531: E/dalvikvm(2256): JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager'; aborting...

Line 1998: 01-01 02:18:43.531: E/dalvikvm(2256): VM aborting

Line 2177: 01-01 02:18:43.976: E/MediaPlayerFactory(2260): ca

The highlighted method above (line 1979) looks to be whats causing your loop, compare a stock AssetManager.smali to yours and see if any of the surrounding code is noticeably different. You can use a program like Winmerge to diff the files.

But, throughout your logs, all the errors I see repeat

Line 4190: 01-01 02:19:07.867: E/ti_hwc(3693): Framebuffer HAL not opened before HWC
Line 4191: 01-01 02:19:07.867: E/SurfaceFlinger(3693): composer device failed to initialize (Bad address)
Line 4192: 01-01 02:19:07.867: E/SurfaceFlinger(3693): ERROR: failed to open framebuffer (Not a typewriter), aborting
Line 4369: 01-01 02:19:08.523: E/dalvikvm(3699): ERROR: couldn't find native method
Line 4370: 01-01 02:19:08.523: E/dalvikvm(3699): Requested: Landroid/content/res/AssetManager;.setConfiguration:(IILjava/lang/String;IIIIIIIIIIIIII)V
Line 4371: 01-01 02:19:08.523: E/dalvikvm(3699): Candidate: Landroid/content/res/AssetManager;.setConfiguration:(IILjava/lang/String;IIIIIIIIIIIIIII)V
Line 4372: 01-01 02:19:08.523: E/dalvikvm(3699): JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager'; aborting...
Line 4390: 01-01 02:19:08.531: E/dalvikvm(3699): VM aborting
Line 4569: 01-01 02:19:09.007: E/MediaPlayerFactory(3703): calling dlopen on FACTORY_LIB
[COLOR="Blue"]Line 4570: 01-01 02:19:09.007: E/MediaPlayerFactory(3703): Failed to open FACTORY_LIB Error : dlopen failed: library "libdashplayer.so" not found [/COLOR]
Line 4602: 01-01 02:19:09.054: E/MonoPipe(3703): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional

Highlighted in blue is a library file that you're missing as well, so grab that from a ROM that has it :good:
[XDA-University] youngchaos:
I have not the updater-script for now i'm at my family home not mine , but it worked good since at first boot everything working? Not?

By the way , the model i try to port is Coolpad 9976A and the rom is Coolpad Coollife UI 5.5 to my ZP998 they're actually very similar.

I used a chinese tool to deodex MTK6592 and it went successfully since i deodexed correctly my Stock Rom (zp998) and 2 others mtk6592 rom.

For the port i did 2 folders -> Stock (my zp998 rom) and Port ( coollife 5.5) , first of all i edited the boot.img , putting stock zimage into ported boot.img one , then i replaced from stock to port -> system/etc/firmwares folder , ppp folder , wifi folder , vold.fstab , then i replaced system/lib/modules , lib/hw , and the libaudio*so . I also tried just to edit the boot.img and don't touch the libs/system files and always same result... i think i'm missing something but i really cannot get it.. i can give you a link to coollife 5.5 rom just to take a look to her if you want..
[XDA-University] Stryke_the_Orc:
I'd appreciate it, can you also link me to a stock ROM for your device?

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Rainca:
awesome
[XDA-University] Bashar Jarad:
Thank you let me see if i can do it :D

---------- Post added at 05:26 PM ---------- Previous post was at 05:16 PM ----------

Please do you know where i can find libdashplayer.so

I didn't find it in I9100

---------- Post added at 05:41 PM ---------- Previous post was at 05:26 PM ----------

@Stryke_the_Orc how can i compare Aseenmanager.Smali

If you can help me ?:D
[XDA-University] Stryke_the_Orc:
The so file you should be able to get from either a stock ROM or the port, if you want to diff files use Winmerge it's got a free version, just google it as I'm mobile and at work[emoji46]

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Bashar Jarad:
Thank you the so file can i have it from stock ICS or JB Rom for I9100g or what is the port that i can have it from

And to diff files is it easy ?

Thank you again for your interest :)
[XDA-University] Stryke_the_Orc:
The .so file should be for whatever version of android you're working with. If you're porting something from another device it should be from that device (ie... You want to port Jellybean from a Sony device to a Samsung device, you would want the .so file from the Sony device; or, you want to create a custom ROM based on Jellybean for your device, but that file was somehow deleted, grab a stock ROM for your device and get the .so)

Diffing files isn't overly hard,

but

you need to be able to understand what you're looking at... [MENTION=3065070]Goldie[/MENTION] has created a very helpful thread on understanding smali, I'd take a look at that if you have never worked with it before.
[XDA-University] Bashar Jarad:
You are great man really thank you:victory:

I will try and learn and if i need any thing i will ask you :angel:
[XDA-University] avirk:
Comparing is easy using winmerge but you will find it difficult if you're new to it I'll recommend you to use n++ and download a plugin named Comare and then open both smali using n++ and just use compare plugin and you will got every difference.
[XDA-University] Bashar Jarad:
Thank you ..you are right i am new :p but i will learn
[XDA-University] desalesouche:
3.4 kernel

hi sir. hope you're ok.

i could port a 3.4 kernel for my device.

it is booting and we could implemente touchscreen...

but just a few seconds after device boot, it freeze then reboot...

here is the log i could get...

http://pastebin.com/1fvGzzxZ

thank you for your help.

regards
[XDA-University] thesoldier:
Okay, so I have a big problem with WiFi on KitKat on my VZW galaxy s4. Basically, WiFi will eventually crash and restart after a few minutes, but it will cause a BSOD with the screen off. I notice the WiFi symbol shows the up arrow (sending data?) flashing, but never the down arrow (receiving data?) if it happens while I'm using the phone. The phone gets very laggy and my capacitive buttons become unresponsive until WiFi finally shuts off and restarts. When it happens with the screen off, the lockscreen will show once, but it will be completely unresponsive. When the screen goes off it won't wake again, usually requiring a battery pull.

I've tried nearly everything, AOSP, TW, countless ROMs, radios, it only seems to happen on KitKat and I can't find out why. I'm phone has an MDK bootloader using the Loki exploit if it matters. I've only encountered one person with the same problem, and neither of us can figure it out.

I'm looking for anything related to WiFi crashing, but I'm not very familiar with logcats, if anyone could help out or tell me what to look for that would be awesome.

Here's a link to a logcat I pulled: http://pastebin.com/bPwN0mJH

and a link to dmesg: http://pastebin.com/NhdaA2f7

and to last_kmsg: part1: http://pastebin.com/rRxV78Fy part 2: http://pastebin.com/pJjcsK8T
[XDA-University] Stryke_the_Orc:
When you update to Kit Kat are you also updating your modem? If not, that could be the cause of your problems.
[XDA-University] thesoldier:
Previously no because no OTA was available past 4.3 on VZW. They then released 4.4 and I updated the modem along with flashing a stock 4.4 ROM, but still have the issue. The thing is so many others run 4.4 without issue and I can't figure out why.
[XDA-University] Stryke_the_Orc:
OK, I'll grab your logs tomorrow and see if I find anything.

Orc territory. Trolls not welcome!
[XDA-University] Stryke_the_Orc:
I'll grab your logs tomorrow as well and see if I find anything.

Orc territory. Trolls not welcome!
[XDA-University] desalesouche:
may i add two more?

http://pastebin.com/8QYYJAi5

http://pastebin.com/c0N6Epcc

thanks and take your time sir...

regards
[XDA-University] ilbarone87:
I have a problem on kitakt when i switch from photo to recorder feature in camera app. The problem should be at these lines 258-261 http://pastebin.com/Gu3Fsshg

What could i do?
[XDA-University] Mikyno:
Guys I ported AirCommand on my Note 10.1 2012 edition and unlocked some settings of spen. When I want to choose what to do when extracting the pen I get FC. This is the part of the logcat that I found interesting. Can anyone point me in the right direction? I see Pendetachementoption.java but I have only pendetachementoption.smali in secsettings.apk/com/samsung/android.

Hope someone can help me :)

http://pastebin.com/WAy8Ycv3
[XDA-University] Goldie:
You have nullpointer in oncreate of that smali. Could be many things. Have a look at the method and see what its doing
[XDA-University] Mikyno:
Thanks man but as I don't know where to put my hands, can you simplify this XD? Thanks
[XDA-University] Goldie:
In that file there is a method called oncreate. You need to look what is being called there because something is coming back as null
[XDA-University] android.zealot.fervor:
lockscreen wallpaper issue.

I ported galaxy S4's launcher to Galaxy s2 plus but i'm facing a problem that is ,when i try to change lockscreen wallpaper from homescreen it gives me fc. Please help me OP or any other to resolve this issue. I shall be highly thankful and grateful.

Here's the download link of my logcat : http://d-h.st/oM5

---------- Post added at 08:14 AM ---------- Previous post was at 07:22 AM ----------

@Goldie help me plzzzzz sir
[XDA-University] Stryke_the_Orc:
Actually, this looks to be your issue:

F/ActivityManager( 555): Service ServiceRecord{42423890 u0 com.android.camera2/
com.android.camera.MediaSaveService} in process ProcessRecord{41c49120 5813:com.
android.camera2/u0a26} not same as in map: null

Is this a ported camera, stock, or third party app? One you did yourself, or included in a ROM?

You'll need to compare the code to a working camera so you can see where the paths got mapped wrong.
[XDA-University] ilbarone87:
Stock camera, taken from cyanogenmod repos for ParanoidAndroid rom.

Inviato dal mio One S utilizzando Tapatalk
[XDA-University] Stryke_the_Orc:
How exactly did you get this log? There is nothing there relating to your problems:confused:
[XDA-University] Mikyno:
Thanks. I only see this one (using notepad++ to search the method) :

.method public onCreate(Landroid/os/Bundle;)V

.locals 5

.param p1, "savedInstanceState" # Landroid/os/Bundle;

.prologue

const/4 v4, 0x0

.line 212

invoke-super {p0, p1}, Lcom/android/settings/SettingsPreferenceFragment;->onCreate(Landroid/os/Bundle;)V

Don't see anything strange but I am a noob so hope you can point me :D
[XDA-University] lacoursiere18:
Hey [MENTION=3053298]Stryke_the_Orc[/MENTION]

I successfully ported 4.4.2 to the Verizon Note 2... Well some what.. I was seeing if you could take peak at this log for me.. Trying to send SMS and MMS..

SMS FAILS right away

MMS takes awhile then returns with invalid address..Might be a apn fix for that

Would really appreciate it! I still don't have enough knowledge reading these things when there are no FC's or things of the matter... Thank again!

LOG:

http://www.androidfilehost.com/?fid=23487008491964676
[XDA-University] Stryke_the_Orc:
I'll grab it shortly and take a look, but my guess would be apns like you said.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] micro100:
Problem with porting Shealth

I wanted to port Shealth from the S5 to a LG Device with Android 4.4.

But when i want to open the app it gives me a FC.

Here is the logcat:

http://pastebin.com/Hfq43i2g

05-19 18:19:55.513 E/AndroidRuntime(10932): Process: com.sec.android.app.shealth, PID: 10932

05-19 18:19:55.513 E/AndroidRuntime(10932): at com.sec.android.app.shealth.firstbeat.repository.FirstbeatContentProvider.onCreate(FirstbeatContentProvider.java:81)

The file where the error came from is attached.

Whats the Problem in this file?
[XDA-University] Nasheich Xfiles:
[MENTION=3053298]Stryke_the_Orc[/MENTION]

Hello Sir, i just ported port AOSB rom to my device(LG L9), but i got fc on camera, here is the logcat, i hope you can help me,

Thank you

05-20 18:09:35.189 E/CameraHal(158): (40129154) hardware/ti/omap4xxx/camera/CameraHal.cpp:2887 sendCommand - Preview is not running

05-20 18:09:35.189 E/CameraHal(158): (4007ba28) hardware/ti/omap4xxx/camera/BaseCameraAdapter.cpp:1794 setState - Adapter state switch INTIALIZED_STATE Invalid Op! event = CAMERA_STOP_IMAGE_CAPTURE

05-20 18:09:35.197 E/AndroidRuntime(10706): FATAL EXCEPTION: Camera Handler Thread

05-20 18:09:35.197 E/AndroidRuntime(10706): Process: com.android.camera2, PID: 10706

05-20 18:09:35.197 E/AndroidRuntime(10706):	at android.hardware.Camera.enableFocusMoveCallback(Native Method)

05-20 18:09:35.197 E/AndroidRuntime(10706):	at android.hardware.Camera.setAutoFocusMoveCallback(Camera.java:1181)

05-20 18:09:35.197 E/AndroidRuntime(10706):	at com.android.camera.AndroidCameraManagerImpl$CameraHandler.setAutoFocusMoveCallback(AndroidCameraManagerImpl.java:148)

05-20 18:09:35.197 E/AndroidRuntime(10706):	at com.android.camera.AndroidCameraManagerImpl$CameraHandler.handleMessage(AndroidCameraManagerImpl.java:286)

05-20 18:09:35.197 W/ActivityManager(544): Force finishing activity com.android.camera2/com.android.camera.CameraLauncher

05-20 18:09:36.009 W/ActivityManager(544): Activity pause timeout for ActivityRecord{41a432e8 u0 com.android.camera2/com.android.camera.CameraLauncher t21 f}

05-20 18:09:37.259 F/ActivityManager(544): Service ServiceRecord{4265a448 u0 com.android.camera2/com.android.camera.MediaSaveService} in process ProcessRecord{41a6bb28 10706:com.android.camera2/u0a29} not same as in map: null
[XDA-University] Stryke_the_Orc:
I'll try to get to these tonight guys.
[XDA-University] Goldie:
Read the log buddy this one is pretty obvious....

05-19 18:19:55.473 I/dalvikvm(10932): Could not find method android.util.Log.secD, referenced from method com.sec.android.app.shealth.SHealthApplication.l

You have missing methods in log.smali in framework2.jar

You will find a lot of this. Im guessing Shealth isnt an easy app to port as it will be embedded in the framework
[XDA-University] micro100:
Ok thank you

Do you think its hard to port the whole galaxy S5 rom with this Guide? http://xdaforums.com/showthread.php?t=2245786

Gesendet von meinem LG-E986 mit Tapatalk
[XDA-University] tdunham:
It is pretty difficult to port a rom that does not have similar hardware especially across carriers. I wouldn't recommend it unless you have a lot of experience with the Android OS and recovery procedures for your phone if things don't go well.

---------- Post added at 03:24 PM ---------- Previous post was at 03:20 PM ----------

Also, this was addressed in the thread you posted under part 1:

I. What you need
[XDA-University] lacoursiere18:
Got MMS working but SMS still fail.. I imported most of the telephony-common.jar from Verizon into the port but still no luck.

I and also someone that is helping me thinks it might bc of the libril.so and possibly the libsecril.so but without a cdma version on 4.4.2 out.. pretty much stuck..:rolleyes:
[XDA-University] tdunham:
I wonder if those files can be taken from the Sprint 4.4.2 releases like from the Galaxy SIII or the Galaxy S5. I know Verizon users use some of our custom roms.

Stock Deodexed Galaxy SIII Touchwiz 4.4.2

Stock Deodexed Galaxy S5 Touchwiz 4.4.2
[XDA-University] lacoursiere18:
I tried using 4.3 but was pretty certain they would not work.. my next step was the Verizon s4 files... but I will dl all them and give them all a go..nothing really to loose. That is the last thing not working..:rolleyes:

Thanks for the response btw!
[XDA-University] tdunham:
I understand. Those links are real 4.4.2 Touchwiz releases. The S3 just got OTA about 3 weeks ago and the S5 came with 4.4.2 stock. Hopefully you can rip something to get yours working. Good luck.
[XDA-University] Mikyno:
Hi guys. I am trying to port smartclip from Note 2014 to Note 2012. The logcat is

Can you help me ?

Do you think there's something in system/framework missing ?
[XDA-University] Goldie:
You need to look at the method....applySuggestionAppInfo. There is null pointer there. Could be all sorts of stuff. You need to look whats there
[XDA-University] Stryke_the_Orc:
Can you provide more of the log? The highlighted code above shows the process ID that is failing, but there doesn't seem to be a reason why.
[XDA-University] Stryke_the_Orc:
Well, I would say your biggest issue at the moment is the Fatal Error

05-22 08:25:56.874 F/ActivityManager(659): Service ServiceRecord{420018f8 u0 com.android.camera2/com.android.camera.MediaSaveService} in process ProcessRecord{41dd8b58 6700:com.android.camera2/u0a29} not same as in map: null

The processes are looking for something that doesn't exist. this would be a smali edit to fix.
[XDA-University] Nasheich Xfiles:
Thank you, Sir...
[XDA-University] ChinmayKunkikar:
[MENTION=3053298]Stryke_the_Orc[/MENTION]

I'm trying to port Smart call handeling from Xperia Z2 to Xperia Sola (4.1)

I get FC while reciving any call after enabling it.

I've recorded its LogCat and I've pasted all of it in pastebin.

Here is the link - http://pastebin.com/rgzdb2da

Can you (or anyone else) help me out?
[XDA-University] Goldie:
Missing lib i guess...

E/JavaBinder( 4067): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load mfs: findLibrary returned null

...called from....

E/JavaBinder( 4067): at com.sonymobile.intelligent.iengine.DefaultClassifyAlgorithm.<clinit>(DefaultClassifyAlgorithm.java:51)
[XDA-University] ChinmayKunkikar:
Which lib exactly is missing you think from this log?

Sorry but I'm a bit noob in these things. :)
[XDA-University] Goldie:
You should look in that method and see
[XDA-University] ChinmayKunkikar:
A method!

Okay Thanks I'll look into. :)
[XDA-University] desalesouche:
radio fm logcat

hi sir and all!

i am trying one more time to get fm radio working on my device....

i have two logcats...

it seem there is improvement between the first log and the second...

if you can confirm?

please sir, if you can point me also in errors i should solve.

thank you very much...

http://www.mediafire.com/view/o5y9bx4aaxzh3lg/log

http://www.mediafire.com/view/rmaj356am1farkb/log2
[XDA-University] fire_z:
Ported Color Os Stuck on Boot Animation

I'm trying to port Color Os to my 4.2.2 device but I'm stuck with the boot animation...

Can someone take a look at my logcat and suggest a fix? Thank you very much
[XDA-University] prof123:
Please how do I install Android SDK on the root of my computer?
[XDA-University] Deadly:
You can find an installer which does that job. there are many guides on how to install sdk. you can search it. also please never quote a first post or any lengthy post while posting. or atleast add them in hide tags to make thread more readable.
[XDA-University] Stryke_the_Orc:
After the SDK is downloaded, unzipping it to the C:\ drive (if you're running windows) is the root directory of your PC, Linux you'd just unzip it to your / directory from terminal (needs su permissions I think, as I don't believe it's granted write permissions by default in some distros) you can also extract it to the home directory in Linux.
[XDA-University] prof123:
Thanks...just getting to understand the forum.
[XDA-University] abo hani:
3 Bugs Fixed ...

New Bug UnFixed :|

Back Bro :D , Fixed A Lot of Bugs , then had this one and really didnt know what to do , i had a lot of errors like "blabla bla at blablabla" All the same , but i saw this error the the top of the error .

"E/AndroidRuntime( 2871): java.lang.RuntimeException: Unable to instantiate application com.sonymobile.home.HomeApplication: java.lang.ClassNotFoundException: com.sonymobile.home.HomeApplication"

But i really didnt know what to do :| o opened that file in Home/Smali ... then what ?

Thanks in advance :)
[XDA-University] lacoursiere18:
Look at that path..."com.sonymobile.home.HomeApplication" there is something in there that is being called and it can't find so your missing in that method.. Also if you post the full log maybe we can help you a little more..
[XDA-University] lols21.10:
I am building cm10.2 from source for Samsung grand quattro can someone tell me whats the error in device tree does not boot but i was able o pull logcat :

http://dl-1.va.us.xda-developers.com/2/7/5/9/0/3/2/cm_log.txt?key=QqdwkK-MdtIJsU4Nt1Q26A&ts=1402127135
[XDA-University] Nasheich Xfiles:
GPS Dead

[MENTION=3053298]Stryke_the_Orc[/MENTION]

Hello Sir, sorry if I bothering you, I just wanna ask about GPS, do you how to fix the GPS ?

my GPS in my ROM ported looks dead, can't see/get any satellites, even 1 satellite,

logcat doesn't show error/warn

here is the log

gps_ril_at_init:278: 3GPP AT-command CP socket not connecting well. This will retry after 1 second.

06-07 17:26:47.315 D/gps_BRCM(526): gps_ril_at_init:278: 3GPP AT-command CP socket not connecting well. This will retry after 1 second.

06-07 17:26:47.346 D/gps_BRCM(526): gps_ril_at_init:278: 3GPP AT-command CP socket not connecting well. This will retry after 1 second.

06-07 17:26:48.315 D/gps_BRCM(526): gps_ril_at_init:278: 3GPP AT-command CP socket not connecting well. This will retry after 1 second.

06-07 17:26:48.346 D/gps_BRCM(526): gps_ril_at_init:278: 3GPP AT-command CP socket
[XDA-University] lacoursiere18:
Can you post a full log? What device are you running? My team and I have came across similar issue on Sammy roms and made a fix.. so post the full log and device please..
[XDA-University] Nasheich Xfiles:
Here is the logs, there are two logs,

1. Full with Debug and info

2. Just error and warn

My Device is LG L9 P765, I ported 3 roms

1. OMNI from Samsung Galaxy Tab 2(p3100)

2. SlimKat and Paranoid Android Motorola Droid Razr(umts-syder)

GPS dead in all roms, I used my own guide to porting..
[XDA-University] lacoursiere18:
I am more familiar with porting manufacturer roms.. never ported AOSP. .so I was looking over your guide.. I saw that you did not mention some files that are related to gps.. here is a list of them that I take and their locations.. (like i said, never ported a AOSP based rom..so these may or may not be in there)

system/etc: gps.conf

system/lib/hw: gps.default.so & gps.goldfish.so

system/lib: libgps.utils.so

I saw that you did include the bender folder.. I know when porting international roms there are some key libraries in there.. the libqmi's are key..

I don't believe parandroid or Omnirom have bender folders..

Let me know if that helps.. I haven't taken a look at your log yet.. probably Monday when I can jump on a computer
[XDA-University] Nasheich Xfiles:
Yes, I didn't, cause I'm still don't how to fix it...

Still not help me, Sir

I've changed gps.conf but GPS still not work, and in folder lib, there's no lib with "GPS" name(except in lib/hw), so I don't know which libs relating to GPS,

Please help me, cause GPS is 1 of important things...

Edit :

what did you do to make GPS works while porting manufacturer ROM ?

maybe it will help me to fix GPS while I porting custom ROM too...
[XDA-University] lacoursiere18:
I looked through the logs.. I do not see what the problem is.. Maybe someone else can identify what is going on here:

06-07 21:49:38.166 D/gps_BRCM(526): gps_ril_at_init:278: 3GPP AT-command CP socket not connecting well. This will retry after 1 second.

Not sure what that refers too..
[XDA-University] Stryke_the_Orc:
Just a guess, but I'd look at these:

Line 304: 06-07 18:35:45.250 E/LocationManagerService(526): no geocoder provider found
Line 305: 06-07 18:35:45.257 E/LocationManagerService(526): No FusedProvider found.
Line 306: 06-07 18:35:45.265 E/LocationManagerService(526): no geofence provider found

Look for methods and dependencies in LocationManagerService, I'd bet there's a large discrepancy there.