Post Reply

[WIP] PrimeUX - Samsung UX Port into Prime 1.6

16th August 2011, 04:40 PM   |  #1  
rothnic's Avatar
OP Senior Member
Thanks Meter: 278
 
810 posts
Join Date:Joined: Aug 2010
Context: [DEV] Touchwiz for Transformer - xda-developers This was moved because there were no files to test.

What is this? This is based on Prime 1.6. All the samsung galaxy tab 10.1 specific files that run UX have been merged in. Then I decompiled the framework for both the TF and GT10.1, and merged in functionality into the TF framework. It has come a long way, and the launcher is usable. However, the statusbar does not come up because systemui.apk FC's.

PrimeUX: Download THIS IS NOT USABLE YET, PEOPLE WHO EDIT SMALI ONLY

You will get FC's from systemui, media, and myfiles. Media and myfiles could be avoided by leaving out more of the samsung files that fguy did not include in his. I assume it is because of the FC's.

This is meant for others to work on the systemui issue, not for any real use.

Porting Process:

Here was what I was using to decompile the framework. Drop all the files into the framework directory, then run decompile.bat and it'll all go into respective folders under an out folder. Then you can do this to the samsung framework, then diff them with winmerge or something like that.

When you find an error in logcat, search for a term related to it within Notepad++'s search in files feature. Generally, this will point you into the direction of a missing class. Then you can copy the class over into the associated TF framework file by right clicking on the highlighted missing class within Winmerge. However, sometimes it isn't so easy because Samsung and Asus have heavily modified the HC framework. Asus to add the dock functionality, samsung for the touchwiz stuff.

Tools: Decompile Framework
Last edited by rothnic; 16th August 2011 at 09:24 PM.
The Following 9 Users Say Thank You to rothnic For This Useful Post: [ View ]
17th August 2011, 07:42 AM   |  #2  
Gtj94's Avatar
Senior Member
Flag Melbourne
Thanks Meter: 525
 
918 posts
Join Date:Joined: Aug 2010
More
Good to see this happening! quick question, there isn't any resizing needing to done yea? Just smali edits?

Sent from my Desire HD using XDA Premium App
17th August 2011, 03:34 PM   |  #3  
rothnic's Avatar
OP Senior Member
Thanks Meter: 278
 
810 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by Gtj94

Good to see this happening! quick question, there isn't any resizing needing to done yea? Just smali edits?

Sent from my Desire HD using XDA Premium App

I guess I'm unsure what you mean by resizing.

Currently it is at a point where more merging needs to happen(i think) to get the mini apps working. The systemui.apk has a major dependency on the mini apps working, so it crashes without them working.

The main problem I have is there is a FC by systemui, pointing to the mini apps as the problem. However, there is no way to find out why the mini apps aren't running. So, I don't know if more framework porting needs to happen, or what.
17th August 2011, 03:41 PM   |  #4  
Roach2010's Avatar
Recognized Developer
Flag Glasgow
Thanks Meter: 2,261
 
833 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Hey rothnic. Great work so far. I don't envy you task of trying to merge the frameworks but you have my full support. I'm no smali expert by any means but I'll help out if I can.

I suggest keeping a healthy supply of beer at hand as smali editing drives me to drink
17th August 2011, 03:51 PM   |  #5  
Member
Flag Ustroń
Thanks Meter: 30
 
78 posts
Join Date:Joined: May 2010
Ported going to interface with applications such keyboard? I do not like asus keyboard
17th August 2011, 07:01 PM   |  #6  
rothnic's Avatar
OP Senior Member
Thanks Meter: 278
 
810 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by Roach2010

Hey rothnic. Great work so far. I don't envy you task of trying to merge the frameworks but you have my full support. I'm no smali expert by any means but I'll help out if I can.

I suggest keeping a healthy supply of beer at hand as smali editing drives me to drink

Yeah, not the most fun stuff in the world. Was going to get around to touching base with you if I ever get it working. I'll package it up as a delta so it's not a full on release to manage. If there is a way to get it working, I hope to document the changes I made so it could be applied to TF updates as they come out.

Quote:
Originally Posted by stitoo

Ported going to interface with applications such keyboard? I do not like asus keyboard

If it works, I'll probably alter Prime 1.6 as little as possible. Have you tried Thumb Keyboard from the market? Worth the cost.
17th August 2011, 09:16 PM   |  #7  
dwillMUFC's Avatar
Senior Member
Thanks Meter: 39
 
224 posts
Join Date:Joined: Apr 2010
Donate to Me
Just comparing smali files and in "smali\com\android\systemui\statusbar\tablet" the TableyStatusBar$H file in the Prime UX, when compared to the A500 UX rom exact file. There are many differences between the two. Now Myself have only done minimal smali editing. However I was just wondering if this has already been looked at and/or whether they theoretically should be the same?

Thanks

Dan
17th August 2011, 11:03 PM   |  #8  
rothnic's Avatar
OP Senior Member
Thanks Meter: 278
 
810 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by dwillMUFC

Just comparing smali files and in "smali\com\android\systemui\statusbar\tablet" the TableyStatusBar$H file in the Prime UX, when compared to the A500 UX rom exact file. There are many differences between the two. Now Myself have only done minimal smali editing. However I was just wondering if this has already been looked at and/or whether they theoretically should be the same?

Thanks

Dan

I started using the A500 UX version of systemui.apk. I had the errors that we still have now. But, I thought maybe the version that Fguy used for the Acer might not work well with this specific implementation of honeycomb. So I tried a newer version of the samsung UX files, but it had no impact.

So that is why you would find differences between the one in PrimeUX versus Fguy's ROM. I tried talking to him about it, but I think the language barrier is too great to really communicate well enough.

I'm not sure if he added anything to the SystemUI.apk or not, but my intuition was that the changes were mainly to the framework files. That is a consideration to make, though.
18th August 2011, 05:40 AM   |  #9  
nicknowsky's Avatar
Senior Member
Thanks Meter: 23
 
711 posts
Join Date:Joined: Jan 2008
More
this is great, I was wondering if and when we were gonna see this ported. Its great to see the DEV'n really starting to take off!!
19th August 2011, 02:23 PM   |  #10  
br13an's Avatar
Member
Thanks Meter: 11
 
69 posts
Join Date:Joined: Sep 2010
More
Why are you guys concetrating on the keyboard so much for this port, it just gives extra unneeded problems with it, maybe it's a better thing to leave the keyboard as it is for now, i guess that can take alot of headaches away,

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes