yashsingh1/xdaforums huggingface dataset:
[Android General] leejunsong:
03-20 09:18:17.618 9739 9739 E AndroidRuntime: FATAL EXCEPTION: main

03-20 09:18:17.618 9739 9739 E AndroidRuntime: Process: com.sec.sve, PID: 9739

03-20 09:18:17.618 9739 9739 E AndroidRuntime: java.lang.NoClassDefFoundError: com.sec.sve.service.sme.SlickMediaEngineImpl

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at com.sec.sve.service.SecVideoEngineService.onCreate(SecVideoEngineService.java:63)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3873)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at android.app.ActivityThread.access$2100(ActivityThread.java:229)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1909)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:148)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:7325)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

03-20 09:18:17.618 9739 9739 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Help me fix this bug. I can't find it in my ROM.:(

https://xdaforums.com/attachment.php?attachmentid=4081478&stc=1&d=1489977558
[Android General] Tisenoiazei100:
It misses a file named SlickMediaEngineImpl

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] leejunsong:
i try find it but it not exist :(
[Android General] :
Is your rom booted and you get SecVideoEngineService fc? I had this problem when i was porting A3 2017, just delete the exact same app (SecVideoEngineService) its either in app or priv-app.
[Android General] leejunsong:
yeah! ROM is booted. howerver SecVideoEngineService or same not exist on priv-app and app :rolleyes:

[IMG="https://xdaforums.com/attachment.php?attachmentid=4081601&stc=1&d=1489992552"]https://xdaforums.com/attachment.php?attachmentid=4081601&stc=1&d=1489992552[/IMG]
[Android General] :
give me a picture a little bit more down like SV or something in both priv-app and app. should be maybe sveengine or sveservice or something like that
[Android General] leejunsong:
https://xdaforums.com/attachment.php?attachmentid=4081608&stc=1&d=1489993484

https://xdaforums.com/attachment.php?attachmentid=4081609&stc=1&d=1489993484

https://xdaforums.com/attachment.php?attachmentid=4081610&stc=1&d=1489993484

https://xdaforums.com/attachment.php?attachmentid=4081611&stc=1&d=1489993484

https://xdaforums.com/attachment.php?attachmentid=4081612&stc=1&d=1489993497
[Android General] :
uhh thats hard.. search in framework for sve or for secvideoengine

BTW with my j1 port im already having trouble.. How to deodex this? Sva doesnt work, fulmics doesnt work, anything doesnt work
[Android General] grumpycoder100:
Unfortunately, no. Does this mean I can't port or anything? I mean, I've got the firmware of A7 2017 in my hands now XD

---------- Post added at 09:56 AM ---------- Previous post was at 09:54 AM ----------

By the way, good luck with making the video malbert! Appreciate the guide :)
[Android General] Tisenoiazei100:
Deleted

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] grumpycoder100:
Alright its night currently, and here's what I did from just now: Delete the stated folders of my base note 3 firmware in the guide, and then deodexed the system folder. After that I deodexed my A7 2017 firmware system folder and copied the stated folders in the guide over to my base firmware. So far everything going smoothly :)
[Android General] Tisenoiazei100:
Try SVADeodexer

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
I said ive tried sva XD it doesnt work probably because its dalvik and not art.
[Android General] Tisenoiazei100:
I don't think so. Spreadtrum roms are weirdly odexred.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
meh, i wont port it.. i guess i will do some kinda mod for the white theme and fonts.. anyway, is there a way to recompile apps and flash them without breaking them? because like for example i have a little SecSettings2 edited, it works fine when replaced with root explorer but when i put it into rom its missing.
[Android General] RealWelder:
Copy the original manifest and meta folder into the apk before you push it. When you recompile the app has no signature. The signature is the manifest and meta. If you resign, you have to resign all apps and jars in the system partition. So usually we just use the originals. The only time you need to resign is if you edit the manifest.
[Android General] :
ahhh so i need to recompile with original signature? or
[Android General] RealWelder:
I use apktool still, where a lot of people are using tickle my android or other software. When you decompile you should get a folder called originals. Inside are the manifest and meta folder. I use winrar, and have it set up to open apk files. So I just recompile, it puts new app in dist folder. Then I copy the files from the originals folder to dist folder. Open the new apk with winrar, select add. It will take you right to the dist folder, select manifest and meta to add them. Then you can push.
[Android General] Tisenoiazei100:
Put original META-INF folder in your recompiled settings apk file and you'll be fine. I had that experience when I tried to bring Xperia JB UI on my Xperia J which had only Stock ICS, C@#@$y Stock JB(Still ICS UI) and CM10. Settings need the original signature for some weird reason :/.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
thanks guys, i will try it :D

btw, i have 3 final bugs in rom but they are ultra hard to fix

people edge ( i will eventually remove it)

settings content scaling, because obv its from a5 2017 and when i change it, it goes to a dpi made for a5 2017. i need to edit something but idk what..

and also when i change time manually, after reboot it goes to 1 january 2015
[Android General] grumpycoder100:
Hey there, just asking: Any reasons as to why we still have to keep the three folders of the base ROM? I mean, can't I just delete them?

P.S I've deodexed both firmwares, and done removing/copying. So now do I have to just use a kitchen to make a ROM.zip using the base folder right? And by the way, do I have to put in the boot.img file as well? Or can I just leave it? Thanks! :D:p
[Android General] Tisenoiazei100:
What 3 folders?

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

---------- Post added at 02:24 PM ---------- Previous post was at 02:17 PM ----------

For settings content scaling issue A3 2017 is Full HD and A5 2017 are Full HD too. J5 is Standard HD like my S3 Neo :b. You need to modify the icons and xmls to be compatible with your Standard HD screen. Samsung made its OS more useless by adding qmg instead of png.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] malbert16442:
Just remove the method it would be okay.
[Android General] moluntic:
i did it,but again an error came that said failed to register this method and location was same as this one
[Android General] corsicanu:
[MENTION=6173089]malbert16442[/MENTION] this is pure GOLD. Gave you all my thanks for today. I'll try it myself today. Also waiting patiently for updates [emoji28] . Cheers!
[Android General] moluntic:
after removing method this happend :

E System : java.lang.NoSuchMethodError: No virtual method initialize()I in class Landroid/os/storage/sensitive/SecureStorageLSM; or its super classes (declaration of 'android.os.storage.sensitive.SecureStorageLSM' appears in /system/framework/framework.jar)
[Android General] malbert16442:
Send me your jar
[Android General] corsicanu:
[MENTION=6173089]malbert16442[/MENTION]

There are 2 of them invoked - SecureStorageLSM _lsmInitialize and SecureStorageLSM _lsmInitialize__

Delete the one with underscore after you adapt the first one.. Cheers!
[Android General] malbert16442:
Glad you figured it out
[Android General] Chinhai:
[MENTION=6173089]malbert16442[/MENTION] do we need to boot the rom first and take logcat :)

Edited: nvm know it after read the guide slowly
[Android General] yyh991013:
Awesome!

通过我的 SM-N9300 上的 Tapatalk发言
[Android General] Allooosh98:
I tried alot but until now no fix for wifi in my j2 prime rom fixed thnx :good::D
[Android General] yyh991013:
so how did you guys solve kernel problems??

通过我的 SM-N9300 上的 Tapatalk发言
[Android General] Chinhai:
Help please

E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for int android.os.storage.sensitive.SecureStorageLSM.lsmInitialize() (tried Java_android_os_storage_sensitive_SecureStorageLSM_lsmInitialize and Java_android_os_storage_sensitive_SecureStorageLSM_lsmInitialize__)

E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'android.database.Cursor android.content.IContentProvider.query(java.lang.String, android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.ICancellationSignal)' on a null object reference
[Android General] malbert16442:
Just remove the lsmInitialize method in

Franework/smali/Andriod/os/storage/sensitive/securestorage.smali
[Android General] Chinhai:
thx and do i need to delete the full of this method?

.method public initialize()I
.locals 1

invoke-static {}, Landroid/os/storage/sensitive/SecureStorageLSM;->[COLOR="Red"]lsmInitialize()I[/COLOR]

move-result v0

return v0
.end method
[Android General] malbert16442:
In morning ill tell you what to replace invoke with
[Android General] Chinhai:
Ok goodnight
[Android General] malbert16442:
replace with const v0, 0x0
[Android General] Chinhai:
invoke-static {}, Landroid/os/storage/sensitive/SecureStorageLSM;->lsmInitialize()I

Just replace that with this alone?
[Android General] Chinhai:
And does this require fix?

thx

E SamsungPowerSound: media.audio_policy not published, waiting...
[Android General] malbert16442:
In updated guide:

I improved layout, fix grammar errors, posted new errors, updated deodex tool.

What I hope to include: Native blur guide, include graphics screen shots maybe, New boot animation support(Black and white boot animation support), new errors I came across. Post 32 bit libs Happy New Year.
[Android General] grumpycoder100:
Any ideas?
[Android General] Tisenoiazei100:
Hmm.. updater script inside META-INF is bad. Can you tell me your base rom again..?

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] grumpycoder100:
My base ROM is my note 3 stock firmware, running lollipop 5.0.2
[Android General] RealWelder:
Open the updater-script and delete the line containing getProp.
[Android General] grumpycoder100:
I'll try that. Cya in a minute

---------- Post added at 03:57 PM ---------- Previous post was at 03:17 PM ----------

Well, it just says there's an error installing the zip. Just to ask, my deodexer includes the ability to instantly make a flashable zip after deodexing. Should I use that function?
[Android General] RealWelder:
Worth a shot. You could also try Assayed's kitchen.
[Android General] :
I think problem is updater binary, not updater script, first because it clearly says error in update binary and second, if it was updater script error it would say for example error 7
[Android General] corsicanu:
First of all, what rom do you want to port? You need same Android version on both (base and port). For Note 3 MM base you should use a ported marshmallow that contains proper s5 libs. Take a ported rom, delete app, priv-app and framework folder, but keep only

mcregistry

from app folder, put framework, app, and priv-app from port, flash it as it will work. With the meta-inf folder from the already ported rom..
[Android General] Tisenoiazei100:
He also needs to remove some useless s5 libs too. It's not optional though

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

---------- Post added at 01:49 PM ---------- Previous post was at 01:47 PM ----------

Guys remember that you need to do proper build.prop changes too. Not a big deal but really helps on stuff like SVoice.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] grumpycoder100:
But what if the ROM I want to port has aroma installer in it?

My chosen base ROM: https://xdaforums.com/galaxy-note-3/development/6-0-1-touchwiz-marshmallow-note-3-t3349306

ROM I want to port to my Note 3: https://xdaforums.com/samsung-a-series/development/rom-advanced-beta-t3540411
[Android General] corsicanu:
Try to understand aroma options and adapt them to your new port. I`d choose a fully stock rom for port base, because with your fixing stuff you can break mods added to that rom... Choosing clean port allow you to understand mods after this, or else you can brake mods and don`t know how to fix them after.. I already did that once choosing to port a ported rom.. Was painful to fix mods after...
[Android General] grumpycoder100:
Thanks, and I understand(by looking at your work- great job on porting the Note 7 Aryamod port!). I've still got to ask, and clarify if a stock deodexed ROM would be considered pure? Here's what I'm talking about: https://xdaforums.com/samsung-a-series/development/rom-sm-a510f-pure-stock-deodexed-roms-t3494586

P.S But what if my stock ROM for Note 3 is of version Lollipop?
[Android General] corsicanu:
I already answered somehow to you. You can`t use stock LL since you want to port MM rom. Use any note3 MM custom rom as base...Also for fixing stuff in the rom, use smalis from ported MM.. Don`t think to use LL because it won`t work. As for port, download any fw that suits your needs with samfirm, deodex it by yourself, and so on. Should be pure enough. You can use that too, but a5 2016 isn`t that cool as a5 2017.. Cheers!
[Android General] grumpycoder100:
Ahaha sorry for my irritating questions! I'm the type of guy that gets confused pretty easily. Anyways, I do have a deodexed firmware of the A7 2017 and a (pure?) MM custom ROM(no customisations/aroma) downloaded. So I guess I'll try out the steps you provided me earlier then, and thanks again! Cheers!
[Android General] Tisenoiazei100:
Well booting 6.0.1 using 5.0.2 libs and few smalis is technically possible. You need to use your device's CM13 blobs but there might be some changes needed to be done in the kernel to get it working properly like storage (That's why devices like Grand Prime have storage issues with J5 Marshmallow :b). Simplier different API port in the world is 5.0.2 to 5.1.1 and vice versa.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] leejunsong:
Error : closed on Sideload TWRP

I have new device (A7108) . I try get logging at boot use TWRP. but it say error : CLosed ( I use TWRP of A710f, A7108 doesn't have any TWRP ) . How to solve this problem ?:D

** I did try add persist.** to build.prop. edit kernel for adb secure . But it not working:crying:
[Android General] Sureshtuty:
I would like to port LP or MM rom for my S4 Mini I9192 Qualcomm Snapdragon 400 8230. Which device rom should i take as port Rom? :confused:
[Android General] grumpycoder100:
Oh wait! Can I use an AOSP ROM as my base for porting? I can extract system.new.dat to get system files, so I can use them for copying/pasting files from deodexed firmware I wanna port. Any thoughts?
[Android General] Yahia Angelo:
Tnx For great guide bro...

I have Galaxy note 3 Exynos and my base rom is lollipop and i want to port MM Rom...so how to build MM kernel Or Port it

PS:Galaxy Tab S Have Smae chip (Exynos 5420) And Had Official MM Update...So. can I port their kernel to run MM??

Tnx
[Android General] leejunsong:
I have bug with systemui when i use finger and Pattern .

03-26 10:51:19.094 14729 14801 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #5

03-26 10:51:19.094 14729 14801 E AndroidRuntime: Process: com.android.systemui, PID: 14729

03-26 10:51:19.094 14729 14801 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at android.os.AsyncTask$3.done(AsyncTask.java:309)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at java.util.concurrent.FutureTask.setException(FutureTask.java:223)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at java.util.concurrent.FutureTask.run(FutureTask.java:242)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at java.lang.Thread.run(Thread.java:818)

03-26 10:51:19.094 14729 14801 E AndroidRuntime: Caused by: java.lang.SecurityException: Security Exception Occurred while pid[14729] with uid[10060] trying to access methodName [enqPayload] in [SdpLogService] service

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at android.os.Parcel.readException(Parcel.java:1620)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at android.os.Parcel.readException(Parcel.java:1573)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at com.android.internal.widget.ILockSettings$Stub$Proxy.checkPattern(ILockSettings.java:1111)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at com.android.internal.widget.LockPatternUtils.checkPattern(LockPatternUtils.java:497)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at com.android.internal.widget.LockPatternChecker$2.doInBackground(LockPatternChecker.java:96)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at com.android.internal.widget.LockPatternChecker$2.doInBackground(LockPatternChecker.java:90)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at android.os.AsyncTask$2.call(AsyncTask.java:295)

03-26 10:51:19.094 14729 14801 E AndroidRuntime:	at java.util.concurrent.FutureTask.run(FutureTask.java:237)

https://xdaforums.com/attachment.php?attachmentid=4088945&stc=1&d=1490501265
[Android General] Chinhai:
Are there any other errors? Please check

Thanks
[Android General] Yahia Angelo:
03-26 07:58:51.900 2299 2337 I sdp.engine_list: Socket created with fd:-1

03-26 07:58:51.900 2299 2337 E sdp.engine_list: Exiting

03-26 07:58:51.940 2597 2726 E SamsungPowerSound: earphone state reading is fa

iled

Please Help
[Android General] :
hi

so i came back to porting 5.1.1 :D heres what i got after changing THE PAINFUL SdpManagerService

E/art ( 1138): Could not find dex_pc for java.lang.Object android.util.Pools$SynchronizedPool.acquire()

i tried to replace Pools.smali but its the same size so yeah..
[Android General] Tisenoiazei100:
Check for a file named "dex_pc" on etc bin folders or use fileseek to find what file contains dex_pc

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
actually i didnt fix the PAINFUL sdpmanager error, i just needed to search for F/art instead of regular E/art.

F/art ( 1548): sart/runtime/runtime.cc:292] java.lang.NoClassDefFoundError: com.android.server.SdpManagerService

so, the same error like before. but now i thinki have a solution, to edit the port Sdpmanager smali to match some methods with my stock ones. Although its a pain in the butt because i have tons of methods that need to be edited.. i will try tho.
[Android General] Tisenoiazei100:
I can feel you when I needed to rewrite tons of code in vibratorservice.smali but the only thing I needed was just a lib ?

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
hmmmmm good idea. i will flash any missing libs from port

edit: no man i just give up, 5.1.1 is just impossible for me. i will keep doing my thing on the 6.0.1 rom
[Android General] Tisenoiazei100:
OK ;). If you wanna test something in the future is to try TW 7.0 if A3 2017 recieves.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] :
yeah, im already planning to do that. Can i do it with 6.0 bootloader, libs, kernel, everything? Like they did on Note 5
[Android General] Tisenoiazei100:
I don't think that 7.0 has gigantic differences unlike to 6.0.1. I've tried to boot 6.0.1 on my S3 Neo which is 5.1.1 and I managed to enter on boot animation :D. Getting a log from a tombstone or logcat will be helpful. Also if 6.0.1 drivers are s#@$ for nougat you'll also need to find cm14.1/LineageOS14.1 j500f vendors from github which is easy peezy.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] Yahia Angelo:
Hi guys i got this kmsg and dmsg and logcat..please take alook on it
[Android General] corsicanu:
You say that with such an ease... But let me see you boot TouchWiz 6.0.1 with CyanogenMod 13 libs and vendor and any other mentioned by you... AOSP is AOSP, TW is whole different challenge.... Seeing bootanimation isn`t a reason to state that it works.. I tried to boot TW 7.0 on my A500F, first with only N frameworks and MM libs and saw the bootanimation but since you don`t have N framework you don`t have wich methods to take and needs a different level of coding and understanding to manage to go further beside

N libs

, and second way, with libs stolen from another snapdragon and stuck at device logo.. Don`t mislead people... You state things with such ease like you already did all you say.. Logic doesn`t apply much in porting different Android versions... No offence..
[Android General] Tisenoiazei100:
Okay okay I just thought by giving it a try would a great idea. Yes I know that you need proper nougat libs and kernel changes to make it work. Also I talked about vendors which are device specific on-top drivers and configurations. If you do as an example a TW 6.0.1 port from S5 Mini DUOS on my S3 Neo you're gonna use CM13 vendors as KK ones are useless.

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Android General] akshi2000:
I am getting these errors in my logcat. I tried to copy smali from stock but some of the smalis are same as stock. What should i do now. I also tried to compare smali from another ported rom. but all are same

03-28 07:09:33.319 4615 4652 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: android.display

03-28 07:09:33.319 4615 4652 E AndroidRuntime: java.lang.NoClassDefFoundError: com.android.server.policy.PhoneWindowManager

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at com.android.server.wm.WindowManagerService.<init>(WindowManagerService.java)

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at com.android.server.wm.WindowManagerService.<init>(WindowManagerService.java)

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at com.android.server.wm.WindowManagerService$3.run(WindowManagerService.java)

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at android.os.Handler$BlockingRunnable.run(Handler.java)

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at android.os.Handler.handleCallback(Handler.java)

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java)

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at android.os.Looper.loop(Looper.java)

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at android.os.HandlerThread.run(HandlerThread.java)

03-28 07:09:33.319 4615 4652 E AndroidRuntime:	at com.android.server.ServiceThread.run(ServiceThread.java)