Hi all,
Is it possible to have Xposed Framework survive a nightly flash? Some zip that can be dropped in the FlashAfterUpdate folder (just like SuperSU) maybe?
I believe i saw sth like this in the "flash after update" thread in the "omni general" forum. U should have a look there.
Sent from my Find 5 using XDA Premium 4 mobile app
There is also an addon.d script which will prevent it from being wiped in the first place, this eliminating the need to have a separate zip flash it.
PonsAsinorem said:
There is also an addon.d script which will prevent it from being wiped in the first place, this eliminating the need to have a separate zip flash it.
Click to expand...
Click to collapse
Yup. Backup app_process and... I think that might be it?
There's an example script in /system/addon.d/
Entropy512 said:
Yup. Backup app_process and... I think that might be it?
Click to expand...
Click to collapse
For functionality, yes. But for safety, app_process.orig as well.
Found it, thanks. Already got my flash-fix today so will find out tomorrow if it works.
PonsAsinorem said:
There is also an addon.d script which will prevent it from being wiped in the first place, this eliminating the need to have a separate zip flash it.
Click to expand...
Click to collapse
I don't have it. Where to get?
husky69 said:
I don't have it. Where to get?
Click to expand...
Click to collapse
You can make it yourself by using the template Omni provides, or search the Xposed thread (I believe it's linked in the first or second post of that thread).
PonsAsinorem said:
For functionality, yes. But for safety, app_process.orig as well.
Click to expand...
Click to collapse
You could also let app_process.orig go away and move the freshly installed app_process to app_process.orig in the pre-restore hook.
Related
a few days ago i posted a question about turning a update.zip file to an .apk file. it worked but i couldnt install the live wallpaper because it was trying to overwrite a system file (the stock nexus LWP). im not familiar with adb so i tried using root explorer to delete the original file and replace it with the .apk of the wallpaper i wanted. unfortunately it didnt work. can someone provide the steps necessary to replace a system file like a stock wallpaper with a custom one? it would be a big help.
did you delete or just overwrite the original file?
Couldn't get the problem, same as asked by Chugga.......you can't delete or overwrite/merge the existing file??
BTW: I'm using ESFile explorer and enabled "Root explorer" and "Mount File System" in settings/root settings and never had any issues modifiying system content.
Cheers.....LinChina
Correct, either rename the original file or delete it.
I think this is more of a developer problem, i believe he has an apk file which replaces files. Like an update.zip file replaces files he turned his into an apk. But in order for the apk to overwrite system files you must call su permissions in the onCreate method.
Oh, I thought he turned a flashable.zip with a live wallpaper into and installable apk.
What is the reason behind making an flashable.zip into an apk?
^---That is curiosity and not judgment.---^
Wow, just realized the date of this thread...
"25th August 2010, 01:04 PM"
Problem is surely resolved.
Dblfstr said:
Oh, I thought he turned a flashable.zip with a live wallpaper into and installable apk.
What is the reason behind making an flashable.zip into an apk?
^---That is curiosity and not judgment.---^
Wow, just realized the date of this thread...
"25th August 2010, 01:04 PM"
Problem is surely resolved.
Click to expand...
Click to collapse
Thanks for pointing that out no longer paying attention to thread xD
Dblfstr said:
Oh, I thought he turned a flashable.zip with a live wallpaper into and installable apk.
What is the reason behind making an flashable.zip into an apk?
^---That is curiosity and not judgment.---^
Wow, just realized the date of this thread...
"25th August 2010, 01:04 PM"
Problem is surely resolved.
Click to expand...
Click to collapse
He was doing it for 10 posts and opened tonnes of threads from August 2010
See here
Nigeldg said:
He was doing it for 10 posts and opened tonnes of threads from August 2010
See here
Click to expand...
Click to collapse
SMH -.-
Nigeldg said:
He was doing it for 10 posts and opened tonnes of threads from August 2010
See here
Click to expand...
Click to collapse
Dang, why not offer real help? I guess if you don;t know hwat you are doing you can't offer real help.
Speaking of real help. Have to figure out this problem with an updater script that is causing a bootloop now.
Dblfstr said:
Dang, why not offer real help? I guess if you don;t know hwat you are doing you can't offer real help.
Speaking of real help. Have to figure out this problem with an updater script that is causing a bootloop now.
Click to expand...
Click to collapse
I saw that figured I'd let you take over ^-^
Sent from my GT-I9100 using Tapatalk
elesbb said:
I saw that figured I'd let you take over ^-^
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Figured it out. There were some Syntax errors, some undefined locations, and an unsigned apk. All is well now.
can anyone mod a ACS rom for me so it can say "Stevie" in the lock screen and notification bar? instead of acs
http://forum.xda-developers.com/showthread.php?t=976194
bump.......
there's a couple problems with this. What theme are you using. If your using a theme your gonna have to contact that dev and ask him. If your just using the rom I'm the man to talk to.
if I do this for you then others are going to want it done then it will be time consuming. And I won't be able to work in my other projects. However I wrote a how-to on changing the sprint branding. You can always follow those instructions.
If I have some free time I may try to fit this in.
Sent from my SPH-D700 using Tapatalk
steviee7 said:
bump.......
Click to expand...
Click to collapse
you need to give the thread some time so people can see it. If no response in 24 hours then bump it. Not in the same time or in a matter of minutes. We don't live on the internet
Sent from my SPH-D700 using Tapatalk
sorry bout that... yes im just running the rom itself no theme or anything
steviee7 said:
sorry bout that... yes im just running the rom itself no theme or anything
Click to expand...
Click to collapse
I either suggest trying it your self or wait to see if I have time to do it
Sent from my SPH-D700 using Tapatalk
i tried it the other day but i messed up and i think i would rather wait for whenever you have time to mod it im in no rush i just thought it would be cool
just keep trying until you get it to work, you will feel awesome and you may learn a thing or two about android. there are a pretty limited number of ways to mess up such a small change so just do a little reading and you'll figure it out.
amirite said:
just keep trying until you get it to work, you will feel awesome and you may learn a thing or two about android. there are a pretty limited number of ways to mess up such a small change so just do a little reading and you'll figure it out.
Click to expand...
Click to collapse
+1 to this. I recently started using a theme that I wanted tweaked in one little way. I posted something in the thread and got no response and so started screwing around with it myself. It took a while (and multiple screw ups) but I eventually got it to do what I wanted. However, I learned a ton in the process that made me come up with new and improved ways I might screw up... I mean improve... my phone.
By the way, I think the key to doing this with confidence is doing a full "nandroid" backup (i.e. a backup in clockwork). As long as you do this before messing with anything on the phone, you can pretty much always restore the backup and be right where you were. I got myself stuck a couple times and this saved me.
dr_gibberish said:
+1 to this. I recently started using a theme that I wanted tweaked in one little way. I posted something in the thread and got no response and so started screwing around with it myself. It took a while (and multiple screw ups) but I eventually got it to do what I wanted. However, I learned a ton in the process that made me come up with new and improved ways I might screw up... I mean improve... my phone.
By the way, I think the key to doing this with confidence is doing a full "nandroid" backup (i.e. a backup in clockwork). As long as you do this before messing with anything on the phone, you can pretty much always restore the backup and be right where you were. I got myself stuck a couple times and this saved me.
Click to expand...
Click to collapse
When I'm working on mods I zip up the files I edited so I can flash and test the mod. I also create a 2nd zip with the same files but un modified. So if the modified zip breaks things I flash the un modified zip
Sent from my SPH-D700 using Tapatalk
MysteryEmotionz said:
However I wrote a how-to on changing the sprint branding. You can always follow those instructions.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Where is this located?
BWFBezerk said:
Where is this located?
Click to expand...
Click to collapse
Strings.xml after you decompile framework-res.apk zz_roaming text you'll see it probably says acs already. Pull the framework res.apk decompile in apk manager, then navigate to projects/framework-res.apk/res/values/strings.xml. Scroll down towards the bottom and search for zz_roaming_. Note in apk manager when you recompile and it asks is this a system app choose y. Then it asks to preserve signature as well as files choose yes thenin apk manager you'll now have a keep folder. Delete the file named resources.arsc and then goto place here for modding folder. You'll see unsigned-framework-res.apk in there rename that to framework-res.
Sent from my SPH-D700 using Tapatalk
dreamsforgotten said:
Strings.xml after you decompile framework-res.apk zz_roaming text you'll see it probably says acs already. Pull the framework res.apk decompile in apk manager, then navigate to projects/framework-res.apk/res/values/strings.xml. Scroll down towards the bottom and search for zz_roaming_. Note in apk manager when you recompile and it asks is this a system app choose y. Then it asks to preserve signature as well as files choose yes thenin apk manager you'll now have a keep folder. Delete the file named resources.arsc and then goto place here for modding folder. You'll see unsigned-framework-res.apk in there rename that to framework-res.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
should have just linked him to my thread. Give me a minute and I'll dig it up
Sent from my SPH-D700 using Tapatalk
http://forum.xda-developers.com/showthread.php?t=872222
Sent from my SPH-D700 using Tapatalk
MysteryEmotionz said:
http://forum.xda-developers.com/showthread.php?t=872222
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
You right forgot all about it!
Lmao miss read that question thought he asked where the name was located seems he wanted the thread
Sent from my SPH-D700 using Tapatalk
well i tried to do it myself again... using your guide and when i try to install the new rom it says installation aborted!
Just push the framework-res.apk file... installation aborted is a problem with your updater-script
Sent from my SPH-D700 using XDA App
chris41g said:
Just push the framework-res.apk file... installation aborted is a problem with your updater-script
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Either push it using adb or root explorer. Or use update script from another theme but leaving the file structure the same
Sent from my SPH-D700 using Tapatalk
chris41g said:
Just push the framework-res.apk file... installation aborted is a problem with your updater-script
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
yeah... i dont know how to do that...
steviee7 said:
yeah... i dont know how to do that...
Click to expand...
Click to collapse
Turn usb debugging on in settings applications development. Hook your usb cable open a command prompt and in the terminal cd to the directory with the modded framework and type adb push framework-res.apk system/framework/ and then hit enter. This requires you have the android sdk installed and the tools in your path if u you have trouble with that then get a theme that works on your rom open the theme with a zip program and delete everything inside the system folder except the folder framework. Next open the framework folder and delete both framework-res.apk and twframework.apk. Next drag and drop your framework-res.apk into that framework folder close the zip and flash
Sent from my SPH-D700 using Tapatalk
Good day developers, can you help me, Im using STOCK ROM DXMA1 (deodexed). I want to modify my "TouchWiz30Launcher.apk", instead of 4 icon Column dock, I want to make it 5. I follow this guide somehow, http://forum.xda-developers.com/showthread.php?t=1668984 but it didn't help me. It made my "touchwiz30Launcher.apk" 5 docks but when I put the other application(last time it was 4 and now it turns 5, 4+1=5) on DOCK, the application disappear. Then I tried following this guide again, http://forum.xda-developers.com/showthread.php?t=1500230 although it is for Galaxy Ace, I think it is similar somehow with SGY (note: I only did was, PART II number 1 and 2.)Then the problem in my first try modifying the TouchWiz30Launcher.apk is similar with the second one. Guys if you know, can you help me with this problem or guide me or if there are some similar questions/forum post like this that had been answered, kindly post it? Help me please.
did you install it as a system app?
try removing the classes.dex from original to the modified one,
also was the app compiling process a success?
gee i had to trouble reading the text on that one
deathnotice01 said:
did you install it as a system app?
try removing the classes.dex from original to the modified one,
also was the app compiling process a success?
gee i had to trouble reading the text on that one
Click to expand...
Click to collapse
Yes, I install it as a system app sir, I also replace the classes.dex from the original to the modified one. I use apktool sir, and it was success.
Sorry for the bad grammar though.
3r41nl33n said:
Yes, I install it as a system app sir, I also replace the classes.dex from the original to the modified one. I use apktool sir, and it was success.
Sorry for the bad grammar though.
Click to expand...
Click to collapse
grammar's good and understandable,
what happened when installing?
do you have a logcat?
maybe a cert mismatch
did it force close in anyway?
No FC sir. It just the application icon disappear from the menu and it was irreversible. Thanks anyway, I solved my case. This thread should be close now.
3r41nl33n said:
No FC sir. It just the application icon disappear from the menu and it was irreversible. Thanks anyway, I solved my case. This thread should be close now.
Click to expand...
Click to collapse
what the main problem did you facing and how do you solved it?? ??
assphere said:
what the main problem did you facing and how do you solved it?? ??
Click to expand...
Click to collapse
HIHIHI. I just modify Mr. zalzondabuzz 5 docks bottomfrom here, http://forum.xda-developers.com/showthread.php?t=1958201 . I just decompile his/her work and i transfer all the png's because, I dont want the actual TouchWiz30Launcher to be modified, it's just like I want to make it 5 docks. and thats it. xD
Once a deodexed rom is released it will be easier to test the hotspot mod out. Because not having the phone would require someone else that can Odex the files and test. This would be a pain because you would have to do that for each test. For now I am curious about something though. Is there anyone out there with the S5 that is paying for the hotspot? If so can you configure it and connect to it at least once, if you haven't already, and send me your services.jar and services.odex? You will probably need to be rooted in order to get to the files. Don't worry there won't be any sensitive information in the files.
I tried the mod you posted, same as was done on Note 2. Not sure if it worked or not as the build had some data issues, so couldnt comnect to test. It compiled and booted fine with the line deletion at least. Was easy enough to find
Gettin frustrated with getting the deodexed working to move on. Have some issues ive never seen before. Just Play store, Hangouts and Google Calendar sync FC's. Think its a GmsCore issue
Sent from my SM-G900P using XDA Premium 4 mobile app
Tried to open an official hotspot thread to work on native tetheing collectively as well as a guide to different ways to tether, its only a few posts below this one.
crawrj said:
Once a deodexed rom is released it will be easier to test the hotspot mod out. Because not having the phone would require someone else that can Odex the files and test. This would be a pain because you would have to do that for each test. For now I am curious about something though. Is there anyone out there with the S5 that is paying for the hotspot? If so can you configure it and connect to it at least once, if you haven't already, and send me your services.jar and services.odex? You will probably need to be rooted in order to get to the files. Don't worry there won't be any sensitive information in the files.
Click to expand...
Click to collapse
Crawj,
I used the same wifi tether app that works on Note 2 4.3 and did it without any special tricks.
garwynn said:
Crawj,
I used the same wifi tether app that works on Note 2 4.3 and did it without any special tricks.
Click to expand...
Click to collapse
Thanks for that! But you know how I am It is just my nature to use the native app. So if it can work that is best IMO. That way when I finally do get the 5 it is already waiting for me :victory:
OH and I don't believe I have talked to you since you became a moderator so congratulations on that. Well deserved!
charlie-n said:
Tried to open an official hotspot thread to work on native tetheing collectively as well as a guide to different ways to tether, its only a few posts below this one.
Click to expand...
Click to collapse
Yeah I saw that. Thanks for sharing. I wanted this one to be specifically for getting the services files from someone that is paying for the service. So that is why I created a separate thread.
sleshepic said:
I tried the mod you posted, same as was done on Note 2. Not sure if it worked or not as the build had some data issues, so couldnt comnect to test. It compiled and booted fine with the line deletion at least. Was easy enough to find
Gettin frustrated with getting the deodexed working to move on. Have some issues ive never seen before. Just Play store, Hangouts and Google Calendar sync FC's. Think its a GmsCore issue
Sent from my SM-G900P using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thank you. Could you Odex your hotspot mod and try it with either your rom or stock to see if it works? If it works on Odex then you know it will work on deodexed once it is ready.
To get the native hotspot working, you need to:
update carriers set type="default,mms,dun" where apn="n.ispsn";
in the following file:
/data/data/com.android.providers.telephony/databases/telephony.db
This is what worked for me on Sprint North America. Just got it working today, was trying all the known tricks including rebuilding framework-res.apk with no luck. Be advised however I first used a sqlite app from the market and it added a space between mms and dun which did not work. I installed the sqlite3 binary and did that SQL command from adb shell. Can do more of a walk through if needed, let me know.
Edit: miked63017 beat me to it. Here's his flashable zip: http://forum.xda-developers.com/showpost.php?p=52089811&postcount=9
Scolias said:
Flashable hotspot mod here.
Click to expand...
Click to collapse
Isn't this the same thing that Mike provided? If so you should give him the credit. And his flashable zip is probably safer and cleaner than replacing the database file.
Sent from my SPH-L720 using Tapatalk
crawrj said:
Isn't this the same thing that Mike provided? If so you should give him the credit. And his flashable zip is probably safer and cleaner than replacing the database file.
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
His zip is admittedly different than the zip I made, mine runs a sqlite command in place, while his copies a premade db into place. Either way, lets get some feedback on how this thing is working...
miked63017 said:
His zip is admittedly different than the zip I made, mine runs a sqlite command in place, while his copies a premade db into place. Either way, lets get some feedback on how this thing is working...
Click to expand...
Click to collapse
Yeah but it is using the mod that you discovered. So you should be credited. And my other point is that your zip only adds the portion of the mod that is required. His replaces the entire db file which could cause issues.
Sent from my SPH-L720 using Tapatalk
crawrj said:
Yeah but it is using the mod that you discovered. So you should be credited. And my other point is that your zip only adds the portion of the mod that is required. His replaces the entire db file which could cause issues.
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
I completely agree, I harbor no grudges though, thanks for standing up for me in my absence ( Its the sign of a truly awesome moderator and/or community :good: )
crawrj said:
Isn't this the same thing that Mike provided? If so you should give him the credit. And his flashable zip is probably safer and cleaner than replacing the database file.
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
Didn't see his zip. Anyway, reported my thread for removal. Sorry about that.
Scolias said:
Didn't see his zip. Anyway, reported my thread for removal. Sorry about that.
Click to expand...
Click to collapse
It's not a big problem. I knew your zip was different. My only point is that Mike published the method of unlocking the hotspot first. So he should have been credited for finding the fix. That's it. You could have kept your zip alive if you wanted to. Although I still believe his install is safer.
Sent from my SPH-L720 using Tapatalk
crawrj said:
It's not a big problem. I knew your zip was different. My only point is that Mike published the method of unlocking the hotspot first. So he should have been credited for finding the fix. That's it. You could have kept your zip alive if you wanted to. Although I still believe his install is safer.
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
Mind telling me why? Still learning. TIA
Scolias said:
Mind telling me why? Still learning. TIA
Click to expand...
Click to collapse
Because his zip only does a sql update for the specific change that is required. You're zip replaces the entire db file. Nothing may ever come of that. But if a user had a db file which had different contents than the one you provide they would lose those changes. There is also a very slight possibility that permissions on that file could get corrupted when replacing it. Highly unlikely though. I'd be more concerned about the first possibility.
Sent from my SPH-L720 using Tapatalk
crawrj said:
Because his zip only does a sql update for the specific change that is required. You're zip replaces the entire db file. Nothing may ever come of that. But if a user had a db file which had different contents than the one you provide they would lose those changes. There is also a very slight possibility that permissions on that file could get corrupted when replacing it. Highly unlikely though. I'd be more concerned about the first possibility.
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
Ah, that makes sense now. Thanks.
lil update crawrj, the method we used the Note 2 doesnt fly on here. just tested on new Deodexed build. says I'm not subscribed...
and what do you know. I'm not
Would be a good idea to decompile sectelephonyprovider and see if those values in the database file can't be forced as default for all additions that have that apn field
Hi, I'm a lazy bastard, and I also rock a number of ROMs. It's such a pain to remember my previous pattern lock if I want to restore a TWRP backup from a different ROM. I found this easy method to get rid of security.
https://forum.xda-developers.com/redmi-note-4/themes/tool-remove-lockscreen-password-pin-t3692411
When you are ready to use it, just restore your ROM backup in TWRP; Flash this Unlock_PIN_PW.zip; When your phone boots up you should have no pesky security problems.
Works good?
Sent from my Z2 Plus using XDA-Developers Legacy app
Guth13 said:
Works good?
Click to expand...
Click to collapse
It's working fine for me.
Sent from my OnePlus5 using XDA Labs
Could you put up a fresh link because this isn't working anymore, and I'm in a real need for your tool <3
szybki_ben said:
Could you put up a fresh link because this isn't working anymore, and I'm in a real need for your tool <3
Click to expand...
Click to collapse
You can also just delete all gatekeeper.* and locksettings.* files under /data/system after restoring the backup.
Under 8.X ROMs there is just a locksettings.db file, if I'm right.
TobiPeter said:
You can also just delete all gatekeeper.* and locksettings.* files under /data/system after restoring the backup.
Under 8.X ROMs there is just a locksettings.db file, if I'm right.
Click to expand...
Click to collapse
Thanks man, appreciate that!
szybki_ben said:
Thanks man, appreciate that!
Click to expand...
Click to collapse
No problem.
Dead link
hesus said:
Dead link
Click to expand...
Click to collapse
Just delete the files mentioned above
lollyjay said:
Hi, I'm a lazy bastard, and I also rock a number of ROMs. It's such a pain to remember my previous pattern lock if I want to restore a TWRP backup from a different ROM. So I made a flashable zip that automates the process of deleting the five /data/system files associated with security after I restore a ROM.
Please be aware that this may not work if you have encrypted /data. If any brave soul wants to test it, let me know.
So, directions are:
Download Unlock_PIN_PW.zip from here: https://drive.google.com/open?id=0B3gcDbDvV4MkWXRHTUswY3JSYnc
Place it in your /sdcard or otg for safe keeping (you never know when you might need it)
When you are ready to use it, just restore your ROM backup in TWRP; Flash this Unlock_PIN_PW.zip; When your phone boots up you should have no pesky security problems.
Click to expand...
Click to collapse
Can you mirror it? Please...
https://forum.xda-developers.com/redmi-note-4/themes/tool-remove-lockscreen-password-pin-t3692411
AndroidDevices said:
Can you mirror it? Please...
Click to expand...
Click to collapse
Sorry but it no longer works for Oreo. But a solution is here:
https://forum.xda-developers.com/redmi-note-4/themes/tool-remove-lockscreen-password-pin-t3692411
Sent from my OnePlus6 using XDA Labs
lollyjay said:
https://forum.xda-developers.com/redmi-note-4/themes/tool-remove-lockscreen-password-pin-t3692411
Click to expand...
Click to collapse
Thanks.. this is a working link .. and will help alot to get out of issue like pattern lock. really helpful