[APP/MOD][GJR90][GJR22][ACS] SystemUi.apk with Quick Panel Ported In

vansmack

Senior Member
Jul 16, 2009
480
120
0
San Francisco
As an FYI, the un-signed gave me a force close as well. Oh well...will just wait for your ROM to be finished and will then have the entire product.

I really love Pete's rom for its stock and speed, but have come to the conclusion that there are certain "MODS" that I really just don't like being without...
I will edit my previous comment about the force close issue. I rarely use USB to connect (I use wifi share instead) but when i did, it force closed and won't connect to a pc at all.
 

krylon360

Retired Recognized Developer
May 10, 2010
2,226
3,102
0
Provo
www.teamwhiskey.com
I am on stock 2.3.6, GRK39F, I9020XXKF1, Nexus S.
Do I qualify for SystemUI? If so, what do I need to do?
Thaaaaanks!
it'll be easy for you, just use apk manager to decompile the modded systemui.apk and the 2.3.6 systemui.apk, then use beyondcompare and diff the 2 dirs and copy over the changes. Though, to learn, it would be best to follow the steps in the OP.
 
  • Like
Reactions: Seff

jboxer

Senior Member
Apr 16, 2009
1,791
509
0
Bangkok
Trying to do this for an LG P999 (G2X)

I followed the instructions in the OP, and made the proper wifi edits. But when I recompile it I am getting errors. If I compile without any edits the original systemui.apk recompiles back together with no problems. If you can guide me in the correct direction from the error log I would appreciate it. I am sure it is something I did wrong but cannot figure it out.

Code:
-------------------------------------------------------------------------- 
|Wed 11/09/2011 --  0:25:02.25| 
-------------------------------------------------------------------------- 
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
Could Not Find C:\Users\Jack\My Development\Android - apk editing\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\Jack\My Development\Android - apk editing\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Jack\apktool\framework\1.apk
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
	at org.jf.util.PathUtil.getRelativeFile(Unknown Source)
	at org.jf.smali.smaliFlexLexer.getSourceName(Unknown Source)
	at org.jf.smali.smaliFlexLexer.getErrorHeader(Unknown Source)
	at org.jf.smali.smaliFlexLexer.nextToken(Unknown Source)
	at org.antlr.runtime.CommonTokenStream.fillBuffer(Unknown Source)
	at org.antlr.runtime.CommonTokenStream.LT(Unknown Source)
	at org.jf.smali.smaliParser.smali_file(Unknown Source)
	at brut.androlib.mod.SmaliMod.assembleSmaliFile(Unknown Source)
	at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
	at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
	at brut.androlib.src.SmaliBuilder.buildFile(Unknown Source)
	at brut.androlib.src.SmaliBuilder.build(Unknown Source)
	at brut.androlib.src.SmaliBuilder.build(Unknown Source)
	at brut.androlib.Androlib.buildSourcesSmali(Unknown Source)
	at brut.androlib.Androlib.buildSources(Unknown Source)
	at brut.androlib.Androlib.build(Unknown Source)
	at brut.androlib.Androlib.build(Unknown Source)
	at brut.apktool.Main.cmdBuild(Unknown Source)
	at brut.apktool.Main.main(Unknown Source)
 

dreamsforgotten

Senior Member
May 4, 2010
5,077
2,522
0
Louisiana
That log doesn't say much for me to help expect null pointer exception which sounds like a xml file in the framework possibly missing or pointing to an id not present

Sent from my NS4G Pool Party using Tapatalk!
 

jboxer

Senior Member
Apr 16, 2009
1,791
509
0
Bangkok
That log doesn't say much for me to help expect null pointer exception which sounds like a xml file in the framework possibly missing or pointing to an id not present

Sent from my NS4G Pool Party using Tapatalk!
Thanks. I will check all for a hex code I did not change or something like that.
 

jboxer

Senior Member
Apr 16, 2009
1,791
509
0
Bangkok
I got it recompiled without errors, but now when the phone reboots (I wiped the entire Dalvik Cache to be safe) the Status Bar force closes and then there is no notification bar at all. I have checked all the code and there isn't any errors I can find. I am doing this for 2.3.4. Would that make a difference? The SystemUI.apk I am modding is from my 2.3.4 rom, I decompile it, make the edits and recompile it. Is there something specific in the logcat I can look for to figure out why it is force closing and there is no notification bar at all?
 

dreamsforgotten

Senior Member
May 4, 2010
5,077
2,522
0
Louisiana
Check the container file for the panel, the layout don't really affect those positions if I remember right. Other than that it would have to be ids in smali. Good work tho you have gotten pretty far on your own!


Sent from my NS4G Pool Party using Tapatalk!
 

jboxer

Senior Member
Apr 16, 2009
1,791
509
0
Bangkok
Since I am porting to an LG P999 I will post in this thread only in the future.

Which file are you referring to when you say the container file for the panel? If it is "QuickSettingsView.smali" there are no public ids in that file.
 

dreamsforgotten

Senior Member
May 4, 2010
5,077
2,522
0
Louisiana
Since I am porting to an LG P999 I will post in this thread only in the future.

Which file are you referring to when you say the container file for the panel? If it is "QuickSettingsView.smali" there are no public ids in that file.
No post in the porting thread this one is specific to a obsolete os for the nexus lol container is am xml in the res not smali

Sent from my NS4G Pool Party using Tapatalk!
 

jboxer

Senior Member
Apr 16, 2009
1,791
509
0
Bangkok
No post in the porting thread this one is specific to a obsolete os for the nexus lol container is am xml in the res not smali

Sent from my NS4G Pool Party using Tapatalk!
Ok, I will post in the other thread.

The only file in the xml is the "quickpanel_quick_settings.xml" that is specific for the quickpanel. There are no public ids in there either, and I have not changed it from the i9000 one. Of course, other than the public.xml, ids.xml and strings.xml but all that data is correct.