(Request) stock systemui and odex from mf3 - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Install a transparent notification bar, forgot to keep a copy of the original sysmui. Now i have no status bar and a black baground. If anyone can copy it from their phone, i really appreciated. Im on a active with mf3. Thanks
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2

Could you go into a little detail on what happened and what you have done to try to fix it? I don't understand what your saying.

I think he wants the systemUI.apk for the active because he fubar'd his.

jd1639 said:
I think he wants the systemUI.apk for the active because he fubar'd his.
Click to expand...
Click to collapse
Any ideas where to get that? I don't even think that will install without flashing, but can't flash on MF3 yet.
Sent from miPhone using XDA Premium HD app

agent929 said:
Any ideas where to get that? I don't even think that will install without flashing, but can't flash on MF3 yet.
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
You can copy the file from root explorer without flashing. I was able to get a copy of the systemui and place it into the sys/app folder. Now everything is back to normal.
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2

Sweet nice job. Will remember that for the future
Where did you get it from?
Sent from miPhone using XDA Premium HD app

agent929 said:
Sweet nice job. Will remember that for the future
Where did you get it from?
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
Got it from a friend who just picked up a s4 active.
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2

So you just copied the apk off his phone I'm assuming? I'm also assuming it's the same apk as the regular S4? (I'm just trying to get better knowledge so I can help somebody in the future.)

agent929 said:
So you just copied the apk off his phone I'm assuming? I'm also assuming it's the same apk as the regular S4? (I'm just trying to get better knowledge so I can help somebody in the future.)
Click to expand...
Click to collapse
As the other person replied - with root access, you can download ES File Explorer, or Root Browser, give the app root access via SuperSU, navigate to the System > apps folder, find the file(s) you want, copy/move them where you need.

FourPointedFreak said:
As the other person replied - with root access, you can download ES File Explorer, or Root Browser, give the app root access via SuperSU, navigate to the System > apps folder, find the file(s) you want, copy/move them where you need.
Click to expand...
Click to collapse
Yeah I'm well aware you can do that but I didn't know that apk would actually function like an apk if you did that. Just thought it was more to it than that.
Sent from miPhone using XDA Premium HD app

agent929 said:
Yeah I'm well aware you can do that but I didn't know that apk would actually function like an apk if you did that. Just thought it was more to it than that.
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
As long as you have the appropriate odex file along with it and you know how to do it - it should be fine. You have to know how an APK file works, Applications are basically glorified ZIP archives. The java code is stored in a file called classes.dex and this file is parsed by the Dalvik JVM and a cache of the processed classes.dex file is stored in the phone's Dalvik cache.
An odex is basically a pre-processed version of an application's classes.dex that is execution-ready for Dalvik. When an application is odexed, the classes.dex is removed from the APK archive and it does not write anything to the Dalvik cache. An application that is not odexed ends up with 2 copies of the classes.dex file--the packaged one in the APK, and the processed one in the Dalvik cache. It also takes a little longer to launch the first time since Dalvik has to extract and process the classes.dex file.
If you are building a custom ROM, it's a really good idea to odex both your framework JAR files and the stock apps in order to maximize the internal storage space for user-installed apps. If you want to theme, then simply deodex -> apply your theme -> reodex -> release.

Related

[Q] How do you install .zip updates without CWM or TWRP?

For those of us with a locked bootloader who can't install CWM or TWRP, how do we install zip files? Such as a theme for a deodex TW ROM?
I've done some googling but everything I find just says "install CWM". ugh
Looks like some devs in the past have been able to modify the 3E recovery to remove the signature verification check. But I don't think we have that yet.
There is a modified 3E recovery in this thread below with instructions on how to install. But it's for a different phone and might kill ours. I dunno.
http://forum.xda-developers.com/showthread.php?t=909213
You dont.
Place or replace the files manually. Or be paitient and wait a bit for the bootloader unlock
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Bender B. Rodgriguez said:
You dont.
Place or replace the files manually. Or be paitient and wait a bit for the bootloader unlock
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Perfect answer.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Bender B. Rodgriguez said:
You dont.
Place or replace the files manually. Or be paitient and wait a bit for the bootloader unlock
Click to expand...
Click to collapse
There is a huge amount of files in the extracted zip. Not really sure what all needs to be copied over. I did manually replace the systemui and it changed a few things. But I'm definitely missing quite a bit of the theme still. I'll keep playing with it for a bit longer I guess.
Edit: I think I'm starting to figure it out. There are a ton of res folders in the theme and if I open the stock APK's and copy the res contents from the theme over to the existing res folders, that might do it.
But it's time to eat dinner now.
CZ Eddie said:
There is a huge amount of files in the extracted zip. Not really sure what all needs to be copied over. I did manually replace the systemui and it changed a few things. But I'm definitely missing quite a bit of the theme still. I'll keep playing with it for a bit longer I guess.
Edit: I think I'm starting to figure it out. There are a ton of res folders in the theme and if I open the stock APK's and copy the res contents from the theme over to the existing res folders, that might do it.
But it's time to eat dinner now.
Click to expand...
Click to collapse
CWM flashables are nothing more than batch files or macros of sorts. Just manually follow along with whatever the updater-script is doing.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Yay, it worked. Thanks guys.
7zip & Root Explorer are once again my two favorite utilities on the planet.
This is the theme I just applied to my deodex AT&T ROM in case anyone is wondering.
http://forum.xda-developers.com/showthread.php?t=2264498
CZ Eddie said:
Yay, it worked. Thanks guys.
7zip & Root Explorer are once again my two favorite utilities on the planet.
This is the theme I just applied to my deodex AT&T ROM in case anyone is wondering.
http://forum.xda-developers.com/showthread.php?t=2264498
Click to expand...
Click to collapse
So how did you do it? And does it work for any other zip files ?
eraycetin said:
So how did you do it? And does it work for any other zip files ?
Click to expand...
Click to collapse
For themes you can just open the zip file in Windows and locate the internal files. Then use those to replace the same files that are on the phone.
But the Google Play store has apps that will flash zips without needing recovery or a reboot. I don't know the names but if you Google you'll find it.

[Q] Manually installing system app, reboot, no .odex

I recently rooted my stock AT&T Samsung Galaxy S4 (MF3) and have been implementing a few improvements that I've found on this thread but have run into a strange error twice already when trying to replace an existing system app with a modded version.
With other phones in the past I simply paste an app into system/app and set RW-R-R permissions, then reboot the phone. During the next boot it usually says "android is upgrading 1 of 1" and creates a matching .odex file in the /system/app folder and everything works perfect.
So far I've tried to replace the SecPhone.apk with a version that allows call recording, and the TetheringProvision.apk with one that will let me tether on my AT&T phone. In both instances I reboot, but it never says "upgrading", nor is an .odex file created, and then the app fails to work. With the TetheringProvision.apk I also kept getting a "failed to change permissions" error in ES File Explorer, so I retried with Root Explorer, and SMangager but none of them could change the permission on the apk once it was in the system/app folder (yes /system was mounted R/W). I'm not sure if this is related to the above problem or not.
Has anyone else had a similar issue? I have frozen most of the Samsung bloatware apps and while I've been careful, I suppose I could have accidentally frozen something important, but everything other than these replacement system apps seems to be working perfectly. I thought android automatically checked for new apps on every boot, but apparently not on my phone.
Is there any way to force an app check on boot? Thanks for the help.
So I guess no one else has had a similar issue...
Sent from my GT-I9505 using xda app-developers app
You can not mod a rom that is odexed...period, unless it is made for odex.
TheAxman said:
You can not mod a rom that is odexed...period, unless it is made for odex.
Click to expand...
Click to collapse
Sorry, what do you mean by "period, unless it is made for odex"? Can you or can't you?
Sent from my GT-P7510 using xda premium
stinky73 said:
Sorry, what do you mean by "period, unless it is made for odex"? Can you or can't you?
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
For an Odexed system, an Odex file is required to be installed along with the original file. So if a mod is created for an "Odexed" system, it will have a .odex file accompanying it that must be installed also. Installing a deodexed file into an odexed system doesn't work unless the deodexed file is split down into its 2 parts again (original file, plus .odex file)..
This was very helpful. Is there a guide you could recommend to me on how to make an odex file from the modded apk that I have so that I can get these programs working on my S4?
Sent from my GT-I9505 using xda app-developers app
stephend9 said:
This was very helpful. Is there a guide you could recommend to me on how to make an odex file from the modded apk that I have so that I can get these programs working on my S4?
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Following article explains the odexing procedure "http://forum.xda-developers.com/showthread.php?t=1208320"

Flash zips?

My note 3 is rooted. Can I flash zip files (not ROMs) like the Cerberus zip file?
Sent from my SM-N900V using Tapatalk
Yes you can but be careful. You also of course can't flash ROMs. Its called Flash Gordon all
forum.xda-developers.com/showthread.php?t=2250555
What is cerberus?
It's the failsafe for nuclear launches. It's to stop a middle when it's been launched hahaha (from Olympus has Fallen)
Sent from my SM-N900V using xda app-developers app
stu5797 said:
Yes you can but be careful. You also of course can't flash ROMs. Its called Flash Gordon all
forum.xda-developers.com/showthread.php?t=2250555
What is cerberus?
Click to expand...
Click to collapse
Cerberus is a security app that lets you remotely, wipe, lock and track your phone as well as remotely take pictures and access call/text logs. There is an option to install it from a zip so it can't be uninstalled by someone that steals the phone.
MotorcycleMike said:
My note 3 is rooted. Can I flash zip files (not ROMs) like the Cerberus zip file?
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
You don't actually have to flash Cerberus to system/app with a zip file. Just download Cerberus from the Play Store, then use a root browser like Root Explorer to move the apk from data/app to system/app and reboot. Make sure you've set system/app to read-write (R/W in Root Explorer) before you paste the apk there.
Sent from my Galaxy Note 3.
GirLuvsDroid said:
You don't actually have to flash Cerberus to system/app with a zip file. Just download Cerberus from the Play Store, then use a root browser like Root Explorer to move the apk from data/app to system/app and reboot. Make sure you've set system/app to read-write (R/W in Root Explorer) before you paste the apk there.
Sent from my Galaxy Note 3.
Click to expand...
Click to collapse
Yup. That's how I did it.
Thanks.

Accidently uninstalled stock messaging - impossible to get system/app to r/w?

Is there no way to get system/app to r/w? Been trying every app and terminal command to let me remount so I can reinstall my backup of the messaging apk and it just doesn't work.
I use Root Explorer and have had no problem using"Mount R/W" in system/app.
Sent from my Galaxy Note 3.
GirLuvsDroid said:
I use Root Explorer and have had no problem using"Mount R/W" in system/app.
Sent from my Galaxy Note 3.
Click to expand...
Click to collapse
Ok that worked but it crashes attempting to install the backup, anyone got a stock messanging.apk they can toss my way?
crimsonsin said:
Ok that worked but it crashes attempting to install the backup, anyone got a stock messanging.apk they can toss my way?
Click to expand...
Click to collapse
Hopefully, this is the right one.
the heyetryo
Bleh. Copied to system/app, still get application not installed. Reboot with it in there and it doesn't show up either. At a loss here.
GirLuvsDroid said:
Hopefully, this is the right one.
Click to expand...
Click to collapse
Any chance you can toss me the matching .odex file to that apk?
crimsonsin said:
Any chance you can toss me the matching .odex file to that apk?
Click to expand...
Click to collapse
Another thought, did u make sure permissions were right ?
Sent from my HTC Rezound using Tapatalk 2
crimsonsin said:
Any chance you can toss me the matching .odex file to that apk?
Click to expand...
Click to collapse
Here you go. You'll need to rename the file to delete the .zip extension.
mjh68 said:
Another thought, did u make sure permissions were right ?
Sent from my HTC Rezound using Tapatalk 2
Click to expand...
Click to collapse
Yep, they're set correctly
Now it's giving me the option to update or new install this system app. Problem is I don't see an already installed version obviously.
try downloading a custom rom for your cellphone, just for extracting the messaging app
Sent from my XT920 using Tapatalk 4
have you tried to use adb to install it?

Google Maps?

So I'm rooted with the De La Vega method and it works great. As we all know, the new google maps v7 will not allow you to do a lot of things that the old versions would allow. I've found some older APKs from v6 and previous, but when I go to install, it will not allow it. Any ideas why, or how to get around it?
I'm interested in this as well. Plus the navigation voice is so robot like and it can hardly pronounce street names properly.
Sent from my SM-N900V using xda app-developers app
takemo said:
I'm interested in this as well. Plus the navigation voice is so robot like and it can hardly pronounce street names properly.
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
You can change the speech from Samsung to Google speech engine, sounds MUCH better. The method is somewhere in these forums.
Sent from my SM-N900V using Tapatalk
I'd imagine maps is a system app, so using a file explorer go to system> apps and replace the maps apk with your older one, change permissions and reboot.
dirtyfingers said:
I'd imagine maps is a system app, so using a file explorer go to system> apps and replace the maps apk with your older one, change permissions and reboot.
Click to expand...
Click to collapse
How do I change permissions? I've tried using ES File Explorer but I can't replace that system file.
KOKJ said:
How do I change permissions? I've tried using ES File Explorer but I can't replace that system file.
Click to expand...
Click to collapse
Sorry I'm not familiar with es file explorer. I use root explorer and just long press the file and select change permissions. Maybe try changing the extension of the original apk to something like .bak before you copy the new apk then you could always go back if you wanted the newest version again.
dirtyfingers said:
Sorry I'm not familiar with es file explorer. I use root explorer and just long press the file and select change permissions. Maybe try changing the extension of the original apk to something like .bak before you copy the new apk then you could always go back if you wanted the newest version again.
Click to expand...
Click to collapse
Will give it a shot and report back. Thanks.
dirtyfingers said:
Sorry I'm not familiar with es file explorer. I use root explorer and just long press the file and select change permissions. Maybe try changing the extension of the original apk to something like .bak before you copy the new apk then you could always go back if you wanted the newest version again.
Click to expand...
Click to collapse
Once I downloaded the correct app to allow permission changes, I was able to rename the v7 file, copy over the v6 file and rebooted with no problems. However, the application didn't show up in the app list. So, I had to then install that same APK and everything works great. I now have all of my stored maps back!
What can't u do on v7?
Sent from my SM-N900V using XDA Premium 4 mobile app
Where did you locate previous versions of Maps? I am tired of current version of Maps forcing me to allow WIFI and Network Locations to work. Just a battery hog doing that.
Sent from my SCH-I905 using XDA Premium 4 mobile app
MichaelMcC said:
Where did you locate previous versions of Maps? I am tired of current version of Maps forcing me to allow WIFI and Network Locations to work. Just a battery hog doing that.
Sent from my SCH-I905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
There are several places online that have archives. I also had my APKs all backed up in such an event.
If you get blackout updater (Google play) or in Android themes. The blacked out version of Google maps is the last V6 version. I was glad to have the map view back.
Sent from my SM-N900V using Tapatalk

Categories

Resources