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

Twrp back up problem

Hi there,
I am trying to do a back up using file TWRP-3.1.1-0-picassowifi.img.tar installed on my samsung galaxy tab pro 10.1 sm-t520 prior to installing a custom rom.
The problem I am having is that evertime I try to run the twrp backup it gets to at best about 41% and then the backup drops out and the tablet restarts in normal mode. I have tried 2 different Sandisk 32gb SD cards but get the same results each time.I have trawled around the net but cant find anything to point me in the right direction.
If anyone could point me in the right direction that would be great.

many thanks
hazatree71

How do I prevent guest wifi disconnect?

So, at my work, the cell reception is terrible. We have a guest wifi available, but for some reason while I'm connected to it, it disconnects extremely often. I like to stream music all day while I work. On another post about a different question, someone made a comment about wifi disconnecting and suggested i try a vpn. He said it will create a connection which should prevent me being constantly booted from the guest wifi.

I signed up for Nord VPN. Being on the VPN does seem to make it better, but I'm still getting disconnected from the guest wifi often. Today I also downloaded an app called keep alive which is supposed to keep traffic going over wifi to keep the connection alive. Well, it didnt help.


Btw, it's not just my phone. My coworkers have the same issue. One of my coworkers says if he's not streaming music, he's disconnected often. But as long as he's streaming music, he stays connected.

Does anyone have any other ideas how to prevent my phone from constantly being booted from the guest wifi?

Gallery Issue

Hello people, since last week ever since i recieve videos or images form WhatsApp, for some reason my gallery saves them on different dates, if i recieve a pack of 10 images, most of them save correctly but others just save all over my gallery on different dates, anyone else with the same problema? any ideas on how to solve this?

Help fresh reset and backup will not restore to phone??

i did a fresh reset in recovery mode. had to bypass allowing restore during initial setup after reset due to screen lock pin error.

Can't get the restore backup to add to my phone from google drive. What am i doing wrong?

It seems like the old backup to be used to restore is blockng the new initial setup on the phone from creating a new backup....which is good because i want to restore that old back from yesterday . it was before i did a fresh reset.

Phone is activated on the same google account that the backup is stored on in google drive. 2 factor is turned off.

according to this tutorial, If i skip restoring during initial setup i should get a notification to continue finish setup....i have not (3+hrs)


Some of the contacts have been added back to the phone automatically somehow and 52 of the apps are showing as installed in google play out of 105 apps total not sure how they got here as the restore has never happened.

In the past the apps were placed back on the homescreen where they belong when a restore was done, that did not happen yet. Is it supposed to?

When i go into backup in settings it says that it is already on and waiting to backup?

Support told me to try to turn it off and then on again but that triggers a warning telling me that it will delete the backup permanently that i want to restore from google drive.

https://imgur.com/a/5o6Atfd .............. https://imgur.com/a/uttXNGg ............ https://imgur.com/a/zyqY1Fx

so what do i do to get the restore backup to load back onto the phone?

support told me to go to the google account recovery page and sign in.

Would the google account recovery login help with this?

I can't seem to tell what that page does?

thanks for any advice!

Help Caught someone with my phone

Hi all,

I'm very special when it comes to things like this and I'm hoping for some help.

Long story short, my partner and I hosted a party and caught someone we barely know on her phone in some weird menu using the dialer - *#*# codes.

Didn't think into it too much at the time, just got rid of him.

Anyway, my galaxy tab a 2017 was also in reach and ever since both devices have been playing up;
- Very short battery
- Randomly crashing and freezing
- Calls are bad quality and have constant feedback.

Haven't noticed anything too strange with the Google accounts and have changed passwords and added security etc.

Please could someone shed some light on to what could of happened? I feel he could be 'spying to try get info as I have found out he is a rather dodgey individual..

Any help would be greatly appreciated before I throw these in the fire and buy a couple Nokia 406's ‍♂️

[GAME][FREE] Rotio - stop at the right time.

Android_Banner_Rotio.png




Try Now

Stop the shapes in a target in time and don't let it go or you'll lose!
Beat the levels by centering the shapes, if you hit special shapes you will get coins!



★ What makes the Rotio game special ★
• Easy one-touch control
• Endless gameplay
• Challenge your friends in the online leaderboard
• Unlock all the achievements
• More levels and shapes coming soon!
Will you be able to unlock the hidden achievement?




Thanks and I hope you enjoy!

Issues while replicating hard coded activity, programmatically in onCreate()

Good morning.

I am trying to create a simple Tic Tac Toe grid, however I am facing issues with correctly filling up the space with the child views.

Originally I hard coded the activity where I have a GridLayout (a custom one to make it square) and it contained 9 ImageViews which filled up the whole Grid perfectly. I do not have the original code of this, but I quickly replicated it below.

activity_test.xml
Code:
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".test">

<com.example.tictactoebot.Activities.SquareGridLayout
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:background="@color/black">

    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="0"
        android:layout_column="0"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="0"
        android:layout_column="1"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="0"
        android:layout_column="2"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="1"
        android:layout_column="0"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="1"
        android:layout_column="1"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="1"
        android:layout_column="2"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="2"
        android:layout_column="0"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="2"
        android:layout_column="1"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="2"
        android:layout_column="2"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>

</com.example.tictactoebot.Activities.SquareGridLayout>

Image of what the result of this activity is.


Now I tried to recreate this programmatically, because I want to vary the size of the board. I tried to set the above exact variables in code as well, but for some reason only the top rows are shown.
Within the OnCreateView of the fragment, I create a GridLayout and all the required Squares (extended ImageView). The code does work, but it has some flaws.Currently only the top row of squares are shown, but they take up the whole screen. If I remove the row/column weight and set an actual height and width for each square, then they do show up. The latter is already a step better, but preferably I do not want to calculate the size of each square. Especially since the hardcoded activity works just fine with automatically taking up the whole grid.

tictactoeboard.class
Java:
private Square[][] board;
private static int boardSize = 3;
private SquareGridLayout grid;
private int squareMargin = 5;


public TicTacToeBoard() {
}

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.fragment_tic_tac_toe_board, container, false);

    FrameLayout frame = view.findViewById(R.id.tic_tac_toe_board);

    frame.setBackgroundColor(getResources().getColor(R.color.colorAccent));

    grid = new SquareGridLayout(getContext());
    grid.setLayoutParams(new LinearLayout.LayoutParams(
            LinearLayout.LayoutParams.MATCH_PARENT,
            0
    ));
    grid.setBackgroundColor(getResources().getColor(R.color.colorPrimaryDark));
    grid.setRowCount(boardSize);
    grid.setColumnCount(boardSize);

    frame.addView(grid);

    Square square;

    board = new Square[boardSize][boardSize];

    for(int x=0; x<boardSize; x++){
        for(int y=0; y<boardSize; y++){

            square = new Square(getContext());

            //Square definition
            square.setBackgroundColor(getResources().getColor(R.color.white));
            square.setEnabled(true);

            square.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    humanClickedButton((Square)v);
                }
            });

            //Grid location
            GridLayout.LayoutParams gridParams = new GridLayout.LayoutParams();

            gridParams.height = 0;
            gridParams.width = 0;

            gridParams.topMargin = squareMargin;
            gridParams.bottomMargin = squareMargin;
            gridParams.leftMargin = squareMargin;
            gridParams.rightMargin = squareMargin;

            if(x == 0){
                gridParams.topMargin = 0;
            }
            else if(x == boardSize-1){
                gridParams.bottomMargin = 0;
            }

            if (y == 0) {
                gridParams.leftMargin = 0;
            }
            else if(y == boardSize-1){
                gridParams.rightMargin = 0;
            }

            gridParams.rowSpec = GridLayout.spec(x, 1f);//Setting weight to 1
            gridParams.columnSpec = GridLayout.spec(y, 1f);//Setting weight to 1

            square.setLayoutParams(gridParams);


            //Store copy locally
            board[x][y] = square;


            grid.addView(square, (x*3+y));
        }
    }

    return view;
}

The fragment where the GridLayout and Squares are added to:
fragment_tic_tac_toe_board.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".Activities.Fragments.TicTacToeBoard"
    android:layout_margin="20dp"
    android:layout_gravity="center_vertical"
    android:id="@+id/tic_tac_toe_board">
</FrameLayout>

I must have missed something while converting the hardcoded activity to the onCreateView code.
If anyone can point me in the right direction, that would be greatly appreciated. :-)

Mods Samsung S7 Edge specific system animations

Good day, developers.

I have installed a custom rom called Resurrection Remix running Android 7.1.2 on my Samsung A5 2015. I found a feature, under Configurations, where I can change the system animations for the entire operating system, and also prevent apps from overriding transitions.

All the animations are set to 'Default' at this time, but I desire to change the system animations to look like the Samsung Galaxy S7 Edge. For example, under 'Activity open animation', it can be set to:

  • Default
  • Fade
  • Slide in Right
  • Slide in Left
  • Slide in Right (No fade)
  • Slide in Left (No fade)
  • Slide in Bottom
  • Slide in Top
  • Translucent
  • Grow in (Top)
  • Grow in (Center)
  • Grow in (Bottom)
  • Grow in (Left)
  • Grow in (Right)

Can anyone indicate, the specific system animations of the Samsung Galaxy S7, please?

System Animations
Activity open animation ?
Activity close animation ?

Task open animation ?
Task open behind animation ?
Task close animation ?

Move to front animation ?
Move to back animation ?

Wallpaper open animation ?
Wallpaper close animation ?
Wallpaper intra open animation ?
Wallpaper intra close animation ?

Animation Duration ?

ListView
ListView animation ?
ListView interpolator ?

Thank you very much in advance. :D

Is it possible to locate a user by his WiFi or Bluetooth connection?

Dear community,

I am currently developing a business idea. One part will be to check into locations. I am wondering whether this is possible without using the location services and without the user´s confirmation about the location by recognizing the phone from its Bluetooth or WiFi information when he is entering the location? Could a notification then be sent so that the program receiving the Bluetooth/WiFi signals from nearby phones could recognize the specific user and e.g. store that he is at the location?

Thank you in advance for your answer!

Emails with photographs attached

Hi, I do hope someone can help me with a problem on my HTC One X Plus. Until very recently I have been able to send photographs attached to emails with no problems whatsoever. However a problem has now arisen. When I attach a photograph to an email and then send that email using my home WiFi network it works perfectly. However when I do the same thing but using my Vodafone mobile network my phone says the email has been sent but it then just vanishes and is not received. In case it is connected, it sometimes takes a very long time for a sent email to leave the phone's outbox.
Any help would be most appreciated.

Smartphone with no internet connection sharing capability?

Hello everyone, I have an unusual question. I am looking for a smartphone that has internal internet access, but can NOT share that connection via tethering or hotspot. I need something *physically incapable* of sharing the internet connection externally, not just a setting on the phone's account that can turn that function on or off. I talked with a few provider reps, and apparently all new cell phones on the market today have this functionality by default.

Are there older phone models that might fit this requirement that will still work on current provider networks? An old flip phone with no internet capability at all would probably work, but I was hoping to find a smartphone for this purpose that would have at least basic internet capabilities internally for email and web browsing.

Thank you very much for any info!

Filter

Back
Top Bottom