i am running cyanogen 3.6.8.1 and i have the 5 app drawer how do i get it back to normal is this possible through terminal
not that i have tried this but from what i have seen this might work. take a rom that has 4x4 app drawer open it up. go to framework-res.apk in system/framework. in framework-res.apk go to res then layout-land and layout-port and take the icon_menu_layout.xml file from that rom and put into the corresponding place in the cm rom, resign it, and flash. now i have no clue if this would work, but it is how i could see it working.
edit: sorry been dealing with too many stubborn .9.png's tonight. tried what i said and it booted but i have no idea what i changed if it changed anything. try pushing a launcher.apk from a version when he still had the 4x4 layout. that should fix it. really don't know what i was thinking. i do not know if you can this via terminal but look at the thread for the adv. launcher and if there are directions for installing it via terminal there then the same should apply to the launcher.apk with 4x4 layout
Related
Hi Guys,
is it possible to change android (magic) taskbar color/theme for the device without root access?
I don't like the boring white, I want black taskbar with white font.
any suggestion will be appreciated .
thanks
I would like the same my device is rooted though
Draxter said:
I would like the same my device is rooted though
Click to expand...
Click to collapse
dont think it is possible if you aren't rooted. If you are rooted open up the update.zip file you are using as your rom using 7-zip, go to where framework drawable folder is. Open status bar and change its colour, drop it back in and resign app. There are instructions how to do this in themes section of Dream.
http://forum.xda-developers.com/showthread.php?t=473580
http://forum.xda-developers.com/showthread.php?t=471586 I use post number 6 the way i do it.
I'm using the Vodafone rom... I don't think I can get my update.zip from that? I rooted my device with haykuro's stuff in this tutorial.
http://android-dls.com/wiki/index.php?title=Magic_Rooting
I want to keep my Dutch XT9 so I can't flash anything else but smartphone france or my stock vodafone...
all the drawables should be in the root-me rom. open it and have a look for them.
But if they aren't I will brick my device by flashing a wrong framework...
no you wont. All you do is open it and drop in the .pngs you want, then resign it. they will be there in the rom- if not look at one of the other roms- Rogers, or daldroid will have them.
If it does go in to boot loop reboot into recovery and flash the last working rom you have until you figure out what went wrong. The only thing you are changing is the pngs. you shouldnt go intoa bootloop doing this- i have done a heap of theming for myself for the G1 and each time i got a boot loop it was cos i was playing around with services.jar and xml files. each time i just rebooted into recovery and reflashed previous working rom.
The thing is, I don't know which ROM I have... I have rooted my magic by using the android-dls tutorial with haykuro's stuff. There are still some vodafone relics left. I still have the vodafone shortcut, and i still have support for Dutch XT9.
http://android-dls.com/wiki/index.php?title=Magic_Rooting
I haven't made a Nandroid backup and I don't know how to make a backup either so... There is only one alternative, flashing Smartphone France firmware, it has Dutch support. I wouldn't mind trying out that one but that'll be the first time that I flash firmware onto my Magic so I'd like some guidance on MSN with that
Drawer
Im looking for the application drawer button in the res folder that is inside framework... found the status/notification bar and all icons but can't seem to find the app drawer button... i want to change it to a darker grey and make the notification bar black...
the app drawers are in launcher.apk
Easiest/safest way of changing the graphics I have found was to:
1. Connect your phone via USB and make sure you have the drivers installed
2. do adb remount
3. Do a adb pull on /system/framework/framework-res.apk for example
4. Open the apk with something like winrar etc
5. Locate the png files you want to change and extract them
6. make modifications to the files
7. pop back to the apk
8. do an adb push of the file back to the device
I've done this with fairly few apk's such as the launcher.apk and framework-res.apk and never had to resign the file =o)
The advantage is that you are using the file from your phone that you know works =o)) certain apk's don't even need a restart such as the Launcher.apk, I did alot of modding with the app drawer without ever needing to restart the phone.
This is good for changing the images but things like changing the clock color is ALOT harder, it requires you to edit the services.jar file with a hex editor =o(
Hope this helps.
Draxter said:
the app drawers are in launcher.apk
Click to expand...
Click to collapse
Ok, i did find the file in the launcher.apk, i edited it and all the other files and now need to resign in linux... was looking for the SignApk.jar in the SDK and didn't find it... also tried JF's testsign.jar and didnt work... can anyone point me in the right direction so i can resign the file using test keys in linux.
Thanks,
If you just changed the png's you shouldn't have to resign it
fxn said:
If you just changed the png's you shouldn't have to resign it
Click to expand...
Click to collapse
What about the hour and date font in the status bar... if i change the notification area to black it wont automatically switch to white text... do you know where i can find the parameters to change it?
Some of the text like notification texts etc are held in framework-res.apk xml files in the drawable folder if I remember correctly.
The clock is the difficult one as it is inside services.jar file, its a serious pain in the back side, the dream forum has more info about it but it involves opening up files in hex editor and changing the hex code directly there
I'll be having a look at this and see if I can make step by step guide of this but it is seriously a pain!
Any idea which XML's in framework-re.apk (or other location) hold the various notification font colour(s)?? I can't seem to find it.
Can someone help me figure out why the Launcher.apk does not get installed to the phone when applying the zip? Everything else seems to get installed fine.
http://forum.xda-developers.com/showthread.php?t=538762
FYI - It installs fine on my G1, but getting reports from some users that the Launcher.apk is not changing for them.
Its probably the user
I'ma dl and flash. and edit this post with my findings
EDIT: no idea why but it did not install on mine either
only thing i see in the logcat regarding launcher (which is probably a bad thing)
11-10 13:44:58.401: WARN/WindowManager(142): Force clearing freeze: AppWindowToken{439374a0 token=HistoryRecord{438d2338 com.android.launcher/.Launcher}}
Will investigate more and see what I can do. I took a quick look at the scripts but they seem fine.
Ok so something is messing with the launcher because the stock launcher doesnt have cyans settings (they only have 4 icons across)
pushing the launcher.apk works fine
Also, its not just launcher.apk
I dont have the themed power bar or google search bar. powerbar is in settings.apk
EDIT: None of the system apk's installed
everything is stock with the exception of framework-res.apk
there is something wrong with the install script
EDIT2: changing install script to copy_dir PACKAGE:app SYSTEM:app
EDIT3: worked on replacing launcher and dialer...but the search and power widget are still unthemed. they dont appear to be themed in the apks however
so just go to META-INF>com>google>android and open update-script in notepad++
and change the last line to
copy_dir PACKAGE:app SYSTEM:app
wow...thanks for the good info...what I plan on trying next is just taking someone else theme and using theirs as a template(since there is no generic template). The only issue I'm seeing is that the directory structures are different in a lot of different themes. So I don't really know which one to use.
Well its very easy to edit that script so I can help you out with it if you like.
basically
copy_dir PACKAGE:app SYSTEM:app
tells the recovery to open the package (the update.zip) and copy everything in the app folder in the .zip to the SYSTEM partition, app folder
You can just mess around with that and get it to work with whatever structure the base template has. If you need anymore help, just pm me
Ive tried searching for this and done everything I can find but still having issues. Im using a theme that has the standard htc lockscreen without the curved bar. Im trying to put the standard lockscreen back with the bar. I have the default file and Ive pushed it through adb but when I reboot my phone I have the same barless screen. Can anyone point me in the right direction.
Its been a while since I deviled into lockscreen stuff, but I think the pngs for the lockscreen bar are in the framework or com.htc.resources apk, just a sec...
yes its in the /system/framework/com.htc.resources.apk
Just open in up and go to /res/drawable-mdpi and it should be
lockscreen_arc.png, lockscreen_arcglass_bottom.png and lockscreen_arcglass_top.9.png
You could simply push the original com.htc.resources.apk but you will be losing all theming done to the resources.apk. If you want to go back to the original theme that's fine, but if you want to keep your current theme but not have a clear lockback adb pull your com.htc.resources.apk, open with 7-zip(don't unzip, just open), delete the 3 above files, then copy those three files from the original resources and adb push it back.
Or pull and upload the com.htc.resources.apk from your rom, let me know what rom your using and I'll make you a flashable zip to keep your current theme minus the clearness. cheers
Awesome, thank you. Ive tried finding this on my own all day and finally got it. Actually able to take a lockscreen from another rom and use the on eI like. Thanks alot.
Hi there,
I was enjoying my DesireHD with Revolution HD and MultiCultiMod. But I would very much like it if i could modify the launcher buttons(see screenshot). I believe this is inside rosie.apk.
This is what i tried:
- Modified png's in Rosie.apk, put Rosie.apk back in Rom. Flash Rom.
->> Launcher still uses default grey buttons.
- Pushed modified Rosie.apk to phone.
>> Launcher wont load anymore.
- Found and modified same looking png's in com.htc.resources.apk, pushed to phone.(no errors)
>> Nothing happens, still same old buttons.
- put com.htc.resources.apk back in Rom and flash Rom.
>> same buttons.
I read that I won't have to re-sign system packages like Rosie and framework, am I right?
what am i doing wrong, and where does android gets its grey button png's if I replaced them all? (ps: I'm not modifying 9.png)
If someone could be of service or help me try update.zip em, I would be very thankfull!
See attachements for my buttons.
THanks! XdA RuLeS!
try edit them in com.htc.resources.apk in framework instead
i have done this many times and it's working..
I do not modify tha Rosie.apk with apk tool..
I just drag out of the apk the files i want to modify and then replace them inside the apk(open it with 7zip)
That's all...
capychimp said:
try edit them in com.htc.resources.apk in framework instead
Click to expand...
Click to collapse
Thanks!
I re-tried in com.htc.resources.apk and used the folder drawable-port-hdpi, pushed it back to phone and now it's working!!!
Thanks for the help!!
Just saw this now... looks pretty solid.
Got it to work via ADB but seemed to look too busy. Thanks anyway
I am trying to edit the icon for the phone.apk to match a theme i'm working with. When I go in and change the icon file in the .apk and try to overwrite it on my phone it either causes a constant FC or the phone app disappears and I cant use it at all. I have tried using a file explorer to do the swap and I have tried editing the phone.apk and putting it into the theme before I flash it. If I put it into the theme before flashing there are no FC's but the icon stays stock. Can someone point me in the right direction?
P.S. I have done this with many other apps such as email.apk and mms.apk and they work fine.
DialerTabActivity.apk not Phone.apk
Sent from my phone
Just tried that and it didn't change anything. Performed a reboot after switching the files.
/res/drawable-hdpi/ic_launcher_phone.png doesn't work?
Just an idea, this might be caused by the ROM or the launcher you're using.
Yep, that's the one I changed. I tried your suggestion and changed launchers also and it did not effect the icon.
I'm downloading Obssession right now. I'll look in the apk and see if there is anything special necessary.
Well, that file is definitely the icon. If you decompile the apk and look at the AndroidManifest.xml you can see that ic_launcher_phone is the app's icon.
I swapped out the icon for an orange stock-like icon on the attached apk. I can't test it as I'm on CM, but you can see if it'll work for you. (This is the stock Obssession blues rc2 dialertabactivity.apk w/ just the modified icon)
How can I open the .xml files? When I try to open them IE gives me an error and when I allow the script to run it doesn't change anything.
You need to decompile the apk in order to view the xml files. Using APK Manager is the easiest way I know of to decompile apks.
Can I see a screenshot of what you are talking about, icon wise? If it's the launcher then the problem is the icon in the launcher, not the app.
Oh and protip, use Notepad++, not IE: http://notepad-plus-plus.org/