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

Help Broken screen, need to confirm USB "Transfer files" somehow

So when I connect my Huawei P30 Lite to a computer using USB I internal storage pops up in my Windows Explorer.

But before I can access any of my files/DCIM folder I need to confirm a question-box named "Use USB for" with the choices like "Only charging", "Transfer files", "Mass storage" etc. You know, know that things that pops up on your phone immediately after connecting your phone to a PC using USB.

However, my screen is broken so I cannot confirm this question-box. This is quite frustrating cause I cannot copy over my pictures even though they are right there.
Any smart ways of getting around this? Just need to confirm for "Transfer files" and i'll be good.
with a broken screen there is not much you can do. if you had used google photos then those photos would have been automatically saved to the cloud and you could've accessed them on your pc without having to connect the phone to your pc.

are are other ways but you would have had to have usb debugging turned on and enabled oem unlock in developer's mode....but you need the screen to accomplish those. if you can get that done, then you can use adb to move files around via a command shell on your computer. https://www.thecustomdroid.com/adb-push-pull-commands/

if you can get AirDroid: Remote access & File from the play store to be downloaded and installed, you can use that to wirelessly move files between phone and pc. but i'm pretty sure you will still have to interact with it on the phone, so i'm not so sure if that will work in your case.

Camera doesn't work after lcd replaced

Yes, I did it by myself and I think everything was perfect installed. I just ordered s20+ and screen, fingerprint are working perfectly except camera. My all back camera work perfectly. But in messenger or WhatsApp or apps, I cant used camera and error shows, camera is using in another app.

Check the flexible print connections aren't damaged, and are secure? But it does sound very much like a hardware problem with the replacement part.

Any apps or ways to categories group apps folders in menu view

you can use a custom launcher like nova. it can group your apps onto the home screen as well as your app drawer. i believe that feature is in the prime add-on.....so nova is free, but if you buy nova prime, it will unlock those features and many more. its almost like getting a new phone as their is so much to customize, and yet it is pretty small in size and will not slow your phone down.

Apps Help with sending info from Fragments

Hi guys, new to app development and new to the forum. Am actually enjoying developing apps as opposed to programs because of the layout designer in android studio but recently have run into a real annoying issue that I can't seem to solve. I'm trying to write an app that allows a user to send one email that personalizes individiually to each sitting politician in my country. Had learned that if something was going to be used in more than one place a fragment was better than an activity. But, I cannot for the life of me figure out how to send the info I want from the fragment to the parent activity.

I have been changing this around a few times but thought I had finally got it until I ran into an illegal state exception (full exception is : java.lang.IllegalStateException: Could not find method storeEmail(View) in a parent or ancestor Context for android:onClick attribute defined on view class com.google.android.material.button.MaterialButton with id 'confirmFrag') when hitting the button to confirm the input. Code of the fragment and activity it's attached to below

Java:
public class EmailFragment extends Fragment {
    EmailCreated activity;

    public interface EmailCreated {
        String onEmailCreated(Bundle emailBundle);
    }

    public EditText subjectLineFrag, emailFrag;
    public String emails, subject;
    public Button confirmFrag;
    public Bundle emailBundle;

    @Nullable
    @org.jetbrains.annotations.Nullable
    @Override
    public View onCreateView(@NonNull @NotNull LayoutInflater inflater, @Nullable @org.jetbrains.annotations.Nullable ViewGroup container, @Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.email_fragment, container, false);
        emailFrag = view.findViewById(R.id.emailFrag);
        subjectLineFrag = view.findViewById(R.id.subjectLineFrag);
        confirmFrag = view.findViewById(R.id.confirmFrag);

        return view;
    }

    public Bundle storeEmail(View v, EditText subjectLineFrag, EditText emailFrag) {
        String emails = emailFrag.getText().toString();
        String subject = subjectLineFrag.getText().toString();
        emailBundle.putString("message", emails);
        emailBundle.putString("subject", subject);
        return emailBundle;
    }
   
    @Override
    public void onAttach(@NonNull @NotNull Context context) {
        //context will refer to the attached activity
        super.onAttach(context);
        activity = (EmailCreated) context;
    }

    @Override
    public void onCreate(@Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }


    //Implement Fragment Lifecycle
    @Override
    public void onStart() {
        super.onStart();
    }

    @Override
    public void onResume() {
        super.onResume();
    }

    @Override
    public void onPause() {
        super.onPause();
    }

    @Override
    public void onStop() {
        super.onStop();
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
    }

    @Override
    public void onAttach(@NonNull @NotNull Activity activity) {
        super.onAttach(activity);
    }

    @Override
    public void onDetach() {
        super.onDetach();
    }
}

I thought that by declaring the variables publicly instead of privately the exception would go away but it has not. Here is the code for the activity that wants the data sent to it, although it's very bare bones, had been working on the fragment

Code:
public class GuestActivity2 extends AppCompatActivity implements EmailFragment.EmailCreated {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_guest2);

        FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
        transaction.replace(R.id.container, new EmailFragment());
        transaction.commit();
    }

    @Override
    public String onEmailCreated(Bundle emailBundle) {

        return null;
    }
}

I have no idea why this is not working. All I want it to do is send the stuff to the bundle so I can continue with the app.

I don't know if my issue is a small one or a large structural one caused by making a huge mistake in the process of sending it. Obviously if it's a small mistake in the code I'd be much obliged if someone could show me but would also really appreciate if someone could tell me if I'm making a gigantic structural mistake with my code. I've been confused by most tutorials. Have no issue rewriting my code to fit a better template for sending info from fragments, I am just at a bit of a loss as to how to procede

How to overcome rooting Android drawbacks risks?

There are only 2 ways I can think of to recover the stock Android ROM:

1) One a device with a custom recovery you can back the ROM up before modifying it, then you can restore the backup if needed.

2) You can reflash the device with a stock ROM from the manufacturer (method and even availability varies between manufacturers). This will unroot, remove any custom recovery or other modifications, and return the phone completely to stock.

I would usually advise anyone considering rooting to make sure they are able to do both. Find out where to download stock firmware for their phone and how to install it, and download a copy. Then before making any changes to the ROM use a custom recovery to make a backup (often referred to as a "nandroid" backup). If your device allows you to root using the common procedure of "unlock bootloader, flash custom recovery, use recovery to flash other packages to root the phone" you should take the nandroid backup immediately after flashing the custom recovery, before changing anything else (you can also take a second backup later if you want, but backing up before you do anything that might mess the ROM up if it goes wrong is the best plan).

Note that restoring the stock software either way is likely to remove data from your phone. Flashing stock firmware will do a factory reset on most phones. Restoring a nandroid will by default restore the apps and data you had installed when you took the backup, which will overwrite anything you've done since. So either way you should try to back your data up before returning to stock, if you can.

DCIM DOWNLOAD media or any folder redirect sync change default location

What device do you have?
Generally, anything below Android 9 (Pie) Go will have a selection available at the top of the Storage page.

@puppykickr bro thanks.lot for sharing your precious time knowledge advice And opinion and thanks for replying

@puppykickr bro want to redirect change move sync folders default location of folders like download pictures music media video folders which are saved generally in internal memory to automate auto redirect to auto save in external micro SD card and cloud storage is it possible if yes how I founded two apps folder syn folder redirect.

In storage menu in seetings I don't found any such option. To redirect the folders files. But there were option to redirect prefer default apps installation to SD card still which is not in my android 6 mobile was available in one of my Android 5.1

My mobile device is
OS Android 6.0.1 Marshellow Processor Qualcomm Family cortex a53 Machine arrch 64 Architecture arm cortex a53 External memory card 64GB ROM 16 GB MOBILE NOT ROOTED

How to Edit apk manifest Android:installlocation through app or advice shell commands?

In order to see how much RAM each running app is using, open developers options and select Running services.

Click the overflow icon (three dots) and then Show cached processes to see cached processes.

Click again (twice) to see running services again.

If you want more control over what is running, try Greenify.

https://greenify.en.uptodown.com/android

@puppykickr bro thanks a lot for sharing your precious time knowledge advice opinions. Bro Greenify works in rooted mobile or does it work on unrooted to. IDM is used to download apkmpr songs videos...Does it download website HTML pages to?

Thank a lot

Help Transfer data and apps fro Android 5 to new phone

Samsung Smart Switch works on Android 4+ and can be used on non Samsung phones:
https://play.google.com/store/apps/details?id=com.sec.android.easyMover

Or a more manual way:
If you have Sync turned on that will transfer contacts, calendar, and some other settings over.

For texts - SMS Backup & Restore supports Android 5:
https://play.google.com/store/apps/details?id=com.riteshsahu.SMSBackupRestore

Data files, pictures, and videos can be copied to your SD card or a USB drive and transferred to the new phone.

Planet Tower Defense

I released a few more patches and added a new building, the defense Satellite and two spells that you can use, in addition there is now a new resource in the game which should make gameplay a bit more interesting. Furthermore I included a new level with 15 waves to play.

Here's a Video of the implementation of the defense Satellite:

Twrp 5.5.2.9 recovery image error Mounting internal external storage i

found this guide for you:
https://forum.xda-developers.com/t/how-to-root-ls-5015-for-lyf-water-8.3626875/

always do your research into rooting a specific device over at https://forum.xda-developers.com/

@ocnbrze bro thanksa lot for sharing knowledge opinion advice and time and link of XDA to root my Ltd water 8 device steps will be useful if I use to root it.thanks a lot.

Actually what my question in this thread post is is let me.explain and elaborate to you to make understand And clarify and avoid confusion.

What i did is

1. Mobile developer option on USB deBugging mode and OEM unlcok

2. Then installed and Qualcomm mobile drivers and adb fast boot files platform.tools

3. Connected mobile to.pc with USB

4. From dos Command prompt windows did typed adb drivers

5. Then typed adb reboot bootloader

6. Then fastboot devices

7. Then fastboot boot twrprecovery.img

8. It's showed twrp menu in mobile

Now the main thing as there are three options to take from backup mobile phone without rooting mobile device as twrp recovery image have root privileges with itself one is

Add pull /device/mmcblk0 mmcblk.0.img
And pull /device/mmcblk20 system.img

Or from

Adb shell
# dd if=/dev/block/bootdevice/by-name/boot of=/sd card/boot.img

Or from

Tarp menu backup option

Now my real.post question that above two options s worked fine with twrp image but the .Menu of twrp two which is shown in the mobile when I select backup it's giving error of mount of internal storage or external storage I tried following options but not working is some one to modify the twrp recovery image file


The below links and Google shows that this error is due to encryption of mobile device files tried following option to decrypt but not worked either problem with two recovery image

https://forum.xda-developers.com/t/...rnal-storage-0mb-in-twrp-permanently.3830897/

https://appuals.com/how-to-fix-twrp-unable-to-mount-storage-internal-storage-0mb/

Splitting partition Micro SD card adoptable and portable storage through adb shell commands?

Back in the Days of Android. 4 (Jellybean/ICS) before you could format a card as internal (Encrypted), there was Int2Ext4+ which required root, it would let you format a card as Memory (NOT storage), Linux swap and un-encrypted storage. useful when you on;y has 512Mb, or 1 Gb if lucky for memory. I suspect it's been deprecated long since though.

@Davdi bro thank for replying yes you are right Android 4.0 the ROM used be 512 Mb or 1gb and Android 5.0 it's 8GB but 5-6GB occupied by OS and system apps and only 2 GB left spare for user data files and Android 6.0.1 it's ROM is 16GB in which 10-11 GB occupied by Android OS and so on with Android 7 . Only Android 8 OS occupies less space as per Google.comments.

Still in android 4,5.1,6.01,7 have to forcefully use the format micro SD card as Internal memory or move apps to SF as Android OS and system apps occupies lots of space in the internal.memory as updates of Google.apps are growing day by day. Still many use and find in forums for.link2sd or apl2sd except for.those who have big phones of 64GB or 128GB ROM internal memory

TCL 10L some apps close immediately

OK it seems to be fixed now.. Apparently deleting the app is not enough, the data stays behind. When I cleared the data and signed in again. IT all works now. THANKS SO MUCH!!! Learned something today.
yes sorry. i forgot to mention that. data and cache sometimes will remain after uninstalling.......glad you figured that out.

Mobile Data not working after Latest Android Update - Note 9 and Galaxy S8

this is an english only site.....use google translate:

and google says:

and that response has nothing to do with the op's issue

@gmhhsv99 you might need to do a factory reset. it could have been a bad download or a bad install. it happens, not very often......but it happens.

edit:never mind that....i did not see that you already tried this. i agree that this might be a SIM card issue.

Thats the conclusion I am coming too, I also just brought a Telstra Pre-Paid sim and put it in the phone, straight away can get Data. So i will go see Telstra and ask for a new sim and see how that goes.

I just dont understand why my old sim is not compatible with the new android, i have probably had that sim for 6 - 8 years, possibly there is something that newer sims have that i dont know of to do with security, no idea?

But still that old sim works fine in a Iphone 5, 7, Samsung Tab 4 and Samsung Note 8 (the Samsungs that have not been updated to the latest firmware yet).

Anyway when I find out will let you know.

Filter

Back
Top Bottom