Showing posts with label Strange. Show all posts
Showing posts with label Strange. Show all posts

Sunday, 11 October 2015

Strange battery behavior, so i'm searching for a kernel



Here's my problem:
My battery level suddently drop from 50% or 30% to 0% in few seconds.
When i'm in system on (for example) 90% battery, if i go in recovery my battery level is 5%.
I tried a battery calibration program with no results.
My last chanche is to try another kernel but, i can't find one!
I'm searching for a stock kernel with root and recovery for 5.0.1.
Now i'm on rockz1 kernel.
Someone know where to find a stock kernel that i can try without losing root?
Or maybe there is already a solution to this strange battery problem?
Sorry for this noob request.



Strange freezes with Z5



I've had the xperia z5 for one day now and the phone has been great, however when i'm watching twitch or YouTube the phone can freeze. In the case of twitch the app just crashes and I need to go to the homescreen, close the app and restart it. In the case of YouTube it just pauses. These freezes usually happen every 5 minutes or so and are very annoying. If i'm wearing my headphones I can hear a beep right before it freezes. The freezes also happen in other apps, but there they just feel like they is some lag, however in videos it is very noticeable. I've already uninstalled all possible apps, but the problems remains when watching youtube videos.

Does anyone have a solution to this problem or do i just have a defective unit?



Strange display color shift



Dear xda users, i need of an advice. Yesterday i got a note 4 (this is my first amoled, i came from a LG G2) and when tilting the screen A BIT it turns a blueish and green colour. It it an issue?
best Regards
Massimo



Saturday, 10 October 2015

Strange Build #. Want to root, backup and revert.



I need a bit of help with this one.

I have a Samsung Galaxy S4 on Verizon, Android 4.4.2 Build VRUFNK4 (I believe this is an intermediate build between the stock VRUFNK1 and Lollipop).

What I'd like to do is root, backup the current build and then revert back if possible to VRUFNK1.

I'm new to rooting a phone so I could use a bit of help and links. I've read many of the posts and tips, but most specifically don't mention my build, which makes me a bit nervous.

Will towelroot work with this ?
Should I use TWRP or Titanium for backup ?
And.........can I find and revert back to the official build VRUFNK1 (4.4.2)

I simply want to get out of this strange build, remove bloatware........ and have some control over not being pestered over OTA updates from Verizon/Samsung.
Possibly, in the future, I'll play around with some custom ROM's.

Any help and opinions would be appreciated.



Strange Problem



Hey xda-community,
I have a srrange problem with my note 2 since last week. My phone works actually perfectly (I have eclipse Rom v4) . But sometimes I have no network and then the powerbutton stops to work and if I'm connected to the WiFi, I actually have no Internet. It happens once or twice a day and the problem is for 10-15 min there. (Sometimes longer)
Hope someone can help :)
(Sorry for bad English, I'm german)



Report of a strange behavior with android 5.1.1 and before on my S6 Edge



The problem: The first 3 times, while i was online trough wifi on battery modus, it happened to me that of all sudden, the phone tells me, the docking station is connected, while i don't have it connected, not even have a docking station. And then the cursor jumps and it trys to play crazy until i cant operate it and need to close the phone. The first time when it happened, i saved my files and flashed the stock android 5.1.1. But it didn't solve it. The trouble came again. Temporarly i found a solution, i had to remove my custom launcher(i tried many! Also the stock one. The only difference is: Here i only have to clean the cache! ) while in safe mode and when restart all was fine. I checked with almost all free antivirus and antispywares apps, but there was nothing. It also removes allmost all icons after restart and then i have to install again a launcher and the icons will reapear and i need to rearange them again.

The best temporarly solution: After the 3 times, i managed to solve the problem, while leave it untouched and close wifi. It calms down that way without closeing the phone, don't know why. Don't know if its a security flaw, or just because i stay long on wifi. But it happens always when i browse the web and even with all browsers, stock and firefox and chrome. And then it continues to work normaly after i log in to my phone again, while the browser were i was surfing, i encounter as crashed, and i can go wifi again. I don't even know if its a hacking attempt.

But i just wanted to share this, it may help some, and i hope there will be a solution for this, thanks.



Strange app preinstalled on asus ME173X



Hi guys, two years ago I bought a tablet to my brother as a birthday gift. the tablet in question bought it to MediaWorld. of course I kept it for a few days with me to see if it worked and had no problems. Today my brother came to me to signal me a system app rather strange. The app is called pornclub; I can not open it and uninstall it, I can just turn it off. the only problem is that two years ago, this app was not installed on the tablet. can you tell me if it is a malware? and if it is a virus, you know you tell me how to remove it? thank you all!!



Friday, 9 October 2015

Please help: strange android error i dont know further



Hello today i was trying to code a ListView and in it says data from a database and them i tested it i was sure it will work this time and them this weird error comes up my logcat:

Code:


10-09 20:53:38.166: E/AndroidRuntime(279): FATAL EXCEPTION: main
10-09 20:53:38.166: E/AndroidRuntime(279): java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:347)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.ArrayAdapter.getView(ArrayAdapter.java:323)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.AbsListView.obtainView(AbsListView.java:1315)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.ListView.measureHeightOfChildren(ListView.java:1198)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.ListView.onMeasure(ListView.java:1109)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.view.View.measure(View.java:8171)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.RelativeLayout.measureChild(RelativeLayout.java:563)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:378)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.view.View.measure(View.java:8171)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.view.View.measure(View.java:8171)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.view.View.measure(View.java:8171)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.view.ViewRoot.performTraversals(ViewRoot.java:801)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.view.ViewRoot.handleMessage(ViewRoot.java:1727)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.os.Handler.dispatchMessage(Handler.java:99)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.os.Looper.loop(Looper.java:123)
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.app.ActivityThread.main(ActivityThread.java:4627)
10-09 20:53:38.166: E/AndroidRuntime(279):        at java.lang.reflect.Method.invokeNative(Native Method)
10-09 20:53:38.166: E/AndroidRuntime(279):        at java.lang.reflect.Method.invoke(Method.java:521)
10-09 20:53:38.166: E/AndroidRuntime(279):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
10-09 20:53:38.166: E/AndroidRuntime(279):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
10-09 20:53:38.166: E/AndroidRuntime(279):        at dalvik.system.NativeStart.main(Native Method)
10-09 20:53:38.166: E/AndroidRuntime(279): Caused by: java.lang.ClassCastException: android.widget.RelativeLayout
10-09 20:53:38.166: E/AndroidRuntime(279):        at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:340)
10-09 20:53:38.166: E/AndroidRuntime(279):        ... 24 more


and my main.java code is:

Code:


package com.example.frauprinzssapp;


import java.util.ArrayList;
import java.util.List;

import android.app.Activity;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;

public class Main extends Activity {
       
       
        private static String DDB_NAME = dbreader.FeedEntry.DB_TABLENAME;
        SQLiteDatabase db;
       
        List<String> userss = new ArrayList<String>();
       
        @Override
        protected void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
                database Mydb = new database(Main.this);
                db = Mydb.getWritableDatabase();
                String[] t = null;
               
               
                ListView users = (ListView) findViewById(R.id.users);
               
                try{
                        String query = "SELECT * FROM "+DDB_NAME+" ORDER BY "+dbreader.FeedEntry.COL_1+" DESC";
                        Cursor c = db.rawQuery(query, t);
                       
                        while (c.moveToNext()){
                                if (c.moveToLast()){
                                        userss.add(c.toString());
                                        ArrayAdapter<String> adapter = new ArrayAdapter<String>(Main.this, R.layout.main, userss);
                                        users.setAdapter(adapter);
                                        return;
                                }
                                userss.add(c.toString());
                        }
                }catch(Exception e){
                        userss.add("[ERRORMSG]: "+e.getMessage());
                        userss.add("[ERRORCAUSE]: "+e.getCause());
                        userss.add("[ERRORLOC]: "+e.getLocalizedMessage());
                        userss.add("[CLASS]: "+e.getClass());
                        ArrayAdapter<String> adapter = new ArrayAdapter<String>(Main.this, R.id.users, userss);
                        users.setAdapter(adapter);
                }
        }
        //-----change view voids-----
        public void main(View view){
                setContentView(R.layout.main);
        }
        public void adduser(View view){
                setContentView(R.layout.adduser);
        }
        public void removeuser(View view){
                setContentView(R.layout.removeuser);
        }
       
        //------actions------
        public void add(View view){
                EditText name = (EditText) findViewById(R.id.aun);
                EditText clas = (EditText) findViewById(R.id.auc);
                String namee = name.getText().toString();
                String  clase =  clas.getText().toString();
               
                if (name.toString() == null || clas.toString() == null){
                        Toast.makeText(Main.this, "please fill in all textfields!", Toast.LENGTH_LONG);
                        return;
                }
                ContentValues values = new ContentValues();
                values.put(dbreader.FeedEntry.COL_2, namee);
                values.put(dbreader.FeedEntry.COl_3, clase);
                values.put(dbreader.FeedEntry.COL_4, 0);
               
        try{
                db.insert(DDB_NAME, null, values);
                Toast.makeText(Main.this, "added user "+name.toString()+"!", Toast.LENGTH_LONG);
                setContentView(R.layout.main);
        }catch(Exception e){
                Toast.makeText(Main.this, "[ERROR] Could not create user maybe its already created!", Toast.LENGTH_LONG);
                e.printStackTrace();
        }
        }
        public void remove(){
               
        }
        public void show(){
               
        }
}


the part where this is coming from is (i tihnk):

Code:


                database Mydb = new database(Main.this);
                db = Mydb.getWritableDatabase();
                String[] t = null;
               
               
                ListView users = (ListView) findViewById(R.id.users);
               
                try{
                        String query = "SELECT * FROM "+DDB_NAME+" ORDER BY "+dbreader.FeedEntry.COL_1+" DESC";
                        Cursor c = db.rawQuery(query, t);
                       
                        while (c.moveToNext()){
                                if (c.moveToLast()){
                                        userss.add(c.toString());
                                        ArrayAdapter<String> adapter = new ArrayAdapter<String>(Main.this, R.layout.main, userss);
                                        users.setAdapter(adapter);
                                        return;
                                }
                                userss.add(c.toString());
                        }
                }catch(Exception e){
                        userss.add("[ERRORMSG]: "+e.getMessage());
                        userss.add("[ERRORCAUSE]: "+e.getCause());
                        userss.add("[ERRORLOC]: "+e.getLocalizedMessage());
                        userss.add("[CLASS]: "+e.getClass());
                        ArrayAdapter<String> adapter = new ArrayAdapter<String>(Main.this, R.id.users, userss);
                        users.setAdapter(adapter);
                }


and also can you tell me if the ordering and displaying to the LIstView will work and when no can you help me display it please?