First, you guys do awesome stuff over here. Im impressed. Ok so I know im gonna get called on a dead thread, but here we go
i dont like to ask for help with stuff and managed to throw a few smali ICS type changes to a ZTE merit. figuring out different errors along the way.
So im basically using this method to add toggles to the ZTE merit. ive been at it for a loooong time and its driving me nuts. i went and pulled apart bloodawns ROM, because I used CTmod on the prevail and knew it had it.(wish i found this guide earlier, would have saved figuring out resource numbers.)
I went and changed all the resources, and $id and $layout. added all the strings and drawables and everything. went through a ton of no status bar and such.
I add this
iget-object v6, p0, Lcom/android/systemui/statusbar/StatusBarService;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {p1, v6, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter

Landroid/content/Intent;
const v6, 0x7f030008
invoke-static {p1, v6, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup
Landroid/view/View;
move-result-object v5
check-cast v5, Lcom/lidroid/systemui/quickpanel/PowerWidget;
.local v5, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v5}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V
invoke-virtual {v6, v5, v11}, Lcom/android/systemui/statusbar/ExpandedView;->addView(Landroid/view/View;I)V
at the end and it compiles fine, and my normal status bar layout is there intact, But i just have no widget/toggles showing up. while checking a logcat for something else, I see
I/PowerWidget -
settings up all the buttons etc.
So basically, its there and may be working, but I just cant see it. moving that piece of code around in the smali gives FC errors. If I add the additional line from this guide, FC errors.
Also thing to note, There is no /QuickSettingsView code to replace like in lidroid, and there is no /PowerWidget setup like there appears to be in the Warp.
I know its a different phone etc. but if anybody has any ideas that would be awesome. It is actually starting to drive me nuts.
EDIT-Wow. See, this thing has me so frazzled i posted in the wrong thread. I meant this for the tut by Jet is Found here -
http://androidforums.com/roms-jet/597660-tutorial.html . Which is almost as old as this one. Sorry.