yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 7" Android Development] InfinityFTW:
It seems that you have a netd loop. It looks like you have yours setup for a logcat, and i was wondering if you could flash my RAM and post me a logcat in order to see if we have the same issues? :D
[Galaxy Tab 2 7" Android Development] rudie_techie:
Sure... but i have a P3100... Can you send me the link? I can provide you with the logcat and bugreport. Also use the samsung drivers to get the device detect properly and get adb to function correctly. Here is the link : http://www.mediafire.com/?qp9gw2i9lwbr3qb Also storage will be disabled once you install the drivers. Just uninstall the driver and reconnect the tab to get the usb storage working again. Also you will have to repeat this install/uninstall to get either of the functions working.
[Galaxy Tab 2 7" Android Development] InfinityFTW:
Okay. The link is in OP,just use p3113 build
[Galaxy Tab 2 7" Android Development] rudie_techie:
Downloading your rom... meanwhile i have got my build to boot but same problem as yours, infinite boot animation loop... attaching the logcat for the new miui... Somebody please have a look. I don't understand a word. Some problem with media profile i guess not sure. It says

I/ServiceManager( 106): service 'media.audio_policy' died

I/ServiceManager( 106): service 'media.audio_flinger' died

I/ServiceManager( 106): service 'media.player' died

I/ServiceManager( 106): service 'media.camera' died

Edit : Can't install you're zip file... gives me error 7 i think i need to make changes to the build.prop

Edit 2 : network services (netd) seems to work now but still get the above error and infinite boot animation loop.
[Galaxy Tab 2 7" Android Development] rudie_techie:
No one interested it seems!
[Galaxy Tab 2 7" Android Development] Jdgp42:
I hope I can help you out with this but I have no skills in android development :(
[Galaxy Tab 2 7" Android Development] rudie_techie:
Ouch! Makes two of us!
[Galaxy Tab 2 7" Android Development] InfinityFTW:
I found another lib file which might make it boot :) there is still hope :)
[Galaxy Tab 2 7" Android Development] rudie_techie:
i think the major problem lies in the services and framework files...

---------- Post added at 03:04 AM ---------- Previous post was at 02:44 AM ----------

i think this would help copy the content of log files to this page and click submit, gives the result in colors, easy method to find error i guess... not too sure though... http://logcat.miui.us/

Any update??
[Galaxy Tab 2 7" Android Development] <JohnCarter>:
you can try my guide in my signature...

and that prob is basically in framework.jar .. some classes are missing you can see in the logcat :good:
[Galaxy Tab 2 7" Android Development] SkyDX:
I am also quite new and have next to none knowledge of Android development though I would gladly help out as a tester with my p3110 since I'm a big fan of MIUI :)
[Galaxy Tab 2 7" Android Development] InfinityFTW:
I will start up again with this project very soon, and I'll start digging into framework.jar to make it boot :) :thumbup:

Sent from my Note II using 1's and 0's
[Galaxy Tab 2 7" Android Development] vimi93:
dude if its usefull on p3100 i will surely help u being tester
[Galaxy Tab 2 7" Android Development] nishant_713:
I tried to port using this http://xdaforums.com/showthread.php?t=1994503 . Same problem, only bootanimation, no booting. The reason is, I did not do the manual diffing, because of lack of enough time and knowledge. However, i have the decompiled files with me which are to be diffed manually. If any one of you have the required skills for diffing and porting the files, I am attaching the decompiled jar files (in compressed zip file) that need to be manually diffed. Link. If someone manages to diff these files manually, may again zip the files up and upload it and link it here, so that i can continue with the Porter tool. Thanks

EDIT: Its based on cm10 build for p3100, and the source is kindle fire's MIUI JB
[Galaxy Tab 2 7" Android Development] vimi93:
Great this miui porting thread stated getting alive , I'm sure you guys will make it possible . good luck

Btw guys , can we get help from miui porters for galaxy tab 7 and kindle fire devices , bcoz its succesfully ported On those devices
[Galaxy Tab 2 7" Android Development] Menelkir:
Hi, now that I have some free time, I'll try to help this port.

Just in case, I have a P3100 so I'll change a few things to fits my configuration and try. I'll be reporting in some hours.

Obs.: Just in case, in build.prop I see it's related to 4.1.2 but miui 2.9.21 is 4.1.1 based, right? Maybe this can be one of the problems.
[Galaxy Tab 2 7" Android Development] vimi93:
wish you good luck dude

I would like to test your build when it's ready
[Galaxy Tab 2 7" Android Development] Menelkir:
I've tried a lot of things and nothing pass from boot: Different kernels, different binaries, nothing can pass from boot and the image stayed at the logo. I don't know what I'm doing wrong and I can't even activate logcat. Anyone can help with that?
[Galaxy Tab 2 7" Android Development] pedrocel85:
Framework files is messing up.

thaths is the hardest part in porting stuff.

Miui is a nightmare because its not opensourced.
[Galaxy Tab 2 7" Android Development] Adi Shakthi:
Use kernel form cm10.1 and freamework from same.......

Tell me the results. .
[Galaxy Tab 2 7" Android Development] vimi93:
guys can you delete some apk files which arenot supported by our tablet with miui like wecan

delete the HDMI apk from system/app if there any
[Galaxy Tab 2 7" Android Development] Menelkir:
I don't think so, even with a different framework, you're able to, at least, boot and run adb.

CM10.1 is 4.2.1, MIUI 2.9.21 is 4.1.2. But the problem isn't the framework, not now.
[Galaxy Tab 2 7" Android Development] santo80s:
I will test your MIUI porting for P3100

I will test your work for my GT P3100 :)
[Galaxy Tab 2 7" Android Development] vimi93:
hope to get +ve feedback from u
[Galaxy Tab 2 7" Android Development] rudie_techie:
P3100 it is! I can test too...
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
MIUI port on p3113

Oh right guys finally got a booting port from miuiandroid nexus 7 ported to the p3113, there is bugs and glitches. and I hope someone else can help since im not a all know everything guy. cheers:good:
[Galaxy Tab 2 7" Android Development] imanesaurus:
Maybe i can help little bit in the near future

I get my galtab for tonight.

So we can help each other to make a miui rom

Best regards
[Galaxy Tab 2 7" Android Development] ayham-dj:
Just wondering .. it's ics or Jb ... ?

Sent from my GT-P3100
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
V4 JB 4.1.2. I haven't find a nexus 7 v5 build to use as base to try to port it.
[Galaxy Tab 2 7" Android Development] ayham-dj:
Im Still Hoping About it ... Any News !??

Sent from my GT-P3100
[Galaxy Tab 2 7" Android Development] Skazzy3:
Just let this thread die.

No one is going to make a miui for gtab.
[Galaxy Tab 2 7" Android Development] ayham-dj:
IN XDA MAYBE >>> but IN MIUI.com ... maybe not
[Galaxy Tab 2 7" Android Development] bthorne79:
I would love to see MIUI for the tab2 :)
[Galaxy Tab 2 7" Android Development] mythi:
One Word Impossible!!
[Galaxy Tab 2 7" Android Development] bthorne79:
Really they have it for the tab7

http://forums.miui.us/forums/93-Samsung-Galaxy-Tab-7-(GSM)

I think it is possible
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
I think thats ice cream sándwich. Not usre though but definitly not JB

I have a V5 booting km stuck with systemui fc and some other apps
[Galaxy Tab 2 7" Android Development] bthorne79:
Yes they are V4 and some GB but if you have it booting all you need is some edits I think and a mod kernel just like if ported to a phone

V5 has been a pain even for porting on phones

---------- Post added at 12:03 PM ---------- Previous post was at 11:38 AM ----------

If you post link of what you have might be able to get some help with the FC and system ui issue I know I would take a look not great at miui ports but its worth a try
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Ill post it here as soon as I get in my pc
[Galaxy Tab 2 7" Android Development] mythi:
Can i ask you dev from which device did this port been created
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Miui V5 port multilang 3.6.28

Hello guys and devs I have ported this from the Galaxy Nexus Miuiandroid.com JB 4.2.2 build Miui 3.6.28 using CM lates stable release

Things to look up into and still trying to figure out.

>keyboard doesnt show up

>Browser FC

>Calendar

and cant remember what else

First of all im no dev just trying to have a working miui on our tab

Hope some one can give us all a hand

This will not work on Dual Boot or Next kernel since the kernel neede to be modify in order some of the Miui staff could work and make the build boot.

Im using dual boot (Thanks a lot ketut.kumajaya for this :o) so if you too after trying this port just go back to Recovery and restore your backup

Rom Download

http://www.androidfilehost.com/?fid=23032113221599788

Go Here and Download Miuiandroid Gapps for Galaxy Nexus 4.2
[Galaxy Tab 2 7" Android Development] bthorne79:
Alright something up hope we can get this going and people said it can't be done

Nothing is impossible :)
[Galaxy Tab 2 7" Android Development] timmytim:
God I wish I had this tablet. I bet I could port MIUI to it! I've ported MIUI to a few devices and in fact Im working on a port for my current tablet and was hoping you guys had MIUI already so I could use it as a base. Maybe I'll get one of these and I could pitch in on a port.
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
I know any help is greatly appreciate it. I have ported miui before for phone too but V5 on 4.2.2 is some different :p
[Galaxy Tab 2 7" Android Development] timmytim:
So you used CM10.1 as the base and ported MIUI v5 from the Nexus 7? Did you use the entire framework folder without any mods?

Tell me your setup and I may be able to help without the tablet.
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
I used Samsung Galaxy nexus (Maguro) yeah CM10.1 is the only build that use the 4.2.2 framework

Nexus 7 doesn't have a miui v5 official or unofficial well at least I haven't found one

That's why I have those fc on systemui

Framework-res needs to be modify but I'm encounter an error while compiling the app
[Galaxy Tab 2 7" Android Development] bthorne79:
Need to trash anything that has to deal with phone except the wifi
[Galaxy Tab 2 7" Android Development] timmytim:
So I gave in and just went to Best Buy and got one! Now gotta root it. Whats the best method to get root / recovery?

It's on version JRO03C.P3113UECLK7

---------- Post added at 09:53 PM ---------- Previous post was at 09:51 PM ----------

Edit**

Nevermind, I'll use this http://xdaforums.com/showthread.php?p=36721779
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Hope we can get this going
[Galaxy Tab 2 7" Android Development] dawkon13:
I'm trying port MIUI and:

-bootanimation

-"optimizing application ..." 62 of 62 (62 for me) and back to bootanimation ;(
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Which lib files from miui Rom you move to base Rom lib folder
[Galaxy Tab 2 7" Android Development] dawkon13:
I moved just content-types.properties and liblbesec.so

I used this guide:

http://xdaforums.com/showthread.php?t=1499411

After creating build.prop with ro....density=240 is "optimizing applications..." and bootloop
[Galaxy Tab 2 7" Android Development] timmytim:
Which device did you port from? Do you have a logcat?
[Galaxy Tab 2 7" Android Development] dawkon13:
I ported from galaxy tab p1000 (version v4 here:

http://xdaforums.com/showpost.php?p=25185365&postcount=3 )

I don't have logcat
[Galaxy Tab 2 7" Android Development] timmytim:
Are you using CM9 as the base?

Can you upload the ROM that you have created somewhere and let me take a look? I can get a logcat from it and help.
[Galaxy Tab 2 7" Android Development] dawkon13:
OK :)

---------- Post added at 08:40 PM ---------- Previous post was at 08:03 PM ----------

This is logcat from my not booting MIUI:

http://www63.zippyshare.com/v/47049297/file.html

---------- Post added at 09:00 PM ---------- Previous post was at 08:40 PM ----------

Longer logcat:

I installed this version with "update applications.." screen and now not working :confused:

Longer logcat from version with MIUI libandroid_runtime.so (logcat:"...dalvik vm : shutdown...")

http://www43.zippyshare.com/v/32289420/file.html

MIUI with SGT2 libandroid...:

"D/SystemServer( 2323): Starting service: Intent { cmp=com.android.systemui/.SystemUIService }

W/ActivityManager( 2323): Unable to start service Intent { cmp=com.android.systemui/.SystemUIService }: not found"

Logcat from MIUI with SGT2 libandroid_runtime.so:

http://www37.zippyshare.com/v/15994466/file.html
[Galaxy Tab 2 7" Android Development] timmytim:
Did you copy /system/etc/permissions/miui-framework.xml to your ROM?

Change it back to your cm9 libandroid-runtime.so, add that file I just mentioned and try again

Also, did you copy the entire framework folder from the MIUI ROM to your ROM? It looks like it may be missing /system/framework/miui-framework.jar as well

You still gonna upload the ROM for me?
[Galaxy Tab 2 7" Android Development] dawkon13:
1. I forgot :/

I check ROM with miui-framework.xml

2. ROM (without miui-framework.xml):

EDIT://

I check md5(uploaded ROM) and is bad

I upload this tommorow
[Galaxy Tab 2 7" Android Development] timmytim:
ok no worries.
[Galaxy Tab 2 7" Android Development] dawkon13:
With MIUI-framework.xml is better but still not booting.

Logcat:

http://www65.zippyshare.com/v/46889579/file.html

"I/PackageManager( 954): Time to scan packages: 0.755 seconds

W/PackageManager( 954): Removing dangling permission: com.tmobile.permission.ACCESS_DRM_THEME from package null

W/PackageManager( 954): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone

W/PackageManager( 954): Unknown permission android.permission.WRITE_INTERNAL_STORAGE in package com.miui.player

W/PackageManager( 954): Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch

W/PackageManager( 954): Unknown permission com.android.vending.billing.IBillingAccountService.BIND2 in package com.google.android.gsf.login

W/PackageManager( 954): Unknown permission android.permission.READ_CALL_LOG in package com.miui.backup

W/PackageManager( 954): Unknown permission android.permission.WRITE_CALL_LOG in package com.miui.backup

W/PackageManager( 954): Unknown permission android.permission.ADD_VOICEMAIL in package com.miui.backup

W/PackageManager( 954): Unknown permission android.permission.READ_WRITE_ALL_VOICEMAIL in package com.miui.backup

W/PackageManager( 954): Unknown permission android.permission.READ_CALL_LOG in package com.android.mms

W/PackageManager( 954): Unknown permission android.permission.READ_EXTERNAL_STORAGE in package com.android.videoeditor

W/PackageManager( 954): Not granting permission com.google.android.gm.permission.READ_GMAIL to package com.google.android.apps.uploader (protectionLevel=2 flags=0x8be45)

W/PackageManager( 954): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.panoramio in package com.google.android.apps.uploader

W/PackageManager( 954): Unknown permission android.permission.READ_SETTINGS in package com.miui.control.panel

W/PackageManager( 954): Unknown permission android.permission.READ_MMS in package com.miui.control.panel

W/PackageManager( 954): Unknown permission android.permission.READ_EXTERNAL_STORAGE in package com.android.vending

W/PackageManager( 954): Unknown permission com.google.android.verifier.permission.UPDATE_VERIFIER in package com.android.vending

W/PackageManager( 954): Unknown permission android.permission.PREVENT_POWER_KEY in package com.android.camera

W/PackageManager( 954): Unknown permission android.permission.READ_SECURE_SETTINGS in package com.wali.miui.networkassistant

W/PackageManager( 954): Unknown permission android.permission.READ_SETTINGS in package com.wali.miui.networkassistant"
[Galaxy Tab 2 7" Android Development] dawkon13:
1.I adeed permissions

2. I'm tried with others libandroid-runime.so and nothing
[Galaxy Tab 2 7" Android Development] timmytim:
I thought you said that you had it booted already and you got to the screen where is was optimizing application 62 of 62 then reboots??? Get it back to that stage
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Ignore those Warning permission that wont give you a bootlop

Which smali did you diff inside framework.jar and services.jar

and dont forget to add this line inside ramdisk/init.rc

service shelld /system/xbin/shelld

class main
[Galaxy Tab 2 7" Android Development] timmytim:
Hey man, any luck on porting from crespo? Just wondering
[Galaxy Tab 2 7" Android Development] dawkon13:
@ timmytim,

can you try port MIUI from Galaxy Tab?

I try again today :)
[Galaxy Tab 2 7" Android Development] timmytim:
I'd rather port MIUI v5 due to time constraints but I'll give it a go. I just cant spend to much time on it.

You said you got it booting already right?
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
No luck. I just can't get the keyboard to work on my build. Still trying to figure out
[Galaxy Tab 2 7" Android Development] dawkon13:
yes!!!!!!!!!!!!!!!!!!!

I ported MIUI and working, but is no virtual buttons, sdcard isn't visible and keyboard- maybe you know how to fix it ;)

OTG and USB keyboard working!

Wi-Fi working!

Camera working!

etc :P

I upload this now :)

Screenshots:

2 logcats (with and without ro.sflcd.density=240):

http://www41.zippyshare.com/v/42623510/file.html

http://www41.zippyshare.com/v/83401913/file.html

EDIT://

ExtSdCard working, but is not visible in camera
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Good

Keyboard not showing up. OK

Can you do this and let me know if it works four you

To fix that issue, disassemble miui android.policy.jar and navigate to smali/com/android/internal/policy/impl/PhoneWindowManager.smali

there are three constants, according to the source: 0(0x0) - lid closed, 1(0x1) - lid open, and -1(-0x1) - lid absent.

they are located after a function "GetSwitchState".

Original idea was to swap these constants so that system gets fooled about your keyboard state:

code that exists:

Code:

const/4 v1, 0x1

-> code that you will get after mod:

Code:

const/4 v1, 0x0

the same you should proceed with zero:

Code:

const/4 v1, 0x0

->

Code:

const/4 v1, 0x1

you might also have to change

Code:

const/4 v1, -0x1

->

Code:

const/4 v1, 0x1

to get rid of absent state.

another ways to fix this up:

res/values/bools.xml

change

Code:

<bool name="config_forceDisableHardwareKeyboard">false</bool>

->

Code:

<bool name="config_forceDisableHardwareKeyboard">true</bool>

as we see, it force-disables hardware keyboard so that only soft one will show up.

for devices with hardware keyboard that might also be a deal:

res/values/integers.xml

change the following two line:

Code:

<integer name="config_lidOpenRotation">90</integer>

<integer name="config_lidKeyboardAccessibility">1</integer>
[Galaxy Tab 2 7" Android Development] dawkon13:
My first version:

http://www.androidfilehost.com/?fid=23043426517778526

:D
[Galaxy Tab 2 7" Android Development] dawkon13:
Framework-res.apk with virtual buttons:

http://www74.zippyshare.com/v/75661699/file.html

I added virtual buttons but ...(look at screenshot):
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
What's your Dpi
[Galaxy Tab 2 7" Android Development] dawkon13:
Navigation bar have 37.0 dpi (Stock in MIUI is 48.0 dpi)

ROM have density 240.

Know you how fix lockscreen and storages (for camera isn't visible, Settings->Storage->FC)???
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
For dpi change to 215 and storage did you replace in framework-res.apk>xml folder the following power profile and storage xml files?
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
May be related to /system/etc/vold.fstab . I got the same problem when added exFAT support to CM-10.1 . Also look at /system/etc/permissions/platform.xml if you can not access external storage as non root user.
[Galaxy Tab 2 7" Android Development] dawkon13:
I try this :)

---------- Post added at 07:14 PM ---------- Previous post was at 06:19 PM ----------

I used storage and power_profiles .xml files from cm9 and it's bootloop

Logcat:

http://www76.zippyshare.com/v/44485403/file.html
[Galaxy Tab 2 7" Android Development] Android-Andi:
Nice to see that you all are hard on work to get this run on our tab! Thanks!

I will have an eye on it :cyclops: (maybe 2 eyes :eek: ) and i´ll give it a try when there is a build working with ketuts next kernel ;)
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
If Dawkon13's build is a JB V4 build it should work with dual boot kernel but if is a miui V5 build will need help from ketut to add this path /system/framework/framework_ext.jar and this lines

service shelld /system/xbin/shelld

Class main

To his next kernel

---------- Post added at 12:45 PM ---------- Previous post was at 12:43 PM ----------
[Galaxy Tab 2 7" Android Development] timmytim:
Hey buddy, ive been playing with your build a little and added :/system/framework/framework_ext.jar to the init.rc and it hangs on boot now :(

I attached a screen of the logcat but I will get a proper on shortly and post it.

edit**

Attached logcat.txt (see very bottom). Researching now
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Check your pm

Don't forget to add at the end of init.rc file this lines

Service shelld /system/xbin/shells

Class main
[Galaxy Tab 2 7" Android Development] dawkon13:
[MENTION=4428595]sorullo_xgrx[/MENTION] , timmytim

Can you fix my version[MIUI V4 ICS] (storage, keyboard,root, lockscreen and navigation buttons)?

http://www.androidfilehost.com/?fid=23043426517778526

EDIT://

In MIUI v5:

-DPI 160: Notification Panel not working

-DPI 240: Notification Panel working, batter navigation buttons,Callendar working

Mass Storage not working (PC connection)
[Galaxy Tab 2 7" Android Development] timmytim:
I'm using the boot.img from your Rom, I'm assumed it was there already
[Galaxy Tab 2 7" Android Development] timmytim:
I got it now. I scrapped your boot.img and add the lines to the newest CM10 nightly boot.img and it booted. Didnt seem to fix anything though., Still testing.
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Keyboard might have to do with some code missing or fix inside android.policy.jar /phonewindowmanager.smali

---------- Post added at 10:00 AM ---------- Previous post was at 09:58 AM ----------

I'm going to port now using cm 10.1.2 latest stable release and miuiandroid.com galaxy nexus from today's release 3.7.12

But that will be til tomorrow and try to fix storage and keyboard.
[Galaxy Tab 2 7" Android Development] timmytim:
I just PM'd you. I think the keyboard could be related to copying the entire input tree in services.jar. Did you try to boot it without that? Do you want to that or shall I? :D
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Unfortunately is not believe me I have tried a lot of things :sly: ... You should, maybe I should concentrate on fixing the keyboard and storage :D
[Galaxy Tab 2 7" Android Development] timmytim:
Ok, I just made a new services.jar forum fun without the input*.smali tree. Im gonna try to boot the tablet with it in a moment. Later I can tale a look at the android.policy.jar to see if there is anything there. Did you try the CM10.1 android-policy.jar to see if it would even boot with it? Im guessing not but its worth a shot.
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
It won't there is a lot of miui staff in it so you must use that remember if you porting from source android.policy.jar, framework.jar and framework-res.apj are three main things that get patch with your base room so android.policy.jar from miui is a must have
[Galaxy Tab 2 7" Android Development] Android-Andi:
something new?
[Galaxy Tab 2 7" Android Development] Skazzy3:
this? http://xdaforums.com/showthread.php?t=2375393