Pls help me... - Xiaomi Redmi Note 4 Questions & Answers

When I am opening the stock MI Messaging app on my RN4 MIDO, I am getting this error-
android.database.sqlite.SQLiteException: Can't downgrade database from version 107 to 106
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
at android.content.ContentResolver.query(ContentResolver.java:532)
at android.content.ContentResolver.query(ContentResolver.java:473)
at com.android.mms.util.SqliteWrapper.query(Unknown Source)
at com.android.mms.data.Conversation.loadThreadsFromCursor(Unknown Source)
at com.android.mms.data.Conversation.cacheAllThreads(Unknown Source)
at com.android.mms.data.Conversation.-wrap2(Unknown Source)
at com.android.mms.data.Conversation$RefreshRunnable.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)
Click to expand...
Click to collapse
After seeing this, I understand that I need to downgrade the SqLite Database.... Can someone help me solve this error.... I don't want to clean flash my Rom... I can dirty flash it... I have root... I need to know the location of the SQlite Database....
Thanks in advance...

Having the same problem after installing older stable stock version. Without root.
Did you find a solution?

Related

[Q] deodexing problem :(

does anyone know whats the solution of this?
im trying to deodexed SGY DXLE1 stock rom so that i can have my own themes,
i always get an error every time i choose step 3 in xUltimate 2.4
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of a
rguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arg
uments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.jav
a:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:7
9)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:4
4)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Inst
ruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:84)
... 6 more
Error occured at code address 8
code_item @0x25cc
Press any key to continue . . .
Click to expand...
Click to collapse
Bump.. anyone encountered this kind of error when deodexing a stock rom?
i did!
iMaker said:
Bump.. anyone encountered this kind of error when deodexing a stock rom?
Click to expand...
Click to collapse
i did! and someguyfromhell also did see this thread http://forum.xda-developers.com/showthread.php?t=1711815 but no solution still ! maybe if they find a solution it'll help us too.....

[Q] Problem with xUltimate

So I tried deodexing a stock XXMB1 firmware using xUltimate. I was able to pull both framework and app files (Options 1 and 2). But when I get to option 3 xUltimate shows an error. Can someone help me with this error?
Here is the error Log:
Code:
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of arguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arguments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.java:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:79)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:44)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Instruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:84)
... 6 more
Error occured at code address 8
code_item @0x25e8
Press any key to continue . . .
WizardofAce said:
So I tried deodexing a stock XXMB1 firmware using xUltimate. I was able to pull both framework and app files (Options 1 and 2). But when I get to option 3 xUltimate shows an error. Can someone help me with this error?
Here is the error Log:
Code:
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of arguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arguments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.java:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:79)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:44)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Instruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:84)
... 6 more
Error occured at code address 8
code_item @0x25e8
Press any key to continue . . .
Click to expand...
Click to collapse
Don't know about these but I can help you in deodexing the stock ROM just go through these thread http://forum.xda-developers.com/showthread.php?t=2086771
try to deodex your rom by disxda kitchen by following the guide as hitesh mentioned...
xultimate gives error..but it seems that it gave u error just at the first app..
go to task manager and if you see two processes named 'adb.exe' then end one of them and try to deodex your apps again..if u still get error then end both adb.exe and try again..this always works fore
you may get error in email.odex...if you do, then delete the apk and odex if you are not gonna use it in rom..
Sent from my GT-S5830i using xda app-developers app
Actually, I was using the same guide that Hitesh suggested. I tried deleting each apk and .odex that showed an error. But almost every app showed an error. Btw, I never knew that dsixda had a deodex function. Will try.
same prob wid me help plsss

crash logs for SGS GT-S7562 (KOREA VERSION)

petName=GT-S7562
versionName=gs3
versionCode=1
SDK_VERSION=10
RELEASE=4.1.9
Globe.REQUEST_HEADER_IMSI=620060111337573
Globe.REQUEST_HEADER_IMEI=352751019523267
BOARD=sp6820a
BOOTLOADER=unknown
BRAND=samsung
CPU_ABI=armeabi-v7a
CPU_ABI2=armeabi
DEVICE=hsdroid
DISPLAY=GINGERBREAD.XXKL3
FINGERPRINT=unknown
HARDWARE=smdk4x12
HOST=root-System-Product-Name
ID=GINGERBREAD.XXKL3
MANUFACTURER=sprd
MODEL=GT-S7562
PRODUCT=sprdroid_base
RADIO=unknown
SERIAL=unknown
TAGS=test-keys
TIME=1365997255000
TYPE=user
UNKNOWN=unknown
USER=root-usr
crashTime=2014-02-24 05-14-48
STACK_TRACE=java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257)
at java.util.ArrayList.set(ArrayList.java:484)
at com.iLoong.launcher.Desktop3D.D.a(Unknown Source)
at com.iLoong.launcher.Desktop3D.ah.a(Unknown Source)
at a.a.k.b(Unknown Source)
at a.a.k.a(Unknown Source)
at a.a.k.d(Unknown Source)
at a.a.l.a(Unknown Source)
at com.iLoong.launcher.Desktop3D.f.p(Unknown Source)
at com.badlogic.gdx.backends.android.o.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1368)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1123)
Please this is the crash log any help will be appreciated.

Titanium Backup don't work

Hi,
I need an alternate for it, I search.
Help please and thanks
joke19 said:
Hi,
I need an alternate for it, I search.
Help please and thanks
Click to expand...
Click to collapse
If u have patched it wrong just delete odex file it will more fine
Thanks , to patch help. :angel: The odex was not the problem.
Just clean installed AOSP Extended 6.2 and titanium backup hasn't worked from the start.
Anyone know how to fix?
Below is the crash report:
time: 1548402717610
msg: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2953)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3088)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6744)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:211)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:195)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:503)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:204)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:196)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:889)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:874)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:748)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:738)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:365)
at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:322)
at o.dj.ˊ(Source:192)
at com.keramidas.TitaniumBackup.MainActivity.onCreate(Source:391)
at android.app.Activity.performCreate(Activity.java:7144)
at android.app.Activity.performCreate(Activity.java:7135)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2933)
... 11 more

NoSuchMethodError when running recompiled app

Hi,
Ive decompiled the miui camera (miui 12, Redmi Note 8 Pro) and have recompiled it and included some libs, I have renamed the package and a few permissions (is this the cause of the error?) so as not to cause conflicts with the system camera app. I run into a problem with registerMarshalQueryable.. which from what I can tell is a camera2 method/class, so really it should just be there in the system, unless its looking in the wrong place?
Below is the error
2020-09-06 16:11:26.182 2694-2694/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.android.newcamera, PID: 2694
java.lang.NoSuchMethodError: No static method registerMarshalQueryable(Landroid/hardware/camera2/marshal/MarshalQueryableV in class Landroid/hardware/camera2/marshal/MarshalRegistry; or its super classes (declaration of 'android.hardware.camera2.marshal.MarshalRegistry' appears in /system/framework/framework.jar)
at com.android.camera2.vendortag.struct.MarshalQueryableRegister.preload(MarshalQueryableRegister.java:1)
at com.android.camera.CameraAppImpl.onCreateApplicationDelegate(CameraAppImpl.java:11)
at com.android.camera.CameraAppImpl.onCreateApplicationDelegate(CameraAppImpl.java:1)
at miui.external.Application.attachBaseContext(Application.java:4)
at android.app.Application.attach(Application.java:376)
at android.app.Instrumentation.newApplication(Instrumentation.java:1156)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1222)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6562)
at android.app.ActivityThread.access$1500(ActivityThread.java:230)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1911)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7551)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
Click to expand...
Click to collapse

Categories

Resources