[ROM][Beta #1]Opti-MIUI V4 [2.8.3][Weeklies][UPD-8/11/2012]

Status
Not open for further replies.

RockR172

Senior Member
Jun 12, 2011
1,421
1,503
0
E/dalvikvm( 1877): ERROR: couldn't find native method

E/dalvikvm( 1877): Requested: Landroid/content/res/AssetManager;.splitThemePackage:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

E/JNIHelp ( 1877): RegisterNatives failed for 'android/content/res/AssetManager', aborting

Looks like MYHK's libandroid_runtime.so is not compatible with the latest MIUI since there are framework updates in latest version?
Try porting from scratch, using Nexus S as base.. :)
Good Luck!

EDiT: Nevermind, Ozadroid posted a solution.. Go ahead.. :)
 
Last edited:

Ozadroid

Senior Member
Oct 19, 2011
952
544
0
this is the error
Code:
E/dalvikvm( 1877): ERROR: couldn't find native method
E/dalvikvm( 1877): Requested: Landroid/content/res/AssetManager;.splitThemePacka
ge:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I
E/JNIHelp ( 1877): RegisterNatives failed for 'android/content/res/AssetManager'
, aborting


so u have to baksmali framework.jar and goto /android/content/res open assetmanager.smali and then add the missing .method from the cm9's assetmanager.smali



go thru dis page

http://forum.xda-developers.com/showthread.php?t=1499411&page=43
 

DJBhardwaj

Recognized Contributor
Apr 23, 2011
5,004
2,651
253
27
Delhi
this is the error
Code:
E/dalvikvm( 1877): ERROR: couldn't find native method
E/dalvikvm( 1877): Requested: Landroid/content/res/AssetManager;.splitThemePacka
ge:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I
E/JNIHelp ( 1877): RegisterNatives failed for 'android/content/res/AssetManager'
, aborting


so u have to baksmali framework.jar and goto /android/content/res open assetmanager.smali and then add the missing .method from the cm9's assetmanager.smali



go thru dis page

http://forum.xda-developers.com/showthread.php?t=1499411&page=43
Done! but just with the line that showed error. modified services.jar too
Now flashing, lets see wh6at comes up!

Ohh btw I too followed the same guide :good:
 

DJBhardwaj

Recognized Contributor
Apr 23, 2011
5,004
2,651
253
27
Delhi
Let me just say, that the framework is the cause.

There are several errors and smali editing that I have to go through. So, I will give my best and will most probably boot the ROM tomorrow ;)
Good Night to all

wish me luck :)

P.S: The banner for the ROM is ready. Post it tomorrow :)
 

DJBhardwaj

Recognized Contributor
Apr 23, 2011
5,004
2,651
253
27
Delhi
at OP, i hope u could include a working MIUI Toolbox,.thanks and goodluck!
Yes, but I don't think MIUI android supports MIUI toolbox.
But, for sure I will upload the MIUIToolbox.apk and link it to the users.

The First Post Will Be Edited In Five Minutes, So stay tuned and catch the updated current status and TO-DO
 
  • Like
Reactions: roi14

DJBhardwaj

Recognized Contributor
Apr 23, 2011
5,004
2,651
253
27
Delhi
Dj

For usb and blackbar read lens's guide post no. 3 or 4. U hv to copy paint.smali for blackbar.
I guess, I did the paint.smali replacement.

But to make sure, I will do it again and try.
Lets see what comes up!

For USB, yeah I tried the method but left it in between.

& What about the themes not applying mate? I realize a workaround but I want to make a permanent fix as it was in MYHK's port :rolleyes:
 

Ozadroid

Senior Member
Oct 19, 2011
952
544
0
DJoptimus-One said:
I guess, I did the paint.smali replacement.

But to make sure, I will do it again and try.
Lets see what comes up!

For USB, yeah I tried the method but left it in between.

& What about the themes not applying mate? I realize a workaround but I want to make a permanent fix as it was in MYHK's port :rolleyes:
Yeah the usb part is so confusing :-s

N for theme just use the workaround for now. We'll make it work ;)
 
Status
Not open for further replies.