yashsingh1/xdaforums huggingface dataset:
[Android General] leejunsong:
I getting 2 bug on my setting.. Help me fix this

03-30 17:29:06.297 12786 12786 E AndroidRuntime: Process: com.android.settings, PID: 12786

03-30 17:29:06.297 12786 12786 E AndroidRuntime: java.lang.RuntimeException: failed to set system property

03-30 17:29:06.297 12786 12786 E AndroidRuntime:	at android.os.SystemProperties.native_set(Native Method)

03-30 17:29:06.297 12786 12786 E AndroidRuntime:	at android.os.SystemProperties.set(SystemProperties.java:132)

03-30 17:29:06.297 12786 12786 E AndroidRuntime:	at com.android.settings.DevelopmentSettings.writeHardwareUiOptions(DevelopmentSettings.java:1244)

03-30 17:29:06.297 12786 12786 E AndroidRuntime:	at com.android.settings.DevelopmentSettings.onPreferenceTreeClick(DevelopmentSettings.java:1960)

03-30 17:29:06.297 12786 12786 E AndroidRuntime:	at com.android.settings.DevelopmentSettings.onPreferenceChange(DevelopmentSettings.java:2071)

&

03-30 17:27:53.267 12723 12723 E AndroidRuntime: Process: com.android.settings, PID: 12723

03-30 17:27:53.267 12723 12723 E AndroidRuntime: java.lang.RuntimeException: failed to set system property

03-30 17:27:53.267 12723 12723 E AndroidRuntime:	at android.os.SystemProperties.native_set(Native Method)

03-30 17:27:53.267 12723 12723 E AndroidRuntime:	at android.os.SystemProperties.set(SystemProperties.java:132)

03-30 17:27:53.267 12723 12723 E AndroidRuntime:	at com.android.settings.flipfont.FontWriter.writeLoc(FontWriter.java:96)

03-30 17:27:53.267 12723 12723 E AndroidRuntime:	at com.android.settings.FontPreview.onOkButtonPressed(FontPreview.java:1167)

03-30 17:27:53.267 12723 12723 E AndroidRuntime:	at com.android.settings.FontPreview.doneFontStyleOrFontSize(FontPreview.java:998)

03-30 17:27:53.267 12723 12723 E AndroidRuntime:	at com.android.settings.FontPreview.doneFontPreview(FontPreview.java:924)

03-30 17:27:53.267 12723 12723 E AndroidRuntime:	at com.android.settings.FontPreview.access$1000(FontPreview.java:80)

https://xdaforums.com/attachment.php?attachmentid=4094240&stc=1&d=1490870077
[Android General] grumpycoder100:
Is it also okay if I just do the steps where I'm supposed to remove app, priv-app, framework of BASE, and deodex PORT and copy app, priv-app and framework folders to BASE?
[Android General] Tisenoiazei100:
Do you remember if you've replaced anything related to "window" or "PhoneWindowManager"

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] akshi2000:
yes i replaced phonewindowmanager.smali and windowmanagerservice.smali after error but no luck
[Android General] Tisenoiazei100:
Have you replaced any smali named SystemPreporties.smali????

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

---------- Post added at 11:34 AM ---------- Previous post was at 11:30 AM ----------

I would like to inform you to test if your port libandroid_runtime.so works with your device. If it does replace also the other libandroid and libandroid_**** libs too. The reason I'm saying that is there are strict pieces of code in crashing smalis that just need libs like these above.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] grumpycoder100:
Finally made a port of A7 2017 firmware for my Note 3. Would like to thank everyone for helping me out all the way! Might consider on starting a thread, but for now I just want to enjoy it myself for a while. :) :)
[Android General] Tisenoiazei100:
Congrats ;) enjoy!

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] leejunsong:
Does not exist SystemPreporties.smali in my setting :crying: . i try Replace another lib but nothing changes
[Android General] cvo974:
Hi, i tried to port A7 rom for A5 and it worked :) But the screen mode are not working in Settings>Display>Screen Mode.

Anyways to fix? Thank you for reading.:o
[Android General] Tisenoiazei100:
If you explain me what screen mode is and what happens I mean (when you press screen mode, settings crash etc) maybe I can help

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] cvo974:
Hi, screen mode let you change with 4 mode of color on the screen (like more flashy color or less) When i press the option nothing happen, no crash. I tried a logcat but i didn't find in why it doesn't work. Hope you understand me with my english:(

Thank you for reading anyways:)
[Android General] Tisenoiazei100:
OK I u.derstood screen mode. My S3 Neo has that also nothing happens too...

http://cloud.tapatalk.com/s/58e0a1d81c754/Screenshot_2017-04-02-10-00-28.png?

I think that you need a display compatible with it or if you can send me a logcat ;)

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] cvo974:
It work on stock but in port no :( Maybe something missing?

There is logcat. One with only E and one normal.

The normal is too big so here is a link: https://drive.google.com/file/d/0BwNLc_Mf7sjQQXd4MVB4eHlTWU0/view?usp=sharing

Is it related to framework or boot.img? In stock custom it work but not in port.

(In my J7 2016 with A5 17 rom it work but i don't know what make it to work :confused:)
[Android General] :
Hi, so i want to take a shot at porting C9 Pro firmware. But i have 1 question- How to convert apps to 32 bit? One thought is to get the .odex file from 32 bit base, the other is to unpack every single app and put the 32 libs in it. Also, how about frameworks? How to convert them to 32 bit too?
[Android General] Tisenoiazei100:
Get SVADEODEXER and begin deadexing C9 rom. 64bit firmwares have lib and lib64 folders. Lib contain 32bit versions of the libs and Lib64 contains 64bit versions of the same libs so don't worry unless you port a high end firmware like S8 one ;)

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
Ok, thanks :D but i've made a really fast decision and decided to make a fast J2 Prime port. I have only 1 little question- J2 prime is 960x540 and j5 is 1280x720. Is it gonna work? I saw a J2 prime port for J7 which also has 720p.
[Android General] Tisenoiazei100:
It's gonna be fine

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] malbert16442:
Again please post logs to hastebin to remove thread clutter with logs . It's a annoying to see whole pages of logs
[Android General] :
Just to clarify, Once you have ported one Grace UX ROM from any device, you can port from all devices. I first ported from a3 2017, then a5 2017, and now finally j2 prime. Awesome guide :good::good:
[Android General] Tisenoiazei100:
Great job ?. For me I need to port On7 firmware and then port it part by part ?

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] leejunsong:
I get lag when i scroll launcher and bug : failed to connect to network . Logcat no say anything. :'( .

[IMG="https://xdaforums.com/attachment.php?attachmentid=4099798&stc=1&d=1491239667"]https://xdaforums.com/attachment.php?attachmentid=4099798&stc=1&d=1491239667[/IMG]
[Android General] Hamzatn:
make a tutorial video , PLZZ
[Android General] grumpycoder100:
Relax. It's not easy as mentioned by malbert to make a full guide to port ROMs. Editing the video and rendering it would also eat up a big chunk of time.

---------- Post added at 12:55 PM ---------- Previous post was at 12:53 PM ----------

Ah, anyways. Need some help here. So, I'm porting A520F firmware over to my Note 3(practice makes perfect XD) and I only have one error while flashing ROM.zip:

E: Error unable to execute updater binary in [zip file location]

Any thoughts/ideas? I thought of checking out updater-binary file to see if I could do anything but Notepad++ just gives symbols.. So.. yeah.
[Android General] akshi2000:
You should create Rom installer with Assayed'd kitchen. It will work in this case. This error maybe because of your updater-binary is corrupted.
[Android General] leejunsong:
anyone help me ? Please :rolleyes:
[Android General] infixremix:
It might be the kernel
[Android General] leejunsong:
No. just relate lib. because i try replace all lib of rom port then it working perfect, but about 10-20s device auto reboot:crying:

"Sr for my english"
[Android General] Tisenoiazei100:
Get a logcat and share here.

These errors might relate to vendors.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] leejunsong:
My logcat here https://drive.google.com/open?id=0B6T_mgPGnPIqYzhsTkM2WDJPYlU :)
[Android General] nikkali25:
is it work in android 7?
[Android General] grumpycoder100:
As long as your base and port are of same versions then it could be possible.
[Android General] nikkali25:
but i can not remove signature verification.
[Android General] grumpycoder100:
Try doing this:

https://xdaforums.com/showthread.php?t=2725233
[Android General] nikkali25:
I dont if it totally dis able signature..after that try to flash,it booted by only boot animation,then restart again.can you explain how to solve this.i think i lock one step,terminology
[Android General] Tisenoiazei100:
It has to do with SQLITE "afaik". I'll try to check a bit more later as I'm very busy now. Maybe you can try to find where it says "Shutting Down VM" then down its gonna say something...

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] Chinhai:
how to fix this

04-05 12:54:44.835 4284 4284 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for boolean android.os.Process.isCpusetEnabled() (tried Java_android_os_Process_isCpusetEnabled and Java_android_os_Process_isCpusetEnabled__)

see my my full log here https://hastebin.com/bujuxaqusu.vbs

ADD: is there any other erros to fix?
[Android General] Tisenoiazei100:
Download fileseek and check if any file in the ROM you are porting contains "isCpusetEnabled"

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] Chinhai:
it's in Process.smali and i deleted the method. After that the log said it needed it

here the new log https://hastebin.com/mozayelafa.vbs
[Android General] Tisenoiazei100:
Yes I know put this method back...

This problem comes when you port from different chipsets...

Do what I said above ;)

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] Chinhai:
fileseek shows libandroid_runtime.so so i need to copy that lib to my rom

BUT there're in lib and lib64. Should i only use the one in lib folder?
[Android General] Tisenoiazei100:
Only the lib one correct ?

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] grumpycoder100:
I fixed updater binary issue already, but my phone stays only at the splash screen for a very long time. Ideas?
[Android General] malbert16442:
I nullify this value it's really easy I'll show later
[Android General] malbert16442:
Or better yet I'll upload my services for you to see the value I put.
[Android General] phamcongduoc1992:
Thanks so much. Why didn't NFC work on note 4 SM-916s(Korean version) from rom port note 7 like DN7 BOOM or DN7 THR2

Gửi từ SM-N930F của tôi bằng cách sử dụng Tapatalk
[Android General] nikkali25:
need help guys..android 7 porting..please see if ive done correct corrupted signature

here is my logcat

https://pastebin.com/UDGfSBVk
[Android General] Tisenoiazei100:
Good but maybe you can say to people first to try replacing the lib it requires and if it doesn't work (stuck on splash screen etc.) Then they're gonna try nullifying the value. It makes things more stable ☺

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
guys, i really want to port nougat but i have mm bootloader, kernel, everything and no 32 bit libs. Although i think it may work with mm libs (they ported nougat for note 5 before it was released, right?). First tell me is it possible, and also if yes, i don't know from which device- N5 or S6, i think S6 because its older and who knows, it may have more 32 bit libs.
[Android General] Tisenoiazei100:
I think they ported from S6 which has the same chipset (I THINK!).

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
yeah, it has same chipset but s6 didnt have nougat update before note 5. so probably from s7. but i was dumb and i thought that they ported it with mm libs, but they dont need them as n5 is 64 bit. i still believe that i have some little chance with mm libs (also grace ux ones, so newer) do i need to take something out of lineage 14.1 or ?

and also, i ported a5 2017 without any massive problem (calendar and clock were only missing) it also has quite some 64 bit libs.
[Android General] Tisenoiazei100:
IDK. You need a nougat firmware from a closeby or identical device. And then a lot of luck is needed to make at least a successful port. Remember it's not only the ROM there might be some changes in kernel between Marshmallow and Nougat need to be checked. Your device is MSM8916 so maybe a low-end budget 2016/2017 Samsung device might get Nougat.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
ok, i will still try my best to do it. i will try to break the lead and get that nougat still :D i have a big hope
[Android General] grumpycoder100:
But why do most tutorials use CM as base ROM for porting?
[Android General] corsicanu:
Because those tutorials are for other devices or for aosp based, and probably this is the single one TW related. Try and see for yourself..
[Android General] Chinhai:
For example in this .method if the log says no implementation for nativeSetBlockKeys(JZ)V

.method public updateBlockKeysFromSettings()V
.locals 4

const/4 v0, 0x0

invoke-direct {p0, v0}, Lcom/android/server/input/InputManagerService;->getBlockKeysSetting(Z)Z

move-result v1

iput-boolean v1, p0, Lcom/android/server/input/InputManagerService;->mIsBlockKeys:Z

iget-wide v2, p0, Lcom/android/server/input/InputManagerService;->mPtr:J

iget-boolean v1, p0, Lcom/android/server/input/InputManagerService;->mIsBlockKeys:Z

if-eqz v1, :cond_0

const/4 v0, 0x1

:cond_0
invoke-static {v2, v3, v0}, Lcom/android/server/input/InputManagerService;->[COLOR="Red"]nativeSetBlockKeys(JZ)V[/COLOR]

return-void
.end method

how do we nullify the value
[Android General] Tisenoiazei100:
Due to CM being the cleanest AOSP-BASED ROM. You use CM as base only for AOSP roms like RR, AOSPA,Cosmic OS (you can do with miui, emui, vibeui, flymeos i think...). Other OEM'S add cr☆☆ on kernel and modify serious libs for their spywa.... *coughs* features.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
So, after i replaced like 5 libs (most of them were 32 bit already, yay) I have error that the frameworks aren't a incompatible version? Like that

04-06 20:48:06.393 20050 20050 W art : Failed to open .dex from file '/system/framework/sec_edm.jar': Failed to open dex file '/system/framework/sec_edm.jar' from memory: Unrecognized version number in /system/framework/sec_edm.jar: 0 3 7
[Android General] Tisenoiazei100:
Wait what's your base and port right now????

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
base is my a5 2017 rom, port is s6 firmware nougat
[Android General] Tisenoiazei100:
Interesting it gives logcat :/. Try to do proper build.prop edits and check again :). Maybe try to find a TW Nougat base from a midrange Samsung phone it's much cleaner from flagship ones.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
I edited original s6 build prop to match my processor, dpi and everything, same. And i dont think any midrange phones have nougat ports yet.. Could it be because i dirty flashed apps, frameworks and everything over my rom?
[Android General] Tisenoiazei100:
Maybe.....? Try better with clean base.....

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] malbert16442:
Use xcover 4 as base it's 32bit nougat use xsa or xsg csc as most apps are deodex.
[Android General] grumpycoder100:
Understood. Now does anyone mind helping me out in my problem? The one where my port sticks at the splash screen for a long time. :laugh: ?

Hang on: There's a tutorial that uses CM as base to port manufacturer ROMs(Touchwiz etc)

https://xdaforums.com/showthread.php?t=2245786
[Android General] laur.dr:
Anyone can help me with this?

04-07 15:35:20.770 3157 3157 E System : ******************************************
04-07 15:35:20.770 3157 3157 E System : ************ Failure starting system services

04-07 15:35:20.770 3157 3157 E System : java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.showBootMessage(java.lang.CharSequence, boolean)' on a null object reference

04-07 15:35:20.770 3157 3157 E System :	at com.android.server.am.ActivityManagerService.showBootMessage(ActivityManagerService.java)

04-07 15:35:20.770 3157 3157 E System :	at com.android.server.SystemServer.startOtherServices(SystemServer.java)

04-07 15:35:20.770 3157 3157 E System :	at com.android.server.SystemServer.run(SystemServer.java)

04-07 15:35:20.770 3157 3157 E System :	at com.android.server.SystemServer.main(SystemServer.java)

04-07 15:35:20.770 3157 3157 E System :	at java.lang.reflect.Method.invoke(Native Method)

04-07 15:35:20.770 3157 3157 E System :	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

04-07 15:35:20.770 3157 3157 E System :	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
04-07 11:18:40.130 9359 9359 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.showBootMessage(java.lang.CharSequence, boolean)' on a null object reference

04-07 11:18:40.130 9359 9359 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.showBootMessage(ActivityManagerService.java)

04-07 11:18:40.130 9359 9359 E AndroidRuntime:	at com.android.server.SystemServer.startOtherServices(SystemServer.java)

04-07 11:18:40.130 9359 9359 E AndroidRuntime:	at com.android.server.SystemServer.run(SystemServer.java)

04-07 11:18:40.130 9359 9359 E AndroidRuntime:	at com.android.server.SystemServer.main(SystemServer.java)

04-07 11:18:40.130 9359 9359 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)

04-07 11:18:40.130 9359 9359 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

04-07 11:18:40.130 9359 9359 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
[Android General] grumpycoder100:
Wow.. I just realized that these 2 steps are the only ones I need to do in order to port firmware.. Somehow I just knew this. I was busy looking and reading the different parts(to be honest, I learnt a lot from reading them) of the guide. This is true for me since I hate making modifications to a ported ROM. I like and absolutely prefer pure firmware ports. :)
[Android General] :
I tried with Xcover 4 port now- Same. I edited build.prop to the maximum i could, I copied missing libs, I even edited ramdisk (init.environ.rc) but nope. I get same error- incompatible framework version 0 3 7.
[Android General] umarmalikbest:
sir help me

i want to port note 3 rom in s2 for my s3 please guide me:p
[Android General] Tisenoiazei100:
Wait you wanna port note 3 rom on S3 right? You need back-to-n00t as base and Note3 KK firmware. Follow the steps at the main thread ;)

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] umarmalikbest:
sir my english is not too good is there any video instruction;):eek:
[Android General] Tisenoiazei100:
No noone has created one yet. Sorry

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

Sorry for this stupid question. I'm trying to port Galaxy A8 (2016) ROM to our Samsung Galaxy J5.

I followed the guide, and I was wondering, how do I change the 64 libs to 32 libs?

Do I need to open the .apk file and replace with Stock? And what if there is no lib in stock firmware that I need to replace in port .apk?

Thanks
[Android General] Tisenoiazei100:
Lib has 32bit versions of libs and Lib64 has 64bit versions of the same libs. BTW J5 Marshmallow is 64bit???? Maybe I can bring a broken one for S3 neo

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
Oh sorry, J5 is 32 bit and A8 is 64 bit. :D

If some apps doesn't have lib folder in it, is it okay?
[Android General] Tisenoiazei100:
It's ok

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
Strange, i checked all the apps and in some there is lib folder... Never found any lib64 folders..

Also, i deodexed it and it still kept the oat and lib files! Maybe that's because i pressed to keep the arm/odex files?
[Android General] Tisenoiazei100:
What deodexer you've used

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
Fulmics Deodexer
[Android General] Tisenoiazei100:
Hmm I don't know anything about this. Try SVADEODEXER ;)

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
Okay, will try.
[Android General] malbert16442:
You are suppose to say delete oat files but just delete the files manually
[Android General] grumpycoder100:
Hmmm.. just wondering if I wanted to port say, s7 edge firmware over to my note 3, can I use s5 marshmallow firmware as my base instead? I really don't have a clean base ROM to use as my base :(
[Android General] Wasim625:
can u plz guide if we can port a samsung j5 prime G570F rom to its chinese edition On5 SM 5520? these devices are same accept the ROMs (atleast being a non technicle person, thats what i have come to know). please help.

Thanks.

Edit: Some in depth specs of both.

On5(chinese variant of j5 prime)

Has snapdragon 430 processor with arm cortex a35 chipset. Where as j5Prime has Exynos 7075 processor with same ARM cortex a35 chipset.

And On5 has an Andreno 380 Qualcom GPU but j5 prime has MaliT720 GPU.

RAM, ScreenResolution, internal Storage, battery everything same.
[Android General] Chinhai:
How to fix this

E AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/rcsopenapi.jar", zip file "/system/framework/imsmanager-internal.jar", zip file "/system/app/imsservice/imsservice.apk"],nativeLibraryDirectories=[/system/app/imsservice/lib/arm, /system/app/imsservice/imsservice.apk!/lib/armeabi, /vendor/lib, /system/lib]]] couldn't find "libSECIMSJni.so"

I think it needed libSECIMSJni.so file but I couldn't find it. Please help

EDIT: Solved by deleting imsservice.apk
[Android General] Taivotat2:
Actually Nougat boots on MM bootloader, but devs no care on debugging it to make stable, you know how J5 community is fragmented. I personally never downgrade to test Nougat ROMs. Just using AIK from osmOsis you get it working, but I lack the skills to debug. Some devs could try to solve this but it means troubles with old devs

Edit: forget this if you talk about other than j5:)
[Android General] nikkali25:
sir what tool you suggest in boot.img repacker?
[Android General] Chinhai:
Try this tool: https://xdaforums.com/showthread.php?t=2073775
[Android General] Tisenoiazei100:
Offtopic: Well see how Grand 2 XDA community is fregmented XD

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] nikkali25:
Has a screen rotation problem here?

attached is logcat

gyroscope is not working.how to make it
[Android General] corsicanu:
[MENTION=6173089]malbert16442[/MENTION] Guys i need a bit help. I managed to port A720F fw on A700F and i have a problem with sim card.. Not being detected. Same way i ported same FW on A500F and had no issues. Logcat says at_distributor can't connect. Tested the way from first post and nothing. As extra tried ramdisk edits from port to base, different combo between telephony-common and telecom jars and apks from stock to port and still nothing, no imei, no baseband, no sim message. Any tip? Thanks!