MIUI for Nexus 7

Search This thread

timmytim

Senior Member
Jan 6, 2011
1,695
2,498
Phoenix
Xiaomi just released a Beta MIUI V5 for Nexus 7 2013, maybe one of our talented devs can port it over?


Way ahead of you :good:

Been trying to get it to boot on the Grouper for about a week. I will let ya know how far I get with it in a couple days. May need some help on this one though since the devices are so different. Im really diggin that tablet UI though. About damn time Miui did that :p

Here are the screen shots if you want to see what it looks like: http://en.miui.com/thread-16879-1-1.html
 

hey_joe

Senior Member
Oct 28, 2010
1,422
435
Way ahead of you :good:

Been trying to get it to boot on the Grouper for about a week. I will let ya know how far I get with it in a couple days. May need some help on this one though since the devices are so different. Im really diggin that tablet UI though. About damn time Miui did that :p

Here are the screen shots if you want to see what it looks like: http://en.miui.com/thread-16879-1-1.html

My N7's been gathering dust ever since I got my Note 3. It's about time that my N3 stays with it's current rom and the N7 fills my flashing needs :D
 

EddieN

Senior Member
May 13, 2011
164
27
Gothenburg
My N7's been gathering dust ever since I got my Note 3. It's about time that my N3 stays with it's current rom and the N7 fills my flashing needs :D

Haha it's funny how I am in the EXACT same situation. I haven't touched my Nexus 7 since I got my Note 3 in December. I charged it up last night though, and I'm ready to settle my flashing needs with it while my Note 3 stays stock :)
 

woshiweili

Senior Member
May 9, 2011
533
105
Way ahead of you :good:

Been trying to get it to boot on the Grouper for about a week. I will let ya know how far I get with it in a couple days. May need some help on this one though since the devices are so different. Im really diggin that tablet UI though. About damn time Miui did that :p

Here are the screen shots if you want to see what it looks like: http://en.miui.com/thread-16879-1-1.html
That's awesome! I can't wait! :)
 

ivky

New member
Sep 13, 2010
3
1
Bangkok
Can't wait!

Way ahead of you :good:

Been trying to get it to boot on the Grouper for about a week. I will let ya know how far I get with it in a couple days. May need some help on this one though since the devices are so different. Im really diggin that tablet UI though. About damn time Miui did that :p

Here are the screen shots if you want to see what it looks like

Man I can't wait for that rom! :D
 

roniez

Senior Member
Jul 20, 2006
406
154
Stockholm
This port is definitely an uphill battle! I cannot get it to boot for the life of me. I spent like 6 hours on this yesterday, lol. I'm hard at it though. Im switching from CM base to AOSP base now. Will keep you all posted.

Are you able to do a logcat of the boot so we can take a look? Maybe more people can hrlp

Sent from my HTC One using Tapatalk
 

timmytim

Senior Member
Jan 6, 2011
1,695
2,498
Phoenix
I have not been able to get a logcat at boot. Because this is Kitkat you are required to approve adb connections on the tablet once it is booted and then plugged into a computer via the USB cable. Since it wont boot I cannot approve the connection however @imanesaurus over in the Miui forums gave me another method to try which I will try today.

As soon as I have a logcat I can see where it is not booting at and I will be closer to victory :good:
 

roniez

Senior Member
Jul 20, 2006
406
154
Stockholm
I have not been able to get a logcat at boot. Because this is Kitkat you are required to approve adb connections on the tablet once it is booted and then plugged into a computer via the USB cable. Since it wont boot I cannot approve the connection however @imanesaurus over in the Miui forums gave me another method to try which I will try today.

As soon as I have a logcat I can see where it is not booting at and I will be closer to victory :good:

Any luck with the booting?
 

glukosio

Senior Member
Dec 11, 2009
351
47
Verona
I have not been able to get a logcat at boot. Because this is Kitkat you are required to approve adb connections on the tablet once it is booted and then plugged into a computer via the USB cable. Since it wont boot I cannot approve the connection however @imanesaurus over in the Miui forums gave me another method to try which I will try today.

As soon as I have a logcat I can see where it is not booting at and I will be closer to victory :good:

can't you connect adb through recovery? then with adb shell you should be able to find it in /proc/last_kmsg
 
Last edited:
  • Like
Reactions: timmytim

timmytim

Senior Member
Jan 6, 2011
1,695
2,498
Phoenix
can't you connect adb through recovery? then with adb shell you should be able to find it in /proc/last_kmsg


Thanks but that is the kernel log I believe. I was able to adb pull it in recovery and there isnt much useful in it.

I was however able to grab the tombstone logs and I think I found at least 1 problem.

Code:
03-23 02:48:55.660 13666 13666 D AndroidRuntime: 
>>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
03-23 02:48:55.660 13666 13666 D AndroidRuntime: CheckJNI is OFF
03-23 02:48:55.680 13666 13666 D dalvikvm: Trying to load lib libjavacore.so 0x0
03-23 02:48:55.680 13666 13666 D dalvikvm: Added shared lib libjavacore.so 0x0
03-23 02:48:55.690 13666 13666 D dalvikvm: Trying to load lib libnativehelper.so 0x0
03-23 02:48:55.690 13666 13666 D dalvikvm: Added shared lib libnativehelper.so 0x0
03-23 02:48:55.690 13666 13666 D dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
03-23 02:48:55.710 13666 13666 E dalvikvm: ERROR: couldn't find native method
03-23 02:48:55.710 13666 13666 E dalvikvm: Requested: Landroid/content/res/AssetManager;.splitThemePackage:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I
03-23 02:48:55.710 13666 13666 E dalvikvm: JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager'; aborting...
03-23 02:48:55.710 13666 13666 I dalvikvm: "main" prio=5 tid=1 NATIVE
03-23 02:48:55.710 13666 13666 I dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x418d3d68 self=0x4002b480
03-23 02:48:55.710 13666 13666 I dalvikvm:   | sysTid=13666 nice=0 sched=0/0 cgrp=default handle=1075016020
03-23 02:48:55.710 13666 13666 I dalvikvm:   | state=R schedstat=( 356766000 3540000 39 ) utm=25 stm=10 core=1
03-23 02:48:55.720 13666 13666 I dalvikvm:   #00  pc 0000132e  /system/lib/libcorkscrew.so (unwind_backtrace_thread+29)
03-23 02:48:55.720 13666 13666 I dalvikvm:   #01  pc 00061bb2  /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+33)
03-23 02:48:55.720 13666 13666 I dalvikvm:   #02  pc 00055ba8  /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+395)
03-23 02:48:55.720 13666 13666 I dalvikvm:   #03  pc 00055c16  /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
03-23 02:48:55.720 13666 13666 I dalvikvm:   #04  pc 0004a5fc  /system/lib/libdvm.so
03-23 02:48:55.720 13666 13666 I dalvikvm:   #05  pc 00001fd2  /system/lib/libnativehelper.so (jniRegisterNativeMethods+81)
03-23 02:48:55.720 13666 13666 I dalvikvm:   #06  pc 000518ca  /system/lib/libandroid_runtime.so
03-23 02:48:55.720 13666 13666 I dalvikvm:   #07  pc 00051bb8  /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+23)
03-23 02:48:55.720 13666 13666 I dalvikvm:   #08  pc 00052608  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+183)
03-23 02:48:55.720 13666 13666 I dalvikvm:   #09  pc 0000105a  /system/bin/app_process
03-23 02:48:55.720 13666 13666 I dalvikvm:   #10  pc 0000e418  /system/lib/libc.so (__libc_init+47)
03-23 02:48:55.720 13666 13666 I dalvikvm:   at dalvik.system.NativeStart.main(Native Method)
03-23 02:48:55.720 13666 13666 I dalvikvm:   at dalvik.system.NativeStart.main(Native Method)
03-23 02:48:55.720 13666 13666 I dalvikvm: 
03-23 02:48:55.720 13666 13666 E dalvikvm: VM aborting
03-23 02:48:55.720 13666 13666 F libc    : Fatal signal 6 (SIGABRT) at 0x00003562 (code=-6), thread 13666 (zygote)


---------- Post added at 08:11 PM ---------- Previous post was at 07:24 PM ----------

Time to diff more smali files. I am replacing the AssetManager.smali as I type this hoping I can atleast get past this error.
 
Last edited:

glukosio

Senior Member
Dec 11, 2009
351
47
Verona
---------- Post added at 08:11 PM ---------- Previous post was at 07:24 PM ----------

[/COLOR]Time to diff more smali files. I am replacing the AssetManager.smali as I type this hoping I can atleast get past this error.
tell me if i can be usefull in any way, i have a nexus 7 2012 and i want miui on it :D just let me know ;)
 

timmytim

Senior Member
Jan 6, 2011
1,695
2,498
Phoenix
tell me if i can be usefull in any way, i have a nexus 7 2012 and i want miui on it :D just let me know ;)

Thanks, I appreciate that. :D

---------- Post added at 12:05 PM ---------- Previous post was at 12:02 PM ----------

Time to diff more smali files. I am replacing the AssetManager.smali as I type this hoping I can atleast get past this error.

Got past that error now on to the next one. Im working on this one now.

Code:
--------- tail end of log /dev/log/main
03-23 03:18:00.240  6704  6704 D dalvikvm: Added shared lib libjavacore.so 0x0
03-23 03:18:00.250  6704  6704 D dalvikvm: Trying to load lib libnativehelper.so 0x0
03-23 03:18:00.250  6704  6704 D dalvikvm: Added shared lib libnativehelper.so 0x0
03-23 03:18:00.250  6704  6704 D dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
03-23 03:18:00.260  6704  6704 F libc    : Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 6704 (zygote)
--------- log /dev/log/main
03-23 03:18:00.220  6704  6704 D AndroidRuntime: 
>>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
03-23 03:18:00.220  6704  6704 D AndroidRuntime: CheckJNI is OFF
03-23 03:18:00.240  6704  6704 D dalvikvm: Trying to load lib libjavacore.so 0x0
03-23 03:18:00.240  6704  6704 D dalvikvm: Added shared lib libjavacore.so 0x0
03-23 03:18:00.250  6704  6704 D dalvikvm: Trying to load lib libnativehelper.so 0x0
03-23 03:18:00.250  6704  6704 D dalvikvm: Added shared lib libnativehelper.so 0x0
03-23 03:18:00.250  6704  6704 D dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
03-23 03:18:00.260  6704  6704 F libc    : Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 6704 (zygote)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Xiaomi just released a Beta MIUI V5 for Nexus 7 2013, maybe one of our talented devs can port it over?


    Way ahead of you :good:

    Been trying to get it to boot on the Grouper for about a week. I will let ya know how far I get with it in a couple days. May need some help on this one though since the devices are so different. Im really diggin that tablet UI though. About damn time Miui did that :p

    Here are the screen shots if you want to see what it looks like: http://en.miui.com/thread-16879-1-1.html
    5
    Coming soon, I promise. I'm fixing a keyboard bug at the moment then I will upload


    Have at it! Let me know what you think

    http://xdaforums.com/showthread.php?t=2700212
    5
    So I have good news and bad news.........

    Good News = I finally got a logcat at boot!!!!

    Bad News = I cannot yet decipher it so I have to reach out to the community over in the Q&A section.

    Im still working on it boys and girls :)
    5
    Can you say Miui v6 for the grouper? Finally!

    Working out some very minor bugs but will be uploading as an alpha for now even though it seems really stable. Oh and it's based on KK 4.4.2 ;)

    This would not be possible without the assistance of my buddy @pspunderground
    4
    i think that the problem might be again with dalvikVM, it goes on until dalvik and then it's aborting VM ang goes on in loop again... of course it's as far as i understood from logcat
    Code:
    ...
    D/dalvikvm(  128): Trying to load lib libjavacore.so 0x0
    
    D/dalvikvm(  128): Added shared lib libjavacore.so 0x0
    
    W/dalvikvm(  128): Unable to register: not native: Llibcore/icu/ICU;.getBestDateTimePattern:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    
    E/dalvikvm(  128): JNI posting fatal error: RegisterNatives failed for 'libcore/icu/ICU'; aborting...
    
    I/dalvikvm(  128): Can't dump thread 1: threadObj not set
    
    E/dalvikvm(  128): VM aborting
    
    F/libc    (  128): Fatal signal 6 (SIGABRT) at 0x00000080 (code=-6), thread 128 (zygote)
    
    I/DEBUG   (  126): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    
    I/DEBUG   (  126): Build fingerprint: 'google/nakasi/grouper:4.4/KRT16S/920375:user/release-keys'
    ...

    i think it may be the same problem as from last_kmsg

    I was actually able to get past this one. The issue was that the core.jar smali: Llibcore/icu/ICU was looking for this smali code:.getBestDateTimePattern and it didnt exist in the MIUI ROM so I swapped out the core.jar from the AOSP ROM and it fixed that.

    Now I am getting error related to another smali in framework.jar. The weird problem is that I added the smali code but it still wont get past the error. I even replaced the entire file which should have worked because it was supposedly a non-required smali and it still throws the same error. I will upload the new logcat so ya'll can see it.