[Q] How do you install .zip updates without CWM or TWRP? - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

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.

Related

Battery mod links

Ok, So after copying 200 or so png's in the Drawable_xlarge_mdpi and the drawable_mdpi folder, I get my image mods after flashing.
But, they still only show the stock number of images, 9 or 10. Charging works ok.
So somewhere, there are some xml files I need to edit to reflect the filename additions?
Or am I missing something else?
A501 HC 3.2
Thanks guys and girls!
Battery_Charge.xml & Battery_Discharge.xml should be what your looking for.
Sent from my DROIDX using Xparent Red Tapatalk
DRTMI said:
Battery_Charge.xml & Battery_Discharge.xml should be what your looking for.
Sent from my DROIDX using Xparent Red Tapatalk
Click to expand...
Click to collapse
Thanks. I kind of figgured those were the xml files I was looking for. Problem is, I'm playing hell with de-compiling my framework-res to be able to edit the xml files.
Can't make much progress with the apktools available, even when including the dependancy apk's. So clearly I am a noob with decompiling framework-res
So my next question, is there any difference between a com gen 1 stat_battery_charge.xml; for the a500 and 501? If not, is it feasible to switch the modified xml to replace the current stock one?
here is how i mod those files as well as the icons and so on
i copy the system ui.apk to a folder on my desktop
i open it with winrar.. DO NOT EXTRACT IT.. pull out the folder containing the png files or xms you want to edit.. Just drag and drop them to another folder..
edit them to your hearts desire.
open the system.ui apk again in win rar.. drag the edited folder back into the system.ui.. push it to your tablet.. to say download folder..
then copy it to the original place it will ask you to replace say yes.. your tablet will CRASH .. REBOOT then if you edited the files corectly it will boot and show your changes.
i dont know if this is the correct way easiest way .. but IT DID WORK FOR ME.. USE AT YOUR OWN DESCRESSION..
I could send you the apktool I am using. Its the only one I have found that works worth honeycomb.
Sent from a phone.
NunHugger said:
I could send you the apktool I am using. Its the only one I have found that works worth honeycomb.
Sent from a phone.
Click to expand...
Click to collapse
Would be much appreciated Just send a link, and thanks!
erica_renee said:
USE AT YOUR OWN DESCRESSION..
Click to expand...
Click to collapse
Thanks Erica! That's what I've been doing Actually, wanted to do some editing to the xml files itself. It's easy for png's, at they don't get compiled.
Anytime we take the first step, and install iconiaroot, we do so at our own discretion
Here's an updated apk_manager if you prefer that method.
I normally use a CWM zip since I have to reboot anyway. You can usually start with any theme zip and just make sure their updater-script copies /system to /system and just look through the zip to see what it copies, and if it looks normal, you can make the directory structure the same but copy your own over the old ones (and delete any orginal files that you won't be overwriting). i.e. it should look like:
system/app/SystemUI.apk
system/framework/framework-res.apk
system/fonts/blah.ttf
Just drag your files into the zip in the same place and use it.
And then as a precautionary measure, just do this once or any time you mess with more files (for inexperienced modders): Make a 2nd copy of that zip and call it blah-revert.zip then copy the orginal files over those modified files. Once you have both zips on the device, if anything goes wrong you can flash the revert to get back quick.

[ZIP] [N7,N4] Flashable Zips for Flashaholics

Since I am a registered Flashaholic, I find it very tedious to constantly copy my custom ringtones, notifications and alarms back into my System directory, set the appropriate permissions and reboot after each new ROM. I could leave them on my virtual SD card, but I think they play nicer with all apps when copied into the System Directory.
I have linked the Zip files I created. They were specifically created for the Nexus 4 (N4) (has ringtones) and Nexus 7 (N7) (no ringtones), but if your phone or tablet has the following directory structure: System/Media/Audio/XXX (<--- Where XXX is either alarms, notifications or ringtones), Then these might work for you too.
Additionally I have added new Zips for the N7 & N4 to allow for system files to be flashed. Already in the ZIP are ADOBE FLASH (Installed as a user app) and the Stock ICS browser (Not Chrome), which can play flash files in Jelly Bean. Remove them if you don't want them.
These zip files have some sample stuff already in them.... ... ... OK... They're my ringtones/notifications/alarms. I made them or kanged some of them... ... (Don't Judge! ).
To use your own sounds (.ogg is recommended but .mp3 will work too) just
Download the desired file(s) to your computer.
Modify the zip files for your sounds.
-To modify:
------Open the .zip with an archive program (7zip, WinRAR etc) and dig down the archive to:
system/media/audio/
------Open the folder for the type of sound you want to add and copy in your sounds and/or remove existing sounds.
------Save the zip file. Often this is automagically done by the archiver
Ensure you have the latest TWRP or CWM Recovery installed.
Copy .zip to your SD card
Flash zip file in Recovery
I usually keep the sound zip, Franco's latest kernel zip and Misledz's Nexus Louder in a separate folder on my SD card, when I flash a new ROM I line up gapps and these in Goo Manager and I'm nearly all set up! Best of all, off I dirty flash my next AOKP nightly all my sounds stay the way I set them, ringtones, notifications and alarms!
Download Links are Below.
NOTE: THESE HAVE ONLY BEEN TESTED ON THE NEXUS 4 AND NEXUS 7. FOR OTHER DEVICES, USE AT YOUR OWN RISK.
Have Fun! And Hit Thanks if this Helped you!
N4 System Sounds
N4 System Apps and Adobe Flash
N7 System Sounds
N7 System Apps and Adobe Flash
I though this was a great idea so I tried it and I get a red failed in TWRP 2.3.3.3. I tried two copies of it, one I modified and then the original and they both failed to install. Please let me know what I am doing wrong or if you get this to work, please let me know.
Thanks
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
FuzeLearner said:
I though this was a great idea so I tried it and I get a red failed in TWRP 2.3.3.3. I tried two copies of it, one I modified and then the original and they both failed to install. Please let me know what I am doing wrong or if you get this to work, please let me know.
FIXED!
Click to expand...
Click to collapse
Time Saver!
The new upload works great, thanks!
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
FuzeLearner said:
The new upload works great, thanks!
Click to expand...
Click to collapse
Yeah, I needed a new update-binary for the N4. I found one on the TWRP site. I put it in both zips so they should be good to go for a while.
Sent from my Nexus 7
can you add a zip for n4 apps as well , thanks.
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
munchy_cool said:
can you add a zip for n4 apps as well , thanks.
Click to expand...
Click to collapse
What kind of apps? System or just installed?
Sent from my Nexus 7
TheByteSmasher said:
What kind of apps? System or just installed?
Sent from my Nexus 7
Click to expand...
Click to collapse
system apps bro , just add the apks to the zip file, flash from CWM and you have all the apps which you want
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
munchy_cool said:
system apps bro , just add the apks to the zip file, flash from CWM and you have all the apps which you want
Click to expand...
Click to collapse
Yeah, I can do that. Gimmie a day or so.
Sent from my Nexus 4
TheByteSmasher said:
Yeah, I can do that. Gimmie a day or so.
Sent from my Nexus 4
Click to expand...
Click to collapse
no problem bro, whenever you can
Added System Apps and ADOBE FLASH+ STOCK BROWSER (NOT Chrome) for the N7.. Working on the N4 Zip.
TheByteSmasher said:
Added System Apps and ADOBE FLASH+ STOCK BROWSER (NOT Chrome) for the N7.. Working on the N4 Zip.
Click to expand...
Click to collapse
thanks a lot bro ..
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
OP updated. Added 2 more zips for system files (already including flash and stock browser) for N4 & N7. Also switched to dev host.
Sent from my Nexus 7
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
munchy_cool said:
thanks a lot bro ..
Click to expand...
Click to collapse
Did you try the system apps one yet? Someone else said there was a problem with it...
EDIT: Problem with the system apps flash... sorry. I'll fix it as soon as my box is done compiling a new MAKO build
Sent from my Nexus 4 or 7
FIXED
I HAVE FIXED THE N4 SYSTEM APS AND FLASH ZIP. THE OP IS UPDATED. NEW FILE IS HERE

(Request) stock systemui and odex from mf3

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.

[Q] Auto-Rotate no longer works

I am on 4.4.2, rooted, goldeneye26 rom.
I am an idiot, I backed up everything with TB, but before I got around to copying it to my computer, I formated my sdcard because it was having issues
I removed some bloatware and now my phone does not rotate anymore. The issue seems to be tied to the samsung hub being removed
I found this thread, but for a different device, I tried the idea mentioned, getting a file from the rom's zip and moving it to the device, but it did not work for me. ( I was able to move it by getting write permission )
http://forum.xda-developers.com/showthread.php?t=2644293
There is a post later on in there that has a download to a zip file...the zip file contains a library file like in the first link, but also has a META-INF folder with a couple files, I could not find this folder on my phone, could this be something I clash with safestrap since it is a zip?
http://forum.xda-developers.com/showpost.php?p=51629022&postcount=23
No one? Figure I'll at least try one bump in the hopes that someone who might have an idea might see it.
ACardAttack said:
No one? Figure I'll at least try one bump in the hopes that someone who might have an idea might see it.
Click to expand...
Click to collapse
The META-inf will not be on your phone. In it is what tells the zip file what to do. It is flashable on your phone but I don't know of it will work or not.
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
It did not work, guess I'll look into manual rotation options, hopefully I can find something. Don't feel like reflashing my rom
I had the same problem before and goldeneye used to have a rotation fix in the add ons section that fixed it I still have the zip on my phone if you need it.
Sent from my SGH-I337M using XDA Premium 4 mobile app

[Q] NfcNci.apk nfc.odex deleted. Cant get NFC to work!

While attempting to install one of the modded NfcNci.apk files i deleted my originals and can't seem to find downloads for them. I installed new ones from another place on Xda but im unsure if they were correct for my device and now i cannot seem to get NFC to turn on at all. I may just be installing them incorrectly, or i have the wrong files. I have no idea.
thanks in advance for any help!
zakinabox725 said:
While attempting to install one of the modded NfcNci.apk files i deleted my originals and can't seem to find downloads for them. I installed new ones from another place on Xda but im unsure if they were correct for my device and now i cannot seem to get NFC to turn on at all. I may just be installing them incorrectly, or i have the wrong files. I have no idea.
thanks in advance for any help!
Click to expand...
Click to collapse
why dont you pull them from a stock rom for our device? permissions you set to rw-r-r and is usually same as all the other apks in the folder
Sent from my SM-G900V using XDA Free mobile app
elliwigy said:
why dont you pull them from a stock rom for our device? permissions you set to rw-r-r and is usually same as all the other apks in the folder
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
A wonderful idea! I dont really have a clue how to do that though Point me in the general direction and I can learn the rest on my own, but i dont know where to begin.
zakinabox725 said:
A wonderful idea! I dont really have a clue how to do that though Point me in the general direction and I can learn the rest on my own, but i dont know where to begin.
Click to expand...
Click to collapse
find the stock rom.. extract rom.. can be on phone or pc.. find apps you need and copy paste where they go in system folder and set permissions to rw-r-rand reboot
Sent from my SM-G900V using XDA Free mobile app
zakinabox725 said:
A wonderful idea! I dont really have a clue how to do that though Point me in the general direction and I can learn the rest on my own, but i dont know where to begin.
Click to expand...
Click to collapse
elliwigy said:
find the stock rom.. extract rom.. can be on phone or pc.. find apps you need and copy paste where they go in system folder and set permissions to rw-r-rand reboot
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
If you use FX File Explorer and the root add on it will set the permissions for you on your apps. Other files like initd files and such need the permissions manually elevated but for apps like these it's automatic. Don't forget to reboot after copying the files over.
Misterxtc said:
If you use FX File Explorer and the root add on it will set the permissions for you on your apps. Other files like initd files and such need the permissions manually elevated but for apps like these it's automatic. Don't forget to reboot after copying the files over.
Click to expand...
Click to collapse
okay so i copied the .odex and .apk from the stock rom, places them in my /system/app/ folder and gave them correct permissions and still cannot seem to get my NFC to turn on.? i must be doing something wrong but i am unsure what it is.
zakinabox725 said:
okay so i copied the .odex and .apk from the stock rom, places them in my /system/app/ folder and gave them correct permissions and still cannot seem to get my NFC to turn on.? i must be doing something wrong but i am unsure what it is.
Click to expand...
Click to collapse
Sounds like you did the right thing. The permissions should be like the screenshot. If it's not working maybe other filed are missing, hard to say.
View attachment 2984851
Misterxtc said:
Sounds like you did the right thing. The permissions should be like the screenshot. If it's not working maybe other filed are missing, hard to say.
View attachment 2984851
Click to expand...
Click to collapse
so i think i figured out part of the problem. I didnt use the stock rom to pull them from, it was the syndicate rom ( i apparently dont know how to read when i click things). I have the G900VVRU1ANHA_G900VVZW1ANHA_VZW.zip which contains a .tar.md5 inside. Without flashing this, using odin, to my S5 how can i access the system files to pull the apk and odex? i tried one of the guides in a thread to open the tar.md5 as a .img.ext4 and then mounting the image using DiskInternals Linux Reader but it could not get the file to open after mounting it. Now im REALLY lost as to what i should do, and im just fingers crossed that replacing those 2 files is going to enable my NFC again. (im assuming so since its all that i touched, but my knowledge in this department is limited)
thanks again for all the help, i usually just search for days for answers but with this im coming up blank!
Okay, so i downloaded the /apps/ zip from this thread and copied them from my pc to my phone. Using ES File Explorer i moved them to the /system/app/ folder. They originally had rwx rwx r permissions after the move, i changed that to rw r r and rebooted. Post reboot, attempted to enable nfc through the quick menu to no avail, going into the setting and turning it on the slider turns to green but the NFC icon does not show in the notification panel, I cant scan any NFC tags, and after exiting settings and going back into them the NFC setting has reset itself to off every time. I am now at a complete loss of what to try next.
just a ps: when running syndicate rom in slot 1 (safestrap) i was able to get NFC turned on and working just fine.
lol were you on rom slot this whole time? rom slots do have issues at times such as nfc not working..
glad my rom works for you though!
Sent from my SM-G900V using XDA Free mobile app
elliwigy said:
lol were you on rom slot this whole time? rom slots do have issues at times such as nfc not working..
glad my rom works for you though!
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
no the rom slot works fine running syndicate, i installed it to slot 1 to try it out, but on stock slot where my stock rom is i have no NFC capabilities haha. if it was just nfc on rom slot not working id be pumped, lol, but its nfc not working on my stock slot where my stock rom is
zakinabox725 said:
so i think i figured out part of the problem. I didnt use the stock rom to pull them from, it was the syndicate rom ( i apparently dont know how to read when i click things). I have the G900VVRU1ANHA_G900VVZW1ANHA_VZW.zip which contains a .tar.md5 inside. Without flashing this, using odin, to my S5 how can i access the system files to pull the apk and odex? i tried one of the guides in a thread to open the tar.md5 as a .img.ext4 and then mounting the image using DiskInternals Linux Reader but it could not get the file to open after mounting it. Now im REALLY lost as to what i should do, and im just fingers crossed that replacing those 2 files is going to enable my NFC again. (im assuming so since its all that i touched, but my knowledge in this department is limited)
thanks again for all the help, i usually just search for days for answers but with this im coming up blank!
Click to expand...
Click to collapse
If you are on NHA either if these will work. NHA DeOdex or NHA Odex You can use DeOdex files on a Odex ROM with no problems.
elliwigy said:
lol were you on rom slot this whole time? rom slots do have issues at times such as nfc not working..
glad my rom works for you though!
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
On rom slot it does work, on stock slot running stock rom it doesnt
zakinabox725 said:
On rom slot it does work, on stock slot running stock rom it doesnt
Click to expand...
Click to collapse
I would do a factory data reset from the settings menu and reinstall the stock slot. All the time you spend messing with this you could be all done by now.
Misterxtc said:
I would do a factory data reset from the settings menu and reinstall the stock slot. All the time you spend messing with this you could be all done by now.
Click to expand...
Click to collapse
i thought about doing that, but with a factory reset wont i lose pretty much everything on my phone as of now? i forget just how deep one goes but re rooting and configuring seems like a lot of work if it can be resolved without doing so
Misterxtc said:
If you are on NHA either if these will work. NHA DeOdex or NHA Odex You can use DeOdex files on a Odex ROM with no problems.
Click to expand...
Click to collapse
THANKS MAN! The deodex one from NHA worked! I am eternally grateful, im going to go teach myself what the difference between odex and deodex is now! haha thanks again man!
zakinabox725 said:
THANKS MAN! The deodex one from NHA worked! I am eternally grateful, im going to go teach myself what the difference between odex and deodex is now! haha thanks again man!
Click to expand...
Click to collapse
lol stock roms are usually odex unless you flashed bean or another one floating around..
now that its working i recommend doing a backup of stock slot..
My rom will definately help you learn how to push apps n what not since its bare bone lol
Sent from my SM-G900V using XDA Free mobile app

Categories

Resources