Settings.apk - G1 Q&A, Help & Troubleshooting

Currently running Super D 1.8 after trying out a few of the Eclair ROMs (each shows promise but they're a little buggy at present). One thing I liked about Eclair is the Settings menu. I tried adb pushing both Settings.apk and SettingsProvider.apk into /system/app but it's still the same old settings menu. How can I change it?

blackknightavalon said:
Currently running Super D 1.8 after trying out a few of the Eclair ROMs (each shows promise but they're a little buggy at present). One thing I liked about Eclair is the Settings menu. I tried adb pushing both Settings.apk and SettingsProvider.apk into /system/app but it's still the same old settings menu. How can I change it?
Click to expand...
Click to collapse
Its not possible since the 2.1 settings.apk requires 2.1 framework.

Dammit...
Oh well. Thanks for the answer.

law_ren_ce said:
Its not possible since the 2.1 settings.apk requires 2.1 framework.
Click to expand...
Click to collapse
How about making a update.zip for the Settings.apk and SettingsProvider.apk?

For Decompiling & Compiling System files you have to decompile the file where the file is dependent on which the application will be Sttings Framework file from your phone!
http://4pda.ru/forum/index.php?showtopic=170047
After that, using any RootManager insert a file in the system directory and restart the phone!

Related

Change taskbar color

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.

Porting a Rosie from one Sense UI Rom to another

Quick Question
Is it possible to Take say Sense Heroe's Rosie and Framework.apk, and replace the ones in jesterblurr 1.2.6? Would it require re-building the ROM and re-signing it? As im on W Vista.
If there is a thread explaining this sorry.
Thanks in advance.
Shatterv2 said:
Quick Question
Is it possible to Take say Sense Heroe's Rosie and Framework.apk, and replace the ones in jesterblurr 1.2.6? Would it require re-building the ROM and re-signing it? As im on W Vista.
If there is a thread explaining this sorry.
Thanks in advance.
Click to expand...
Click to collapse
Just take the two things you want (in this case Rosie.apk and framework-res.apk) from Sense Hero download and push them to the directories on Jesterblur
framework-res.apk goes in /system/framework
And the Rosie location differs from one rom to the next so do a search in the Jester thread to find out where
JAguirre1231 said:
Just take the two things you want (in this case Rosie.apk and framework-res.apk) from Sense Hero download and push them to the directories on Jesterblur
framework-res.apk goes in /system/framework
And the Rosie location differs from one rom to the next so do a search in the Jester thread to find out where
Click to expand...
Click to collapse
Do i need to adb push?
With root explorer i pushed a colored Rosie through with MLIGN,and it worked but hmm.
Shatterv2 said:
Do i need to adb push?
With root explorer i pushed a colored Rosie through with MLIGN,and it worked but hmm.
Click to expand...
Click to collapse
No you don't need to, I just use push as a general term for all possible ways (adb, terminal, root explorer, and recovery console) Any way will work. If you do Rosie however it will freak out then become the themed version, but framework-res requires a reboot
JAguirre1231 said:
No you don't need to, I just use push as a general term for all possible ways (adb, terminal, root explorer, and recovery console) Any way will work. If you do Rosie however it will freak out then become the themed version, but framework-res requires a reboot
Click to expand...
Click to collapse
Just pushed them both right now booting the phone up...
BEAUTIFUL
Shatterv2 said:
Just pushed them both right now booting the phone up...
BEAUTIFUL
Click to expand...
Click to collapse
I'm thinking that meant it worked. Manup's Rosie is very nice I agree

Gingerbread Keyboard for Vegan Rom or TNT lite

The gingerbread keyboard was stripped from Vegan and TNT lite for stability issues ( i think ) - but I never ran into a problem with it... I've been missing it so I decided to pop the lib and apk into my system and, so far, it has worked without a hitch.
So for those of you who prefer to have the gingerbread keyboard (sound on key press actually works), here is how:
1) use root explorer (or the equivalent) to mount certain folders as R/W
2) backup libjni_latinime.so in the system/lib/ folder (just in case) and copy the new libjni_latinime.so file from the zip attached.
3) backup LatinIME.apk found in system/app/ folder and copy the new LatinIME.apk from the zip.
4) change the permissions on LatinIME.apk as rwxrwxr-- (not sure if this is needed, but was needed when using other IME input methods, like wiimote) and reboot the tablet.
The gingerbread keyboard should be fully functional now! Don't get nervous if it takes a little to open the keyboard settings for the first time (or switch input from TNT stock to android keyboard) as it took 15 seconds for me the first time but pops up right away after that.
Enjoy!
Check to see if you have a problem while having voice search installed. I think I had FC only with the GB keyboard and voice search both being installed.
Moved to applications
theimpaler747 said:
Moved to applications
Click to expand...
Click to collapse
Oops! And voice search works without a hitch
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
TheTruth said:
The gingerbread keyboard was stripped from Vegan and TNT lite for stability issues ( i think ) - but I never ran into a problem with it... I've been missing it so I decided to pop the lib and apk into my system and, so far, it has worked without a hitch.
So for those of you who prefer to have the gingerbread keyboard (sound on key press actually works), here is how:
1) use root explorer (or the equivalent) to mount certain folders as R/W
2) backup libjni_latinime.so in the system/lib/ folder (just in case) and copy the new libjni_latinime.so file from the zip attached.
3) backup LatinIME.apk found in system/app/ folder and copy the new LatinIME.apk from the zip.
4) change the permissions on LatinIME.apk as rwxrwxr-- (not sure if this is needed, but was needed when using other IME input methods, like wiimote) and reboot the tablet.
The gingerbread keyboard should be fully functional now! Don't get nervous if it takes a little to open the keyboard settings for the first time (or switch input from TNT stock to android keyboard) as it took 15 seconds for me the first time but pops up right away after that.
Enjoy!
Click to expand...
Click to collapse
No joy yet running the GB keyboard on TnT Lite 3.1.4.
I noticed that I didn't have a LatinIME.apk file in the /system/apps directory. Also, I noticed the timestamp of the libjni_latinime.so file is back from 2008. Are you sure you included the correct version of the shared library file?
I also tried changing the permissions of the libjni_latinime.so file to match the other shared library files in the directory. and I tried it using the original libjni_latinime.so file.
Was anyone else successful installing the GB keyboard on TnT Lite 3.1.4?
Just tried it but no luck
Edit: Went back and changed the permissions and it works perfectly now
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
I like the larger buttons on the keyboard thwt comrs with vegan so is there any way to use this library with that keyboard? Just tried to replace the existing library and got force closes
Edit: or if someone can make this keyboard larger then I would love it
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
Butch1326 said:
No joy yet running the GB keyboard on TnT Lite 3.1.4.
I noticed that I didn't have a LatinIME.apk file in the /system/apps directory. Also, I noticed the timestamp of the libjni_latinime.so file is back from 2008. Are you sure you included the correct version of the shared library file?
I also tried changing the permissions of the libjni_latinime.so file to match the other shared library files in the directory. and I tried it using the original libjni_latinime.so file.
Was anyone else successful installing the GB keyboard on TnT Lite 3.1.4?
Click to expand...
Click to collapse
I zipped this up using 7zip and pulled the apk and lib files straight from a system running the gb keyboard... I've used it in latest tnt and vegan roms without a hitch... are you getting FCs nonstop? Did you change the input method to android keyboard?
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
Tried this method with no luck, and now trying to restore the original APK and Lib fail. Any suggestions?
i can't get it to work
any tweak?
blakestimac said:
Tried this method with no luck, and now trying to restore the original APK and Lib fail. Any suggestions?
Click to expand...
Click to collapse
Simply removing the supplied apk and .so then replacing the original apk and lib files will do the trick, with a reboot after the changes to the system have been made.
I have tried this with both roms and also two "generations" gtabs (initial 1000 production run and post mass production run) with success. I am unsure as to why this is hit or miss with some folks. Of course a logcat of your system while trying to use this would help...
I think I will just make a flashable zip file to be used in CWM.
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk

[Q] Problem with compiled framework-res.apk

Ok so I'm pretty new to this, and have a small problem.
I have recompiled a framework-res.apk so I could have custom brightness levels and a notification pull down widget. It works just fine buw I have 1 small problem: some menu items went completely blank (see attached pictures). When I press the button I can actually read what it's supposed to say. This has only happened in setcpu so far, and I don't really now what's causing it.
I ran a diff with a framework where it doesn't happen and can't spot anything that could tell me where the error is...
Haven't found any other app that shows this error so far as well. So anyone encountered this yet or knows what png/xml could cause it?
Anyone? It's not serious but it annoys me
Hmm, it worked for me doing the same thing - and my SetCPU menus look okay.
How did you modify framework-res.apk? I used APK Manager 4.9, I decompiled framework-res.apk, edited arrays.xml, and recompiled. I said "yes" to system apk, "no" to copying files from original.
Also I had to replace the apktools 1.3.2 that came with APK Manager with the 1.3.1 version. (Go to http://code.google.com/p/android-apktool/downloads/list and search "deprecated downloads" for 1.3.1 and the 2.2_r01-2 dependencies.)
Could be either one of those things...?
In any case you are sure you did not coincidentally messed with text colors in styles.xml or color folder?
I used the latest apk manager, without modifying it, might've been that. Nö changes to styles or color folder. Will try recompiling with apktools 1.31
sorry for bumping an old thread but -
I was playing around with auto-brightness values today.
I decompiled the ARHD 3.6 framework-res.apk using the latest apktools 1.3.2 and changed the autobrightness values, using notepad ++.
I rebuilt the apk then zipaligned it (zipalign -v -f 4 ). However, after flashing the new apk, my setcpu menu was out of whack and I couldn't see any scaling, all I could see were white boxes. Same as the OP.
---EDIT
preacher65 said:
How did you modify framework-res.apk? I used APK Manager 4.9, I decompiled framework-res.apk, edited arrays.xml, and recompiled. I said "yes" to system apk, "no" to copying files from original.
Also I had to replace the apktools 1.3.2 that came with APK Manager with the 1.3.1 version.
Click to expand...
Click to collapse
Yea this worked thanks.

Modifying buttons launcher - wont use modified png's - please help

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

Categories

Resources