• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Most LG Mobile Phones open-source firmware and other crap.

For those who are not in the know, LG Electronics announced that they were jumping the mobile phone industry ship because according to them: "Yada, Yada yada yada yada yada yada"

Whatever..

Right? Unless you just bought a brand new LG phone and now feel like you just got reamed by a slimy phallus, and royally pissed off.

I've been really searching their obscure webpages and found this.

http://opensource.lge.com/osList/list?m=Mc001&s=Sc002
excited-im-so.gif

Help Android Tablet as Good as My Phone?

Hi!

I want to play a Nintendo DS emulated game. The game can only now be played due to a translation patch that came out.

I have two android devices

Phone Moto G9 Plus XT2087-1
Android 11
4 GB RAM
Qualcomm Snapdragon 730G (SM7150-AB) (8nm)
Adreno 618

Android Tablet
Lenovo TB-X505F
Android 10
2 GB RAM
Qualcomm Snapdragon 429 (12 nm)
4xA53 up to 2.02 GHZ
Adreno 504 GPU

The problem is simple. I want to play in my tablet (phone screen is too small) but the game runs really slow. However in my phone it works perfectly fine. Given the hardware specs for my phone, What tablets would you recommend with hardware specs similar to my phone?

Help Warning: photos disappear if you rename/delete folders from within Files

Pixel, Android 12

I had photos downloaded that were showing up in Photos. I wanted to rename one of the folders they were in but it said name already taken, as there was an empty folder of the same name that I created in the past that no longer appeared in Photos. So I opened the Files app, went to Internal Storage / Pictures and deleted the empty folder there, then again from within Files renamed the folder I was trying to rename before. I reopen Photos, bam, my custom folders are gone, even one I did not touch from within Files. I check Files and see the folders are still there but they're now empty; the photos are gone. Not in Trash. Luckily I had the photos backed up somewhere else so I grabbed the filename of one of the photos that went missing, did a search in Total Commander, and confirmed it was nowhere to be found on my device or Cloud. Disappeared into thin air. So based on this, I would not advise renaming or deleting photo folders from within Files.

TLDR: thread title

Phone took screenshot by itself

So my phone took a screenshot by itself. I am certain I did not take it as I was holding it with one hand reading something (afaik there are two methods to take a screenshot on my phone one is wiping the screen with my palm and the other is pressing the power and home button). I'm also certain it took the screenshot since I got the notification, about taking a screenshot, which when clicked should show it. I did that however, nothing happened, so I went to the gallery to see it and the screenshot wasn't there.
So I guess the question is wtf is going on? I scanned my phone with both the built in antivirus (provided by mcafee) and with malwarebytes both didn't find anything.

A51 accidently flashed the wrong firmware, now doesnt even boot into dowload

I was trying to flash the official firmware again on my a51 but i accidently put the a20e on it, i was distracted, i have almost 30gb of different firmware downloaded and i chose the wrong one by distraction... i feel so stupid right now... this never happened to me before... what should i do? is there any way to fix it? even if i have to buy a new piece of hardware of storage or wtv piece i need to replace

Thank you in advance to whoever is able to help me

[Free] Springfield Quiz

Hey,

I've developed a little quiz about the popular TV series "The Simpsons" (couldn't use the name in the app because of copyright reasons).

Currently I have more than 500 questions, 10 questions per round. It also has a global highscore system to compete with others.

Play Store Link: https://play.google.com/store/apps/details?id=de.lrapps.simpsonsquiz

Feel free to tell me what you think!

login.jpg result.jpg right.jpg wrong.jpg

Help When connect wifi phone freezes

Out of the blue cannot connect to wifi. Other phone same place connects. As soon as I connect S7 it freezes. Have to power button and the Volume button down simultaneously for more than 7 seconds to restart it. Tried to Wifi connect at top screen icon and also settings>connections>wifi, freezes . After power off takes 5 minutes to start again – sits long on name ‘Samsung’ in middle of screen - much longer than in past.
Memory okay; updated; Power off ...wait 30sec ...power on; cleared cache; bluetooth works; mobile works; tried power saving on and off; did a 'wipe cache partition' and rebooted.
Did not do factory reset.

Please help. peter

Fragment playing audio stream

Is it possible to have something like that working ?

public class RadiosFragment extends Fragment implements View.OnClickListener {
ArrayList<String> stringURL = new ArrayList<>();
private AudioManager mAudioManager;
MediaPlayer mp = new MediaPlayer();
@override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View myView = inflater.inflate(R.layout.fragment_radios, container, false);
Button btn1 = (Button) myView.findViewById(R.id.btn1);
btn1.setOnClickListener(this);
return myView;
}
@override
public void onClick (View myView) {
switch (myView.getId()) {
case R.id.btn1:
String url="http://radioweb.com/daily.mp3";
MediaPlayer mp = new MediaPlayer();
mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
//mp.setDataSource(url);
mp.prepare();
mp.start();
}
}
}

Root Scepter 8 with Magisk

I actually was given this Qlink tablet by a person who understandably didn't want it. I think it might be Samsung because of the screenshot configuration (volume down + power), though they might be too ashamed to put their name on it. It's slow and crashy, and I haven't been able to find out much on specs. However, I have read that developers like it because it can be overclocked and apparently rooted with the latest stable version of Magisk. Does anybody on here have more info about the Qlink Specter 8 tablet? Yes, I know it's government cheese.

A bug in a simple code/where is it ?

I cannot find a bug in the following application for Android Studio.
We have a set of players
{1,...,n} and a valuation from the set of all subsets to
{0,1}. The apllication is supposed to read numbers labeled with binary strings of length n
corresponding to coalitions S (1 indicates that this player is in S).
And then it should compute how many S have the property that v(S)=1 and v(S-{i})=0 for all
players i in {1,...,n}. I have this code but it has a bug in it.


00=v({0,0})=0
01=v({0,1})=0
10=v({1,0})=0
11=v({1,1})=1

yields 0 instead of 1 (corresponding to {1,1}). The number of all such S for all 's togeather is called "swingove" in the code.
It should be swingove=1, but the app gives swingove=0. Below I attach MainActivity.java i aktivyty_Main.xml.

To make clear the flow of the application, button4 increases by 1 the number of coalitions (subsets of {1,...,n})
button2 generates the editText areas shap is the result for the shapley value (not ineteresting now)
and banzhaf which should after "K" print the number swingove.

I will explain any part of the code if necessary.


Code:
package com.example.tablelayout6;

import androidx.appcompat.app.AppCompatActivity;

import android.icu.text.MeasureFormat;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import androidx.constraintlayout.widget.ConstraintLayout;

import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.TableRow;
import android.widget.TabWidget;

import android.widget.TextView;
import android.widget.TableLayout;

import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import java.lang.StringBuilder;

public class MainActivity extends AppCompatActivity {
public Integer N=0;
public String a="2";
private EditText editText1;
private EditText linear;
private Integer[] hodnoty =new Integer[10];
private String[] koal=new String[10];
private float[] shap=new float[10];

   [USER=1021285]@override[/USER]
   protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_main);


   }

   public boolean iswinning(Integer J,int ii) {
return true;

   }

   public Integer fact (Integer f) {
       if (f==0) return 1;
else return f*fact((Integer) (f-1));
   }

   //T pocetHracu


   public Integer[] stringToArray(String binary) {
       Integer[] arrayOfPLayers=new Integer[binary.length()];
        for(int i=0;i<binary.length();i++) {
            arrayOfPLayers=Integer.parseInt("" + binary.charAt(i));

        }
        return arrayOfPLayers;
   }

   //N je pocet koalici
   public void click5(View view) {
       int pocetHracu=Integer.toBinaryString(N-1).length();
       Integer[][] koalice=new Integer[N][pocetHracu];
       Integer[][] koalice2=new Integer[N][pocetHracu];
       Integer[][] koalice3=new Integer[N][pocetHracu];

       TextView tv6 = (TextView) findViewById(R.id.textView6);

       for (Integer ith=0;ith<N;ith++) {
           for(Integer T=0;T<pocetHracu;T++) {
             String StringPadded=stf(Integer.toBinaryString(ith),pocetHracu-Integer.toBinaryString(ith).length());
             koalice[ith][T]=stringToArray(StringPadded)[T];
             koalice2[ith][T]=stringToArray(StringPadded)[T];
             koalice3[ith][T]=stringToArray(StringPadded)[T];
           }
       }
       float[] shap=new float[pocetHracu];
       float[] vyhryKoalici = new float[N];
       Integer[] isSwing=new Integer[pocetHracu];

       for (int i=0; i<N;i++) {
           editText1 = (EditText) findViewById(330+i);
           String a=editText1.getText().toString();
           float f1 = Float.parseFloat(a);
        vyhryKoalici=f1;
       }

       Integer[] kolikJeSwingu=  new Integer[pocetHracu];




String S="";
       Integer jth;
       for (int p = 0; p < pocetHracu; p++) {
           isSwing[p] =0;
           kolikJeSwingu[p]=0;
       }

       for(Integer T=0;T<pocetHracu;T++) {
         for (Integer ith = 0; ith < N; ith++) {

             int bool = 1;

//vyhryKoalici[ith];
//musis najit jth<N pro ktere koalice3[jth]=S-ith
             if (koalice[ith][T] == 1 && vyhryKoalici[ith]==1) {
                 koalice3[ith][T] = 0;
                 for (jth = 0; jth < N; jth++) {

                     for (int k = 0; k < pocetHracu; k++) {
                         if (k != T && koalice[ith][k] != koalice3[jth][k]) {
                             bool = 0;
                         }
                     }

                     if (vyhryKoalici[jth] == 0 && bool == 1) {
                         isSwing[T]++;
                     }
                 }
                 koalice3[ith][T]=1;
             }

         }
       }

//kolikJeSwingu(Integer TmaSwing, Integer pocetHracu, Integer pocetKoalici,
//                                   Integer[][] koal, Integer[] koalicePriKtereJeSwing, float[] vyhryKoal)

           for (Integer ith = 0; ith < N; ith++) {
               for(Integer T=0;T<pocetHracu;T++) {
//isSwingBool(Integer kteraKoalice, Integer TmaSwing, Integer pocetHracu, Integer pocetKoalici,
//                               Integer[][] koal, Integer[] koalicePriKtereJeSwing, float[] vyhryKoal) {

                //   kolikJeSwingu[T]+=kolikJeSwingu(T, pocetHracu, N,
                 //          koalice, koalice[ith],vyhryKoalici);


                   if (koalice[ith][T] == 1) {
                       koalice2[ith][T] = 0;
                       for (jth = 0; jth < N; jth++) {
                           int bool = 1;
                           for (int k = 0; k < pocetHracu; k++) {
                               if (k != T && koalice[ith][k] != koalice2[jth][k]) {
                                   bool = 0;
                               }
                           }

                           int bool2=0;
                           koalice2[ith][T] = 1;

                           if (vyhryKoalici[ith] == 1 && vyhryKoalici[jth] == 0) {
                               for (int k = 0; k < pocetHracu; k++) {
                                   if (koalice[ith][k] != koalice2[jth][k]) {
                                       bool2++;
                                   }
                               }

                           //    if(bool2==1) {
                            //       isSwing[T]++;
                            //   }

                           }
                           koalice2[ith][T] = 1;
                           Integer t = 0;
                           for (int p = 0; p < pocetHracu; p++) {
                               t += koalice[ith][p];
                           }
                           // Integer[] isSwing=new Integer[pocetHracu];

                           if (bool == 1) {
                               shap[T] += (float) ((float) fact(t - 1) * fact(pocetHracu - t) / (float) (fact(pocetHracu)) * (float) (vyhryKoalici[ith] - vyhryKoalici[jth]));
                           }
                       }
                   }

           }
       }


S+="here";
       String T2="";
       T2+="banzhaf";

       Integer swingove=0;

for(int p=0;p<pocetHracu;p++) {
   swingove+=isSwing[p];

}

       String strPokus="banzhaf ";

float[] banzh=new float[pocetHracu];
for(int p=0;p<pocetHracu;p++)
{
   banzh[p]=(float) isSwing[p]/(float) swingove;

}


        String strPokus2="shap ";

       for(int i=0;i<pocetHracu;i++) {
        //   S+=(" "+String.valueOf(shap));
           strPokus2+=String.format("%.2f ",shap);
           strPokus+=String.format("%.2f ",banzh);
       }


//      tv6.setText(strPokus2+"\n"+strPokus+"\nswing"+isSwing[0]+"swingPrvni:"+isSwing[1]+"\nH"+swingove);

       tv6.setText(strPokus2+"\n"+strPokus+"K"+String.valueOf(swingove));
   }

   public void click4(View view) {
   //
       linear = (EditText) findViewById(R.id.simpleEditText);
if(N==0) {
   linear.setText("0");
}

   String     a = linear.getText().toString();
      N = Integer.parseInt(a);
      N++;
    linear.setText(N.toString());


   }

   public  String stf(String a,Integer l) {
       if(l==0) { return a; }
       l--;
       return stf("0"+a,l);

   }
   public void click2(View view) {
       String col1;
       String col2;
     //  String playerChanged;

       TableLayout tl = (TableLayout)findViewById(R.id.tableLayout1);

       EditText editText = (EditText)findViewById(R.id.simpleEditText);


       TableRow row = new TableRow(this);
       TextView tv = new TextView(this);
       TextView c = new TextView(this);

       //EditText etUserInfoNewValue = (EditText)findViewById(R.id.simpleEditText);
  //  a = editText.getText().toString();

    tv.setId(202);




       tv.setText("This is text");
//
       tl.addView(row);

       row.addView(tv);

int sf=Integer.toBinaryString(N-1).length();
       for (int x = 0; x < N; x++) {
           //String.format("%010d",(
           String jl=Integer.toBinaryString(x);
           String jl2=stf(jl,sf-jl.length());
koal[x]=jl2;
           col1 = "(" + x + ")"+jl2;
          // col1 = "(" + x + ")"+Integer.toBinaryString(x);
           col2 = "1";

           //col3 = "(" + x + ") Column 3";
           //col4 = "(" + x + ") Column 4";

           TableRow newRow = new TableRow(this);

           TextView column1 = new TextView(this);
           TextView column2 = new TextView(this);
           EditText editText1 = new EditText(this);

          editText1.setId(330+x);
          // String stringAnswer = editText1.getText().toString();

           TextView column3 = new TextView(this);
          // TextView column4 = new TextView(this);
           editText1.setText("0        ");
           column1.setText(col1);
           column1.setText(col1);
           column2.setText(col2);
           //column3.setText(col3);
           //column4.setText(col4);

          // column1.setText(stringAnswer);

           newRow.addView(column1);
           newRow.addView(editText1);





            newRow.addView(column3);
          // newRow.addView(column4);

           tl.addView(newRow, new TableLayout.LayoutParams());
       }




   }


   }

XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:android2="http://schemas.android.com/apk/res/android"
   android:layout_width="wrap_content"
   android:layout_height="fill_parent"
   android:layout_columnSpan="12"
   android:layout_columnWeight="12"
   android:accessibilityLiveRegion="none"
   android:eek:rientation="vertical">

   <TableLayout
       android:id="@+id/tableLayout1"
       android:layout_width="fill_parent"
       android:layout_height="wrap_content"></TableLayout>

   <Button
       android:id="@+id/button2"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:eek:nClick="click2"
       android:text="Button2" />


   <EditText
       android:id="@+id/simpleEditText"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_centerInParent="true"
       android:digits="10"
       android:hint="Enter Your Name Here"
       android:inputType="text" />

   <Button
       android:id="@+id/button4"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:eek:nClick="click4"
       android:text="Button4" />

   <Button
       android:id="@+id/button5"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:eek:nClick="click5"
       android:text="Button5" />

   <TextView
       android:id="@+id/textView6"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:text="Shapley1" />


</LinearLayout>

Migrating to S22 Ultra from older Android: Challenge

I think I've finally got everything I want moved to my S22 now. NotSoSmartSwitch left a lot of data untransferred. Generally, it seems it was confused by (and ignored) all proprietary database file name extensions. One class of items it did handle well were all the non-system apks.

What got frustrating is that access to Android/data directories is restricted, even from My Files (why isn't this Samsung-provided app permanently given permission everywhere, or at least asking for permission for each subtree?), making even manually copying data over, straightforward on my Note 8, troublesome on the S22.

Every app I needed to address manually had a unique way to import its databases: file-by-file, a single .zip, even an entire directory tree. Some take data directly in their Android/data, some in their own subdirectory under the root, some can read and write anywhere (after asking permission, which was fine) you tell them to - they may or may not subsequently copy it themselves to Android/data. I expected trouble writing to the Flash with My Files, but I even had intermittent problems writing from a PC over USB. Unnecessarily challenging.

I didn't notice any trouble reading from Android/data over USB, so hoping I'll be able to transfer data off for my next migration in a few years.

None of my home screen customization came across, including which apps' icons I had there or how they were grouped. No Firefox shortcuts, either.

Battery life on the Qualcomm processor doesn't seem that great, even compared to my aging Note8. I've set screen resolution and brightness to minimum, and turned off GPS. I'd like to shut off more animations. It does seem that the surprisingly quick battery drain is related to my use; unattended, the battery drains pretty slowly. Maybe things will improve once the many apps I never use (I disabled a few obvious ones) get put to sleep.

Game Booster seems to have either broken, or no longer adapted, a very old app I continue to use (no ads, no permissions, no network) that comes from the days of the common menu navigation button. On the Note 8 it looked like GB added a "three-dots" soft menu button. Now without a menu, this old app is no longer useful. Would be nice if an update to GB could restore that function.

I really like whole-screen handwriting for text entry. It'd be slicker if it would distinguish between stylus touch vs finger touching, so I could scroll with my finger after lifting the stylus, without my finger scribbling text input just because I forgot to hide the otherwise nicely abbreviated handwriting assistance buttons

Yes, the screen aspect ratio continues to get ever more extreme. I wouldn't mind getting an extra half-inch of width back in a future Note, on a regular slab phone without a fold crease down the center of the display.

The optical telephoto lenses are nice. Hope a camera app update can address some issues found in the recent somewhat disappointing DXOmark review commentary.

Filter

Back
Top Bottom