yashsingh1/xdaforums huggingface dataset:
[XDA-University] ts_firehawk:
So I also got this error:

java.lang.NoClassDefFoundError: com.sec.android.app.camera.Camera$1
at com.sec.android.app.camera.Camera.<init>(Camera.java:782)
at java.lang.Class.newInstance(Native Method)
at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2351)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

According to [MENTION=4435346]LastStandingDroid[/MENTION], this means that the app is looking for a class that doesn't exists. It says something about Camera$1, looking for .line 782 results in:

.method constructor <init>(Lcom/sec/android/app/camera/Camera;)V
.locals 0

.prologue
.line 782
iput-object p1, p0, Lcom/sec/android/app/camera/Camera$1;->this$0:Lcom/sec/android/app/camera/Camera;

invoke-direct {p0}, Landroid/hardware/display/ExtendedDisplayListener;-><init>()V

return-void
.end method

So I decided to take a look at Camera.smali, .line 782 too:

.line 782
new-instance v0, Lcom/sec/android/app/camera/Camera$1;

invoke-direct {v0, p0}, Lcom/sec/android/app/camera/Camera$1;-><init>(Lcom/sec/android/app/camera/Camera;)V

iput-object v0, p0, Lcom/sec/android/app/camera/Camera;->mExtendedDisplayListener:Landroid/hardware/display/ExtendedDisplayListener;

I see no way to fix this. Can someone help me?
[XDA-University] :
It probably is in framework file. Either framework.jar or if any camera related file it could be in there
[XDA-University] :
java.lang.NoSuchFieldError: No field REGION of type Ljava/lang/String; in class Landroid/os/Build; or its superclasses (declaration of 'android.os.Build' appears in /system/framework/framework.jar)

Looks interesting

Have u tried https://www.androidfilehost.com/?w=...a84b6cca314de526063392a85f74fa8720c9689ec4f2b
[XDA-University] proudh0n:
Yes, is the same file that I found on 4pda. It's the last version of the port that [MENTION=2623456]GalaxyUser[/MENTION] made some time ago. On Android 7.1.1 doesn't work well and the launcher itself got some important updates since then.

I don't have any idea how to follow in order to fix that error. I've looked at those smali files and all seems fine but it doesn't work :(

The only thing that I think can explain that issue is that is looking for android.os.Build on the framework of my ROM, not in the files I've included in the apk file itself...

I don't know, this is the first app that I try to port
[XDA-University] :
It seems like REGION isn't found look in res files of the launcher
[XDA-University] proudh0n:
Thanks for your help, I don't want to bother you. I've looked for files with region in the res folder of the decompiled framework-res.apk of the Hydrogen ROM and I didn't find anything. I don't know where that REGION should be and where to find it on the original ROM files in order to add them to the launcher apk.

Any idea of that?

Again, many thanks for your time
[XDA-University] :
it should be in apk of the launcher
[XDA-University] proudh0n:
Sorry if I'm too dumb but I don't get it too much.

What I've done until now is that I've downloaded the Android 7 Hydrogen OS ROM from the official page, I've deodexed, I've decompiled, recompiled and signed the OPLauncher.apk and installed it. When I ran it the first time the logcat showed some missing libraries (com.oneplus.sdk.utils and com.oneplus.sdk.wrapper). I've searched them on the framework folder of the /system partition and I decompiled the jars corresponding to that libs. I've included the .smali files of those jars to the launcher apk itself.

After that I compiled and signed the apk file and I tried to exec it again. In the second try the logcat showed that a class couldn't be found (android.os.Build$REGION_CODES). Again, i've digged on the framework jars and I found it on the framework.jar. After adding those smali files, compiling and signing again I've arrived to this situation, where it seems that all the libs are found but there is a missing field.

What I don't understand and I'd like to is where those fields should be in order to search for them in other framework files in order to include them on the launcher apk itself in order to make it available to anyone who runs Android 7 (at least that's what I'm trying).

Maybe the process I've followed is not correct, maybe I'm missing something. There is not very much information online (at least I didn't find much more) and I want to learn how to do it.

If you can point elaborate a little bit more it would be awesome.

Again, thanks for your time and help :)
[XDA-University] cricriadi:
How do i change the apk so it works on a arm phone/rom and the apk is arm64?
[XDA-University] proudh0n:
Anyone can offer some help? Many thanks :)
[XDA-University] vinaykharayat:
how to port systemui.apk?
[XDA-University] Kezatic:
Hey guys!

So recently I took the challenge of porting apps:o I wanted to port the OnePlus Audio Tuner app from Oxygen OS 2.1. I have deoxed the ROM myself and tested it in my current ROM, which is CypherOS 3.5.1 based on Android 7.1.1 (My device is a OnePlus 2) I installed it as a system app because when I install it through package installer, it says the app is corrupted:confused:

Anyway, after that I tested the app. As soon as I opened the app, the AudioTunerService app crashed. I have included a logcat below. However, the main app didn't crash, until I adjusted one of the EQ setting. When I have a look in the logcat, it says it is missing a framework file (I think.... corect me if I'm wrong:p) But I can't seem to find the framework/lib file I am looking for in the rom. What am I missing right now? Any help is greatly appreciate. :D

View attachment AudioTuner.apk

View attachment AudioTunerService.apk

View attachment 2017-02-12-14-56-02.txt
[XDA-University] ahmedalikurt:
I want to Samsung Keyboard as ported for all phones. Who can make this? Instead for a payment.
[XDA-University] mdmaher:
Hi

Thanks for the tutorial. But I got an error in log cat.

Can you help me with that.

There is no such path in smali ( in screenshot )
[XDA-University] TimSchumi:
We can't see anything in this. Please give a linked text file (pastebin, etc.) with the log
[XDA-University] mdmaher:
Thanks for reply.

Here it is :-

18592********* 03-08 09:45:23.276
AndroidRuntime [E] Process:com.sec.android.app.music.PID 18592

18592********** 03-08 09:45:23.276
AndroidRuntime [E] at com.samsung.android.app.music.support.sdl.Sdl.<clinit>(Sdl.java:6)

18592********** 03-08 09:45:23.276
AndroidRuntime [E] at com.samsung.android.app.music.support.SamsungSdk.<clinit>(SamsungSdk.java:13)

18592********** 03-08 09:45:23.276
AndroidRuntime [E] at com.samsung.android.app.music.support.samsung.feature.FloatingFeatureCompat.getEnableStatus(FloatingFeatureCompat.java:10)

18592********** 03-08 09:45:23.276
AndroidRuntime [E] at
com.samsung.android.app.music.library.ui.feature.FloatingFeatures<clinit>(FoatingFeatures.java:11)

18592********** 03-08 09:45:23.276
AndroidRuntime [E] at com.samsung.android.app.music.core.utils.logging.FeatureLogger.<clinit>(FeatureLogger.java:48)

18592********** 03-08 09:45:23.276
AndroidRuntime [E] at com.samsung.android.app.music.common.MusicApplication.onCreate.(MusicApplicatin.java:106)
[XDA-University] TimSchumi:
Could you post the complete logcat (not only errors) on a service like pastebin? Thin this part there is no valuable information
[XDA-University] mdmaher:
Seems like very long log, here it is.

I guess this is what you meant, I am a begginner in logs,etc

Thanks
[XDA-University] mdmaher:
This thread would be more helpful, if it contains more solution for java incompatibility.

Hope it would be updated for more help. :(

Thanks
[XDA-University] emjatin:
Hello

I am New in this Field But want this app form my Redmi 2 Prime MiUi 8 can any one port this app

Samsung Cloud together

http://www.apkmirror.com/wp-content/themes/APKMirror/download.php?id=111842
[XDA-University] kongacute:
I get FC when port Sony Camera from Xperia Z3 to RR ROM in Galaxy S4 I9500. I taken all framework, lib about camera and still get FC. Here for logcat:crying:

My-port
[XDA-University] AndroidLacky:
From looking at your log it looks like you might still be missing some libs that belong to SemcCameraUI-noGesture-xxhdpi-release...i would start by skimming thru the system/lib and vendor/lib folders of the Z3. All the issues are looking for the same libs that are missing. So start there. Hope this helps.
[XDA-University] XxViRUsPRO:
Hi I Want To Port S7 edge (Edge Features[Edge plane/edge screen/etc....])

For Samsung Galaxy A5 2017 can you give me a video tut so i can understand how its going porting apps and thanks for the helping:laugh:

Best Regards,

XxViRUsPRO
[XDA-University] Pavlex4:
Can someone please help me port note 3 settings app to s3 neo.I tried to replace s3 neo settings with note 3 settings and when I open setttings through toggles in notification panel settings open but when I open settings through menu I get stopped working error: https://mega.nz/#!94JFhSDR!tUpZ77vJU...8ysOfhy4TyBBBE
[XDA-University] AxelBlaz3:
Well, I found this thread kinda useful :laugh:. I'm trying to port LetvCamera app to a LineageOS based ROM(Dot OS).

And now I face this error. Any possible fixes for this :confused:?

Thanks :cowboy:
[XDA-University] Samrach Kem:
Could I port app from low Android version to higher one? Example ICS to MM?
[XDA-University] vijayid_94:
Hi Rizal, i need an Vendor app, thats a Screen Recorder From MI, Its the best recorder in the world, please port it and let us put our hand on that master piece :) Thanks
[XDA-University] kev1807:
My question might sound noobish, but please do not grill me ... :D

I wanted to port the Samsung Write on PDF app to my Huawei Mediapad M5 Pro, since I've never found an app that does a job that good in android, annotating PDFs ... I have a samsung galaxy s8 with WriteonPDF installed, BUT I haven't and I won't root that one ...

Neither is root available for the Mediapad M5 Pro.

Am I correct that I can port it by extracting the files from a ROM that includes the App and the libraries then from the app?

I am quite insecure right now, as this tutorial reads quite complex ... I have experience in rooting and Custom ROMs (mainly installing though)

Why is it that the apk I opened does not contain any *.jar file

hope you answer without killing me :D

best wishes and thousands of thanks beforehand
[XDA-University] MyDePain:
Do you think I can use this tutorial to try to port PS4 Remote Play to any Android device?
[XDA-University] optoclix:
Hi guys

I want use to lg Quickmemo app on other brand devices. Lg quickmemo is not running on other devices

Please help me

Thanks
[XDA-University] V.Mr.Gamer:
Did you deodex it?
[XDA-University] V.Mr.Gamer:
Maybe, but this tutorial is still very basic... you'll need to do a lot of work
[XDA-University] mohamedfaky:
Hi , i am trying to port LG Music app to my device Infinix zero 3 ( MM ) , i was trying hard for 3 days , first i tried using LG G3 lollipop rom .. added to my device the following files :

and i received "Error LG Music has been stopped" , using logcat i got this :

so i decided to use lg music app from LG G3 Marshmallow rom which has the same sdk with my device's rom..

i used this files from MM Rom after removing lollipop rom :

when i toke a logcat from the error i got this :

so i decompiled com.lge.music.apk with latest version of apktool( baksmalied classes.dex only because other resources making many errors.. ) and my framework-res.apk then modified requestStoragePermission from this :

to be :

and did the same thing with method hasStoragePermission ( toke 0x01040481 from public.xml internal_storage from my device framework-res.apk ) then tried with this changes

i got this logcat :

what should i do now ? please help i don't have any skills in java coding yet..
[XDA-University] denisehilton:
Never knew porting was possible like this. I always had to re-install all the apps and lose my settings. Thanks a lot for this.
[XDA-University] Pavel Alm:
can any one tell me is it possible to port google camera using this guide
[Sprint Samsung Galaxy Note II] smk224:
Just got Sprint Note 3 today.

Is anyone else having issues downloading apps from play store?

I get variety of errors, like error 500 for example.

Wondering if it's my phone, or google server issues.
[Sprint Samsung Galaxy Note II] Geronimo.USMC:
Server.
[Sprint Samsung Galaxy Note II] funone46:
Getting the same. And not enough memory on install also. But I have 14g open on my card, and 5g open on internal storage
[Sprint Samsung Galaxy Note II] micaelp29:
I have the error 481 anyone knows a solution? :confused:

Sent from my HTC Explorer A310e
[Sprint Samsung Galaxy Note II] Guy_with_an_Axe:
I personally won't ever buy a Samsung model phone again after experiencing the bullcrap I am going through.

I sounds like a software problem I would try different Operating Systems, are you using a rooted device? Stock? did you install a compatible version of GAPPS?
[Sprint Samsung Galaxy Note II] micaelp29:
Its a sense 4 rom whith gapps incluid

And yes its rooted :confused:

Sent from my HTC Explorer A310e
[Sprint Samsung Galaxy Note II] Skripka:
Using other ROMs on the Note3 isn't a best strategy since doing so permanently voids (and is easily detectable no matter what you do) your warranty thanks to the KNOX security crap.
[Nexus 5 General] JUMPhil:
New rumors say the Nexus 5 in its 32GB version could cost 399$, which should transform to 399€ in Europe. That's less difference to the LG G2 as I expected. In Germany you can buy the LG G2 in its 16GB version (with software branding, but we're at xda...) for 427,80€ - see attachment.

What makes the LG G2 better than the Nexus 5? Would it be better to pay almost 30€ more and give up 16GB of storage to get the G2?
[Nexus 5 General] Cronis:
so you lose 16gb of storage but you gain GRAM (better battery life), a 13MP camera and a slightly larger screen. If you don't need the 16GB of storage the G2 would be a pretty easy sell.

Having said that I highly doubt there will be a 3000 mAh battery in the N5, its just a very unconfirmed rumor thats not supported by the FCC, leaked log or leaked manual.
[Nexus 5 General] hello00:
how many threads are we gonna have about the same thing
[Nexus 5 General] JUMPhil:
What is GRAM? Software? Won't use stock anyway. The bigger screen is nice but also makes handling worse and slightly decreases dpi. I don't know if that's a real benefit for me. So basically only the camera would be really interesting? And probably the battery? I doubt that about the 32GB version battery too, but you never know...

Is there nothing else special about the G2?

Thank you for your helpful contribution. I haven't seen such a thread, sorry.
[Nexus 5 General] Cronis:
Yea if you go to a store that sells the G2 and compare it to the optimus G (more squarish but almost same size as the leaked N5) there is a pretty noticeable size difference, definitely effects the handling of the device. over about 320 DPI the average human eye cant tell a difference in DPI So I would not worry about that.

If you want to read up on GRAM check out this article... its basically an battery efficiency tool, supposed to add 10-15% battery life. No word yet on if the N5 gets GRAM. the Camera is just one of those things we wont know how it stacks up till its released.

http://www.phonearena.com/news/How-...dd-10-battery-life-on-a-single-charge_id46195
[Nexus 5 General] BlueScreenJunky:
Well if you don't need the 16GB, a $299 Nexus 5 would be an even easier sell.
[Sprint HTC One (M7)] kadsura:
I got my HTC one about two weeks ago and rooted it right away. Then today I mistakenly followed this guide here to upgrade to 4.3

htconeroot.c om/htc-one-stock-roms/official-android-4-3-stock-rom-root-for-htc-one-attt-mobileunlockedinternational/

(I put in a space in the link above since I am too new to the forum so can't post links)

Now I'm stuck in a bootloop. Tried restore backup, factory reset, clean cache etc. to no avail. I am a noob here could someone please help me??? Should I get S-OFF and install RUU? How do I do that?
[Sprint HTC One (M7)] Konfuzion:
Follow this guide http://xdaforums.com/showthread.php?p=44243635

And from now on make sure whatever you are doing is for the Sprint HTC One.
[Sprint HTC One (M7)] kadsura:
Thanks Konfuzion

My bootloader screen now says "relocked" with S-ON, maybe I can go ahead with the RUU then.

Question: how do you find out which RUU version I have on my phone right now?
[Sprint HTC One (M7)] pbedard:
About phone software info where it says fireware-baseband and radio info
[Sprint HTC One (M7)] kadsura:
Thanks guys

I've reset to factory, so far (been 10 minutes) it hasn't rebooted. Seemed to work just fine now

:good::good::good:
[HTC Droid DNA] mike17855:
My phone was sent and update today, which I gladly declined because I'm root+s-off and running a custom stock 2.06.605.1 710RD. But now I can't download from Google play... Any advice?

I haven't updated because I'm waiting on cm 10.2 to be stable.
[HTC Droid DNA] finanandroid:
Google Play error

No Rom or update Related...its Google Play experience errors*
[HTC Droid DNA] mike17855:
Error 500
[HTC Droid DNA] finanandroid:
yeap!
[HTC Droid DNA] mike17855:
Fixed with apn reset, ty
[Xperia Z1 General] zzcool:
i had a day or so to play with my xperia z1 and so far i am loving it

the weight and bezel size isn't that big of a deal as i thought it is very light

i peeled off the anti shatter film as it looks nicer without the sony logo (sadly theres a chance i managed to leave a very microscopic scratch with my nail as i tried to peel it off it took hours of trying untill i gave up and wen't with a needle instead which was extremely easy but it seems my nail managed to scratch a tiiiny part of the inside plastic i am not sure it can only be seen under a light and at a special angle)

the screen is amazing with extremely popping colors unfortunatly the black level is beyond terrible and worse than anything i have ever seen before (turning down the brightness dosn't do much and anything other than maxiumum brightness is bad)

vieweing angles are also dissapointing

i am not sure if i got the right or wrong screen (screen lottery) but i notice NO green tint blue and red looks perfectly clear

speaker placement is awkward as i manage to block it when playing games not a huge deal but i would have preferd 4 speakers one on each side of the phone to use some kind of surround sound

theres also a weird thing that happened yesterday i used it then suddenly the screen turned black (showing a black picture) the phone was at this point entirely frozen i had to reset (vol up-power) which turned it off when i turned it on the screen was yet again black after like 4 min it finally showed the boot animation

now it takes about 4 min every time i start it for the boot animation to start

i also tried it's waterproofing (made sure all flaps were firlmy sealed) after i got it out of the water (i tried the speakers under water) the screen wouldn't work after i dried it off it still wouldn't work it pressed random buttons and was very unresponsive i had to restart the phone for it to work again (is this normal)

other than these two things i had no issues with this phone i am very happy with it battery life does seem weak though took about 4 hours i think for it to drop to 40% from 100%
[Xperia Z1 General] ImAnurag:
Turn on the optimized back light option , it will solve the black screen issue at boot animation.
[Xperia Z1 General] zzcool:
i turned that off to get a better screen quality

dosn't it affect the picture quality?

but i will try will this do anything to the black level?
[Xperia Z1 General] ImAnurag:
Not it doesn' affect but some effect on whiteness level on screen.

Turning it on removed the black screen issue from boot, try it once if you still get it turn it off again. :P
[Xperia Z1 General] Ame123:
turn it on and then reboot ur prblm will be solved...after rebboting u can untick it again..but be sure that while rebooting tick it again
[G2 Q&A, Help & Troubleshooting] dmbardal:
Hi ! .. So I just got my LG G2 yesterday, and today I tried a few different things wich ended in me having to use the LG Mobile Support Tool to "force" an firmware update (stock), and after the rollback were done. I only had the possibility to use 10GB of my 32GB storage.

Anyone have any idea why?

It says that I have a total of 10GB storage when I connect the phone to the computer. And I have no idea why or what to do.

I havent encountered this issue before at all, and I feel that I'm somewhat decent when it comes to installing firmwares on phones. Regardless of brand.

And it does say that the model is the 32GB when I check the hardware-info on the android itself.

Maybe this has something to do with me using the adbcommand for mounting storage incorrectly?

I thought however it would be reset when I used the LG Mobile Support Tool to hardreset everything though.

Anyone got any tips on the matter?

Edit:

Just noticed this guy got the exact same problem;

http://xdaforums.com/showthread.php?p=46294731

regards

Dag
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Psdwizard:
I used safestrap recovery to install the google play edition of the 4.3 on my GS4 with the MF3 firmware. It wont boot now, even if i go back to stock in the option. Any ideas, I am totaly new to this.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] hovax615@hotmail.com:
You can only boot 4.2.2 Roms two based.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Psdwizard:
I have wiped every rom from the phone other than stock and it still wont boot. I can get access to Odin is there a way to wipe it from there and return it to factory?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] deadenz:
besides safestrap not supporting 4.3 roms, are you postitive you didn't flash anything on your stock rom? if you did and you can't boot the only option to returning your phone back to stock is taking it to best buy to samsung experience and having them reflash your phone
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Psdwizard:
I am off to there tonight.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] deadenz:
good luck :good:
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Psdwizard:
seassol july

what rom do you use, and did safestrap work for you?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] deadenz:
I'm using VirginROM now. safestrap works great but you really have to read the directions carefully.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Psdwizard:
ya it was probably not smart do it with a screaming 4 year old in the room.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] deadenz:
lol definitely not
[Verizon HTC One (M7)] BelievingThomas:
Unlocked and S-offed today. HTC One Verizon. Downloaded and flashed CWR. Went to recovery wiped and flashed Android Revolution HD 22.0. It boot looped and when I went back to Bootloader tried to go back to Recovery, comes up for a second and then goes back to bootloop? "white htc screen"
[Verizon HTC One (M7)] Murrda:
Does the phone communicate with ADB at all? What operating system are you using on your laptop/desktop? I can help you get it back up and running again.. Hit me up here by pm and I'll give you my contact info to get a hold of me to help you out!
[Verizon HTC One (M7)] BelievingThomas:
Hey I sent you a pm.
[Verizon HTC One (M7)] BelievingThomas:
I figured out what I did wrong but, I can't figure out how to fix it. I downloaded and flashed an international version ROM. Can someone help?