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

Status
Not open for further replies.
Search This thread

RockR172

Senior Member
Jun 12, 2011
1,420
1,503
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
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://xdaforums.com/showthread.php?t=1499411&page=43
 

DJBhardwaj

Inactive Recognized Contributor
Apr 23, 2011
5,055
2,745
30
Delhi
GT-i9020
Google Nexus 4
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://xdaforums.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

Inactive Recognized Contributor
Apr 23, 2011
5,055
2,745
30
Delhi
GT-i9020
Google Nexus 4
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

Inactive Recognized Contributor
Apr 23, 2011
5,055
2,745
30
Delhi
GT-i9020
Google Nexus 4
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

Ozadroid

Senior Member
Oct 19, 2011
952
544
Dj

For usb and blackbar read lens's guide post no. 3 or 4. U hv to copy paint.smali for blackbar.
 

DJBhardwaj

Inactive Recognized Contributor
Apr 23, 2011
5,055
2,745
30
Delhi
GT-i9020
Google Nexus 4
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
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.

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    Hello all

    OptiMIUI-2.jpg



    Info:
    Base ROM: Hephappy's CM9 RC2-PreFinal
    Base MIUI ROM: Nexus S (crespo) 2.8.3 (miuiandroid.com)
    Baseband: New

    What is MIUI?
    Code:
    MIUI (pronounced "Me You I", a play on the common abbreviation of the words user interface as UI),[1] developed by Xiaomi Tech, is an aftermarket firmware for cell phones based on the open-source Android operating system.[2] It features a heavily-modified user interface that does away with the Android app drawer and has drawn comparisons with Apple's iOS and Samsung's TouchWiz UI. [3] The Custom ROM [4]includes additional functionality not found in stock Android, including toggles on the notification pull-down, new music, gallery, and camera apps, and an altered phone dialer that displays matching contacts as a user enters a number.
    '-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-

    Credits:
    Raakaysh (For the banner) Visit his blog for his awesome MIUI themes and other android stuff
    Lens_flare & Proxuser (For thier guides and tips on fixing bugs)
    sweetbinodray (For helping me initiate and solving bugs)
    Ozadroid (For help in fixing errors and pointing me to the right place)
    Hephappy (For his amazing work on CM9)
    MYHK (For his updater-script)

    '-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-

    Current Status:
    Beta #1 [8/11/2012 1122Hrs IST]

    '-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-

    Features:

    MIUI Home
    MIUI Sound Recorder
    MIUI Theme Manager (LS & HS)
    MIUI Compass
    MIUI Monitor
    MIUI Backup
    MIUI LBE Guard (Permission Manager)
    MIUI User Feedback
    MIUI Music Player
    MIUI File Explorer
    MIUI Stats
    MIUI Notes
    MIUI Settings
    MIUI Gallery
    MIUI Torch (To be removed since O1 doesn't supports)


    '-'--'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-

    Notes:

    Code:
    Gapps are included, so no need to flash any Gapps.
    First Reboot Might Take Time
    Remove Maps.apk from /system/app after flashing using root explorer. (Saves Battery)
    Before reporting a bug, make sure that you are using default kernel with no tweaks and no overclocking.

    '-'--'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-

    Bugs:

    USB Subsystem (MS/Tether)
    All the bugs in CM9 RC2 PreFinal

    '-'--'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-

    Want to report bugs?

    Code:
    MIUI Version: (eg. 2.8.3)
    Build: (eg. Beta #1) 
    Bug: 
    Logcat: (as an attachment)


    10
    ROM Beta #1 Released

    I request, please do read the first post thoroughly before posting anything :)
    All the best guys!
    7
    Downloads

    Download Opti-MIUI V4 Beta #1 [8/11/2012 1122 Hrs IST] (Give a huge thanks to Raakaysh for providing space on his server)

    NOTE: Mirrors are not at all welcome, until I permit. I will add one mirror myself.

    Download BlackBar Fix

    Download the theme, I prefer and use! Trust me its awesome (For more MIUI Themes and Opti-MIUI V4 Info, visit DroidViews.com
    3
    Yeah the usb part is so confusing :-s

    N for theme just use the workaround for now. We'll make it work ;)
    Fixed theme applying issues (No need to create any folders now)
    Fixed SU permissions (LBE Guard)
    For UMS, I've currently added UMS.apk that was used in ICS ports earlier this year instead of native USB mass storage (I assume native UMS to be fixed before first release)
    3
    Best MIUI ROM

    Thanks for concern :)

    Btw, now Black bar is fixed finally!

    Download Fix: http://db.tt/1kwoQFo6

    This is the best MIUI ROM that there is yet. THANK YOU
    5 stars
    just flash the fix ?