yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Android Development] AndroidGX:
Ok, just tried your tutorial, but seems like there is a problem : I can't decompile properly without errors.

I'm still using Wanam APK ICS Manager but replaced with latest files from apktool thread that you provided (same for aapt.exe).

I decompiled lidroid-res.apk as dependencies with wanam3-5.apk ==> OK, but recompiling is not, here is my log.txt :

--------------------------------------------------------------------------
|25/09/2012 -- 13:16:02,68|
--------------------------------------------------------------------------
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFoundException: X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam3.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam4.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam5.apk (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:481)
at brut.androlib.Androlib.installFramework(Androlib.java:447)
at brut.apktool.Main.cmdInstallFramework(Main.java:199)
at brut.apktool.Main.main(Main.java:72)
Caused by: java.io.FileNotFoundException: X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam3.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam4.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam5.apk (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:449)
... 3 more
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\sub\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.err.CantFindFrameworkResException
at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:441)
at brut.androlib.Androlib.parseUsesFramework(Androlib.java:482)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)

I tried to recompile without doing the modification of apktool.yml, and recompiling is OK this time, but I guess it's not the right way.

Any idea please ?
[Galaxy S III Android Development] wanam:
Did you push the 3 frameworks? if so, you don't need to decompile with dependencies.
[Galaxy S III Android Development] AndroidGX:
Thanks! it worked like a charm :good:

I never knew that just pushing while no selectionning the concerned lidroid-res will be working, but it is :)

Very interesting.

Thanks again mate.
[Galaxy S III Android Development] wanam:
My pleasure :)
[Galaxy S III Android Development] Cristiano Matos:
@Wanam or

Someone can explain me the first part, the apktool.bat stuffs. How can i push the wanam files?

I try those commands but i have several errors

I'm able to de-compile lidroid-res.apk without the push parts.

In re-compiling (apktool b lidroid-res lidroid-res-new.apk) the first line after hit enter is: "Could not find sources" but the rest of process goes ok.

In the end i have a new apk with a few less mbs than the original.

Any help will be very appreciated.
[Galaxy S III Android Development] anukilimanoor:
Thanks... Working great... :)
[Galaxy S III Android Development] brolee93:
i have this pb but i have put 5 ressources
[Galaxy S III Android Development] brolee93:
Help please ;)
[Galaxy S III Android Development] Ofeliax:
hi

i want to change some stuff into lidroid-res.apk

Step:

installed dependencies no error occured

decompiled lidroid-res.apk no error

edited apktool.yml no error

done my changes

recompile lidroid-res no error

signed lidroid-res.apk

push in system/framework

fix permissions to rw-r-r

reboot

SystemUI CRASH!!!!!!!!

What's my bad?

Thanks in advance

i'm on LS2 for gt-n7000

i attached my modded

lidroid-res.apk
[Galaxy S III Android Development] Ofeliax:
Anyone can help me?

Please
[Galaxy S III Android Development] wanam:
Why do you sign it?
[Galaxy S III Android Development] Ofeliax:
Hi wanam

You mean that i just push in system/framework the lidroid-res.apk from /dist folder , right?

But at apktool.yml i must add until to -4 or -5?

Thanks for support!!!!!!
[Galaxy S III Android Development] wanam:
No need to sign it, just add 2-3-4 resources and compile.
[Galaxy S III Android Development] Ofeliax:
Ok

I'll try so and I'll give you feedback;)

Thanks
[Galaxy S III Android Development] Ofeliax:
It work perfectly

:)
[Galaxy S III Android Development] einrae214:
man i using apktool the lastest one. and im am using a note 2 and trying to color the toggle mod and its not sticking nothing is showing up as far as my color changes. any idea? thing compile just find and enter the steps installed the 3 .apks and still nothing
[Galaxy S III Android Development] Evewon:
Wanam please help!

I have been trying to mod the lidroid-res.apk for days!

I follow your directions to the "t" I decomiple, edit, recompile without errors, but when I push to system UI crashes. I have been pulling the lidroid-res.apk from the rom I am using :http://xdaforums.com/showthread.php?t=2034844 and using this mod as a starting point :http://xdaforums.com/showthread.php?t=1895880

I have themed all the system apks, that I want, this is the last that is left, I am trying to remove the text from underneath the toggles. Shed any light on the needed xml edits?

Any help will be greatly appreciated!

Thank you!
[Galaxy S III Android Development] wanam:
What if you try to decompile it again, do you get any errors?
[Galaxy S III Android Development] alvin551:
Have you re-applied the signatures? Basically oncy you have made your edits compile..then go to the original .apk and open it with a file extractor. Leave that open and go to the build file under apktool and drop in from the original .apk the metainf folder and the androidmanifest in to the build folder overwrite if needed then compile again and your signed .apk with edits will be under dist folder ..sorry if you dont understand what I have written but im in work and typing quickly on my phone. Good luck
[Galaxy S III Android Development] Evewon:
I have tried that, but not doing a second recompile? I will try to recompile after moving meta-inf and android manifest.

---------- Post added at 11:23 AM ---------- Previous post was at 11:22 AM ----------

Decompile after recompile after editing? I have not tried this.

---------- Post added at 11:57 AM ---------- Previous post was at 11:23 AM ----------

By the way guys I'm trying to mod 23 toggle, if that changes anything. Do I need an unedited lidroid?
[Galaxy S III Android Development] alvin551:
Whenever you make any changes to an a.pk in smali or .xml edits you need to copy the metainf and android manifest over and then recompile as I said before..this is on any apk before pushing to the phone
[Galaxy S III Android Development] Evewon:
Yeah I've done that.. still no go, worked fine with systemui.apk but no luck with lidroid-res.apk
[Galaxy S III Android Development] alvin551:
What do u want to change? Could I modify lidroid-res for you?
[Galaxy S III Android Development] Evewon:
Hell yes you can!

I was hoping to do it myself, but I'm over it! I just want to get rid of the text under the toggles. I am also coloring any blue .9.png to Green (a5e518) I think there is only one .9.png, and I'm not even sure if it does anything. I'll PM you with my lidroid-res.apk an some more info, cool? need anything else?
[Galaxy S III Android Development] alvin551:
Nope that should be it mate just pm what you want and ill do it for you no problem
[Galaxy S III Android Development] alvin551:
Try this mate. Everything should be working now :) I've tested on my international galaxy s3 and all is fine (note: I have tried with 23 toggles mod) I have uploaded 2 versions for you. NOTEXT is literally remove the text and NOTEXT_CLOSER has moved the toggle bar upward to make it look a bit better. Up to you which one you use. I've attached them in flashable zips but be warned they were made for international galaxy s3 so confirm its got the same mount point first. Hope this has help you..anything else just PM me :good:
[Galaxy S III Android Development] Evewon:
You are amazing! Thank you! I've pmed you some additional questions, as not keep the cluter down here.
[Galaxy S III Android Development] Evewon:
Now for some reason when I try to copy my themed pngs to this apk using 7zip to open archive, I get a error message from 7zip say "Not Implemented" when I try to open a png in 7zip archive from the lidroid-res.apk, I get another error, "Unssported compression method for xxxxx.png"

Not sure what to do....
[Galaxy S III Android Development] wanam:
if you use 9.png files do it on the safe way, decompile and compile with Apktool and aapt.
[Galaxy S III Android Development] BeansTown106:
will this method work for the 23 toggle lidroid-res? im trying to achieve a version with no text and a version for 5,6 and 7 toggles
[Galaxy S III Android Development] wanam:
Yes, it works with 23 toggles too.
[Galaxy S III Android Development] BeansTown106:
thanks a bunch Appreciate it!
[Galaxy S III Android Development] grigoris1:
The commands

apktool.bat if path_to/framework-res.apk

apktool.bat if path_to/twframework-res.apk

apktool.bat if path_to/wanam3.apk

apktool.bat if path_to/wanam4.apk

apktool.bat if path_to/wanam5.apk

does not read it in my apktool

help

I write these

Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound

Exception: path_to\framework-res.apk (Le chemin dÆaccÞs spÚcifiÚ est introuvable

)

at brut.androlib.res.AndrolibResources.installFramewo rk(AndrolibResource

s.java:477)

at brut.androlib.Androlib.installFramework(Androlib.j ava:448)

at brut.apktool.Main.cmdInstallFramework(Main.java:19 3)

at brut.apktool.Main.main(Main.java:69)

Caused by: java.io.FileNotFoundException: path_to\framework-res.apk (Le chemin d

ÆaccÞs spÚcifiÚ est introuvable)

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at brut.androlib.res.AndrolibResources.installFramewo rk(AndrolibResource

s.java:445)

... 3 more

Regulation compile if you write this

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

help.
[Galaxy S III Android Development] Dean1650:
I have been searching for days for a solution to my sysui fc after modding lidroid-res.apk. Low and behold I found this thread. You are my hero.. I'm a modding fool thanks to you. Thanks ever so much.
[Galaxy S III Android Development] sk1887:
which xmls did you change? i hope you can remember ;) I am trying to understand how to remove the bottom indicator or how did you actually remove text.
[Galaxy S III Android Development] Namoi:
Edit Power_widget_button.xml in layout.

To remove text, just set the text size to 0 dip.

To remove the ticker, edit the pngs and make them transparent (stat_bg_on, stat_bg_ing, stat_bg_off).

Here is my xml (for reference)

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="76.0dip" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" />
<TextView android:textSize="0.0dip" android:textStyle="normal" android:textColor="@color/power_widget_button_text" android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_text" android:paddingTop="46.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/power_widget_button_indic" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:scaleType="fitXY" />
</FrameLayout>
[Galaxy S III Android Development] sk1887:
thanks to you,I have just noticed now that he added android:visibility="gone" in the end of textview line.

Talking about the indicators, I thought of making them transparent, yes. Yet making it so, there would be a bit of space between the widget button and the brightness bar. So looking in power_widget_button.xml shouldn't there be a line citing where the bg_indicator is placed? just to think about making it 0.0 dip or hide its visibility.
[Galaxy S III Android Development] Namoi:
For the text i went with the 0dip text size. I know it works, but feel free to experiment with "gone".

For the size, compare yours to my layout. It is already modded to handle the problem of the height (look at android:layout_height="76.0dip").

Here is a screenshot of what you will get (i also changed the transparency of the background for the toggles)
[Galaxy S III Android Development] sk1887:
nice input. so far I obtained to hide the indicator without editing the png. (making a few margin.Top at 0.0dip)

yet I still don't understand why the widget background is that big :eek:

I like your layout. I'll try using a transparent background, but I doubt I will see any difference. the image is still resized to fit that square. the space between toggles and brightness bar is a little too much i'd say

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="40.0dip" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/power_widget_button_indic" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginTop="0.0dip" android:layout_marginBottom="0.0dip" android:scaleType="fitXY" />
<TextView android:textSize="0.0dip" android:textStyle="normal" android:textColor="@color/power_widget_button_text" android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_text" android:paddingTop="0.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:shadowDx="1.0" android:shadowDy="1.0" />
</FrameLayout>
[Galaxy S III Android Development] Namoi:
I will check tomorrow my toggles backgroud height. Maybe they need to be resized too.

Post your background toggle height in pixel so i can compare...

BTW, there is a thanks button here in xda ;)
[Galaxy S III Android Development] sk1887:
no problem I couldn't do it through xda app :)

anyway the stat_power_bg.png i have found in my drawable folder is at 480x636

using paint to calculate pixels on the screenshot posted above,

from wifi icon to the brightness's icon that is before the slider, i want to remove 50 pixels. I use 182 dpi by the way.
[Galaxy S III Android Development] magnea:
Help

igeve up i don get the 15 toggels bar to work kant anderstan how i have to do
[Galaxy S III Android Development] Namoi:
Strange, the thanks work well on tapatalk (anf dor sure on xda + you have illimited thanks) : just press a post and a popup will appear. End of OT ;)

I had a look at mine bg its is much smaller : 98x126.

But i also had a look at my tw_status_bar_expanded.xml : here is the code (llok at the red part) :

<HorizontalScrollView android:scrollbars="none" android:layout_width="match_parent" android:layout_height="55.0dip" [COLOR=Green]android:layout_marginBottom="35.0dip"[/COLOR] android:layout_gravity="bottom">
<com.wanam.systemui.quickpanel.PowerWidget android:id="@com.android.systemui:id/exp_power_stat" android:layout_width="wrap_content" [COLOR=Red]android:layout_height="55.0dip"[/COLOR] />
</HorizontalScrollView>

I am amlost sure it is this height that drive the height of the widgets. The green part is to move up the widgets from the bottom (in my case).

Cheers
[Galaxy S III Android Development] magnea:
Im on omega V46 is there some one that kan help me to gett 15 toggels. I cant get it right my self pleas pm me

Skickat från min GT-I9300 via Tapatalk 2
[Galaxy S III Android Development] avirk:
[MENTION=3562083]wanam[/MENTION] I'm trying to edit the lidroid-res for a user to translate the 23 toggles in German, I have not pushed the frameworks which you linked in OP. Do I need that?

I'm putting my string.xml in res and then created new folder valued-de. I that right? But after doing this user is facing the FC with SystemUI. Any help will be appreciated and you can treat me like newbie. Thanks in advance.
[Galaxy S III Android Development] mjz2cool:
Exception: path_to\framework-res.apk

tells you that it can't find the file in path_to.

change path_to to the complete path where the files are
[Galaxy S III Q&A, Help & Troubleshooting] Faktorek:
I have an issue after the update. On random moments the screen rotates by itself despite the phone being in portrait position it rotates to landscape for a second and returns to portrait. It's irritating. Anyone has the same problem?

If this happens when an app supports landscape it stays on landscape, when not - like home screen it just kind of flickers to landscape and back.

I tried turning auto-rotate off - does not help. I calibrated the sensor - does not help. Scanned for viruses - none found.
[Galaxy S III Q&A, Help & Troubleshooting] sebarkh:
First flash any previous fw and check if problem persists.

Sent from an electronic device.
[Galaxy S III Q&A, Help & Troubleshooting] Faktorek:
I'll wait with flashing back and forth until someone may know what is the deal with this.

Dzięki :)
[Galaxy S III Q&A, Help & Troubleshooting] Faktorek:
Did a factory reset. It helped. Screen flickers no more.
[Galaxy S III Q&A, Help & Troubleshooting] nixsss:
I have the exact same problem! Auto-rotate is off and running in portrait mode.

It started about two weeks ago, but I ignored it because I thought flashing a new rom would fix it. It didn't.

Before I was running Xliterom (ICS) but yesterday I flashed Vanilla Rootbox (JB).. the problem was still there, and I obviously wiped data/cache/dalvik etc. So then I decided to try Foxhound and the problem is still there. Can anybody help me figure this out? Hardware problem..? Could it be some app causing this?

It just happens at random times, in random apps. Even at homescreen sometimes.
[Galaxy S III Q&A, Help & Troubleshooting] Tikil:
hei....

as said is cant install any zip from sd card in cwm...

error occured:

signature validation failed

s3 is rooted and i dont know how to solve this prob...

stock rom yet

tried d#to download the roms again--->same error
[Galaxy S III Q&A, Help & Troubleshooting] speedyjay:
The thing your trying to flash doesn't match your build.prop....try flashing a different ROM and try again :)

anyone interested in blu-ray steelbooks, holla at your boy :)
[Galaxy S III Q&A, Help & Troubleshooting] Tikil:
hm ok,will try another rom

thanks so far
[Galaxy S III Q&A, Help & Troubleshooting] zodiaxe66:
Are u on samsung stock recovery?

Flash cf-root with custom recovery(cwm) from odin and try flash your rom again..

Otherwise use mskip's toolkit v.5 to backup and flash recovery
[Xperia Arc Q&A, Help & Troubleshooting] Jurga:
So here it is how things are. The device was in touch with water(the indicators are red) . But device works fine with plugged in charger everything is working perfect (accept camera wont start and volume buttons dont react) but When i plug off charger and start device on battery it stucks on Sony screen. I put New battery in installed battery fix custom kernel but nothing? What should i do? Any advice is welcome. Thx :)
[Xperia Arc Q&A, Help & Troubleshooting] Marmalux:
You should take it to a service. Water infiltrated in it will not evaporate soon. And any attempt to power the device will oxidate circuits. My recommendation is to take immediately battery out ant take it to a service to open it and clean it. If not, you risk damage it to an unrepairable state.
[Xperia Arc Q&A, Help & Troubleshooting] SammiSaysHello:
you could take off the cover, take out the battery, sim card and mini-sd card and put the phone in bowl/bag of uncooked rice for a night to get rid of the moisture in the phone and see if it works. it's a common fix for a lot of water related troubles:cowboy:
[Xperia Arc Q&A, Help & Troubleshooting] Jurga:
Thx for advice but i alredy took device 2 service and the guy told me that the probably circuits oxidated, that he will try 2 fix it. Hope it woks cause i bought this phone very low price, it looks like new...If not fix i will sell it in parts :)
[Sprint Samsung Galaxy S III] mackentosh:
for some reason i cant connect to my browser or anything using Data. i've flashed 3 different roms to see if i got the same results and still no data but everything else works fine Voice and Text.. and im in Orlando Fl. in case you guys were wondering
[Sprint Samsung Galaxy S III] pimpitout007:
No Data

I'm having the same issue, I didn't check this morning before I left Lakeland, but I'm near Lee and OBT and have no data on my Evo LTE. I am at least glad to see its not my ROM either.
[Sprint Samsung Galaxy S III] FLBoy1991:
:crying: im having the same issue. since i woke up about an hour ago ive noticed i have absolutely no data(west palm beach fl)... sprint has me on hold now
[Sprint Samsung Galaxy S III] pimpitout007:
I spoke with Sprint and they said the network was down in Orlando and they are crediting my account for the down time.
[Sprint Samsung Galaxy S III] mackentosh:
Ok so it's not just me then but I'm calling to get my credit tho ;)
[Sprint Samsung Galaxy S III] pimpitout007:
I'm back online
[Sprint Samsung Galaxy S III] mmillercts:
Hearing stuff like this makes me wanna switch carriers.
[Sprint Samsung Galaxy S III] B1G7r33:
Not sure if its just the carrier here. I've had this trouble on 2 different ROMs and the millisecond I wipe and re-flash I get data back. Some people have the same thing, others have not a clue in hell what were talking about.
[Sprint Samsung Galaxy S III] amosljl1995:
Check your APN setting. Under setting- more setting- mobile network - APN.

What ROM are you on now?

If not call your carrier operator.