Flashlight Quick Toggle Mod TW 4.4.2 NE4 ( De-Odexed )
[FONT="]This mod was made for the Sprint L600 Mega and is for the [/FONT][FONT="]STOCK[/FONT][FONT="] TW ROM 4.4.2 NE4. I do not recommend flashing to a Custom Rom as the ROM may contain other special permissions/policies ( if added ) that the Rom Developer may have implemented or even may have been required to add so the Custom Rom may run or function properly. [/FONT][FONT="]
[/FONT][FONT="]DISCLAIMER:[/FONT]
[FONT="]By YOU, the USER, flashing this file or manually pasting to modify your Android System, YOU understand and know what YOU are doing. I nor anyone will be held liable nor responsible for YOUR doing if your phone bricks. As always, as is suggested by many and myself, please make sure you perform a complete[/FONT]
[FONT="]NANDROID BACKUP[/FONT]
[FONT="]before flashing and/or modifying your OS or the mentioned stock .jar file. I also suggest YOU keep a separate copy of the stock .jar file handy, like in your External SDcard, if the phone decides not to boot up. Knowing this, YOU assume all responsibility for what happens as YOU, the USER, know and comprehend what YOU are doing and understand the consequences or severity of damages that can be brought to your [/FONT][FONT="]device by flashing or modifying your OS incorrectly. [/FONT]
[FONT="]You[/FONT][FONT="] Have Been Warned !![/FONT][FONT="][/FONT]
[FONT="]What's Needed/Recommended:[/FONT]
[FONT="]Rooted Devise [/FONT][FONT="]( to extract the needed files Manually for backup )[/FONT][FONT="]
[/FONT][FONT="]Custom Recovery [/FONT][FONT="]( TWRP or CWMR/PhilZ for Flashing the ZIP )[/FONT][FONT="]
[/FONT][FONT="]Aroma File Browser/Explorer[/FONT][FONT="] ( type browser in CWMR/PhilZ Recovery to manually move the files )[/FONT][FONT="]
[/FONT][FONT="]If you can do it via ADB Commands then all power to you.....[/FONT]
[FONT="]I am providing [/FONT][FONT="]BOTH[/FONT][FONT="] stock Modded Sprint [/FONT][FONT="]( SystemUI.apk )[/FONT][FONT="] and [/FONT][FONT="]( SecSettings.apk )[/FONT][FONT="] files [/FONT][FONT="]below.[/FONT]
Flashlight Toggle Zip Flashable zip ( Tested - Not working - Removed )
SecSettings.apk
SystemUI.apk [FONT="]
[/FONT]
[FONT="]What To Do:[/FONT]
You have two choices on installing the .apk files. You can either Flash the ZIP in your Custom Recovery or you can use some form of File Explorer via in Custom Recovery ( like the [FONT="]Aroma File Explorer[FONT="] for CWMR [/FONT][FONT="]) or other means to copy & paste or push the .apk files to [/FONT][FONT="]system/priv-app/[/FONT][FONT="]. If you decide to do this manually, you will then need to set the file permissions to the modified apk files to[/FONT][FONT="] 0644 [/FONT][FONT="]and/or [/FONT][FONT="]check mark off[/FONT][FONT="] as the picture provided below shows using the method chosen through the root permissions it provides. You can rename the stock .apk files with " .bak " at the end so you don't have to delete them from the priv-app folder if you so choose. You will also need to add the “[/FONT][FONT="]Flashlight[/FONT][FONT="]” value in your settings.db file located in data\data\com.android.providers.settings\databases described in the link [/FONT][FONT="]here[/FONT][FONT="] . After just clear " [/FONT][FONT="]cache[/FONT][FONT="] " and " [/FONT][FONT="]dalvik cache[/FONT][FONT="]"ONLY after flashing or manually pasting the mod if you so choose.[/FONT][/FONT]
[FONT="]Words of caution[/FONT][FONT="].....[/FONT][FONT="]if you attempt to do this manually and are still actively booted in your Android OS while modifying or deleting the .apk file/s, there may be a chance that your phone will immediately reboot and you will not be able to boot into the OS and remain stuck as the apk’s is/are no longer visible to your OS. This is why you need to do this before booting up like in recovery.[/FONT]
[FONT="]Other Galaxy Mega Variants[/FONT][FONT="] - [/FONT][FONT="]Disclaimer[/FONT][FONT="]:[/FONT]
[FONT="]I do not know if this will work on other carriers/models as they all are different and can or will have different permissions/policies set forth so you will be trying at your own risk. The .apk files are easily modified and the required files are easily found by searching the forums as I have. If these .apk file worked for a different Samsung Galaxy Mega devise then please advise me and give proper credit. Use, extract, exhume, etc the files as you choose or please. [/FONT][FONT="]================================================== =================[/FONT][FONT="]
Thanks and credits go out to :[/FONT]
[FONT="]@rompnit
@tdunham
@CNexus[/FONT]
[FONT="]for the How-Too's, find’s and files needed for this MOD and the help provided. If I missed someone please PM me or let me know.....[/FONT]
[FONT="]&
Google & Samsung.......
[/FONT][FONT="]
[/FONT][FONT="]
[/FONT][FONT="]Enjoy! [/FONT][FONT="]
[/FONT][FONT="]More Stock TW mods for the Sprint Mega L600 are sure to come![/FONT]
If anyone can test the flashable zip and/or check the updater-script to make sure it will back up the apk's and write the values in for you please do so and check back please.
I thought on stock rom you can toggle flash light while screen is off. just hold volum up botton
Yes4g4me said:
I thought on stock rom you can toggle flash light while screen is off. just hold volum up botton
Click to expand...
Click to collapse
I don't remember having the ability to turn it on or off in my settings with KitKat 4.4. The only way I knew was to use Xposed App to do so. I rather use an actual Toggle built in the stock System located in the Pull Down section.
Zip flash did work getting a update error
dyra502 said:
Zip flash did work getting a update error
Click to expand...
Click to collapse
What type of update error? Also did or did not flash? Thanks.
May end up just making this as a manual push mod instead of flashing.
DarkAngel said:
What type of update error? Also did or did not flash? Thanks.
May end up just making this as a manual push mod instead of flashing.
Click to expand...
Click to collapse
update -binary error and i try to push it to and a no go. but i also had my hotspot unlock that may be the reason it not working
dyra502 said:
update -binary error and i try to push it to and a no go. but i also had my hotspot unlock that may be the reason it not working
Click to expand...
Click to collapse
You had the hotspot mod done on the Mega?
DarkAngel said:
You had the hotspot mod done on the Mega?
Click to expand...
Click to collapse
yes and it works for sprint
dyra502 said:
yes and it works for sprint
Click to expand...
Click to collapse
Oh nice. Was it the same as the Note 2 or Galaxy S4/5? Also was this on KK NE4 and do you mind sharing the services.jar file from your Mega?
The HotSpot Mod should not affect the flashlight quick toggle. You did also edit the setting.db file as well correct and add Flashlight; to the line right?
DarkAngel said:
Oh nice. Was it the same as the Note 2 or Galaxy S4/5? Also was this on KK NE4 and do you mind sharing the services.jar file from your Mega?
The HotSpot Mod should not affect the flashlight quick toggle. You did also edit the setting.db file as well correct and add Flashlight; to the line right?
Click to expand...
Click to collapse
yes I,m on ne4 and here what i flash and that was it
dyra502 said:
yes I,m on ne4 and here what i flash and that was it
Click to expand...
Click to collapse
Thank you sir. I will look into modding the services.jar for this. Also there should not be a problem for you to push these to your system, set permission to the files and then reboot. Also have to make sure you modify your settings.db file so it will show up in your toggles.
Related
Use it at your own risk!
This mod is NOT for XXJPM!
It has been made from the framework files of a JPQ and JPS, so on an odexed JPM rom it causes bootloop!
It's for XXJPQ and XXJPS.
So it wont make the Browser.apk crash like the older 5 Lockscreen Mod did it.
(Check out the last part of this post!)
(You must be rooted and know how to push files to the phone. And one more thing: first of all you should check the free space in /system (e.g. if you use RootExplorer), especially on the odexed roms.)
5 Lockscreen Mod and Extended Power Menu for Odexed XXJPQ and XXJPS.
5 Lockscreen Mod and Extended Power Menu for Deodexed XXJPQ and XXJPS.
(Framework-res.apk and Settings.apk are stock themed.)
Android LockScreen for odexed/deodexed JPS/JPQ* rom and also for odexed XWJPK is attached below.
* 'android.policy' has been made from JPS, but it works on JPQ too
HOW-TO:
5 Lockscreen Mod
It’s started from the point you have flashed a clean, stock JPS or JPQ via Odin: the device is already booted and you have unplugged the USB cable from it.
Getting root access
- Go to ’Settings > Applications > Development’ and enable ’USB debugging’
- Plug the USB cable back into the phone > run SuperOneClick.exe > press ’Root’ and wait
- When the ’Test?’ dialogue is popped up, say ’Yes’ > you can close SuperOneClick
- Your device has been rooted
- Directly after these steps, do the followings:
Pushing modified files to the phone
- Download the suitable zip for your odexed or deodexed JPQ or JPS rom
- Extract the downloaded zip
- Navigate into the extracted folder
- Run ’push_5lckscr....bat’ and wait*, your device will have rebooted
- Modded files are already pushed to the phone, now you can use your favourite lockscreen and the extended power menu
Of course there are other methods, RootExplorer etc.
*If you are on an odexed rom and see something like this in cmd: "failed to copy 'system\framework/framework.odex' to '/system/framework/framework.odex': No space left on device" and "rm failed for /system/framework/framework.jar, No such file or directory", don't panic, it's normal due to the low free space.
History:
Hi again! Now I have come with a very nice and well known mod. However this one is for people who want to have the 5 Lockscreen Mod and Extended Power menu, but don't want to have a deodexed rom!
So you can download this mod for your odexed XXJPQ/XXJPS from above. I've just realized that the only reason for me to deodex a rom is because of those damn lockscreens and the extended power menu. But I could not find this mod for odexed roms, so I had to odex it by myself.
---
Hello to All, I've attached an android.policy.odex for those who want stock Android lockscreen on their odex XWJPK.
---
Hi All!
After I had deodexed a stock (only rooted) XXJPQ rom, I tried to apply the 5 lockscreen mod on it. Seemed like everything was good... But when I had opened the "Internet", it force-closed immediately (nor factory reset didn't help).
So I had started to search the reason of this issue. After a while I figured out that the FCing of the Internet app was because of the "non-JPQ" framework.jar. So I took the JPQ's framework.jar and added a .smali file to its classes.dex what is necessary for the extended power menu (com\android\internal\app\ShutdownThread.smali).
The result: working 5 lock screen mod with extended power menu on JPQ without crashing of the Internet app!
If interested, you can download it from here. Framework-res.apk and Settings.apk are stock themed files, so you can delete that lines from the batch... Actually, the relevant file is the framework.jar.
Try 5lockscreen mod
mY custom rom has stock lockscreen :L
Stock lockscreen for stock XWJPI and XXJPQ: http://www.megaupload.com/?d=SNJ3ZI17
Credits by Halco
Here is the way to add Stock lockscreen on a firmware.
But care, on this step :
4. Replace the contents of this method with the attached file getLockScreenMode.txt.
Dont do this, juste replace on you method getLockScreenMode()Lcom :
PuzzleLock by TapLock
GlassLock by TapLock
Then follow the rest of the steps
I tried this tutorial with XWJPK, but when I try to deodex the file I always get this error:
Code:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
at org.jf.baksmali.main.main(main.java:278)
Can you help me, please?
Which file do you try to deodex? Do you mean all of them? In that case, I use this one, so I recommend. It always works for me. Sorry, but I don't understand exactly the source of your problem (maybe I'm too tired)... What's your goal at all? 5 lockscreen mod on a deodexed XWJPK?
Sry, but I don't understand you exactly, too
I tried this Tutorial and therefore I need android.policy.odex and so a odexed framework, right?
But I'm sorry, at this topic I'm totally new at this topic. It would be nice if you could upload the modded files for JPK...
I am using stock rom jpm rooted by default..i want this 5 lock screen..
Can I get that..?
Please tell me the step by step procedure..
Sent from my GT-I5800 using XDA App
JPM is no problem!
You can use Kitchen 2.0!
GalaxyDrei said:
JPM is no problem!
You can use Kitchen 2.0!
Click to expand...
Click to collapse
Please give me the link to download kitchen 2
Sent from my GT-I5800 using XDA App
Sry, it was deleted...
I think it also should work with Kitchen 3.0...
Ask benzyniarz1
GalaxyDrei said:
I tried this tutorial with XWJPK, but when I try to deodex the file I always get this error:
Code:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
at org.jf.baksmali.main.main(main.java:278)
Can you help me, please?
Click to expand...
Click to collapse
You got this error because when you tried to deodex android.policy, you forgot to pull all the .odex files from /system/framework. For some reason it is not enough to pull only the android.policy.odex
No, I pulled the whole framework, so I can't understand why I get this error!
Strange... By the way, I've uploaded the modified file you asked for.
Thanks a lot
Is there any tutorial about pushing this to the phone? I didnt see it anywhere...
I will update my first post as soon as I have enough time. It will be a few days since now I have to work...
Hi,
Can you make a only Android Lockscreen for XXJPS? I dislike the Extended Powermenu and the Option of more lockscreens, but only want Android Lock.
Hopefully someone can provide me that!
Stylooo
Nice job could you please post some basic instructions for porting this to some other stock(odexed) rom I know how about compiling and decompiling using smali etc just tell me which files to edit .
Sent from my GT-I5800 using Tapatalk
I dusted off a script I had been working on to allow easy customization on my original EVO.
It all still works on my rooted Evo 3D without many changes!
The script automates the use of adb. Downloads and decompiles the frameworks from your evo/evo 3d. Then you can make any desired changes (examples provided). Recompiles and uploads back to device.
Offering it for people to play with. I also included precompiled framework-res.apk and SystemUI.apk for those that like my choices. Otherwise use the script and create your own.
Enjoy
NEW! 1.1 Beta. Now creates flashable update zips
Beta update posted for new OTA
After recompiling your frameworks select option 5 from the Main Menu. An update.zip will be created in a directory called "flash" Try it out and please give feedback.
1 - Extract GingerScript to a folder on your desktop.
2 - Connect your phone via USB cable to your computer.
3 - Open the GingerScript folder you created and doubleclick on GingerScript.bat.
4 - Select item 1. (Process Framework-res.apk) This will download your framework-res.apk as well as create a back up in the /tools folder. When prompted, select yes to decompile this framework. This will create a folder called extracted-framework.res.
5 - This is where it gets tricky. Inside the extracted-framework.res folder, there is a folder called res. Inside THAT folder are multiple directories. The two you are concerned with are marked drawable and drawable-hdpi. *NOTE* In some builds the "drawable-hdpi" folder is named "drawable-hdpi-v4" Thats why it's best to modify your own framework.
6 - In the GingerScript folder, we will work with the Example.Icon.Framework-res.Circle.Battery folder. In this folder, you will find two directories: drawable and drawable-hdpi. Copy and paste the contents of the two directories from the Example folde into the corresponding folders in the extracted-framework.res/res directory. This may overwrite some of the files in each directory. This is okay!
7 - Go back to the script; it should still be on the gray screen. Select option 3 - recompile framework. This will take a minute or two so go grab a drink while it does its magic. It will seem to be hung; I don't have a progress bar created in the script so just hold tight while it finishes.
8 - Next, select option 4 - Upload new framework to phone. This will prompt you to put the phone in recovery mode; I'm not going to explain that part. Once the phone is in recovery mode Mount the /system partition using the recovery mount feature then press any key in the script window to push the file to your phone.
9 - At this point, clear the Dalvik Cache at a minimum and press a key once finished. the phone will reboot. Now, this provides the battery mod. To modify the other status bar icons, return to the main Menu and select option 3 to modify the systemUI.apk. The process is EXACTLY the same as the framework-res.apk but it uses the contents of the Example.Icons.SystemUI.mod directory. If problems occur, recover the backups from the /tools directory and push them to your phone.
I hope this helps. If you are still running into issues, please post what step you having issues with and remember, black and white goes with everything! *grin*
Do you install the apps or push them with abd, a little more clarity on how to install
Sent from my PG86100 using XDA App
dog44 said:
Do you install the apps or push them with abd, a little more clarity on how to install
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Extract the Gingerscript.zip on your Windows PC with your phone connected via USB.
Inside the folder double click on Gingerscript.bat. It's fairly easy to figure out from there, It creates a backup of the files before modification as a safety precaution. This just makes all of the framework compiliing/decompiling less of a hassle
Everything needed is in the zip file so you will need nothing except a text editor and a program to manipulate the png images. There are example folders in the zip that contain my modified png images and edited xml files
Note: The script references the use of Clockwork Mod Recovery, but TWRP works just as well. Just clear the Dalvik cache after uploading the framework. Then Reboot. I'll clean up the scripts wording at a later date
I will give it a shot here in a minute, and I will let you know how well it works.
I like your icons. Which APK does what?
The framework-res.apk contains the battery mod and a few minor icons. The rest of the status bar icons are in the SystemUI.apk.
The com-htc.resource.apk wasn't modified in my example, but it does contain images.
I wish there was a easy way to determine what resources are used but there isn't. Some status icons are located in the individual applications resource file as well (My script can't handle those)
I'm going to give this a go in a little bit when I can. Can anyone else confirm their success and any additional steps required (eg - clearing cache and dalvik). Thanks.
Can you please make a clear taskbar...thanxs
Can you make it simple zip file? so I can just flash it.
Thx
one up on this i like your blue battery ya got there, can ya make a zip for us
to flash please?
justwonder said:
Can you make it simple zip file? so I can just flash it.
Thx
Click to expand...
Click to collapse
That didnt work
Can you make a stock % battery?
Send from my Rooted HTC Evo 3D
nabbed said:
That didnt work
Click to expand...
Click to collapse
What part of "That" didn't work?
townsenk said:
What part of "That" didn't work?
Click to expand...
Click to collapse
After pushing the files, wiping dalvik cache, and rebooting, there was no status bar at all.
This is viper rom rc1.1, netarchy test3 kernel.
jayjay7411 said:
one up on this i like your blue battery ya got there, can ya make a zip for us
to flash please?
Click to expand...
Click to collapse
I've never been successfull creating a update.zip. I can never seem to get the syntax correct on the update-script.
If someone more experienced wants to create one, I'd love to take a look at it and see what I'm doing wrong.
nabbed said:
After pushing the files, wiping dalvik cache, and rebooting, there was no status bar at all.
This is viper rom rc1.1, netarchy test3 kernel.
Click to expand...
Click to collapse
Did you modify *Your* framework files or use the ones provided? The ones I used as examples are from a stock rom that is still odexed
I recommend you modify a copy of your own framework files since there may have been changes in the viper rom. It should still work. If you want you can send me a copy of your unaltered framework files and I can take a look.
mexiking713 said:
Can you make a stock % battery?
Send from my Rooted HTC Evo 3D
Click to expand...
Click to collapse
That requires the creation of about 60 new icons.
Easier method. Find me the icons..or even a Original Evo mod package and I can extract the icons from that.
townsenk said:
Did you modify *Your* framework files or use the ones provided? The ones I used as examples are from a stock rom that is still odexed
I recommend you modify a copy of your own framework files since there may have been changes in the viper rom. It should still work. If you want you can send me a copy of your unaltered framework files and I can take a look.
Click to expand...
Click to collapse
Ah! Viper is deodexed, so there's the problem right there.
Ill try to modify...
I have stock rom, if I do Push command and restart it should work right?
adb push new_SystemUI.apk /system/app/SystemUI.apk
adb push new_framework-res.apk /system/framework/framework-res.apk
justwonder said:
I have stock rom, if I do Push command and restart it should work right?
adb push new_SystemUI.apk /system/app/SystemUI.apk
adb push new_framework-res.apk /system/framework/framework-res.apk
Click to expand...
Click to collapse
That is correct - You'll still have to wipe the Dalvik and let it rebuild on boot
Let me know if it works for you
The stock battery icon on Galaxy wifi 5.0 is not very inspiring and it doesn't tell you the battery level. It is quite easy to replace them on other phones with Clockwork Recovery. You just need to go to UOT kitchen http://uot.dakra.lt/kitchen/ , pick the icons you like and it will give you a flashable zip file.
Without Clockwork Recovery on Galaxy wifi, it can still be done but with a bit more manual operations.
Prerequisites:
1. A rooted device.
2. Clockworkmod Recovery (optional).
Step 1:
Use Titanium backup (pro version needed) to free up some spaces in /system directory (There are 0 byte free in stock rom). You can delete some unused system apps or convert some of them to user app. For example converting Flash player and google map to user app free up enough space for me.
Step 2:
Backup the following apk files from your stock rom. You can do that by using some file manager like File Expert. These files will be needed by UOT kitchen
/system/app/SystemUI.apk
/system/framework/framework-res.apk
/system/framework/twframework-res.apk
Step 3:
Go to UOT kitchen http://uot.dakra.lt/kitchen/ and cook your custom UI. Make sure you read their how-to here first http://uot.dakra.lt/how_to/
Step 4a: (follow this if you have Clockworkmod Recovery)
Copy the zip produced by UOT kitchen to your internal SD card. Reboot to CWM Recovery and flash the zip file using the option "Install zip from sd card". Then reboot and you are done.
Step 4b: (follow this if you don't have Clockworkmod Recovery)
Extract the 3 modified apk files from the zip package produced by UOT kitchen and put them into a convenient location on your sdcard, say /sdcard/
Step 5:
The system directory is by default read only. You need to remount it as r/w. I do that through adb shell
Code:
su
mount -o rw,remount /dev/block/mmcblk0p13 /system
Step 6:
Copy your new apk files into /system directory
Code:
cp /sdcard/SystemUI.apk /system/app/
cp /sdcard/framework-res.apk /system/framework/
cp /sdcard/twframework-res.apk /system/framework/
Step 7:
Restart your device. The /system directory should remounted as read only and the new UI will take effect.
Disclaimer:
Certainly there are risked involved and I did corrupted my rom on several occasions when trying this out. So make sure you have a functional ROM around before you give this a try.
thanks for the tips.
hey I wanna ask you about is it can fully modification from http://uot.dakra.lt/kitchen/
I mean don't just modify battery icon but every option that site provide.
thanks in advance.
" Step 1:
Use Titanium backup to free up some spaces in /system directory (There are 0 byte free in stock rom). You can delete some unused system apps or convert some of them to user app. The flash. For example converting Flash player and google map to user app free up enough space for me."
How do you do that with titanium backup? Do you have to get pro?
aillez said:
thanks for the tips.
hey I wanna ask you about is it can fully modification from http://uot.dakra.lt/kitchen/
I mean don't just modify battery icon but every option that site provide.
thanks in advance.
Click to expand...
Click to collapse
I have only experimented with icons so far. Other mod may be possible because UOT kitchen does support gingerbread. Since this device is new, we need some brave soul to try that out
iJimaniac said:
" Step 1:
Use Titanium backup to free up some spaces in /system directory (There are 0 byte free in stock rom). You can delete some unused system apps or convert some of them to user app. The flash. For example converting Flash player and google map to user app free up enough space for me."
How do you do that with titanium backup? Do you have to get pro?
Click to expand...
Click to collapse
Yes, you will need the pro version. If you have the pro version, long press an app will give you the option to do the conversion.
Well, while deleting apps with TI, I decided to get rid of "phone", figuring I didn't need it, but it turns out Google voice needs it! Trying to "restore", but just hangs forever. If someone could give me the "com.sec.android.app.dialertab.apk" located in /system/app/ I would really appreciate it!
EDIT; I just reinstalled voice from market, seemed to fix it, I wouldn't advise removing phone from the apps though!
can you make the display of battery accurate to 1%?thank you!
First make it accurate to 5%, then work on 1%
I think the accuracy of the battery level is deeper down in the system, may be in the kernel?
If you try different types of battery widget on Galaxy Player, they all have very bad accuracy.
I want to edit the framework-res.apk manually, instead of using the kitchen. Do the files need to be deoxed? Would flashing a framework-res compiled with apk manager brick the device?
nice guide!
I've used UOT Kitchen to get ICS transitions, change icons, battery, fonts, and customize the status bar and they all work on my galaxy player 4.0 US.
what are those different icons you have on your notifications like the wifi icon and what launcher is that ADW?
azoller1 said:
what are those different icons you have on your notifications like the wifi icon and what launcher is that ADW?
Click to expand...
Click to collapse
I am using the "Color pack V8 animated" icon set on UOT kitchen. The launcher is GO Launcher.
Stale_bread said:
I want to edit the framework-res.apk manually, instead of using the kitchen. Do the files need to be deoxed? Would flashing a framework-res compiled with apk manager brick the device?
Click to expand...
Click to collapse
There is still an odex file in the system directory. I suppose it is not deoxed but UOT kitchen doesn't seem to bother with that file. I guess it is because these apk files don't contain any executable code.
from OP
Disclaimer:
Certainly there are risked involved and I did corrupted my rom on several occasions when trying this out. So make sure you have a functional ROM around before you give this a try.
Click to expand...
Click to collapse
Two things, if you please:
When you say "corrupted my rom", you can't boot your device but you can still go to dl mode, correct?
"functional ROM" is the fw/md5 file we usually flash via odin/heimdall?
I'd like to try this out (& then some...) but, in the absence of a custom recovery, I don't wanna have to go through the lengths of "resurrecting" my sgp. TIA!
maxq1 said:
from OP
Two things, if you please:
When you say "corrupted my rom", you can't boot your device but you can still go to dl mode, correct?
"functional ROM" is the fw/md5 file we usually flash via odin/heimdall?
I'd like to try this out (& then some...) but, in the absence of a custom recovery, I don't wanna have to go through the lengths of "resurrecting" my sgp. TIA!
Click to expand...
Click to collapse
In my case, it couldn't boot beyond the samsung start up screen, but I can still boot into download mode. Since we are only modifying a file within the file system, it is very unlikely that it will destroy the download mode.
If you can get to download mode, you can flash one of the firmwares you found in this forum using odin. You need to be sure you have the correct firmware for your device though, because there are so many variant of Galaxy Player. What is the version of your device?
nvm that (i was thinking on the same lines too though) but thanks anyway! appreciate it.
thanks to your guide, was able to change my fonts and added that flying in pop up animation as well. for these two, however, i don't think we need the kitchen though and for that matter, we don't need to modify systemui & twframework.
for fonts (you could use font changer apps, but i hate doing so for such things), take any you fancy from anywhere here in xda (WARNING: only extract the downloaded file to your device/pc) then rename (case sensitive) font files accordingly: Clockopia.ttf, DroidSans.ttf, DroidSans-Bold.ttf. copy these to sd & push to /system/fonts/ using similar cp command/s from OP.
for pop up animation, you could follow this guide. no need to sign after replacing files in /res/anim. copy modded framework-res.apk to sd then push to device via same commands in OP.
btw, wouldn't issuing "reboot" within adb shell be more convenient & safer after changing system files while booted to android? it's what i did instead of rebooting via power button, as you'll most likely see an FC fiesta after replacing these files.
maxq1 said:
nvm that (i was thinking on the same lines too though) but thanks anyway! appreciate it.
thanks to your guide, was able to change my fonts and added that flying in pop up animation as well. for these two, however, i don't think we need the kitchen though and for that matter, we don't need to modify systemui & twframework.
for fonts (you could use font changer apps, but i hate doing so for such things), take any you fancy from anywhere here in xda (WARNING: only extract the downloaded file to your device/pc) then rename (case sensitive) font files accordingly: Clockopia.ttf, DroidSans.ttf, DroidSans-Bold.ttf. copy these to sd & push to /system/fonts/ using similar cp command/s from OP.
for pop up animation, you could follow this guide. no need to sign after replacing files in /res/anim. copy modded framework-res.apk to sd then push to device via same commands in OP.
btw, wouldn't issuing "reboot" within adb shell be more convenient & safer after changing system files while booted to android? it's what i did instead of rebooting via power button, as you'll most likely see an FC fiesta after replacing these files.
Click to expand...
Click to collapse
Theses are good suggestions, will definitely give them a try.
As for changing system fonts, I like to use the Font Installer app on the market
https://market.android.com/details?id=com.canvs2321.font_installer&hl=en The nice thing is I can preview the fonts before changing them.
As for the reboot, actually I did try using the reboot command once but it toasted my rom on that occasion. That's why I didn't mention the method in the guide. May be I should give that another try next time.
Hopefully, we will get CWM soon then it will be much easier to flash these mods.
WT Ho said:
I think the accuracy of the battery level is deeper down in the system, may be in the kernel?
If you try different types of battery widget on Galaxy Player, they all have very bad accuracy.
Click to expand...
Click to collapse
Kernel battery driver is very simplistic and only has 5% increments in the numbers it returns.
On my list to look at once I finish CWM - no guarantees.
thhhhhhhhhhhhhhanxx
I am on ShishirROM ICS and I really like the Rom over all. However in his latest up date he included the stock ICS lock screen and scrolling wallpaper and I personally prefer the ones from the previous release. I am willing to do the work to revert them to what I want but want to make sure I am on the right track. Is this guide from the walkthrough sticky the correct way to do this (How to manually replace modded/stock system files)? I have both versions of the ROM on my laptop so I am thinking I can pull what I want from one and use the guide above to replace it in the other. Thank you in advance for your help.
Switch the android.policy.jar file and that should give you the old lockscreen.
That's generally all you should do for deodex, so I do not know since his rom is odex.
LiLChris06 said:
Switch the android.policy.jar file and that should give you the old lockscreen.
That's generally all you should do for deodex, so I do not know since his rom is odex.
Click to expand...
Click to collapse
Thanks Ill give it a shot and see. Whats the worst that can happen? Lol
Bootloop, reflash the rom without wipe.
LiLChris06 said:
Switch the android.policy.jar file and that should give you the old lock screen.
That's generally all you should do for deodex, so I do not know since his ROM is odex.
Click to expand...
Click to collapse
Not sure why but when I replace the android.policy.jar file and reboot I still have the same lock screen.
what I am doing. Unpack ROM, copy android.policy.jar from laptop to external SD, move file to system, change permissions to match existing file(rw-r-r), confirm permission change, move file to framework, replace existing file OK, back out of root explorer and reboot.
Any suggestions would be appreciated thanks.
3-Way Reboot Menu
EU 10.3.7.0 version : Work fine
EU_Poco_F1_PowerMenu_Custom_Miui-10.3.7.0_Stable_by_Monpseudo.zip
To restore stock version , flash this file:
EU_Restore_Poco_F1_PowerMenu_Miui-10.3.7.0_Stable_by_Monpseudo.zip
Global 10.3.7.0 version : Someone to test? Not sure it works ...
Global_Poco_F1_PowerMenu_Custom_Miui-10.3.7.0_Stable_by_Monpseudo.zip ???
Make a system backup before the flash. The first start can be long...
To restore stock version , flash this file:
Global_Restore_Poco_F1_PowerMenu_Miui-10.3.7.0_Stable_by_Monpseudo.zip
Credit:
Thanks to @dr4kendroid by whom I was inspired to obtain this mod
Installation:
- Make a backup of system partition with twrp
-Use Twrp recovery to flash the zip file
Previous versions:
Poco_F1_PowerMenu_Custom_Miui-10.0.4.0_Global_Stable.zip
Poco_F1_PowerMenu_Custom_Miui-9.6.24.0_Global_Stable.zip
Poco_F1_PowerMenu_Custom_Miui-9.6.22.0_Global_Stable.zip
Poco_F1_Restore_PowerMenu_Miui-10.0.6.0_Global_Stable_by_Monpseudo.zip
Poco_F1_Restore_PowerMenu_Miui-10.0.4.0_Global_Stable.zip
Poco_F1_Restore_PowerMenu_Miui-9.6.24.0_Global_Stable.zip
Poco_F1_Restore_PowerMenu_Miui-9.6.25.0_Global_Stable.zip
Poco_F1_Restauration_PowerMenu_Miui-9.6.22.0_Global_Stable.zip
Update to 9.6.24 Global stable version
Is this work with miui 10
abdohop said:
Is this work with miui 10
Click to expand...
Click to collapse
No, just miui 9.6.24.0
Update 17/10/2018
Compatible with the 9.6.25.0 sotck version
Add 9.6.25.0 restore files .
Kindly make for MIUI 8.11.1 Android 9.
Update 2/11/2018
Addition of 10.0.4.0 Miui version
Update 18/11/2018
Addition of 10.0.6.0 Miui version
why we must flash zip?
1 use root explorer like mixplorer.apk,
2 go to system/media/theme/default and rename 'powermenu' to powermenu.apk2 (for backup that file)
3 download 'powermenu.zip' from attach files and delete '.zip' (cant upload file name 'powermenu' whitout '.zip' extensions)
4 copy file 'powermenu' from attach files to system/media/theme/default (check permissions 644)
5 no need reboot
for restore orginal files delete 'powermenu' and rename powermenu.apk2 to 'powermenu'. no need reboot.
mikussj3 said:
why we must flash zip?
1 use root explorer like mixplorer.apk,
2 go to system/media/theme/default and rename 'powermenu' to powermenu.apk2 (for backup that file)
3 download 'powermenu.zip' from attach files and delete '.zip' (cant upload file name 'powermenu' whitout '.zip' extensions)
4 copy file 'powermenu' from attach files to system/media/theme/default (check permissions 644)
5 no need reboot
for restore orginal files delete 'powermenu' and rename powermenu.apk2 to 'powermenu'. no need reboot.
Click to expand...
Click to collapse
Icons are there but clicks are not working since your zip is pngs only and not modding services.jar
mikussj3 said:
why we must flash zip?
.
Click to expand...
Click to collapse
Thank you for your solution but I am going to allow to bring you an answer
Because simply most of the users prefer to flash a zip file without having to make other manipulations. Many feel reassuring so by operating
But if you are willing I am also going to bring a quite small criticism in your description of your solution
mikussj3 said:
1 use root explorer like mixplorer.apk,
2 go to system/media/theme/default and rename 'powermenu' to powermenu.apk2 (for backup that file)
3 download 'powermenu.zip' from attach files and delete '.zip' (cant upload file name 'powermenu' whitout '.zip' extensions)
4 copy file 'powermenu' from attach files to system/media/theme/default (check permissions 644)
5 no need reboot
for restore orginal files delete 'powermenu' and rename powermenu.apk2 to 'powermenu'. no need reboot.
Click to expand...
Click to collapse
You sure you do not forget anything?
Because if you apply only it there will be no change.
50 % of the work is missing so that actually the new functions are present in powermenu . As for example to edit the services.jar file ...
Excuse me, it is not 50 % which it misses but 90 % in fact. Because you have to de-odex services.jar file, decompile services.jar file, recompile services.jar file, edit servives.jar file, and copy the new services.jar file in framework folder with 644 permission.
But I am certain that it is just any forgetting from you and that you fast go to correct your solution
Thank you in advance
slimshouki said:
Icons are there but clicks are not working since your zip is pngs only and not modding services.jar
Click to expand...
Click to collapse
i use mine ,'powermenu' and working perfect whitout modify service.jar. are you try my way? im on last EU miui 11.15. mayby on orginal global rom dont work?
jac10000 said:
Thank you for your solution but I am going to allow to bring you an answer
Because simply most of the users prefer to flash a zip file without having to make other manipulations. Many feel reassuring so by operating
But if you are willing I am also going to bring a quite small criticism in your description of your solution
You sure you do not forget anything?
Because if you apply only it there will be no change.
50 % of the work is missing so that actually the new functions are present in powermenu . As for example to edit the services.jar file ...
Excuse me, it is not 50 % which it misses but 90 % in fact. Because you have to de-odex services.jar file, decompile services.jar file, recompile services.jar file, edit servives.jar file, and copy the new services.jar file in framework folder with 644 permission.
But I am certain that it is just any forgetting from you and that you fast go to correct your solution
Thank you in advance
Click to expand...
Click to collapse
Of course this is the correct way to go. However, your deodexed services.jar is not good as stock in terms of performance, delays, random freezes and touch delays. Seems that some bugs exist in your kitchen. I tried it many times in 10.0.4 and in 10.0.6 with same behaviour. I revert back to stock.
Thank you for your efforts and your time as well
slimshouki said:
Of course this is the correct way to go. However, your deodexed services.jar is not good as stock in terms of performance, delays, random freezes and touch delays. Seems that some bugs exist in your kitchen. I tried it many times in 10.0.4 and in 10.0.6 with same behaviour. I revert back to stock.
Thank you for your efforts and your time as well
Click to expand...
Click to collapse
I have never had this kind of problems ...
jac10000 said:
I have never had this kind of problems ...
Click to expand...
Click to collapse
May be you cannot feel it now but you will certainly feel the difference if you flashed stock after a while.
Regarding modded systemui, tiny difference is not noticeable at all.
Dear dev, you're doing a unique job on both your mods. Please continue the same as they're both must have for the ones who are on MIUI.
Thanks a lot. Keep it going.!
Also if you're on Telegram, please mention your username in the OP so people can contact you easliy for bugs, requests etc.
Cheers.
psygarden said:
Dear dev, you're doing a unique job on both your mods. Please continue the same as they're both must have for the ones who are on MIUI.
Thanks a lot. Keep it going.!
Also if you're on Telegram, please mention your username in the OP so people can contact you easliy for bugs, requests etc.
Cheers.
Click to expand...
Click to collapse
Thank you for your encouragement
Sorry I don't have Telegram.
And I'm not a dev, just a user as you who got hooked to mod stock rom since a few years. I have never followed formation in computing and my job has nothing to do with that. It is just as a game for me to bring these modifications.
jac10000 said:
3-Way Reboot Menu
Discontinued
I am sorry, the adventure stops here for me.
That takes me too much time and that disrupts what I have to make at my home and my work.
For me that will stop to Miui 10.0.6
It is too fascinating and I have to dedicate myself to something else ...
Update 18/11/2018
Addition of 10.0.6.0 Miui version
[/HIDE]
Click to expand...
Click to collapse
Battery drain is horrible. Have you noticed that??
New Methods for bootloader and recovery added in
Smali seems is causing the problem.
slimshouki said:
Battery drain is horrible. Have you noticed that??
New Methods for bootloader and recovery added in
Smali seems is causing the problem.
Click to expand...
Click to collapse
I do not meet this problem ...
jac10000 said:
I do not meet this problem ...
Click to expand...
Click to collapse
Have you noticed that samlis r the same of 10.0.4