REBOOT option in power menu... DONE.. :D - Galaxy 3 General

hey everyone..
finally i got though it and managed to add a REBOOT option in the power menu and it is working flawlessly......
just trying much to add recovery and download options
but i m stuck , i just need to know...
after editing the system/framework/framework-res.apk/res/values , now after this how to recomplie...
when i recompile the apk remains unchanged.....
the values folders are not visible while opening by archiver as it is in the resources.arsc and is only visible after proper decompiling....
for reboot i didnt need to edit this framework-res.apk but
but for others , i need to...
any help???

Related

[Q] Circular Battery Indicator with % (no App)

edit:
the battery with % is working
but when i use the volume up/down button there is an strange animated image
and when i go in preferences on display i get an error with the process com.android.settings
also i get reboots sometimes
i used FrameworkUtility and the files i added to the post
plz help
Better Dont use it now
you can flash the file (framework-res.apk) with adb in the tools of android sdk
open cmd and type
cd (path like d:\android-sdk-windows\tools)
d: (when its on d
adb push framework-res.apk /system/framework/
adb shell reboot
you can try to make new folder in the root /system/framework and copy the file there, reboot and delete the files, but for me it doesnt worked
i use mdeejays froyo hd 4.3
may work with other builds, but you can try it change your framework with the files und framework utility
-----------------------------------------------------------------------------
Hello Guys,
i want to use a circular battery with %
so far i tried to use the graphics for a circullar battery which i copied into framework-res.apk with adb - this works
then i tried to add the %
i changed this files(tried it with files from diffrent threads) in framework-res.apk with adb
battery_charge_fill.xml
stat_sys_battery_charge.xml
zzz_stat_sys_battery_1.xml
stat_sys_battery.xml
but i then i have the problem that i have no battery indicator anymore or i get a boot loop.
i have read that the xml files are compiled so i decompiled the framework file with apk manager 4.9, packed the files in it but have some trouble to compile it again.i tried just to compress again but it doesnt work
so what is the problem?
compiling, the xml files,the graphics or are there more files i need?
or something else?
i know there is an app but if its possible i want to include this directly.
and i added the files i think are needed to get the full circular battery with % working
yes.. reemplacing framework of course works
but depende what kind of build are using.... for me, is easier to use and change in desire hd builds
Why dont you try replacing the framework-res.apk with one of these in this thread. It looks very similar to what you want and of course, you dont know until you try. I would not try the animated frameworks, just to be on the safe side. Of course, it would help if we knew which build you are using.
i use MDJ FroYo HD v.4.3
i dont want to replace the whole framework i want to know how i can change it on my framework
nokn956120 said:
Why dont you try replacing the framework-res.apk with one of these in this thread. It looks very similar to what you want and of course, you dont know until you try. I would not try the animated frameworks, just to be on the safe side. Of course, it would help if we knew which build you are using.
Click to expand...
Click to collapse
In MDJ Revolution 1.2 causes errors and force close.
have you tried the one from this post:
http://forum.xda-developers.com/showpost.php?p=9644930&postcount=1318
screen shot inc'
by xda member vlad48

[Guide]Solving T-Mobile Engine/Cyanogenmod Theme "IMPROPERLY COMPILED" error

[Guide]Solving T-Mobile Engine/Cyanogenmod Theme "IMPROPERLY COMPILED" error
If u r using Cyanogenmod or Metamorph then u might see an error "THEME IMPROPERLY COMPILED" while applying some themes... Sometimes it might get fixed by just restarting the phone but many times it doesnt... There is a simple fix for this...
Requirements:-
1. Windows PC
2. Java Installed
Get one from here...
http://www.java.com/en/download/manual.jsp
3. apktool
Download here http://www.multiupload.com/OV96GE5JOL
4. Autosign Tool http://www.mediafire.com/?recnmyzergg
5. .apk file of the theme which you want to make work (there are many tools to create apk file of apps you downloaded like Astro file manager or Estrong file manager)
Huh.. That was quiet simple...
Procedure:-
1. Install the java you downloaded
2. Extract the apktool & autosign you downloaded (i assume you extracted it on desktop for convenience)
3. place .apk file of the theme in the same folder where you extracted apktool & rename it to something simple like theme.apk (in my case it is desktop/apktool)
4. open command prompt (type cmd in run)
5. Go to the location with command prompt where you extracted the apk tool
(in my case type cd desktop)
6. then type cd apktool ( I assume there is no sub folder inside apktool folder)
7. Now type apktool d theme.apk
It will process some files and in less then a minute it will be completed
8. Now type apktool b theme
9. Open the folder apktool on desktop (with windows explorer and not with cmd)
Go to folder "Theme", Open folder "dist"
10. Copy the file "theme.apk" inside dist folder and paste it in autosign folder on desktop (which you extracted earlier)
NOTE:- There shouldn't be any other .apk file except theme.apk in autosign folder)
11. Now open sign.bat and press any key to sign the app...
YOU ARE DONE
A file will be generated with name "your_app_signed.apk" copy this to your phone and install this (obviously after removing the theme which was giving error)
Now it should work without any problems..
NOTE:- In theme manager you wont get display image of the theme instead you will get a black coloured image with name @string/theme_name....
This is the theme you just installed (I dont know y no image is shown in display after recompiling)
IT MIGHT SEEM A DAUNTING TASK FOR THE BEGINNERS BUT IN SHORT WHAT I HAVE DONE IS EXPLAINED YOU THE WHOLE PROCESS IN DETAIL OF DECOMPILING & COMPILING THE APK FILE AND THEN SIGNING IT
Alternative
Thanks for solution friend, u can also add this aternative fix to ur post.
Download LCD densiy modder pro. change dpi to 140 reboot. install theme & apply. change dpi to default reboot. OK
Tested number of times on many roms, and works fine...
Found here: http://lavabite.blogspot.in/2012/10/cm-theme-chooser-fix-for-theme.html
AmAnzx said:
Thanks for solution friend, u can also add this aternative fix to ur post.
Download LCD densiy modder pro. change dpi to 140 reboot. install theme & apply. change dpi to default reboot. OK
Tested number of times on many roms, and works fine...
Found here: http://lavabite.blogspot.in/2012/10/cm-theme-chooser-fix-for-theme.html
Click to expand...
Click to collapse
Actually changing screen density changes the overall screen perspective, so its not good to recommend it, everything looks too small
fundoozzz said:
Actually changing screen density changes the overall screen perspective, so its not good to recommend it, everything looks too small
Click to expand...
Click to collapse
After applying theme returns to 160 dpi and everything looks normal.
Whenever I try to apply the 140 DPI setting, my boot screen screws up and I'm stuck in a boot loop. Running unofficial JB ROM on LG Phoenix. Any suggestions?
SiberianLeopard said:
Whenever I try to apply the 140 DPI setting, my boot screen screws up and I'm stuck in a boot loop. Running unofficial JB ROM on LG Phoenix. Any suggestions?
Click to expand...
Click to collapse
idk this error hapens on my thrive (same as phoenix) when im runing 4.2.1 cm10.1
why dont they work without the stupid fixes, the themes should work without them

How to change text labels in ext. power menu (to replace download with screenshot)

Ok, here is the idea. Since the Download option in the Extended Power Menu is working, but will give you a non working download mode. I thought why not replace it with a Screenshot function?
I've already successfully replaced the function and the icon, but it still says Download. in the tutorial I followed they say edit this file:
res/values/strings.xml which should be in framework-res.apk
but the file does not exist! Does someone know how to change it then?
Edit: Added a screenshot!
Edit2: Never mind! I forgot to decompile with APK Manager I'll post the download soon
Edit3: framework-res.apk gives me a bootloop somehow.. hmm I followed the steps correctly
Can someone please do the following things because I get a bootloop after only changing the text "Download"
1. Put framework-res.apk in /place-apk-here-for-modding/ and start APK Manager, press 9
2. Go to projects/framework-res.apk/res/values and open strings.xml in notepad
3. Scroll to the bottom and change:
<string name="reboot_download">Download</string>
to
<string name="reboot_download">Screenshot</string>
4. Now when you are in APK Manager press 11
5. The output will be /place-apk-here-for-modding/unsignedframework-res.apk
Please send me that file. Thanks in advance
i'd like to help but all i can find looking for apk manager are links to megaupload
here you go
in public.xml theres a reference to reboot_download. i don't really know but if its not needed you could delete it probably?
<public type="string" name="reboot_download" id="0x010404c2" />
edit: i'd like to point out the part with "i don't really know"
to change something in the extended power menu you have to edit more than just the framework file
because in the framework file there are only the images
well im not sure but I know you have to decompile the classes.dex in a file
maybe it's the systemui.apk
when I'm back home I can tell you more
Sent from my GT-I9001 using XDA App
EDIT:
okay to change the function of the option Download you have to edit the file android.policy.jar
I already changed the function and the icon. but when I change the text from Download to Screenshot and then compile it I get a bootloop
okey i tried to compile it
here you go
Blumdum said:
okey i tried to compile it
here you go
Click to expand...
Click to collapse
Thanks gonna try it now.
Edit: Thanks! It works !
People behold a screenshot function

GlobalAction$ smali not linked to power menu

Hello all!
I have recently been attempting to create an extended power menu containing Reboot, Recovery, and Screenshot for a stock AOSP ROM.
After creating and editing several smali files within the android policy.jar, I successfully added the desired power menu options. The problem is only 2 of the 3 work. Reboot and Recovery work fine but Screenshot does nothing after it has been pressed. I just return to the home screen, no screenshot.
I believe the problem lies in not having the proper GlobalActions$ smali linked the the screenshot function. I am quite confused and I'm not sure how to fix this. Screenshot shows up on the Power menu but does nothing.
I have attached the files I am using as well as a screenshot and the smali file. If anyone could help me out I would be greatly appreciative. Thank you!
Smali file - http://db.tt/Ttle08LX
Androidpolicy.jar - http://db.tt/IOe6JAkn
Framework-res.apk - http://db.tt/xy0QGFiH
Sent from my Nexus 4

[Q] Bootanimation is black, lockscreen problem

Hi, all
I have a problem with the lockscreen.
It happened when I replacing the files of "bootsamsung.qmg" , "bootsamsungloop.qmg" , "bootsamsungmini.qmg" and "bootsamsungminiloop.qmg" of /system/media to change the bootanimation using the Root Explorer, and then this problem started, I can not lock the screen, but I can turn off the cell phone, it's a thing of function button. When I turn on the cell phone, the bootanimation is in black, that is to say, I don't get the bootanimation.
I tried to go settings>>personalization>>lockscreen to change the settings of active screen and it don't work.
I tried to restore factory settings and wipe data, and it don't work.
I used the downloaded bootanimation with archives that contain "bootsamsung.qmg" and "bootsamsungloop.qmg" and copied to change his names "bootsamsungmini.qmg" and "bootsamsungminiloop.qmg", the download of this bootanimation is in <<http://forum.xda-developers.com/showthread.php?t=2587092>> , the link is "BiosBootAnimation(Made_BY_NimaGL2).zip".
Can someone help me, please?
SAMSUNG GALAXY NOTE 3 SM-N9005
vrootsuser said:
Hi, all
I have a problem with the lockscreen.
It happened when I replacing the files of "bootsamsung.qmg" , "bootsamsungloop.qmg" , "bootsamsungmini.qmg" and "bootsamsungminiloop.qmg" of /system/media to change the bootanimation using the Root Explorer, and then this problem started, I can not lock the screen, but I can turn off the cell phone, it's a thing of function button. When I turn on the cell phone, the bootanimation is in black, that is to say, I don't get the bootanimation.
I tried to go settings>>personalization>>lockscreen to change the settings of active screen and it don't work.
I tried to restore factory settings and wipe data, and it don't work.
I used the downloaded bootanimation with archives that contain "bootsamsung.qmg" and "bootsamsungloop.qmg" and copied to change his names "bootsamsungmini.qmg" and "bootsamsungminiloop.qmg", the download of this bootanimation is in <<http://forum.xda-developers.com/showthread.php?t=2587092>> , the link is "BiosBootAnimation(Made_BY_NimaGL2).zip".
Can someone help me, please?
SAMSUNG GALAXY NOTE 3 SM-N9005
Click to expand...
Click to collapse
Try to set the boot animation all over again and follow every step (don't hurry or panic). Also take a look on the links posted by The dev of the boot animation. If it still didn't work please try to flash the stock boot animation via recovery. At last if everything didn't work put the rom on your sd card backup data and efs (titanium backup 4 example) and do wipe data and cache in recovery. Good luck
vrootsuser said:
Hi, all
I have a problem with the lockscreen.
It happened when I replacing the files of "bootsamsung.qmg" , "bootsamsungloop.qmg" , "bootsamsungmini.qmg" and "bootsamsungminiloop.qmg" of /system/media to change the bootanimation using the Root Explorer, and then this problem started, I can not lock the screen, but I can turn off the cell phone, it's a thing of function button. When I turn on the cell phone, the bootanimation is in black, that is to say, I don't get the bootanimation.
I tried to go settings>>personalization>>lockscreen to change the settings of active screen and it don't work.
I tried to restore factory settings and wipe data, and it don't work.
I used the downloaded bootanimation with archives that contain "bootsamsung.qmg" and "bootsamsungloop.qmg" and copied to change his names "bootsamsungmini.qmg" and "bootsamsungminiloop.qmg", the download of this bootanimation is in <<http://forum.xda-developers.com/showthread.php?t=2587092>> , the link is "BiosBootAnimation(Made_BY_NimaGL2).zip".
Can someone help me, please?
SAMSUNG GALAXY NOTE 3 SM-N9005
Click to expand...
Click to collapse
Did you reset the permission and ownership of each of the files?
4aces said:
Try to set the boot animation all over again and follow every step (don't hurry or panic). Also take a look on the links posted by The dev of the boot animation. If it still didn't work please try to flash the stock boot animation via recovery. At last if everything didn't work put the rom on your sd card backup data and efs (titanium backup 4 example) and do wipe data and cache in recovery. Good luck
Click to expand...
Click to collapse
What if I try to install the files it says on <<http://forum.xda-developers.com/showthread.php?t=2502550>> ? Will be this, the solution?
vrootsuser said:
What if I try to install the files it says on <<http://forum.xda-developers.com/showthread.php?t=2502550>> ? Will be this, the solution?
Click to expand...
Click to collapse
Try it should work
I found where is the problem, is in the permissions of files that have copied, I changed to rw-r--r--, and before when I had the problem was rwxrwx---, was a detail, and wherefore the lockscreen didn't let me that lock the screen.
Thanks, all, now works perfectly.
vrootsuser said:
Hi, all
I have a problem with the lockscreen.
It happened when I replacing the files of "bootsamsung.qmg" , "bootsamsungloop.qmg" , "bootsamsungmini.qmg" and "bootsamsungminiloop.qmg" of /system/media to change the bootanimation using the Root Explorer, and then this problem started, I can not lock the screen, but I can turn off the cell phone, it's a thing of function button. When I turn on the cell phone, the bootanimation is in black, that is to say, I don't get the bootanimation.
I tried to go settings>>personalization>>lockscreen to change the settings of active screen and it don't work.
I tried to restore factory settings and wipe data, and it don't work.
I used the downloaded bootanimation with archives that contain "bootsamsung.qmg" and "bootsamsungloop.qmg" and copied to change his names "bootsamsungmini.qmg" and "bootsamsungminiloop.qmg", the download of this bootanimation is in <<http://forum.xda-developers.com/showthread.php?t=2587092>> , the link is "BiosBootAnimation(Made_BY_NimaGL2).zip".
Can someone help me, please?
SAMSUNG GALAXY NOTE 3 SM-N9005
Click to expand...
Click to collapse
Older thread but wanted to ask what specifically these two files do?
bootsamsungmini.qmg" and "bootsamsungminiloop.qmg
*I know bootsamsung.qmg (plays first at boot after Samsung logo)
*bootsamsungloop.qmg (plays second at boot)
*shutdown.qmg (plays when phone turns off)
But what do the other two do and are they needed??
bootsamsungmini.qmg" and "bootsamsungminiloop.qmg
Thanks,
-Nigel

Categories

Resources