skip to Main Content

I used to use this apk a few months ago for studying and the last few days I’ve tried using it again but since I used it last time the app login system broke.
It used an login page for leaderboards and 1vs1 quizes but i dont need those features, i just need the learning environment.

But in order to get to the learning environment you have to log in, and since the log in doesn’t work anymore I decided to take matters into my own hands and edit the app to bypass the login page, I’ve done my research and fell into a rabbit hole for 8 hours today and now i finally gave up.

This is part of the AndroidManifest.xml code:

<application android:allowBackup="true" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:icon="@mipmap/ic_app" android:label="@string/app_name" android:name="ro.umfquiz.umfquiz.presentation.UMFQuizApp" android:supportsRtl="true" android:theme="@style/AppTheme">
        <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
        <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="@string/admob_app_id"/>
        <activity android:name="ro.umfquiz.umfquiz.presentation.login.AuthenticationActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden|adjustPan"/>
        <activity android:name="ro.umfquiz.umfquiz.presentation.login.FirstActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden"/>
        <activity android:name="ro.umfquiz.umfquiz.presentation.login.RegisterActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden"/>
        <activity android:name="ro.umfquiz.umfquiz.presentation.login.LoginActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden"/>
        <activity android:label="@string/app_name" android:name="ro.umfquiz.umfquiz.presentation.main.MainActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity android:name="ro.umfquiz.umfquiz.presentation.ModeSelectionActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden"/>
        <activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize" android:label="@string/app_name" android:name="com.facebook.FacebookActivity" android:theme="@style/com_facebook_activity_theme"/>
        <activity android:exported="true" android:name="com.facebook.CustomTabActivity" android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:scheme="@string/fb_login_protocol_scheme"/>
            </intent-filter>
        </activity>
        <activity android:label="@string/training_mode" android:name="ro.umfquiz.umfquiz.presentation.testselection.training.TrainingSelectActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden"/>
        <activity android:label="@string/exam_mode" android:name="ro.umfquiz.umfquiz.presentation.testselection.exam.ExamSelectActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden"/>
        <activity android:label="@string/title_activity_quiz" android:name="ro.umfquiz.umfquiz.presentation.quiz.types.exam.QuizExamActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden"/>
       

I used a 3rd party app to find what name does the login page have, and the name is "ro.umfquiz.umfquiz.presentation.login.AuthenticationActivity".
I learned that the activity with the intent-filter that has action.MAIN and category.LAUNCHER is the activity that launches by default, i have tried moving that intent-filter tag to MainActivity, then to ModeSelectionActivity, FirstActivity, etc and none of this worked, i still landed on the login page. After moving the intent tag i always recompiled signed and reinstalled the apk and also made sure the changes were saved.

I also tried using android:enabled="false" on a lot of activities related to login, that version failed to sign .. idk?

So please help me, i really need this app to work. here is the apk, you can check it for viruses if you dont trust me but i guarantee that is safe.

The tools i used were : apktool, MT Manager, apk-signer, Current Activity, Notepad ++.

Link to apk : Google Drive

2

Answers


  1. TO change the default activity you just move the code that says

        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    

    to the activity you want. Now whether the app will work after you do that- it depends on if it needed data from that login server, and if its coded defensively to not crash if it can’t reach their servers. Most likely it will crash, either immediately or after some time when it attempts to access data it needed from the server. But you may be able to use some of the app without it, it depends on a lot of factors in how they code it and how the app works.

    Login or Signup to reply.
  2. In AndroidManifest.xml file:

            <activity android:name=".Your_Activity">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
    
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search