[Mod] 3-Way Reboot Menu - Miui 10.3.7.0 [Random] - Xiaomi Poco F1 Themes, Apps, and Mods

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

Related

[MOD][COG-4][UnNamed] Over-scroll Glow!

Discontinued. The latest versions of all previously supported ROMs have this functionality built in.
This gives you an over-scroll glow when you reach the end of a list.
I really hope you knew that before clicking on this thread.
Example if you don't know what I'm talking about
It's just a modified framework.jar with modified files allowing the over-scroll to work and the correct glow images assigned to it. Theming is very easy, just colorize the over-scroll glow pngs in framework-res.apk. The default is orange.
What I want to do with this thread is sort of have a place where you can find the over-scroll enabling mod for every popular ROM for our phones. If you think I should support a ROM that I currently don't, then please post in the forums because I read every post! Ask to put a ROM on the wishlist. Upload the ROM's framework-res.apk and framework.jar files and I'll work on it when I'm not busy with school.
Currently, the wish list is:
Stock KH7
[Update on 10/15/11] UnNamed v1.0.1 compatible files uploaded. Give them a try. Honorable mention to quarlow
Installation:
BACK UP YOUR OLD FRAMEWORK.JAR
Because I'll just laugh at you if you complain that your phone won't boot up.
>>>ADB:
Code:
Extract the CWM package to get the framework.jar
adb remount
adb shell
su
cd /system/framework/
cp framework.jar framework.jar.backup
exit
exit
adb push framework.jar /system/framework/
adb reboot
>>>ROOT EXPLORER:
Extract the CWM package to get the framework.jar
Okay, now you can theoretically do this, but why would you want to? You'll get lots of crashes and might mess something important up.
Go to: /system/framework/ and rename framework.jar to something else. Go back to where-ever you saved my modified framework.jar and copy it over to /system/framework/ and change the permissions of the new framework.jar to match the old one. I'm pretty sure it's rw-r--r--, but don't quote me on that. + Restart your phone.
Simba501 has a more indepth tutorial on how to install this mod through Root Explorer here
>>>RECOVERY (preferred):
Flash the one specific to the ROM you're running
Whatever method you choose, know that it will take a stupidly long time for your phone to boot-up. Don't worry though, it'll be worth the wait.
Yoderk created some cool themes for the over-scroll glow for Cognition Beta-4 which you can find HERE.
UnNamed 1.0.1 works with 1.0.2 and 1.0.3 as well.
Also, please remember to say THANKS if I helped you!
cwm please!!
<3
diabolicalangle said:
cwm please!!
<3
Click to expand...
Click to collapse
It's there if you REALLY need it. I haven't tested it and to be honest, it's been a very very long time since I made my last CWM compatible file. Maybe it works though, try it out. If not, then use one of the other methods.
Fine work sir! Works well on Cog Beta 4.
yoderk said:
Fine work sir! Works well on Cog Beta 4.
Click to expand...
Click to collapse
That's awesome! Someone test it on stock w/ root, because if it works there, I'll be amazed.
Confirming that the cwm flashable zip works on cog beta 3!
Working fine here. I'm technically on Beta 1, but I've manually added the components I wanted from each Beta update because there were things I didn't want.
I have a suggestion. I don't know why everyone repeats that method for using root explorer. That's a terrible way to do it. I always use root explorer to manually replace my files and have never experienced any issues. Here is the correct way to use root explorer for manually replacing modded files:
1. Navigate to the file that you plan to replace (in this case, system/framework/framework.jar).
2. Copy (not move) the file and paste it somewhere on your SD card (internal or external, doesn't matter - as long as you can locate it in case you need to put it back). Rename the file you just pasted, but very subtly. For example, when renaming framework.jar, I would only throw something in front of the file name, such as "Backup - framework.jar", so I can easily distinguish it from the new file if I put them in the same spot.
3. NANDROID BACKUP!
4. Download/put on your sd card (whatever you do) the new file that you want to replace the old one with.
5. Move the new file to /system (not in a subfolder yet). Here you will change the permissions, which is crucial to avoid FCs and problems. In root explorer, you would long press the file, press permissions, and set them to whatever the old file's permissions are. This may require going to verify what they are before starting this step. In this case, the permissions are RW-R-R, which in root explorer, means that the first two boxes on the first line are checked and only the first box on the next two lines are checked.
6. Ensure that your new file is correctly named to exactly what it is replacing (case actually matters) and that the permissions also match what it is replacing.
7. Move your new file to the folder, root explorer will ask if you want to replace the file. Confirm.
8. Back out of root explorer and immediately reboot.
No force closes, no problems .
Cwm file worked great on cog beta 4. Thnkz!!
Sent from my SAMSUNG-SGH-I777 Cognition
Simba501 said:
Working fine here. I'm technically on Beta 1, but I've manually added the components I wanted from each Beta update because there were things I didn't want.
I have a suggestion. I don't know why everyone repeats that method for using root explorer. That's a terrible way to do it. I always use root explorer to manually replace my files and have never experienced any issues. Here is the correct way to use root explorer for manually replacing modded files:
...
No force closes, no problems .
Click to expand...
Click to collapse
Thanks! I added your tutorial to the OP.
Well if your like me and hate orange! Then here are two framework-res.apk with a blue and green overscroll color. Just rename them to framework-res.apk and overwrite the original file in system/framework.
Do not forget to back up original file! I claim no responsibility to problems.
Very subtle but a very nice touch...kudos...came zip worked great!!!
Sent from my SAMSUNG-SGH-I777 using XDA App
stock with root, i've got nothing. tried root explorer method and cwm
Does this still have the problem of not changing the Contacts or other Samsung apps?
illathanyours said:
stock with root, i've got nothing. tried root explorer method and cwm
Click to expand...
Click to collapse
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
MikeyMike01 said:
Does this still have the problem of not changing the Contacts or other Samsung apps?
Click to expand...
Click to collapse
Yes. Those need the tw-framework to be modified and I haven't taken a look at those yet since I'm trying out Perception for a couple of days and that already has it coded in? But it isn't a problem per-say, it's just how Samsung decided to code those specific apps and there isn't a way to implement them in 2.3.4 without breaking the slide left to call, slide right to message, feature. 2.3.5 Roms have that built in on Samsung apps.
Problem probably isn't the best word.
Thanks for answering though. I always wanted the overscroll but having mixed bothered me.
Sent from my SGH-i777
shishir95 said:
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
Well it's not that pressing of an issue, but maybe I'll send it to you later but right now I'm Dealing with insane iPhone customers, makes me want to hang myself... If 2.3.5 is gonna be coming sometime soon I wouldn't care about the wait.
Anyone know about 2.3.5 ota eta?
Sent from illaphone.
Click to expand...
Click to collapse
illathanyours said:
shishir95 said:
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
Well it's not that pressing of an issue, but maybe I'll send it to you later but right now I'm Dealing with insane iPhone customers, makes me want to hang myself... If 2.3.5 is gonna be coming sometime soon I wouldn't care about the wait.
Anyone know about 2.3.5 ota eta?
Sent from illaphone.
Click to expand...
Click to collapse
There's a leaked 2.3.5 ROM for the i777 but personally I'm using designgear's Perception which is a port of a i9100 ROM and it works perfectly. I'd recommend the latter since leaked ROMs tend to have problems.
Click to expand...
Click to collapse
could you modify the framework.jar for UnNamed v1.0.1 - First ever well documented and open source stock derived rom? It has the extended power menu and if I overwrite the framework.jar using this it will break that extended power menu. Much thanks for getting the overscroll glow!!
Skyler2Dope said:
could you modify the framework.jar for UnNamed v1.0.1 - First ever well documented and open source stock derived rom? It has the extended power menu and if I overwrite the framework.jar using this it will break that extended power menu. Much thanks for getting the overscroll glow!!
Click to expand...
Click to collapse
I'll give it a try if there's enough demand for it.
shishir95 said:
I'll give it a try if there's enough demand for it.
Click to expand...
Click to collapse
+1 here

[Froyo]9 Lockscreen mod without small icons for JPU

Hi all.
First, all credits go to Kyrillos and Hillbeast cause they show me how to fix that
Sooo here we go : You wanna enable 9 lockscreen mod without these ugly small bug icons and you want that with every deodexed JPU rom ?
Follow those steps !
* Download this .zip : Download here
It contains the framework and the libs that enable 9 lockscreen mod.
* Now you have two choices:
- Either you flash by CWM directly, without changing anything, so you will have by default the theme of Kyrillos v9.0+.
If you do so, then you can flash all themes that are compatible with 9 lockscreen mod (Delete all the .jar files in the update !! And follow the theme installation of course )
- Either you change the .zip, by adding your own framework-res.apk and twframework-res.apk (Do not forget your themed apps, add a folder 'app' in /system (Use 7-Zip to do so))
WARNING : Do not remove / modify the lib folder or these three files from framework folder : framework.jar, services.jar and android.policy.jar
* Reboot your phone, and enjoy
Credits :
Kyrillos for helping and his modified framework
Hillbeast for show me the way of missing libs
___________________________________________________________________
Got problems ? Read this :
I flash my theme and I got a bootloop ???
Click to expand...
Click to collapse
Try wipe dalvik cache.
If it doesnt work, check that you have removed all .jar in the .zip of your theme. You only need jars files from my zip that you downloaded.
Then if it doesnt work too, post in the thread, the community will help you
You should add that it works on JPU. On any other froyo firmware it may be buggy.
Ah sorry yes..
I always forgot that Indians got an other firmware... Sorry, will modify that ^^'
If someone on ddjp6 could try and tell us, would be great
Sent from my Elora galaxy 3
Is this 9 lockscreen MOD?
Yes, it's a way to enable it in JPU (with a default theme : Kyrillos v9.0+, and all libs required)
After flash it, u can flash every theme which requires 9 lockscreen mod, like Miui 1.4.5 by Ghost in the Ruins for example
I'm currently on a stock JPU deodexed with the Miui 1.4.5 theme
So do i have to install kyrllios 9+?
Sorry for questions. I'm noob.
Certainly not
You can just flash this .zip from CWM without modified anything and enjoy with 9 lsm. By default, you'll get Kyrillos v9.0 THEME, just the theme ^^
Then, you can flash every theme you want that requires 9lsm
Nice share mate. This should solve the confusion. I will redirect my theme threads to here for users who are not on custom ROMs.
Is every lib file is necessary in the package you provided, because I noticed that one lib file is of terminal emulator.
I put libs files from Hillbeast.
I will modify it when i can
Sent from my Elora galaxy 3
After flashing the file (wiping dalvik-cache and cache) and rebooting my bootanimation appears but after that booting stucks and all I see is a black screen. It won't start at all.
I tried flashing the zip as it is and a zip containing my framework-res.apk and twframework-res.apk from a UOT-Kitchen-Theme. I also did a third zip containing my SystemUI.apk (which is not affected by my UOT Theme)
For replacing I used 7zip as recommended and also Total Commander.
I'm using a Custom deodexed JPU with converted filesystem as follows:
stl6 ext2
stl7 ext4
stl8 ext2
Any idea on fixing this? (I have a CWM-Backup, so nothing can get lost )
t-rip said:
I tried flashing the zip as it is and a zip containing my framework-res.apk and twframework-res.apk from a UOT-Kitchen-Theme. I also did a third zip containing my SystemUI.apk (which is not affected by my UOT Theme)
For replacing I used 7zip as recommended and also Total Commander.
Any idea on fixing this? (I have a CWM-Backup, so nothing can get lost )
Click to expand...
Click to collapse
Is the framework that you put in the zip 9 lockscreen modded?? Either flash the zip as it is or put a framework-res.ap that is 9 lockscreen modded into the zip and flash,
And SystemUI.apk?? We don t have SystemUI.apk in Froyo. Please don t put that.
I flashed it as it is AND with my modded framework-res.apk and twframework-res.apk. So I flashed 2 different zips with restoring system and wiping caches between the flash operations. Both zips didn't work.
The SystemUI.apk I used is the one I took from my phone and I replaced the one in the zip for testing purposes.
Do I only have to replace the framework-res.apk and have to leave twframework-res.apk untouched?
t-rip said:
I flashed it as it is AND with my modded framework-res.apk and twframework-res.apk. So I flashed 2 different zips with restoring system and wiping caches between the flash operations. Both zips didn't work.
The SystemUI.apk I used is the one I took from my phone and I replaced the one in the zip for testing purposes.
Do I only have to replace the framework-res.apk and have to leave twframework-res.apk untouched?
Click to expand...
Click to collapse
No. twframework-res.apk is not modded for 9 locks. Its the same. If you flashed the zip as it is without replacing any files and it still didn t work?? Then I don t have any idea.:/
That's the problem. The provided zip doesn't work. I tried it.
alternative download link possible?
Hi all,
the link given in the first posting is dead -> goes to megaupload.
Would it be possible to get a mirror download link?
That would be very great.
Thanks in advance.
Cheers
qaysed
Yup, sorry. Due to down of MU, i'll give us an alternate download link, but it's not on this PC.
If someone else could up it for me (i could up it in 2 days) thanks in advance for all.
Here's a mirror while megaupload is down or you reuped the zip by yourself.
http://ul.to/ku5rvvya
runs perfect!
thanks for the quick mirror!
works like a charme.
No stopping services, no reboots or freezes.
Libs are also exchanged... that´s new to me.
I assume that is the root cause for my problems, in exchanging the frameworks.
Have to accustom myself to the four symbols on lock screen. First try: opened the phone
and thanks to halco for distributing the file
and of course hillbeast and kyrillos mentioned already in the first posting
Cheers
qaysed
hi, can you upload to other websites plz! Megaupload is dead

Status bar background

How to change the status-bar background?
i want to change the transparent black background with the image in attachment so that it match my theme.
So which files i have to replace with this background?
Using xPeria Mini with stock ICS ROM
So no help?:crying:
piousheart said:
So no help?:crying:
Click to expand...
Click to collapse
Try to post in Themes and Apps section.
Publiuss said:
Try to post in Themes and Apps section.
Click to expand...
Click to collapse
What is this thread?
mobilephone01 said:
What is this thread?
Click to expand...
Click to collapse
Actually this thread was in general but i moved it
And guys will you all please stick to the topic..any help?
maybe this ??
http://forum.xda-developers.com/showthread.php?t=1786889
iiandskater said:
maybe this ??
http://forum.xda-developers.com/showthread.php?t=1786889
Click to expand...
Click to collapse
See here is my systemUI.apk please add the image at OP (opaque)
piousheart said:
See here is my systemUI.apk please add the image at OP (opaque)
Click to expand...
Click to collapse
Why not do it yourself? There is plenty of TUT's around that help you decompile and recompile apks.
evilbarcode said:
Why not do it yourself? There is plenty of TUT's around that help you decompile and recompile apks.
Click to expand...
Click to collapse
I tried but when i recompile it & push it in system\app with proper permission, after rebooting phone it stuck bootlogo..
The same happens when i tried to decompile DefaultThemes.apk & MusicWidget.apk they both were not installed...
then i searched & found that we have to compress the resources.arc blablablaaa... & signing with recompiling system apk..
Still after giving a lot of tries i dont understand how to use signing & compress resources.arc blablaballl idk..
If you know than may be you can teach
Rebooted my phone 100z of time to check every method i found but no success
Now i dont wana harm my phone, rebooting it again & again for the things that isn't working for me...
See this thread, i asked on xda but people aren't explaining properly, they just stop answering after certain question:crying:
piousheart said:
See this thread, i asked on xda but people aren't explaining properly, they just stop answering after certain question:crying:
Click to expand...
Click to collapse
Well, I am a bit on the busy side.... I assume you didn't try my tool then?
To do this manually, you need to first recompile your apk after you've done all your changes. You already know this bit.
Then:
Make a copy of the old apk
Use 7zip to open both the copy and the recompiled apk
Drag the 'res' folder from the recompiled apk to the copy
Close the copy
Extract 'resources.arsc' from the recompiled apk
Add 'resources.arsc' to the copy, selecting 'STORE' compression
Close the recompiled apk
Open the copy and check that resources.arsc has the same size and packed size
Reboot the phone and go into recovery
Mount the /system partition
Push the apk straight to the right folder
Unmount the /system partition
Reboot the phone
Wait for it all to load
Wait a bit longer
Wait a bit longer still
And you're done.
If you've pulled the app from the phone to a Windows PC then you don't need to worry about permissions. That's only when you copy the app to your sdcard or pull the app using Linux.
Going into recovery might not be needed. Pushing system apps while the phone is running can cause some nasty bugs so I always use recovery just to play it safe. You'll need to reboot most of the time anyway to see the changes you've made.
Instead of pushing, you could make a flashable zip. As an amazing coincidence, Tickle My Android can do that too.
Ticklefish said:
Well, I am a bit on the busy side.... I assume you didn't try my tool then?
To do this manually, you need to first recompile your apk after you've done all your changes. You already know this bit.
Then:
Make a copy of the old apk
Use 7zip to open both the copy and the recompiled apk
Drag the 'res' folder from the recompiled apk to the copy
Close the copy
Extract 'resources.arsc' from the recompiled apk
Add 'resources.arsc' to the copy, selecting 'STORE' compression
Close the recompiled apk
Open the copy and check that resources.arsc has the same size and packed size
Reboot the phone and go into recovery
Mount the /system partition
Push the apk straight to the right folder
Unmount the /system partition
Reboot the phone
Wait for it all to load
Wait a bit longer
Wait a bit longer still
And you're done.
If you've pulled the app from the phone to a Windows PC then you don't need to worry about permissions. That's only when you copy the app to your sdcard or pull the app using Linux.
Going into recovery might not be needed. Pushing system apps while the phone is running can cause some nasty bugs so I always use recovery just to play it safe. You'll need to reboot most of the time anyway to see the changes you've made.
Instead of pushing, you could make a flashable zip. As an amazing coincidence, Tickle My Android can do that too.
Click to expand...
Click to collapse
Thank you brother i will try it
and yes i have your tool too, it helped me to restore system fonts when i messed with it & had a bootloop:victory:
Great tool:good:
BTW can i use winrar instead of 7zip?
Where is 'STORE' compression can be found in winrar?
How to check that resources.arsc has the same size ( same size compared to with file? ) and packed size?
piousheart said:
Thank you brother i will try it
and yes i have your tool too, it helped me to restore system fonts when i messed with it & had a bootloop:victory:
Great tool:good:
BTW can i use winrar instead of 7zip?
Click to expand...
Click to collapse
Excellent. I'm glad it helped.
Technically, you could use any archival program but it has to be one that lets you add files to an archive without compressing them. I find 7zip to be fairly quick and user-friendly. Plus, it's free which is always a good thing.
Ticklefish said:
Excellent. I'm glad it helped.
Technically, you could use any archival program but it has to be one that lets you add files to an archive without compressing them. I find 7zip to be fairly quick and user-friendly. Plus, it's free which is always a good thing.
Click to expand...
Click to collapse
Where is 'STORE' compression can be found in winrar?
How to check that resources.arsc has the same size ( same size compared to with file? ) and packed size?
piousheart said:
Where is 'STORE' compression can be found in winrar?
How to check that resources.arsc has the same size ( same size compared to with file? ) and packed size?
Click to expand...
Click to collapse
I don't know. I don't even know if winrar can do it. That's why I suggested using 7zip instead.
To check sizes, just open the app (again, this is using 7zip) and look at the numbers to the right of resources.arsc. One is the original size of the file, the other is the size it's been compressed to. These need to be the same.
Ticklefish said:
I don't know. I don't even know if winrar can do it. That's why I suggested using 7zip instead.
To check sizes, just open the app (again, this is using 7zip) and look at the numbers to the right of resources.arsc. One is the original size of the file, the other is the size it's been compressed to. These need to be the same.
Click to expand...
Click to collapse
Leme have my hands on some app..
Edit : I tried this but when ever i put it back to sdcard and look at it the app loses its icon ( just a green android logo ) and when i put it in syste\app with proper permission & then restart it doesn't install and even i tried to install as normal apk then it says parse problem..
What i am doing wrong i followed the same procedure above & also the size of resources is same.
piousheart said:
Leme have my hands on some app..
Edit : I tried this but when ever i put it back to sdcard and look at it the app loses its icon ( just a green android logo ) and when i put it in syste\app with proper permission & then restart it doesn't install and even i tried to install as normal apk then it says parse problem..
What i am doing wrong i followed the same procedure above & also the size of resources is same.
Click to expand...
Click to collapse
I got your pm asking me to reply to this. I do most of my android modding stuff during spare moments at work because I don't have the time at home so I'd have gotten round to answering this in time.
I'm not sure what you're doing wrong here. Since you're got my tool installed, try using that first. If that works, then we know that there's something going wrong with the manual procedure and we can fix it.
If it doesn't work, then there's something wrong with the mod you're doing and we need to fix that instead.
Ticklefish said:
I got your pm asking me to reply to this. I do most of my android modding stuff during spare moments at work because I don't have the time at home so I'd have gotten round to answering this in time.
I'm not sure what you're doing wrong here. Since you're got my tool installed, try using that first. If that works, then we know that there's something going wrong with the manual procedure and we can fix it.
If it doesn't work, then there's something wrong with the mod you're doing and we need to fix that instead.
Click to expand...
Click to collapse
Okay thanks..
So i tried to mod even after knowing that it wont work as before..
So what i did in DefaultThemes.apk is edited the Androidmanifest & string files to change the name & nothing else
is i am doing it editing wrong file and yes how can i use your tool for this?
Originally Posted by Ticklefish<br />
I got your pm asking me to reply to this. I do most of my android modding stuff during spare moments at work because I don't have the time at home so I'd have gotten round to answering this in time.<br />
<br />
I'm not sure what you're doing wrong here. Since you're got my tool installed, try using that first. If that works, then we know that there's something going wrong with the manual procedure and we can fix it.<br />
If it doesn't work, then there's something wrong with the mod you're doing and we need to fix that instead.
Click to expand...
Click to collapse
<br />
<br />
Okay thanks..<br />
So i tried to mod even after knowing that it wont work as before..<br />
So what i did in DefaultThemes.apk is edited the Androidmanifest & string files to change the name & nothing else<br />
is i am doing it editing wrong file and yes how can i use your tool for this?
Click to expand...
Click to collapse
To be honest, I don't know how to change the name of an app. It's something I've never done before.
I suspect that you've gotten the mod wrong somewhere but unfortunately I can't advise on where that could be.
Sorry, mate.

[MOD] L600 Sprint Mega Flashlight Toggle Mod TW 4.4.2 [KK]

Flashlight Quick Toggle Mod TW 4.4.2 NE4 ( De-Odexed )
​[FONT=&quot]This mod was made for the Sprint L600 Mega and is for the [/FONT][FONT=&quot]STOCK[/FONT][FONT=&quot] 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=&quot]
[/FONT][FONT=&quot]DISCLAIMER:[/FONT]
​[FONT=&quot]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=&quot]NANDROID BACKUP[/FONT]
[FONT=&quot]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=&quot]device by flashing or modifying your OS incorrectly. [/FONT]
[FONT=&quot]You[/FONT][FONT=&quot] Have Been Warned !![/FONT]​[FONT=&quot]​[/FONT]
[FONT=&quot]What's Needed/Recommended:[/FONT]​
[FONT=&quot]Rooted Devise [/FONT][FONT=&quot]( to extract the needed files Manually for backup )[/FONT][FONT=&quot]
[/FONT][FONT=&quot]Custom Recovery [/FONT][FONT=&quot]( TWRP or CWMR/PhilZ for Flashing the ZIP )[/FONT][FONT=&quot]
[/FONT][FONT=&quot]Aroma File Browser/Explorer[/FONT][FONT=&quot] ( type browser in CWMR/PhilZ Recovery to manually move the files )[/FONT][FONT=&quot]
[/FONT][FONT=&quot]If you can do it via ADB Commands then all power to you.....[/FONT]
[FONT=&quot]I am providing [/FONT][FONT=&quot]BOTH[/FONT][FONT=&quot] stock Modded Sprint [/FONT][FONT=&quot]( SystemUI.apk )[/FONT][FONT=&quot] and [/FONT][FONT=&quot]( SecSettings.apk )[/FONT][FONT=&quot] files [/FONT][FONT=&quot]below.[/FONT]​
Flashlight Toggle Zip Flashable zip ( Tested - Not working - Removed )
SecSettings.apk
SystemUI.apk​ [FONT=&quot]
[/FONT]
[FONT=&quot]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=&quot]Aroma File Explorer[FONT=&quot] for CWMR [/FONT][FONT=&quot]) or other means to copy & paste or push the .apk files to [/FONT][FONT=&quot]system/priv-app/[/FONT][FONT=&quot]. If you decide to do this manually, you will then need to set the file permissions to the modified apk files to[/FONT][FONT=&quot] 0644 [/FONT][FONT=&quot]and/or [/FONT][FONT=&quot]check mark off[/FONT][FONT=&quot] 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=&quot]Flashlight[/FONT][FONT=&quot]” value in your settings.db file located in data\data\com.android.providers.settings\databases described in the link [/FONT][FONT=&quot]here[/FONT][FONT=&quot] . After just clear " [/FONT][FONT=&quot]cache[/FONT][FONT=&quot] " and " [/FONT][FONT=&quot]dalvik cache[/FONT][FONT=&quot]"ONLY after flashing or manually pasting the mod if you so choose.[/FONT][/FONT]​​
[FONT=&quot]Words of caution[/FONT][FONT=&quot].....[/FONT]​[FONT=&quot]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=&quot]Other Galaxy Mega Variants[/FONT][FONT=&quot] - [/FONT][FONT=&quot]Disclaimer[/FONT][FONT=&quot]:[/FONT]
​[FONT=&quot]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=&quot]================================================== =================[/FONT]​[FONT=&quot]
Thanks and credits go out to :[/FONT]
[FONT=&quot]@rompnit
@tdunham
@CNexus[/FONT]
[FONT=&quot]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=&quot]&
Google & Samsung.......
[/FONT][FONT=&quot]
[/FONT]​[FONT=&quot]
[/FONT][FONT=&quot]Enjoy! [/FONT][FONT=&quot]
[/FONT][FONT=&quot]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.

How to deodex Xperia Z2 6.0.1 firmware?

Can anyone tell me how to deodex Xperia Z2 6.0.1 firmware step by step? Thanks in advance....
+1
I am also looking for the same. On MM rom, Sony is using symlinks to link odex files.
A step by step guide would be highly appreciated.
Thank you
I'm not gonna go into deep details, but this should help.
- flash MM rom for your device, make sure it is ROOTED as you'll need to use an explorer with root access,it's better if you do this on a clean install, but this is just me
- boot your device and go through the setup process
- once done, install a browser with root access, I recommend MiXplorer, root explorer
- browse into /system folder
- check your /app, /framework, /priv-app, they should have odex files inside them (this was the case for me)
- copy these folders, plus build.prop file into sd card or the phone memory
- connect phone to pc and copy files over
- look up and download SVADeodexerForArtx(32 or 64 based on your system), you also need to have java installed on your machine.
- extract the SVADeodexerForArtxxx to your c: drive, and create a folder named /system insides, and post the files from your phone inside that
- your final folder will look something like this : c:/SVADeodexerForArtxxx/system/ (app, framework,priv-app) and build.prop file
- remember to move the Semcxxx app folder from /framework into /app folder or it won't be deodexed
- run SVADeodexerForArtxxx and point it to your /system folder, it will show you your android version, tick the checkbox for app, framework, priv-app, hit the start button
- it'll run and once done the log file will open and tell you how many were deodexed.
- the deodexed folders will be in the base folder, make sure to return the Semcxxx folder from the /apps to /framework
- create a flashable zip and flash these folders back on your rom
now your rom is deodexed
install Rom eXistenZ MM, rom is rooted and deodex
lokitooxd said:
install Rom eXistenZ MM, rom is rooted and deodex
Click to expand...
Click to collapse
The intention of this post was to learn how to do it. I know there is existenz and ultraslim deodexed roms. Thanks anyway.
@ticktock666
Thanks for the steps.
These steps looks to be from older version. Anybody with 6.0 Sony MM steps?
@ticktock666
There are certain other folders such as odex.app, odex.framework, odex.priv-app...what about these? These folders also contains similar odex files for app, framework and pri-app...
AlanDS said:
These steps looks to be from older version. Anybody with 6.0 Sony MM steps?
Click to expand...
Click to collapse
I deodexed my MM rom about a week ago, so I'm saying this from experience : it is up-to-date.
vikrant7027 said:
@ticktock666
There are certain other folders such as odex.app, odex.framework, odex.priv-app...what about these? These folders also contains similar odex files for app, framework and pri-app...
Click to expand...
Click to collapse
I'm not sure, but here's some of the stuff I noticed during the deodex process :
- I used to get the files using adb pull command directly to pc after a fresh rom install (remember to install a pre-rooted rom), but I did not get any odex files with the apps this way, so deodexing didn't work.
- after pulling the files from the device using a root explorer, each app had the odex files with them inside the correct folders.
- about odex.xxx folders and odex.xxx.sqsh files : they contain an exact duplicate of the odex files, no idea why (you can extract the sqsh files, they're basically special compressed odex file container sort of thing), which means the rom contains 3 versions of the same odex file, makes no sense.....
after deodexing and flashing the deodexed rom/files, I deleted odex.xxx folders and odex.xxx.sqsh files, and my rom works fine, fully rooted and with xposed. My current issue is that now if I browse into /data/app on the root of the drive I'll find an odexed version of every app I have installed, be it a user app or system app, and it's driving me crazy.
ticktock666 said:
I deodexed my MM rom about a week ago, so I'm saying this from experience : it is up-to-date.
I'm not sure, but here's some of the stuff I noticed during the deodex process :
- I used to get the files using adb pull command directly to pc after a fresh rom install (remember to install a pre-rooted rom), but I did not get any odex files with the apps this way, so deodexing didn't work.
- after pulling the files from the device using a root explorer, each app had the odex files with them inside the correct folders.
- about odex.xxx folders and odex.xxx.sqsh files : they contain an exact duplicate of the odex files, no idea why (you can extract the sqsh files, they're basically special compressed odex file container sort of thing), which means the rom contains 3 versions of the same odex file, makes no sense.....
after deodexing and flashing the deodexed rom/files, I deleted odex.xxx folders and odex.xxx.sqsh files, and my rom works fine, fully rooted and with xposed. My current issue is that now if I browse into /data/app on the root of the drive I'll find an odexed version of every app I have installed, be it a user app or system app, and it's driving me crazy.
Click to expand...
Click to collapse
Can u make a deodex rom for Xperia z2 mm rom d6502 indian version and post it on gdrive?? thanku in advance..? @ticktock666
Silverstarjigar said:
Can u make a deodex rom for Xperia z2 mm rom d6502 indian version and post it on gdrive?? thanku in advance..? @ticktock666
Click to expand...
Click to collapse
sorry buddy, but although just the deodexed files from my rom should work perfectly (it's only the apks, no other settings from the rom are included), it is near impossible for me to upload anywhere due to slow & unstable connection and power situation, since none of the hosting services support upload resume on their apps/sites.
ticktock666 said:
sorry buddy, but although just the deodexed files from my rom should work perfectly (it's only the apks, no other settings from the rom are included), it is near impossible for me to upload anywhere due to slow & unstable connection and power situation, since none of the hosting services support upload resume on their apps/sites.
Click to expand...
Click to collapse
Okk.. I will give it a try then!
Is there any script or something that we can flash through recovery ?
do you mean a script to deodex the rom on the phone ? if so then the answer is no
You can try this
ticktock666 said:
I'm not gonna go into deep details, but this should help.
- flash MM rom for your device, make sure it is ROOTED as you'll need to use an explorer with root access,it's better if you do this on a clean install, but this is just me
- boot your device and go through the setup process
- once done, install a browser with root access, I recommend MiXplorer, root explorer
- browse into /system folder
- check your /app, /framework, /priv-app, they should have odex files inside them (this was the case for me)
- copy these folders, plus build.prop file into sd card or the phone memory
- connect phone to pc and copy files over
- look up and download SVADeodexerForArtx(32 or 64 based on your system), you also need to have java installed on your machine.
- extract the SVADeodexerForArtxxx to your c: drive, and create a folder named /system insides, and post the files from your phone inside that
- your final folder will look something like this : c:/SVADeodexerForArtxxx/system/ (app, framework,priv-app) and build.prop file
- remember to move the Semcxxx app folder from /framework into /app folder or it won't be deodexed
- run SVADeodexerForArtxxx and point it to your /system folder, it will show you your android version, tick the checkbox for app, framework, priv-app, hit the start button
- it'll run and once done the log file will open and tell you how many were deodexed.
- the deodexed folders will be in the base folder, make sure to return the Semcxxx folder from the /apps to /framework
- create a flashable zip and flash these folders back on your rom
now your rom is deodexed
Click to expand...
Click to collapse
But with file odex.app.sqsh format...are that no need to extract
Sent from my D6503 using XDA-Developers mobile app
A1nur said:
But with file odex.app.sqsh format...are that no need to extract
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
sorry for the late reply, haven't been checking much recently.
now about those sqsh files, I've tried extracting them, and they seem to contains a 2nd copy of the odex files, not sure how they work, but after deodexing my rom I simply deleted them, and everything worked normally.
ticktock666 said:
sorry for the late reply, haven't been checking much recently.
now about those sqsh files, I've tried extracting them, and they seem to contains a 2nd copy of the odex files, not sure how they work, but after deodexing my rom I simply deleted them, and everything worked normally.
Click to expand...
Click to collapse
In new build fw 291 i try deodex that rom sir, n i do not extract sqsh.file...all normally work but if i delete boot.art n boot.oat it butlop....
How to i delete that sir
A1nur said:
In new build fw 291 i try deodex that rom sir, n i do not extract sqsh.file...all normally work but if i delete boot.art n boot.oat it butlop....
How to i delete that sir
Click to expand...
Click to collapse
I don't have the latest rom yet (not released for 6502), but when you go into your /system/app folder using a root explorer, do you see "arm" folder inside any of the installed apps ? maybe they changed something in 291, and now they only use sqsh files, also what does the log from the app says when you deodex the rom says ? it should say something like "300 apps deodexed, 10 apps already deodexed" or something like that.
ticktock666 said:
I don't have the latest rom yet (not released for 6502), but when you go into your /system/app folder using a root explorer, do you see "arm" folder inside any of the installed apps ? maybe they changed something in 291, and now they only use sqsh files, also what does the log from the app says when you deodex the rom says ? it should say something like "300 apps deodexed, 10 apps already deodexed" or something like that.
Click to expand...
Click to collapse
Thanks sir for your answered...
Sent from my Sony Xperia Z2 using XDA Labs
Hi!
Thanks, for good instructions!
It is also working for Xperia Z3 Compact on MM .291. I failed in the past, cause of forgetting 'semcxxx' in framework.
Greetz, brockn

Categories

Resources