I was wondering if one of the people who have gotten the 1 percent battery mod to work could make a video showing how. I have attempted numerous times, and have only gotten it to work once. I'm a visual learner, so it'd be much appreciated to not have to rely on others in the future for such things
Sent from my Galaxy Nexus using xda premium
What rom are you using?
its in the tutorial... very easy to do
apkmanager
decompile
put 2 xml files, rest of images
compile apk
zephiK said:
its in the tutorial... very easy to do
apkmanager
decompile
put 2 xml files, rest of images
compile apk
Click to expand...
Click to collapse
I've tried that countless times with apktool, it doesn't work for me. I wonder if I'm missing something. I've done all steps exactly as instructed
Sent from my Galaxy Nexus using xda premium
nbeebe24 said:
I've tried that countless times with apktool, it doesn't work for me. I wonder if I'm missing something. I've done all steps exactly as instructed
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
APKManager not APKTool.
APKManager is all you need.
zephiK said:
APKManager not APKTool.
APKManager is all you need.
Click to expand...
Click to collapse
Okay, I'll give it a try. I copy in the decompiled XML files to a decompiled SystemUI apk then recompile, correct?
Sent from my Galaxy Nexus using xda premium
nbeebe24 said:
Okay, I'll give it a try. I copy in the decompiled XML files to a decompiled SystemUI apk then recompile, correct?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
No. You need to include the battery images as well.
zephiK said:
No. You need to include the battery images as well.
Click to expand...
Click to collapse
I forgot to write that. I know what needs to be included, just can't get it to work. Thank you for your assistance. I really appreciate it
Sent from my Galaxy Nexus using xda premium
Related
I think there are two commands involving systemui and framework-res. I will write them down this time, I swear.
number3pencil said:
I think there are two commands involving systemui and framework-res. I will write them down this time, I swear.
Click to expand...
Click to collapse
adb pull /system/framework/framework-res.apk
Sent from my Galaxy Nexus using xda premium
I think he's referring to: apktool if framework-res.apk.
Sent from my Galaxy Nexus using XDA App
akellar said:
I think he's referring to: apktool if framework-res.apk.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Oh okay. What ^ he said
Sent from my Galaxy Nexus using xda premium
I havent used apktool on ICS yet, only previous phones. But i think there is an issue. I heard that to mod systemUI on ICS you have to use an older version of apktool to do the decompile, then a newer version to compile it back up. I dont know the exact versions or details though...maybe its been fixed by now.
akellar said:
I think he's referring to: apktool if framework-res.apk.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
I am, thank you. Is there one more or not?
http://code.google.com/p/android-apktool/wiki/FrameworkFiles
Sent from my Galaxy Nexus using Tapatalk
RogerPodacter said:
I havent used apktool on ICS yet, only previous phones. But i think there is an issue. I heard that to mod systemUI on ICS you have to use an older version of apktool to do the decompile, then a newer version to compile it back up. I dont know the exact versions or details though...maybe its been fixed by now.
Click to expand...
Click to collapse
Apktool seldom works for me. I use apk manager and it works just fine to decompile and recompile apk's
Sent from my Galaxy Nexus using xda premium
Code:
java -jar apktool.jar if framework-res.apk
then
Code:
java -jar apktool.jar d SystemUI.apk decompiled
-You need a xml editor for this. Something like Notepad++
-This mod is untested because I dont have the device at the moment.
-Make a backup of your current framework-res.apk and Systemui.apk files
-After 2 weeks I believe I found all of what I need for this MOD after going through the framework and Systemui of my Galaxy Nexus
-This did work on my Galaxy Note
-Please try at your own risk
How To
1. Decompile the framework-res
2. In the values folder you will find bools.xml
3. Open up the file and search for "config_showNavigationBar"
4. This should be false, change it to True
5. Open up the dimens.xml and search for "navigation_bar_height"
6. Change the value there to either one of these because im not sure how it would look (25, 30, 35)
7. Recompile your framework-res.apk
8. Extract or Decompile the systemui.apk
9. Navigate to the drawable-hdpi folder
10. Download these NavBar_Icons images and place them in that folder
11. Zip or Recompile the systemui.apk
(OPTIONAL)
After completing the above
Disable the light on the capacitive touch keys(Home-Back-Menu-Search)
1. Decompile the framework-res.apk
2. In the values folder you will find arrays.xml
3. Open that xml and search for "config_autobrightnessbacklightvalues"
4. Change all values to 0
5. Recompile the framework-res.apk
Thanks!
What does this MOD do or what is it for? Sorry for the noob question.
Sent from my SGH-T989
Datfoooo said:
What does this MOD do or what is it for? Sorry for the noob question.
Sent from my SGH-T989
Click to expand...
Click to collapse
I think its the on screen buttons at the bottum like the GN
Sent from my SAMSUNG-SGH-I727 using xda premium
Datfoooo said:
What does this MOD do or what is it for? Sorry for the noob question.
Sent from my SGH-T989
Click to expand...
Click to collapse
Sure is. Its for a custom status bar
Sent from my SGH-T989 using XDA
apktool seems to have trouble with compiling system apks from this leak. What are people using to compile system ICS apks for s2 leaks?
jim93 said:
apktool seems to have trouble with compiling system apks from this leak. What are people using to compile system ICS apks for s2 leaks?
Click to expand...
Click to collapse
I know i have a modified version of APK manager for my team
But try using APK manager 5.0
Soo whoever wants to make a flashable zip...
Sent from one of my phones! Thank me.
This is a mod i could achieve with xboarders aosp rom but I cant even get to decompile framework-res.apk from the leaked tw rom tried apktool 4.9 and 5 and always says theres an error 21 something
Sent from my SAMSUNG-SGH-I727 using XDA
felips.110 said:
This is a mod i could achieve with xboarders aosp rom but I cant even get to decompile framework-res.apk from the leaked tw rom tried apktool 4.9 and 5 and always says theres an error 21 something
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
Read the error log
Sent from my Galaxy Nexus using xda premium
sorry to hijack your thread master & slave. i know you're always doin' good job. but from what i tested this bad boy there is trouble with it on any ics rom. if you look @ bottom of the screen it cuts it. meaning the size of that nav bar cuts off screen in phone.apk, camera.apk and other apps even the whole home screen.i find this lame thanks to samsung for skrewing our things 0v3r =\
wali01x said:
sorry to hijack your thread master & slave. i know you're always doin' good job. but from what i tested this bad boy there is trouble with it on any ics rom. if you look @ bottom of the screen it cuts it. meaning the size of that nav bar cuts off screen in phone.apk, camera.apk and other apps even the whole home screen.i find this lame thanks to samsung for skrewing our things 0v3r =\
Click to expand...
Click to collapse
Nah no Hijack...It should cut the screen because the buttons are always on screen on the GNex so Its cuts the screen here as well.
What I will do is try on my GSII on Thursday when I have my day off from work.
Sent from my Galaxy Nexus using xda premium
Master&Slave™ said:
Nah no Hijack...It should cut the screen because the buttons are always on screen on the GNex so Its cuts the screen here as well.
What I will do is try on my GSII on Thursday when I have my day off from work.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thank you sir. I'm really dying for this mod, oddly enough, and the compile process isn't going so well. Thanks again for putting some time into this.
-the ultimate black dragon-
masamichi7 said:
Thank you sir. I'm really dying for this mod, oddly enough, and the compile process isn't going so well. Thanks again for putting some time into this.
-the ultimate black dragon-
Click to expand...
Click to collapse
Everyone is having trouble compiling...post your error logs
Sent from my Galaxy Nexus using xda premium
bump. i wanna see this mod get fixed... as crazy as it sounds, this is one of the features of ICS I've anticipated most... sad to see devs and "the man" cuttin' it out of their roms and overlays... Thanks for getting this started M&S!
acexnx316 said:
bump. i wanna see this mod get fixed... as crazy as it sounds, this is one of the features of ICS I've anticipated most... sad to see devs and "the man" cuttin' it out of their roms and overlays... Thanks for getting this started M&S!
Click to expand...
Click to collapse
I wrote this blindly...but I don't think its broken...most people are having trouble compiling...not actual errors on the device...I asked people to post error logs but no one has done it
Sent from my Galaxy Nexus using xda premium
I don't know why people want them now, since it looked like nobody wanted them like a month ago.
See
http://forum.xda-developers.com/showthread.php?t=1531317&highlight=onscreen+buttons
Sent from my SGH-T989 using xda premium
xxKamikazexx said:
I don't know why people want them now, since it looked like nobody wanted them like a month ago.
See
http://forum.xda-developers.com/showthread.php?t=1531317&highlight=onscreen+buttons
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
People have always wanted them. We were just pushed aside by those who think only their opinions matter. Its part of ics and actually a cool feature. Now those manufacturers making them hardware keys in their néw devices is just stupid. I can understand not wanting them on existing devices but new ones come on. What about the consumer
Sent from my SAMSUNG-SGH-I727 using xda premium
If you have trouble compiling then post your error logs here
Sent from my Galaxy Nexus using xda premium
Sup M&S, I am goin to give this a shot, seeing as how I just fixed my apk manager. If I receive an error trying to compile, I will post the log.
Well, here it is... It worked but, is there a way to center the icons?
Uploaded with ImageShack.us
I've almost finished the first part on my theme but I can't work out how to turn the top bit in the photo from blue to black? Does anyone no how? If it is in the seccontacts.apk it won't let me compile it even without editing anything. Any help would be appreciated. Thanks
Try my http://forum.xda-developers.com/showthread.php?t=1792937 apktool mate. Works well for decompiling and recompiling.
Also, you want to look at the .xml files in colors and layout
Thanks mate will.try tonight when I get home
Sent from my GT-I9300 using xda premium
I have also been unable to recompile SecContacts.apk but here is the required file.
Phone_Guru said:
I have also been unable to recompile SecContacts.apk but here is the required file.
Click to expand...
Click to collapse
If this works when I get home tomorrow I'm going to kiss you Haha! What file does it go in or shall I not be lazy and look...thanks very.much you are a diamond
Sent from my GT-I9300 using xda premium
alvin551 said:
If this works when I get home tomorrow I'm going to kiss you Haha! What file does it go in or shall I not be lazy and look...thanks very.much you are a diamond
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Thanks very much mate worked spot on!!
Of course it did. I managed to recompile SecContacts by using APKMultiTool 1.0.7 beta and by deleting a bit of code in an XML. Run the recompile the first time and look at the error log. Then delete the code that comes up in the log and try again.
OK so I'm trying to learn how to them but I a little stuck. OK so I opened framework. A pk then all the drawables made all my changes. I changed the dialer the text select and all of the top icons like batt status and a whole bunch of stuff. Then i made a zip. Of the framework folder and the meta.inf but it would trybtp install the ROM. So I had to re flash my ROM. Then what I did was I took the meta.inf from another theme. And made that into a zip along with my framework folder. This made some of the changes that I made but not all of them. For ex didn't change the batt colors. But it changed the dialer. Didn't change non of the toggles at the top but it changed the pop up browser... Help plzz.
Sent from my SGH-T999 using xda premium
Here some screens.
Sent from my SGH-T999 using xda premium
I believe the battery images are in systemui.apk now and the toggles in twframework.apk
Sent from my SGH-T999 using Tapatalk 2
Thank you much will redo tomorrow. If not too hungover. Lol happy holy days
Sent from my SGH-T999 using xda premium
But can anybody tell me why when I used the meta.inf from the ROM it would b a failed flash. Until I took the meta.inf from a another theme? Is there something in the meta.inf that I need to edit... Can you point me in the right direction.
Sent from my SGH-T999 using xda premium
kipster3001 said:
But can anybody tell me why when I used the meta.inf from the ROM it would b a failed flash. Until I took the meta.inf from a another theme? Is there something in the meta.inf that I need to edit... Can you point me in the right direction.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
A ROM's updater-script is a lot different than a themes. The reason it failed is because a ROM's script checks for certain files before flashing (such as the kernel, certain apps, etc...). When it saw your zip didn't have it, it aborted the flash.
Sent from my Nexus 7 using xda app-developers app
Tmogalaxys2 said:
A ROM's updater-script is a lot different than a themes. The reason it failed is because a ROM's script checks for certain files before flashing (such as the kernel, certain apps, etc...). When it saw your zip didn't have it, it aborted the flash.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Thank you much tmogalaxys2. I'm a fan of ur work at all-star roms too. So that means the update script has to b edited. I'm sure I can find a tut on that .. Thank much I'm a web developer so I got the Photoshop thing down but barley learning teaming and porting. Hope u guys will take a look onece I have successfuly made my theme....
Sent from my SGH-T999 using xda premium
kipster3001 said:
Thank you much tmogalaxys2. I'm a fan of ur work at all-star roms too. So that means the update script has to b edited. I'm sure I can find a tut on that .. Thank much I'm a web developer so I got the Photoshop thing down but barley learning teaming and porting. Hope u guys will take a look onece I have successfuly made my theme....
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Wow, didn't know I was known here lol. I accidentally came here. I meant to go to T-Mobile s2 but came to s3 lol. Glad I could help anyway. I wouldn't mod a ROM's updater-script. You're better off using someone else's theme and replacing your own files with there's. Which of course, you already did so you're on the right track.
Sent from my Nexus 7 using xda app-developers app
Yes well my wife has an s2 and she is running all-star ROM... Amazing job..
Sent from my SGH-T999 using xda premium
So, after a few searches, both on Google and on the forums, I cannot find this mod.
Does anyone know of a stock touchwiz launcher, modified to rotate?
I hate it when my phone is in landscape on the table or something, and I have to work with a portrait launcher. But I like the stock touchwiz, and would like to keep it.
Any help would be appreciated.
TIA
Sent from my SGH-T889 using Tapatalk 2
this app right here is all you need
https://play.google.com/store/apps/details?id=nl.fameit.rotate&hl=en
:good:
haldi15 said:
this app right here is all you need
https://play.google.com/store/apps/details?id=nl.fameit.rotate&hl=en
:good:
Click to expand...
Click to collapse
Thanks, it is a pretty neat app.
The only problem is I lose a row of apps on my drawer.
Also, but this is just nitpicking, I don't really like the icon on my status bar.
But if there's nothing else, I'll stick with this. So thanks!
Sent from my SGH-T889 using Tapatalk 2
MarkP80nj said:
Thanks, it is a pretty neat app.
The only problem is I lose a row of apps on my drawer.
Also, but this is just nitpicking, I don't really like the icon on my status bar.
But if there's nothing else, I'll stick with this. So thanks!
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
You can set it to not show the icon in the status bar.
Sent from my SGH-T889 using xda app-developers app
kintwofan said:
You can set it to not show the icon in the status bar.
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Lol, I'm such a noob!
Now if only I could get that last row of apps to show, that would be nice.
Sent from my SGH-T889 using Tapatalk 2
MarkP80nj said:
Lol, I'm such a noob!
Now if only I could get that last row of apps to show, that would be nice.
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
i dont think you can with this app because it doesnt readjust the grid it just rotates and squishes it so most of it fits
haldi15 said:
i dont think you can with this app because it doesnt readjust the grid it just rotates and squishes it so most of it fits
Click to expand...
Click to collapse
Right, there's a bit of the top showing though, and I can still open the app.
Except for the one in the middle, because the page indicator is right there.
I would still prefer a modified launcher though.
But I'm using this until, hopefully, someday a modded touchwiz appears on the scene.
I remember I had one on my Galaxy s 4g.
Sent from my SGH-T889 using Tapatalk 2
How are you at custom work. In your framework-res.apk. decompile. Find /res/values/bools.XML. change "config_allowAllRotations" to true
Change "enableLockScreenRotation" to true.
Save recompile install. Enjoy
Sent from my SPH-L710 using xda app-developers app
scruffy4386 said:
How are you at custom work. In your framework-res.apk. decompile. Find /res/values/bools.XML. change "config_allowAllRotations" to true
Change "enableLockScreenRotation" to true.
Save recompile install. Enjoy
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
If it is not too much to ask, Can you Please do this for us coz i need this for my phone too. right now i am using Apex Launcher but i would rather use TouchWiz. if you decompile it and then upload it here we would really appreciate it. Thanks in advance. i don't know anything about decompiling otherwise i would do it myself..
I'm on gs3. Can you upload a copy of yours?
Can you put it in dropbox? I can take a look after work.
Sent from my SPH-L710 using xda app-developers app
scruffy4386 said:
I'm on gs3. Can you upload a copy of yours?
I guess not.....
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I tried uploading my framework res. apk, but it's too big a file.
I'm trying to learn how to decompile, but my step daughter just took the computer from me, to talk to her grandma in Brazil.
I'm gonna try later though.
Thanks for your help.
Sent from my SGH-T889 using Tapatalk 2
scruffy4386 said:
How are you at custom work. In your framework-res.apk. decompile. Find /res/values/bools.XML. change "config_allowAllRotations" to true
Change "enableLockScreenRotation" to true.
Save recompile install. Enjoy
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Well, I'm a noob at decompiling.
So what I did was change the extension from framework-res.apk to .zip, and extract it.
In the /res/ folder there is no /values folder.
I've been searching for a bools.xml folder, but no luck.
Is this something that will only show by decompiling?
Or is the GN2 framework diferent from the GS3 one?
TIA
That would work to edit images. You need to use apktool (search it ) to decompile the file before you can edit those values. I will be home in about an hour if you can find somewhere to upload it i can take a look. However i believe if you look up apktool it will be pretty easy to do yourself. Just dont forgot to make a backup in case something goes off
scruffy4386 said:
That would work to edit images. You need to use apktool (search it ) to decompile the file before you can edit those values. I will be home in about an hour if you can find somewhere to upload it i can take a look. However i believe if you look up apktool it will be pretty easy to do yourself. Just dont forgot to make a backup in case something goes off
Click to expand...
Click to collapse
Yeah, I've been following this guide, but I always get an error when decompiling.
Hmm, let me try a dropbox link.
Let me know if that was successful.
Thanks for all your help!
Modded framework
http://db.tt/8HUWcSFN
needs renamed because I'm lazy
Here is a flashable zip. Disregard it saying edge zoom. It's an old zip. It works on s3 may not be the right flasher for you but you can try it
http://db.tt/biIOIpUC
Oh yes also. I looked at the guide you are following and got lost. There are several quality guides on this site. Here is a good one for beginners
http://forum.xda-developers.com/showthread.php?t=1989533
Sent from my SPH-L710 using xda app-developers app
scruffy4386 said:
Modded framework
http://db.tt/8HUWcSFN
needs renamed because I'm lazy
Here is a flashable zip. Disregard it saying edge zoom. It's an old zip. It works on s3 may not be the right flasher for you but you can try it
http://db.tt/biIOIpUC
Oh yes also. I looked at the guide you are following and got lost. There are several quality guides on this site. Here is a good one for beginners
http://forum.xda-developers.com/showthread.php?t=1989533
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Thanks for all your trouble.
However, I got the file on your first link, renamed it to framework-res.apk, and copied it to system/framework.
As I started to get a lot of force closes, I did a reboot.
This resulted in an endless boot loop, which forced me to pull my battery, get into recovery, and restore my system.
So back to the drawing board, I guess.
I still appreciate all your help. Thanks for using your time to help a stranger. :thumbup:
Sent from my SGH-T889 using Tapatalk 2
I'm uploading a zip to replace the modded with the original. Try installing from recovery and if that still boot loops try fixing permissions. Only thing i changed was the bools.XML
If it still fails you should be able to use this remove zip
http://db.tt/k2W0dRXI
Sent from my SPH-L710 using xda app-developers app
scruffy4386 said:
I'm uploading a zip to replace the modded with the original. Try installing from recovery and if that still boot loops try fixing permissions. Only thing i changed was the bools.XML
If it still fails you should be able to use this remove zip
http://db.tt/k2W0dRXI
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
So, you're saying flash the the zip on the second link in your previous post.
And if that goes wrong, flash the zip on this latest post?
I'm at work right now, but I'll try later tonight.
Thanks.
Sent from my SGH-T889 using Tapatalk 2
Funny I'm just headed out to work. The first post has a zip to install screen rotating. The second post is your unmodified original framework so when you try the modified again. if it does not work, you can replace with the original file from the second post instead of having to wait through a full reset
That does seem odd. Maybe it's the flashable file. It was for my gs3. I've replaced them with the update scripts from a Galaxy note 2 package. They are the same download links as before. I verified that it is the modified file there. Was there any error? Did you verify that it actually copied the file? Easiest to tell by looking at the date it was modified. Its really not that great of a mod anyway. The constant rotation gets annoying and this method doesn't give a toggle. Still try the new zips and see if that makes the difference
scruffy4386 said:
Funny I'm just headed out to work. The first post has a zip to install screen rotating. The second post is your unmodified original framework so when you try the modified again. if it does not work, you can replace with the original file from the second post instead of having to wait through a full reset
Click to expand...
Click to collapse
Well, I flashed the ScreenRotation.Zip, and while nothing wrong happened, nothing happened at all! Everything is just normal, no screen rotation.
Bummer, huh?
Sent from my SGH-T889 using Tapatalk 2