yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] BryanChia:
thats what im talking about !!!

but i dont know what part have i done wrong :9

i did every steps that you said.
[Galaxy S II General] Vivek_Neel:
Mate. Am just surprised ...

You are using avast antivirus..

But y..

I don't use any antivirus..
[Galaxy S II General] tdunham:
The positive answer being that they can toggle all the way through brightness toggle and it does not get stuck at full or it does get stuck? (Sorry, not sure which it was.)
[Galaxy S II General] Spannaa:
Sorry mate - I don't know what you've done wrong either and I'm not about to go through it all again!

Just in case ;)
[Galaxy S II General] Vivek_Neel:
After all some success..

.in editing .9.png

Made notification bar transparent..

Kudos to engloa buddy..for telling me how to make that small settings icon transparent..at the top.

But I did a bad patche.it seems
[Galaxy S II General] hughfollett:
I meant the ongoing notification background :) that text when you have something in the notification panel..

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II General] Namoi:
No, they seem to work all the way. Here is the answer from Alliance Mod thread :

Maybe what could be done is this : Just taking the SystemUI Lidroid smalis used in Alliance, then replacing the ones in a standard Systemui. Modifying The Expanded Status bar XML to point to Alliance Lidroid, replacing Lidroid.apk and sAdvance.apk by the ones used in Alliance, make a prayer to the Goddess of modding and flash it all...

But to be honest i am not very confortable with smalis...

Maybe one of our other Gentlemen here...
[Galaxy S II General] engloa:
They're the same, but you're welcome to try it out.

Look in systemui/res/layout/tw_status_bar_expanded.xml and tw_system_bar_notification_panel.xml
[Galaxy S II General] Goldie:
Post the dumpstate_app_error.txt.gz from data/log after it fc
[Galaxy S II General] alen1901:
Bryan, for 9png edits. Do this:

1. install SDK and all that needed **** (so you get draw9patch.bat)

2. Copy notification 9.png to folder named "original"

3. Copy the same picture in folder named "testing"

3. Open image from "testing folder in draw9patch and remove patches (black borders, dots) around image

4. Save that image

5. Open Paint.NET or any other better image editing app and paint image into color you want

6. Save image

7. Open that image again with draw9patch

8. Open notification image from folder named "original" with draw9patch too

9. Now look at original image for patches (black borders, dots) and place the same patches on image from "testing" folder

10. Save

11. Put in systemUI.apk or framework-res, where needed

12. Compile

13. Try it out

Sent from Sparkling Nexus 4
[Galaxy S II General] Vivek_Neel:
For ongoing:

Decompile systemui

Go to SystemUI.apk\res\layout and open tw_status_bar_expanded.xml

Here focus on the following line:

<LinearLayout android:orientation="vertical" android:id="@id/onGoingCart" android:background="ff293945"

Change it to whatever.you want.. recompile.
[Galaxy S II General] tdunham:
Ok thank you. All that won't be necessary, I will diff the smali files from Alliance wanam to stock wanam smali files and see if there are any differences.
[Galaxy S II General] Goldie:
He shouldn't need to edit any .9. Like he been told just replace the .9 with a regular png. :)
[Galaxy S II General] BryanChia:
holy ---- ?

how the heck did i do that , i dont even.. how ,.. what ??

:crying::crying::crying::crying::crying::crying::crying:

omg :')

well obviously i didnt do it 100% right, i still haven't make the ongoing notification transparent and the picture doesn't suit the background but oh well, i'll work on it again !!!

once again, THANKS TO EVERYONE that helped me throughout this whole out since yesterday, what spannaa said is actaully easy, just make a 480x800 pic and replace the notification_panel_bg.9 and i have no idea what i can't work that out
[Galaxy S II General] Namoi:
I did it for the Brightness and Brigthness button and didn't find any except for some return values... Maybe the others smalis.

Could you post your result in here afterward.

Thanks
[Galaxy S II General] tdunham:
Would you mind posting the (compiled) Alliance SystemUI/classes.dex file? It would save me the trouble of downloading the entire thing. :)

Edit: Sorry, I meant to say I need the Alliance compiled classed.dex file. I would prefer to decompile it myself.
[Galaxy S II General] alen1901:
The problem is that he doesnt understand how to do that. Its easier just to edit 9.png, at least it will get him somewhere.. :D

Sent from Sparkling Nexus 4
[Galaxy S II General] bombaybadboy:
Look in res/layout/tw_status_bar_expandable.xml and look for

<FrameLayout android:id="@id/notification_panel" android:background="[COLOR="Red"]@drawable/notification_panel_bg[/COLOR]" androidaddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"

Change

android:background="@drawable/notification_panel_bg"

To hex (your transparency)

also make sure notification_panel_bg.9 has that transparency
[Galaxy S II General] engloa:
You should have listened yesterday.

No more questions now. As Red would say, press the thanks button to everyone that helped you instead of just saying it.
[Galaxy S II General] Vivek_Neel:
Alen that is spoon feeding guide..would be very helpful to noobs like me

Very good..

Create a thread?
[Galaxy S II General] BryanChia:
i've nothing to say now.

and yes i will do it when im bout to sleep ! :')
[Galaxy S II General] NoRulesForMe:
sorry a bit late to reply >_<

so i cannot do anything as long as Mr.HZA didn't give me the system/framework?

i couldn't do it without it? even from the Red and blue fancy toggles zip only?

sorry :(
[Galaxy S II General] Namoi:
Gimme me 5 minutes.

I am also uploading the whole apk : systemui, framework-res, toggles (which is lidroidsettings.apk in Wanam) and Alliance-res (= lidroid-res.apk).

Here is a link for the whole stuff http://we.tl/BnYS9Z3b1h

and in attachement the smalis.

I whish you luck and success :good:
[Galaxy S II General] NoRulesForMe:
Yes mate >_< but but oh no how would i say this :confused: ... sorry mate but it's another way around?

you made one that has 2 signature "Neatrom" and on the underneath the blue line lost too...

just want the same as the 1st picture but change only the "Wifi" icon image to the another one with Mr.Chempaxel "Wifi" icon image...

hope i didn't offend you mate :( i really don't know how would i say this :(

Please help me mate >_< hope you get me this time? sorry mate >_<

Note:

Neat Family i can't press thanks button ATM but i will after i fully charged my Sg2 please trust me. Sorry i'm using my pc. :(
[Galaxy S II General] electricsheepdreamer:
It gets stuck after being on auto.

If one taps it up to auto and pulls the BS (brightness slider) back to minimum, everything is fine.

And auto/100% still makes it min/100% here on JB Reloaded.
[Galaxy S II General] engloa:
It's okay, nothing to be sorry about.

You should read some of the angry pm's i get when mods didn't turn out as they expected.

I'll check ASAP...
[Galaxy S II General] bombaybadboy:
sorry mate i started one message got pulled away then finished another, you said someone had that mod then ask them for a copy and use its lidroid-res apk from that mod then make a copy of your lidroid-res apk from your system/framework then you can use 7zip to swap toggle pngs
[Galaxy S II General] Vivek_Neel:
[MENTION=1123174]esd[/MENTION]

Pls start making your own mods.

I don't see any meep here..
[Galaxy S II General] NoRulesForMe:
Mate? How should i get or make a All in ONE Zip file of the 3? and we don't have 7zip and i googled it and i don't know what version should i DL? >_<
[Galaxy S II General] Vivek_Neel:
Here mate

http://www.7-zip.org/download.html
[Galaxy S II General] NoRulesForMe:
No mate i'm not like them as i know my boundaries. i know that i'm the one who's requesting here so i don't have any reason or Rights to be angry at you even it didn't turn out as what i've expected... Thank you mate for understanding me >_<

i just really want a ONE zip file Combined of the 3 zip that Mr.HZA made. Sorry i disturb All of you here asking >_<
[Galaxy S II General] bombaybadboy:
7zip here

http://www.7-zip.org/download.html

You could download my sortofstock and then unzip replace the systemUI in preload/symlink/system/app folder and replace lidroid-res in system/framework folder then zip all folders up again
[Galaxy S II General] joehanh88:
well, these are several ways that you can make it done :

1) this is the step that i always use to make change the background.

- decompile the apk.

- go to the res/drawable-hdpi folder.

- find the notification_panel_bg.9.png.

- open it with any of your preferred photo editor.

- resize the image to 482x802 (so that the other 2x2 pixel will leave for .9patch).

- open the image that you want to make as background (copy it)

- paste it into the notification_panel_bg.9.png that you have resized.

- draw the whole 2x2 with black line #000000.

- save the image.

- recompile.​

2) this steps is much easier, but i dont recommend. sometimes it failed. :p

- decompile the apk.

- recompile the apk.

- go to build/apk/res/drawable-hdpi.

- find the notification_panel_bg.9.png

- replace with your preferred image. (but dont forget to name the image with the same name include .9)

- build the apk again.

- your finished apk will be in dist folder.​

3) this is the safest way i guess :p but always success.

- decompile the apk.

- go to res/layout folder.

- find tw_status_bar_expanded.xml

- in that xml, find android:background="@drawable/notification_panel_bg".

- change that notification_panel_bg with any name. example android:background="@drawable/mybackground".

- save the xml.

- then, go to res/drawable-hdpi folder.

- place your image named "mybackground".

- compile the apk.​

well, there is another way i guess, but i forgot how :p

please let me know if you able to change your background with the steps that i've gave to you. So that maybe i can put this things into my TUT.

goodluck :D
[Galaxy S II General] Spannaa:
He finally cracked it using a fourth method that doesn't involve decompiling/compiling SystemUI.apk

Like your thread BTW [MENTION=5064082]joehanh88[/MENTION] ;)
[Galaxy S II General] NoRulesForMe:
where could i DL your sortofstock?

what do you mean replace? i will put my SystemUI and Lidroid-res in to my computer then combined them and make it a zip file?

>_<
[Galaxy S II General] tdunham:
Morph Utility for JB with Preload Support

Since I've got so many devs in one place... ;)

Tired of flashing preload and setting symlinks?

I've rewritten/modified the Morph (not VRtheme) utility to allow access and writing to the preload partition. I've tried to make the mount points universal so I would appreciate any input and testing on the international phones if possible. Permissions are automatically set for flashed files as well.

Another plus, symlinks are automatically created if files are flashed to preload from the XTRAS folder. (symlinks aren't necessary from the MORPH folder as they should already be created)

BTW, our preload path is preload/symlink/system/app. If your path is different please let me know and I will revise the symlink code.

Cheers - TD

My thread is here and latest with universal mount is posted below:

http://xdaforums.com/showthread.php?t=2304604
[Galaxy S II General] Namoi:
Thanks, saw it already :)

(BTW sorry i am empty of "clickable" thanks for today ;) )

But AFAIK our path is the same but there is no s to apps (almost sure it is only a typo in your post).
[Galaxy S II General] tdunham:
Yes, thank you I will correct the original post.
[Galaxy S II General] Spannaa:
This one?

Yep, you have the correct path in the zip ;)

I'll give it a try later when I get the chance.

Whilst you're here, could you explain why using MORPH is a better method than using VRThemes?

I've never really looked into it as I always use VRThemes.
[Galaxy S II General] tdunham:
This has a lot more features than VR.

We have issues with permissions on our phone when flashing mods occasionally so either they need to be set manually (through the installer script). This sets permissions for us. This is a little meatier than VRTheme but it should not only set permissions but also create symlinks. There are other features as well, like it creates a backup so you can flash back with a 'before' zip. The backups don't always work btw to go back and that wasn't anything I've done to it (already built-in) and it was on the low end of priorities to fix/troubleshoot.

I can't recall, does VR also have the capability of appending a custom tagline to the build info of the build.prop as well?
[Galaxy S II General] Spannaa:
Mmm...

You can set permissions and create symlinks with VRThemes and you can also flash apks and then theme them in the same pass.

Backups are created in a vrtheme-backup folder but these aren't flashable, just copies of the themed apks.

Not sure about editing build.prop as I've never needed to do it.

Need to look into this further, thanks.
[Galaxy S II General] NoRulesForMe:
I don't get it :(

What is the look of sortofstock and purpose? oh noh really a big oh no :(

My head is rolling upside down :rolleyes: :( :eek: sorry Mr.BBB,Mr.Spanna,Mr.CFI and Mr.Engloa I'm so slow and weak head -_-

Maybe i just wait and pray for what Mr.Engloa zip file cr8ting for me. SORRY i just ruined your day really can't get it :(

Thank you for your help guys. I will Press all the TM tom. I Promised. need to sleep my head is aching now not feeling well because it's raining here and :( have a big duty tom. again :(

Good night . sweet Dreams guys -_-)
[Galaxy S II General] BryanChia:
at last.. final mod for today, satisfied with everything ;') :good:
[Galaxy S II General] CuBG:
Hi, i was trying to make the 23 toggle mod for my XWLSW, i did exactly what the tut said but when i push SystemUI.apk in the phone and restart i loose my status bar completly. The guide is for LSS as much as i can see and there is not any difference between LSS and LSW in the code to make any corrections but the problem is there. What the guide dont say is that i have to push lidroid-res.apk and LidroidSettings.apk in the phone but i anyway put them there but i dont think that will be the problem. Thanks anyway if no one decides to help me :o
[Galaxy S II General] tdunham:
The permissions and symlinks have to be manual lines added to the installer script though correct? Just like you would have to do with a normal flashable.

That is why I went this route. I didn't see anything in the VRtheme I was looking at to set permissions and symlinks short of writing them in myself.
[Galaxy S II General] BryanChia:
Its just like xwlsw 23toggles blueclock.zip green colour, looks like stock
[Galaxy S II General] Jeetu:
Is there any mod that auto rotation works on Lockscreen and on Home screen??? confused:
[Galaxy S II General] Namoi:
Just a stupid thought, but you did push lidroid-res in framework folder, didn't you ?
[Galaxy S II General] Vivek_Neel:
First of all ..after everything finished..

What you did?.

1.which tool are you using to decompile?

2.use any flashable zip to flash your mod to avoid such problems.

You should just copy com and wanam folder from lidroid.zip to system/smali.

And yeah... did you see whether new I'd is generated in public.XML (res/values)

(For exp-power-stat)?
[Galaxy S II General] MyLifeRocks10:
Finally.:rolleyes::D

In this thread we provide guides only so if u r asking for mod then u have come to wrong place.:p:D
[Galaxy S II General] Jeetu:
Lol.. :D

Then i am asking how to do this?? :p :D
[Galaxy S II General] Spannaa:
Like you suggest, I add my permissions & symlinks manually to the updater-script for each VRTheme I write but it can be done via scripting.

Permissions can be set for whole folders using set_perm_recursive

[MENTION=3690986]salesale[/MENTION]'s NeatROM updater-script extracts, runs then deletes a temporary symlink_preload script:

#!/system/bin/mksh

mount -o remount rw /system
cd /preload/symlink/system/app

# Can't create array with /sbin/sh, hence we use mksh
apk_list=( `ls | grep .apk` )
odex_list=( `ls | grep .odex` )
items=${apk_list[*]}" "${odex_list[*]}

for item in ${items[@]}
do
ln -s /preload/symlink/system/app/$item /system/app/$item
done
[Galaxy S II General] bombaybadboy:
M8 I only suggested using sort of stock just to empty and as an empty zip you could add your midified systemUI and your modified lidroid-res
[Galaxy S II General] ICS_XD:
Decompile framework-res.apk

Res/values/bools.xml

Search AllowAllrotations

Set False to true

Than search AllowLockscreenRotation

Set False to true :D:D:D:D:D:D

Done recompile n flash :thumbup:
[Galaxy S II General] engloa:
What will tomorrow bring? :eek::eek:

That's the million dollar question. :p
[Galaxy S II General] tdunham:
That's pretty interesting. I see what the script is doing for the list but maybe this can be simplified into one line that will create all symlinks (assuming system is already in RW mode otherwise the mount -o remount rw /system needs to preface this line and system has busybox installed):

busybox cp -s /preload/symlink/system/app/* /system/app

This is the method used to create symlinks easily in the Morph template. It can be edited to symlink other paths as well of course.
[Galaxy S II General] ICS_XD:
If I tell you will you give me million dollar s ??

:eek::eek::eek::eek::eek::eek::eek:
[Galaxy S II General] engloa:
Yes!!
[Galaxy S II General] ICS_XD:
A new day called tuesday :D

Now want my paypal ??? Hehhehehdhehh
[Galaxy S II General] MyLifeRocks10:
Decompiling jar files and editing smali files.:D
[Galaxy S II General] Spannaa:
Sorry, got to go - kids to feed!

I've attached [MENTION=3690986]salesale[/MENTION]'s NeatROM updater-script (as a txt file) to go with the script I posted for your reading pleasure ;)

L8Rs
[Galaxy S II General] ICS_XD:
I was more correct :D :cool::cool::cool::cool::cool::cool:
[Galaxy S II General] engloa:
But it's already Tuesday.:confused:
[Galaxy S II General] ICS_XD:
Heheheh today is monday :P

In india :P

Whats time there .?:eek:
[Galaxy S II General] Vivek_Neel:
Depends on Bryan..:)

Good guy
[Galaxy S II General] CuBG:
1. Apktool 1.5.2

2. Is there any difference to FLASH zip or push it manually with permissions set manually too ?

3. Without lidroid-res.apk and LidroidSettings.apk there will be no control the Toggles and they are separated from the main code in SystemUI.apk to make any problems.

4. Yes, i compile and recompile again to generate the new ID for exp-power-stat and push it where belong ;)

Like i said, i did everything word by word ;)

lidroid-res.apk in framework and LidroidSettings.apk in /System/App folder with correct permissions ;)
[Galaxy S II General] tdunham:
You cannot run the toggles withough lidroid-res.apk. SystemUI calls it and it will crash/force close without it.

You can push and set permissions just fine for these files. Lidroid-res goes in system/framework, lidroidsettings.apk goes in system/app. Permissions are 644 of course. :)

Edit: You didn't try to edit either of these files did you?
[Galaxy S II General] CuBG:
No, i didnt touch the files but the problem remains with the dissapear of my status bar completly.
[Galaxy S II General] bombaybadboy:
Always try to help here, sorry im so use to making flashable zips. Can I ask if you put lidroid settings.apk in preload/symlink/system/app and lidroid-res.apk in system/framework. I will edit and add that to guide when I have access to pc
[Galaxy S II General] tdunham:
Also, a logcat would be nice if you can provide one.
[Galaxy S II General] engloa:
Maybe you can also put an empty zip template in OP with preload and system folders inside it, users can just add the apks themselves before flashing it.
[Galaxy S II General] Vivek_Neel:
2.not any difference..

But it was recommended for me to use that..

And after that I did not have any error..

So I suggested you
[Galaxy S II General] CuBG:
I try to put lidroid settings file in preload/symlink/system/app and in /system/apps and in both folders and lidroid-res.apk in system/framework

In that guide wanam tells us to make corrections in lidroid-res.apk but havent try yet.

The only thing that i cant do is to take logcat but here it is my Modded SystemUI.apk
[Galaxy S II General] engloa:
You don't need to make corrections to lidroid-res if you didn't change it. Missed your 1st post, what device do you have?
[Galaxy S II General] Goldie:
Two things.....

1) if you lose status bar I.e systemui fc then it could be a ton of things. If people posted their dumpstate_app_error.txt.gz from data/log it would save a zillion "I lost my statusbar and no one knows why" posts.

2) if devs symlinked the whole preload/symlink/system/app folder in their roms it would save a load of issues as anyone could push any file to preload and it would work without any further symlinking.

:)
[Galaxy S II General] Namoi:
Maybe you can grab a known working lidroidres and try with it just to narrow the potential problem...

And also : did you remove the other toggles from the xml?
[Galaxy S II General] bombaybadboy:
You did remember

use the newly generated id in public.xml (in res\values folder) for"exp_power_stat"*in place of*0x7fxxxxxx

Its important

Also to sign the apk and edit service.jar for signature verification disable

Sorry its been hard to keep up with this thread with just my device
[Galaxy S II General] engloa:
Everything looks fine with the SystemUI that you attached.

Looks like you need to edit the lidroid-res.apk
[Galaxy S II General] bombaybadboy:
[MENTION=649767]cfi[/MENTION] you have used this guide for a 23 toggle mod, did you have any problem with lidroid apks that were linked in guide?
[Galaxy S II General] electricsheepdreamer:
Have you tried to backup your SystemUI via Titanium Backup and then restore it after you flash Lidroids.

Sent from a guy without PC.
[Galaxy S II General] engloa:
Sometimes you need to edit the lidroid-res mate, although this rarely happens. I recall doing it for you once when you asked me about the 23 toggle mod. :)
[Galaxy S II General] bombaybadboy:
Yes I did have a number of failed attempts at 23 toggle mods when I first started :D
[Galaxy S II General] Vivek_Neel:
I had systemui stopped working error mate..

After engloa and your suggestion (about that new id)I did another time but the same thing..(totally 3times I did that 23 toggle mod)

I was not successful.. then I gave up..
[Galaxy S II General] bombaybadboy:
Engloa said the systemUI was working so tomorrow I will go through the guide and check everything including the apks just to make sure. Im sure its ok but no harm in double checking
[Galaxy S II General] engloa:
Maybe you need to create new smali files like i did bbb. :)
[Galaxy S II General] bombaybadboy:
M8 your an expert with 23 toggle mods and you can do things with them that I wont pretend to understand :) I only no from wanams method.
[Galaxy S II General] Vivek_Neel:
[MENTION=224389]BBB[/MENTION]

If you get PC from your daughter , then could you please add some more guide like

1.notification bar transparency

2.system background transparency

3.notification pull down transparency

Etc.

Your thread is very useful for me like

Thanks a lot
[Galaxy S II General] bombaybadboy:
Gave you a bit of the info a few pages back m8 then its a matter of going through tw_status_bar_expandend.xml in res /layout and go through changing hex to transparency.

Plus you need to edit in drawable hdpi

tw_quick_panel_clearbtn_focus.9.png tw_quick_panel_clearbtn_normal.9.png tw_quick_panel_clearbtn_press.9.png tw_quick_panel_clearbtn_select.9.png

For toggles it depends on if your using lidroid-res or not