yashsingh1/xdaforums huggingface dataset:
[Android General] nikkali25:
little help.cant find that apk in my base and port.

06-06 13:23:48.914 4445 4445 E dex2oat : <SS>: oat location is not valid /data/dalvik-cache/arm/system@framework@saiv.jar@classes.dex

06-06 13:23:48.926 3702 3702 E art : DexFile_getDexOptNeeded file '/system/app/secimshttpgba/secimshttpgba.apk' does not exist

06-06 13:23:49.325 4465 4465 E dex2oat : <SS>: oat location is not valid /data/dalvik-cache/arm/system@framework@javax.obex.jar@classes.dex

06-06 13:23:49.594 4436 4450 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 4450 (AudioOut_D)

06-06 13:23:49.611 4474 4474 E dex2oat : <SS>: oat location is not valid /data/dalvik-cache/arm/system@framework@secmediarecorder.jar@classes.dex

06-06 13:23:49.626 4483 4483 E : debuggerd: Unable to connect to activity manager (connect failed: Connection refused)
[Android General] corsicanu:
I think your real problem is that audio out error. Try to get full log and look around these two lines to see more detailed info.

F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 4450 (AudioOut_D)
...
E : debuggerd: Unable to connect to activity manager (connect failed: Connection refused)
[Android General] nikkali25:
here it is my full log,.please make .zip to .txt

anyway thanks for helping
[Android General] ChrisLeCazak22:
does anyone can make a video how to do that ? its very hard
[Android General] Kill-Switch:
Well It's supposed to be hard mate, Who said it will be easy ?

Learn How to read logs, learn how to read smali, Then U R ready to go :o

Have Fun;)
[Android General] malbert16442:
As stated before you need knowledge on android before you work on this
[Android General] AbrahamGC:
little help please :eek:

I have this error :

java.lang.UnsatisfiedLinkError: No implementation found for boolean android.os.Process.isCpusetEnabled()

I searched for isCpusetEnabled in android\os\Process.smali and only have 1 result :

.method public static final native isCpusetEnabled()Z
.end method

And when i removed the method :

E System : java.lang.NoSuchMethodError: No static method isCpusetEnabled()Z in class Landroid/os/Process;

In stock file no exists this method.

Thanks in advancee :good:
[Android General] ananjaser1211:
You dont DELETE the method, You NULL it

Like this

.method public static final isCpusetEnabled()Z
.locals 1

const/4 v0, 0x0

return v0
.end method
[Android General] AbrahamGC:
Finally when I disabled signature verification I don't have this issue and can continue fixing other errors. Thanks for answer bro
[Android General] AbrahamGC:
another error that i can't fix :D

in logcat i have this :

E System : java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/server/wm/WindowManagerService;

Ok i take the file from stock, now i have this:

java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.showBootMessage(java.lang.CharSequence, boolean)' on a null object reference

I've taken a look in other port for my phone and WindowManagerService doesn't exists so i think don't need to add file from stock. Thanks :good:
[Android General] Tisenoiazei100:
Keep your modded services.jar in a folder, add ports services.jar, replace libandroid_servers.so inside lib folder with port one (Remember to keep a backup) and test.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] AbrahamGC:
Ok I doed, now I have old errors that i already fixed in modded services, but curiously without changing libandroid_servers.so the first error are in AssetManager, and if i replace libandroid_services like now, first error are in KnoxVpnPacProcessor.

What I need to do now??? try to fix errors with replaced libandroid + services or revert changes? Thx for answer :good:
[Android General] ananjaser1211:
You messed something up , make sure you are using stock rom as a base and only change the following

only change etc/floating_feature , etc/mapconprovidor , etc/fonts.xml , etc/epdg_apns_conf.xml

Dont touch permissions just yet.
[Android General] Tisenoiazei100:
So you replaced libandroid_servers.so and services.jar, right? Give a logcat of what it says

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] AbrahamGC:
Now i returned to stock cuz I only have this phone and can't use for port all time, but i saved all progress :crying:

When i changed libandroid_servers.so and services.jar i have error in method KnoxVpnPacProcessor, after fix this, TimaService, TADriver and now another time error in isCpusetEnabled, last time fixed when i removed signature verification, but now i can't fix. Other user says i need to null it, but apktool returns error in smali cuz a native method can't have instructions.

Im thinking in start again, surely i forgot some things.

Thanks for answering :D
[Android General] ananjaser1211:
Try to null from schedpolicymanager in services jar , and framework / process
[Android General] malbert16442:
only the null in schedpolicymanager is needed
[Android General] AbrahamGC:
right, removed line that contains invoke and don't needed to remove from any other file, thxxx :good:
[Android General] ananjaser1211:
My mistake, i did them in both.
[Android General] Anirban Ganguly:
Hii..malbert bro..can u make a guide for how to add multiwindow support in S5 mini...s5 mini doesn't have multiwindow support in framework.jar so we need to add some codes to fix it...can u make a thread about it..it will help me alot...plz bro
[Android General] AbrahamGC:
finally i've full ported A5 2016 (A510F) to J1 mini (J105H) :cool: :cool:

I fixed all errors that I see, but i stilled here and it's a big problem cuz without TouchWiz the phone can't load all theme icons and i don't have icon for My files, gallery, contacts FC (can't load theme), etc...

In logcat i only see this, but i haven't idea what is the solution :

E/AndroidRuntime( 4854): java.lang.RuntimeException: Unable to create application com.android.launcher2.LauncherApplication: android.content.res.Resources$NotFoundException: Resource ID #0x7f020080
[Android General] Tisenoiazei100:
What base are you using??

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] AbrahamGC:
stock A5 2016 to stock J1 Mini, Lollipop 5.1
[Android General] Tisenoiazei100:
Well due to device being so small (in dpi) some icons are not made for small screens. In build.prop change ro.build.aapt.config.prefer with A5 2016 one.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] AbrahamGC:
not works... i'm making this port only for try, so if not works, no problem :angel: . Next time i will try to port other rom to my device (j710), but idk why it's more difficult to boot rom in j710 than on j105.

:good:
[Android General] ananjaser1211:
Guys quick question, Other than kernel support, what do we need to run Private Mode instead of Secure Folder ?
[Android General] thereassaad:
Only privatemode folder from stock framework.jar/smali_classes3/com/samsung/android/privatemode just replaced ur stock smali with on this folder ...
[Android General] corsicanu:
You will need also settings edit for private mode to show up and some QSDatabaseUtils edit for private mode toggle to show up too. And ofcourse, personalpageservice.apk to be patched for secure storage. Cheers!
[Android General] Duron23:
Hi,

Can somebody point me in right direction to port only Samsung audio to Lineage OS 14.1. The reason I want to do this is enjoy Hi-Res Audio in Lineage using PowerAmp Alpha build 703.
[Android General] nikkali25:
delete
[Android General] thereassaad:
I know mate this for roms that doesn't has private mode like s8 but for the others is just what i said above as what i did all times ...
[Android General] mohitmallick17:
it really helped me

---------- Post added at 01:40 PM ---------- Previous post was at 01:40 PM ----------

ur owsome buddy
[Android General] :
[MENTION=7993373]Tisenoiazei100[/MENTION] hi

So since i can't port from J5 2016 whole system (com.android.phone fc, and also recently it doesnt even show setup wizard + reboot after some seconds) i want to try to port on top of stock 5.1.1. Last time i tried that, i tried to port J5 2016, but after 40 edits i gave up. So can you give me some tips? Maybe this time i will have more luck since im more pro, i know how to compare, nullify etc
[Android General] AbrahamGC:
40 edits??? [emoji43]

For com.android.phone FC use libselinux.so from port
[Android General] :
no bro, i tried that, i tried MANY MANY other things and i dont want to do it anyway. i wanna try porting on top of stock again
[Android General] Tisenoiazei100:
This time add J5 2016 libandroid_servers.so. It contains the 90% of all the required registers for services.jar. Now itll ask you mostly for framework.jar replacements but com.android.phone crash will not get fixed afaik.
[Android General] :
ok, i will actually port note 5 with stock j5 2015 base.. still put that lib, right?
[Android General] Tisenoiazei100:
Right.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
i got this unknown error

https://pastebin.com/Z2xz7kWd
[Android General] Tisenoiazei100:
Replace stock libandroid_runtime.so with port ones. Remember! ROM might get stuck on J5 splash screen

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
yeah it got stuck

EDIT: yeah.. that moment when you want to port 5.1.1 but you see ro.build.version.release=6.0.1

well that explains it..
[Android General] :
Ok, now a little bit better. But, now i have this problem

dlopen("/system/lib/libandroid_servers.so", RTLD_LAZY) failed: dlopen failed: cannot locate symbol "_Z13base64_encodePhjPcPj" referenced by "libtlc_spay.so"...

Before that i added all note 5 missing libs because it needed them
[Android General] Tisenoiazei100:
Ok what that means is that an existing lib which in your case is "libtlc_spay.so" is missing a method. Replace that lib with N5 one.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
that is exactly from n5

Could it be because i added some jars from j5 (it reported that they are missing so i worried)
[Android General] Tisenoiazei100:
By using fileseek, search which lib(N5 and J5), contains "_Z13base64_encodePhjPcPj"

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
in j5 libs i found that in libtlc_tz_ccm and in libtlc_tz_keystore

in n5 i find it in libtlc_comm, libtlc_spay, libtlc_tz_ccm, libtlc_tz_dcm, libtlc_tc_keystore

remember, i have flashed mixed n5 and j5 libs, so i dont have any missing libs from n5

and also deleted exynos libs

ACTUALLY i fixed that by getting all tlc libs from note 5. Now a new error but i think i can fix it, its about android_servers can't find something in libinputservice, so i will replace again from n5, thanks

EDIT- ok, now after some more fixing im stuck on this

Didn't find class "com.samsung.android.smartface.SmartFaceService" on path: DexPathList[[zip file "/system/framework/services.jar", zip file "/system/framework/ethernet-service.jar", zip file "/system/framework/wifi-service.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]

i searched for smartface in libs with no avail, only in libandroid_server..
[Android General] Tisenoiazei100:
Have you done debloating??? Maybe you removed something related to SmartFaceService. Try to re-extract n5 system.img and check any Face related app. ;)

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
yep thats what i thought right now, doing it already. I deleted FaceService but idk about SmartFaceService. Anyway, i will add anything i see

Ok, this seems to be hard. I added FaceService from note 5 (that was the only face app) no. I tried adding smartfaceservice app from A3 2017 MM, no. I tried putting libs from n5 which had smartface in them, no. I tried putting the etc permission for smartface, no.
[Android General] Tisenoiazei100:
So smartfaceservice doesnt exist on N5 priv-app folder. Does it, at least exist on stock????

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
nope, not at all (i opened the ext4 itself so i havent deleted any apps) i also got all feature permissions from n5 but STILL no

I found in n5 services.jar that it has stuff regarding smartface but not on j5 one. What if i edit the smalis to skip searching for smartface? or its in libs

and in framework.jar same thing

I removed everything regarding smartface in framework, removed all smartface jars and permissions but NO. i guess i will port a5 2016 :D
[Android General] Tisenoiazei100:
Begin with A3 2016. More compatible with 720p resolution

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] akshi2000:
I need a little help. whenever i port any s series and note series exynos rom . it reboots after showing setup wizard and log say keystore.smali need migration and locksetting has a password . Help me

thanks!
[Android General] Tisenoiazei100:
Inside /data/log folder, do you get a file which contains the word "cause"?(i dont remember the name fully :b. I think it was pref_reset_cause). It contains why it rebooted from setupwizard.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] akshi2000:
okk bro i will see. btw you faced this? if yes how you you fixed it :D
[Android General] Tisenoiazei100:
Yes i faced that. The answer is inside that file.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] akshi2000:
okk bro thanks hope it works ?
[Android General] :
So i booted Galaxy E7 5.1.1 but i ahve 2 problems

1- Camera. I tried replacing many libs, cameradata folder, even getting j5 camera, j5 framework files but NO

2- Sound. When headphones arent plugged in, i get lag + no sound from speaker. When headphones are plugged though, no lag and sound works from everything.
[Android General] Tisenoiazei100:
E7 camera app is set to 13MP. J5 supports 8MP

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
LOL NO, j5 is 13 mp

so do you know how to fix it
[Android General] Tisenoiazei100:
No, never got that sorry. Are you maintaining a full port???

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
Don't quite 100% understand what do you mean by full port but maybe it is whole system. Yes it is the whole E7 system with some changes like

vendor folder from j5

etc (firmware,bluetooth,wifi, init files from j5)
[Android General] Tisenoiazei100:
Check what files you have to replace from here

https://github.com/skinzor/proprietary_vendor_samsung_j5nltexx?files=1

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
Thanks, i did that but it still didnt work. I will try to port a5 2016 on top of E7- I think SmartFaceSercvice is related to smart stay and E7 has that and it actually works, so hopefully i will have better luck this time
[Android General] Tisenoiazei100:
Ok...

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] :
Need help.

Any one knows about this log error

E AndroidRuntime: java.lang.UnsatisfiedLinkError: Failed to load SwiftKey SDK's native library "swiftkeysdk-java"
[Android General] unknown:
Hi

Can I port newer samsung ROM for lower android device ? :confused::confused:

My first device have 4.2.2 stock and i want to port 4.4.4 or newer :D:D

My second device have 4.4.4 stock and i want to port 5.1.1 or newer :D:D

Can i follow this guide ? :confused::confused::confused:
[Android General] unknown:
Any help ? :angel:
[Android General] Tisenoiazei100:
Its impossible with that guide to do this. Me with mitko tried booting Nougat using Marshmallow but it failed with dex. Also Kitkat has Dalvik and Lollipop has ART.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] unknown:
Why s3 neo developer can bring tw 6.0.1 when they have only 4.4.4 stock ? :confused::confused::confused:

I see they have newer tw kernel ( 5.1 and 6.0 ) :)

Any special guide ? :D

---------- Post added at 05:58 AM ---------- Previous post was at 05:46 AM ----------

Can you PM me ? :)
[Android General] RomWaiter:
Hi. Can you port a full ios rom for samsung galaxy s7580 ?
[Android General] Ticklefish:
iOS won't run on Android, I'm afraid. There have been attempts to convert it before but, since Apple keep a lot of the code to themselves, it's not possible.
[Android General] Tisenoiazei100:
You cant port full IOS. Maybe Darwin/XNU kernel but for doing this you need a bootloader which can boot FreeBSD or any BSD kernels. If you mean to port from a clone, try finding a clone firmware and test it out.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] RafaelRivero16:
Because s3neo grand2 and s5 mini has the same SOC, same snapdragon version, so they can easy port and build a rom for 3 of these devices. S5 mini has official lollipop and marshmallow which is why s3neo and grand2 can boot it too due to same snapdragon version
[Android General] unknown:
Ok . Can i port rom with different chipset ?

And how can old stuff ( s3 neo have 4.4.4 only ) can work on 6.0.1 and 5.1.1 ?

I have BCM21664 chipset phone . What phone i can port tw from ?
[Android General] Tisenoiazei100:
If you wanna cross-port you need to port from phone with Broadcom chipset.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] unknown:
I have both boardcom and msm . There is less boardcom device but a lot of msm device . Can i port exynos rom ??

---------- Post added at 02:10 PM ---------- Previous post was at 01:51 PM ----------

Theme ROM ? I already make it :o:o:o

Real IOS firmware ? Not impossible , but you need to write bootloader ( not normal bootloader , special bootloader like MAGDLR of [MENTION=600525]Cotulla[/MENTION] , and port IOS firmware ( or build ) ( Like the way [MENTION=600525]Cotulla[/MENTION] bring Window Phone and Android to HTC HD2 :D:D )

---------- Post added at 02:12 PM ---------- Previous post was at 02:10 PM ----------

What about window phone ??? :confused::confused:

Like [MENTION=600525]Cotulla[/MENTION] ?
[Android General] Tisenoiazei100:
You cant port Full Exynos ROM on Qcom or Bcom. For Windows Phone IDK

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] unknown:
I think exynos and bcom have some same

About qcom . I dont think about it . It is a lot of qcom device .Why i need to port from exynos ?
[Android General] Tisenoiazei100:
Open their ramdisks youll see why you cant.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk
[Android General] nikkali25:
help

hello sir,

I port and fix E art but seem icant dix the remaining Eart because I cant find in stock or in port.kindly help me please
[Android General] RafaelRivero16:
As i said it has to have the same SOC/chipset, the chip of s3neo and s5 mini is the same, bcuz samsung gave s5 mini 5.1.1 and 6.0.1 it is possible to port it to s3neo because of the same SOC.
[Android General] unknown:
I know :D:D
[Android General] tobi/:
correct me if i'm doin it wrong

---- 7 Jul 2017 14:33:41 ----

07-07 14:33:31.923 11306 11465 I ActivityManager: Start proc com.sec.android.inputmethod for service com.sec.android.inputmethod/.SamsungKeypad: pid=12601 uid=1000 gids={41000, 3003, 3002, 3001, 1028, 1015, 1023, 1007, 1001, 2001, 1024}

07-07 14:33:32.033 12601 12601 E AndroidRuntime: Process: com.sec.android.inputmethod, PID: 12601

07-07 14:33:33.585 11306 11465 I ActivityManager: Process com.sec.android.inputmethod (pid 12601) (adj 0) has died.(11,134)

07-07 14:33:33.585 11306 11465 W ActivityManager: Scheduling restart of crashed service com.sec.android.inputmethod/.SamsungKeypad in 1000ms

i hv been trying to port an app logcat reads so. just dealt with rest of the errors unable to get over this as i lack proper knowloge. just assuming that 'ids.xml' has to be edited (in framework apk) if anyone can help pls let me know wat i hv to do inorder to fix this

thanks
[Android General] nikkali25:
need help if someone is willing..

here is logcat..icant fix it.

beginning of crash

07-12 09:44:56.874 3821 3897 E AndroidRuntime: !@*** FATAL EXCEPTION IN SYSTEM PROCESS: android.ui

07-12 09:44:56.874 3821 3897 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ContentResolver android.content.Context.getContentResolver()' on a null object reference

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at com.android.server.policy.TspStateManager.createDebugObjectIfNeeded(TspStateManager.java:130)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at com.android.server.policy.TspStateManager.init(TspStateManager.java:151)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at com.android.server.policy.PhoneWindowManager.init(PhoneWindowManager.java)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at com.android.server.wm.WindowManagerService$4.run(WindowManagerService.java)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at android.os.Handler$BlockingRunnable.run(Handler.java)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at android.os.Handler.handleCallback(Handler.java)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at android.os.Looper.loop(Looper.java)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at android.os.HandlerThread.run(HandlerThread.java)

07-12 09:44:56.874 3821 3897 E AndroidRuntime:	at com.android.server.ServiceThread.run(ServiceThread.java)

07-12 09:44:57.037 3095 3095 E audit : type=1400 audit(1499852697.020:125): avc: denied { read } for pid=5145 comm="dumpstate" name=".version" dev="sda16" ino=6403 scontext=u:r:dumpstate:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=1 SEPF_SECMOBILE_7.0_0005

07-12 09:44:57.038 3095 3095 E audit : type=1400 audit(1499852697.020:126): avc: denied { open } for pid=5145 comm="dumpstate" path="/cache/recovery/.version" dev="sda16" ino=6403 scontext=u:r:dumpstate:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=1 SEPF_SECMOBILE_7.0_0005

07-12 09:44:57.107 5145 5145 E dumpstate: /data/misc/recovery: No such file or directory

07-12 09
[Android General] mitchde:
Markus, ru. ported samsung 210F to 320F, 6.0.1.

Near all working, minimal setting problem time cant be changed.

Question: When it bootes always green screen commimg up telling android apps started...

Takes only 2-3 sec then normal desktop is shown. It is not optimizing apps, no dalvik cache Thing.

What can that be?

Normally green app starts Screen nit shown, or?
[Android General] Tisenoiazei100:
Really nothing. It just ends bootanimation at the wrong place while its loading apps and services so you get the wrench/green screen.

Στάλθηκε από το SM-A310F μου χρησιμοποιώντας Tapatalk