Related
Has anyone got a guide on how to remove/add APK's from a ROM ZIP file? I found a few roms but they have some stuff that i dont require.
Is it done by using themepro?
Bit of a pointless thread when I've already answered your question...should've waited for me before doing this!!
how is this pointless? i too would love to know how!!!!!!
It was pointless as I already answered the question in the ROM thread it was first put in. As I'm in work I couldn't reply instantly...
Basically:
Unzip ROM, remove APK(s) from /system/app, add APK(s) to /system/app (or /data/app if you want them to be removable), rezip ROM, flash it
thank you for your fast response. just one quick question... when zipping back up, do i just use "store" ?
No you can use medium compression for a rom.
Sent from my HTC Desire using Tapatalk
superliam said:
thank you for your fast response. just one quick question... when zipping back up, do i just use "store" ?
Click to expand...
Click to collapse
I just rezip it using the stock Windows 'Compressed Folders' option - seems to work fine
thanks you for the replies
Or open the archive in the Winrar and delete / add files directly.
I have extracted the ZIP, removed a few apks and then rezipped it but i cant install the new rom.
I am doing it through Rom manager/clockworkmod but it fails to install. Anyone know what im doing wrong?
If I'm already running a ROM can I remove files from the zip file and flash the same ROM and by this way get rid of the unwanted apps? Or do I need to perform a wipe first?
Sent from my HTC Desire using Tapatalk
Laban said:
If I'm already running a ROM can I remove files from the zip file and flash the same ROM and by this way get rid of the unwanted apps? Or do I need to perform a wipe first?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
you can just use adb to remove the .apk's no need to reflash
AndroHero said:
you can just use adb to remove the .apk's no need to reflash
Click to expand...
Click to collapse
Don't know anything about that, so for me the easiest would be to flash the same ROM again. But will it work as I described it?
Sent from my HTC Desire using Tapatalk
I found this
http://www.askabouthugo.com/mobile-technology/how-to-remove-unused-android-apps-from-custom-rom/
Laban said:
Don't know anything about that, so for me the easiest would be to flash the same ROM again. But will it work as I described it?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Sorry for digging such a old thread. For those who might be searching for the same reason, please note...
1. Removing the APKs from the ROM and Reflashing it won't make those Apps go Away from the Device. You need a Clean Wipe before and after the Flash. Sometimes you will need to Clear the Dalvik Cache as well.
2. Removing the APKs using ADB will not take out the APPs completely. You will also need to remove the corresponding .ODEX files if its Stock DEODEX files if otherwise.
3. In most cases, the editing the ROM typically requires you to Sign the ZIP file again. So you'd need the Manufacturer's Signing Key unless your device allows for unsigned ROMs.
just delete the app and flash, then see if everything is working
Tried deleting and reflashing
EddyOS said:
It was pointless as I already answered the question in the ROM thread it was first put in. As I'm in work I couldn't reply instantly...
Basically:
Unzip ROM, remove APK(s) from /system/app, add APK(s) to /system/app (or /data/app if you want them to be removable), rezip ROM, flash it
Click to expand...
Click to collapse
First, I am so new to this that noob is not a good title for me. I plan on learning all this, but for certain reasons, I need to get the Camera functionality off my HTC One M8. I figured that getting the software off would be easier and quicker than trying to disassemble the glue factory inside the phone. So I went to the unlockr to learn how. (Probably a mistake on my part.) According to him all I need to do is
2. In the app folder you will see all the .apk files for all the applications you have currently in the ROM. Simply delete the ones you do not want to remove them from the ROM.
3. To add applications, simply copy any .apk file for the applications you want to add into the app folder.
Then rebuild the ROM in Kitchen (99) and load it up. Now I have tried just removing camera.apk in Viper, InsertCoin, and Android Revolution. Everytime the ROM will not load, but the unmodified Viper, InsertCoin, and Android Revolution ROMs will load just fine. Should one of the files be edited? Or is there another way to disable the camera aside from tearing it apart. Any assistance while I try to learn this will be greatly appreciated.
As you can see, I have tried just deleting and reflashing, but the ROM won't install.
Texas_Dave said:
First, I am so new to this that noob is not a good title for me. I plan on learning all this, but for certain reasons, I need to get the Camera functionality off my HTC One M8. I figured that getting the software off would be easier and quicker than trying to disassemble the glue factory inside the phone. So I went to the unlockr to learn how. (Probably a mistake on my part.) According to him all I need to do is
2. In the app folder you will see all the .apk files for all the applications you have currently in the ROM. Simply delete the ones you do not want to remove them from the ROM.
3. To add applications, simply copy any .apk file for the applications you want to add into the app folder.
Then rebuild the ROM in Kitchen (99) and load it up. Now I have tried just removing camera.apk in Viper, InsertCoin, and Android Revolution. Everytime the ROM will not load, but the unmodified Viper, InsertCoin, and Android Revolution ROMs will load just fine. Should one of the files be edited? Or is there another way to disable the camera aside from tearing it apart. Any assistance while I try to learn this will be greatly appreciated.
As you can see, I have tried just deleting and reflashing, but the ROM won't install.
Click to expand...
Click to collapse
Why have you dug up a redundant post in the Desire forum for a question about the M8?
Why I have dug up a reduntant post
EddyOS said:
Why have you dug up a redundant post in the Desire forum for a question about the M8?
Click to expand...
Click to collapse
EddyOS, I dug up this post for several reasons. First you must have missed my noob comment regarding myself. Second, to stay on the good side of the xda moderators, I was reading all the please read before posting posts, which all say do a search first. The search dug up this post. Third everywhere I tried to post my question, the first thing that was mentioned on the forum was do not post questions here. Fourth, my mistake, I didn't realize I was on the HTC Desire forum, I take full responsibility for that. Fifth, I was just looking for help by getting pointed in the right direction in order to figure out how to fix my issue, and simply wanted to reply to a post on how to fix my problem that it didn't work for me. Obviously I now know it was the wrong platform and by your response, I take it that these two platforms will not have similar issues. Finally if I have offended your sense of what's right and wrong, I most sincerely apologize. I will confine myself to reading and not posting so as not to commit anymore faux pas.
Texas_Dave said:
EddyOS, I dug up this post for several reasons. First you must have missed my noob comment regarding myself. Second, to stay on the good side of the xda moderators, I was reading all the please read before posting posts, which all say do a search first. The search dug up this post. Third everywhere I tried to post my question, the first thing that was mentioned on the forum was do not post questions here. Fourth, my mistake, I didn't realize I was on the HTC Desire forum, I take full responsibility for that. Fifth, I was just looking for help by getting pointed in the right direction in order to figure out how to fix my issue, and simply wanted to reply to a post on how to fix my problem that it didn't work for me. Obviously I now know it was the wrong platform and by your response, I take it that these two platforms will not have similar issues. Finally if I have offended your sense of what's right and wrong, I most sincerely apologize. I will confine myself to reading and not posting so as not to commit anymore faux pas.
Click to expand...
Click to collapse
If you have a question regarding the M8, then this is the forum you want:
http://forum.xda-developers.com/htc-one-m8
In here, you will find the Q&A section and you can then post your question and people can assist you further
I have several nandroids and do not need many of them is there a way to tell them apart other then restoring them all just to see. I will probably start naming them from here forward.
Thanks
Not really, except the letters in the backup, which stand for what was backed up, and the date of course. And I take it you have to name them on a PC? I have tried and haven't been able to on the phone, Well I suppose if I used astro...ect.
mainstang said:
I have several nandroids and do not need many of them is there a way to tell them apart other then restoring them all just to see. I will probably start naming them from here forward.
Thanks
Click to expand...
Click to collapse
I just use astro after and rename it....just make sure that there are no spaces
Shows the date in year month day format.
Sent from my Evo 4G using Tapatalk
mainstang said:
I have several nandroids and do not need many of them is there a way to tell them apart other then restoring them all just to see. I will probably start naming them from here forward.
Thanks
Click to expand...
Click to collapse
They show the day in the yyyymmdd format, with a time stamp based on gmt.
You can always rename them in Root Explorer, ES File Manager, etc. after backing up, just make sure there are no spaces in the file name. You can use dashes, underscores, etc., to separate the words (underscore is my personal preference). I always name mine by the date in a yyyy m d format, the rom name, and kernel. So, if I backed up today, I would name the file:
2011_3_2_WarmZTwoPointTwo_Netarchy_4.3.2_bfs_sbc_morehavs
Hope this helps.
I name and date mine
Sent from my PC36100 using XDA App
Hi guys. So my GF has this Samsung Galaxy S (Sprint Epic SPH-D700) ... I think I've got the right section. (EDIT: nope. ty kennyglass123. sorry about that :/)
She drops her phone, display stops functioning. However, the device still works - touchscreen is responsive, boots well, etc. The only thing she needs from it is her contacts. "Easy, Google has it, right babe?" ... "No, when it asked me if I wanted to sync with Google I said 'no'" ...
So, I'm wondering if there's a way to grab the contacts that are theoretically stored on internal memory without seeing the screen. Can't connect to PC because device requires input on it, which I can't see. Cell stores can't help because their transfer machines require the same input. Basically I'm wondering if it's possible to do 1 of 2 things before going ahead with an LCD replacement (which I'm comfortable with doing, just a question of money given that she has a different device she can use and she's off-contract now).
Is there a way to extract using something like ODIN or some command-line tool that forgoes the need for too much device-screen input?
Can anyone possibly provide screenshots of the usb-plugin process as it looks on the device? (once USB cable is plugged in and my PC makes the connected ding, if I could see the relative location of the necessary selections I could just hit it blind). My device is a SGS3 and the process is very different, I just have no clue what parts of her screen to touch. This is only helpful if I can use something (Like KIES) on the PC-end to extract something from the device.
Any other ideas would be phenomenal
Please post questions in Q&A
Thread moved
FNM
Sent from my SPH-L710 using xda premium
Got an idea. Suppose you have USB debugging already on. Connect to PC (make sure driver's installed) and use ADB to copy the contact database out for use on other Android devices (maybe it'll work, maybe it won't)
I'll get you some detailed commands and operations if you need more help.
Sent from Nokia N900 w/ Android 2.3.7
Export to SD card
Well, simple way would be to work off of screenshots from a stock Epic, then export the contacts to the SD card. This way you could work blindly on the touchscreen itself, but orient your finger via the screenshots.
I used stock FC09 multiboot, since I'm on AOKP M6.
Step 1: View attachment 1481544
Step 2: View attachment 1481545
Step 3: View attachment 1481546
Step 4: View attachment 1481547
Step 5: View attachment 1481551
you guys rock ty so much for replying.
USB debugging is apparently not enabled . this is probably the most ideal way to go though.
Very awesome of you to provide screenshots. i've tried this a number of times and i have a feeling she doesn't actually know where here contacts icon is. and no touch feedback. any chance you would be so kind as to provide screenshots for enabling USB debugging? assuming menu key from homescreen allows for settings, you can start from there. I would then be able to use the ADB method. if i'm asking for too much please don't feel obligated or anything.
Got an idea. You're on stock ROM? Then flash CWM via Odin download mode, reboot into recovery. CWM has ADB enabled by default. Try it. I may not be able to provide further details but I think this will work if you're familiar with the steps of Odin
Oh yeah, and you may have to manually mount /system and /data to access files... If you need to know how to use CWM in the blind I could flash back to CM7 (recovery's almost the same) and tell ya how you should navigate to the correct items with the directional keys on the QWERTY keyboard.
Would like to be of help
Sent from Nokia N900 w/ Android 2.3.7
Stock roms have keyboard short cuts and I'm pretty sure one of them is to open contacts. If someone can tell u what that shortcut is then u can use it along with the screenshots to export them to ur sd card.
Sent from my SPH-D700 using xda app-developers app
:highfive: ooh that's perfect! i'm still with you guys, really appreciate the advice. going through some other heavy stuff atm, don't want you guys to think i'm abandoning this thread. will update this post when the madness ends
AndyYan said:
Got an idea. You're on stock ROM? Then flash CWM via Odin download mode, reboot into recovery. CWM has ADB enabled by default. Try it. I may not be able to provide further details but I think this will work if you're familiar with the steps of Odin
Oh yeah, and you may have to manually mount /system and /data to access files... If you need to know how to use CWM in the blind I could flash back to CM7 (recovery's almost the same) and tell ya how you should navigate to the correct items with the directional keys on the QWERTY keyboard.
Would like to be of help
Sent from Nokia N900 w/ Android 2.3.7
Click to expand...
Click to collapse
Hey, I have a similar situation to the OP as my Epic 4G also has a broken display. If I follow your advice, then would I be able to somehow get the phone into diag/modem mode without seeing the dialer on the screen?
KillerFurby said:
Hey, I have a similar situation to the OP as my Epic 4G also has a broken display. If I follow your advice, then would I be able to somehow get the phone into diag/modem mode without seeing the dialer on the screen?
Click to expand...
Click to collapse
Huh? My suggestion is for times when you want your system files backed up without display... And you maybe trying to use it normally as a phone? Rethink.
However if you know what your ROM looks like after boot (requires you to be VERY familiar with the phone) you should be able to blind operate well. Best of luck to ya.
Sent from my Incredible S using xda premium
AndyYan said:
Huh? My suggestion is for times when you want your system files backed up without display... And you maybe trying to use it normally as a phone? Rethink.
However if you know what your ROM looks like after boot (requires you to be VERY familiar with the phone) you should be able to blind operate well. Best of luck to ya.
Sent from my Incredible S using xda premium
Click to expand...
Click to collapse
No, actually I am trying to read the profile information in CDMA Workshop.
KillerFurby said:
No, actually I am trying to read the profile information in CDMA Workshop.
Click to expand...
Click to collapse
Tough then... From what I understand you're trying to grab modem-related info for use on other phones? No good idea, but anyway it's possible if you post your ROM, version, we flash it and give ya screenshots. See for yaself and good luck
Sent from my Incredible S using xda premium
There are some .zip files that I will install in recovery mode and will confirm installation. When I reboot the phone, the apps or mods that I install will not have installed. I am stock rooted on Galaxy Note 2 on JB. Any ideas or suggestions?
Thanks
Need more info.. and re word it a lil..and what mods are u flashing in what sequence?
twanskys204 said:
Need more info.. and re word it a lil
Click to expand...
Click to collapse
Ok. Example: Say I take a .zip file that you have made for me and I download it. I boot into recovery mode and find the file and flash it, gives me the message that it has completed but when the phone reboots it's no where to be found. Did it not install or is there a place I need to look on my phone that it might be hidden?
just because its a zip file, doesnt mean it has the install routine baked into it..
As Twansky said, what is the file, and what is it for?
wase4711 said:
just because its a zip file, doesnt mean it has the install routine baked into it..
As Twansky said, what is the file, and what is it for?
Click to expand...
Click to collapse
Ok. The files that I've tried would be mods for toggles, keyboards, and different add ons. For the most part, all of the files that I've flashed have worked. The ones that didn't work I'm not disappointed that they didn't, I was just wondering if possibly there was something or somewhere that I needed to look to see if they actually did but needed to activate per say. Could you explain what you mean by "install routine baked in" please. I'm a noob and learning everyday.
Thank you
some of those zip files, were probably just a bunch of individual files, zipped up to save room, and make them just 1 file insted of many..
a "flashable" zip file will have a few folders, one being meta.inf, another being system, along with some others...
post one of those zips that you are having a problem with here, and we will take a look at it..
what ^^^^^^^^^^ Said....g
Wase, let me see if I still have them on my phone. I know a couple that I tried were rom specific but one worked and one didn't. Those are the ones I expected not to work. Give me a minute to see what I still have.
http://db.tt/kXFyYyIJ
This is one that didn't work that is for ROM XXDLL4. Another file that I downloaded is the glass dialer did work. What I guess I'm asking is, why would one work but not the other. I know these were fir that specific rom, I'm just confused on why one would work and not the other.
twanskys204 said:
Need more info.. and re word it a lil..and what mods are u flashing in what sequence?
Click to expand...
Click to collapse
Sorry, I did not answer that part.
Boot into recovery>Find location where file was downloaded>Click to install>Confirm install>Install confirmed>Reboot.
I have tried wiping cache and not wiping cache.
Open up these "zips" and look inside..
yeah, it was a flashable zip..no idea why it wouldnt work, but, as you said, this is not a mod for our phone specifically, so that might be why..Just like anything else electronic, not every rom/mod/flashable file is going to work on every phone; thats just the way it is...
wase4711 said:
yeah, it was a flashable zip..no idea why it wouldnt work, but, as you said, this is not a mod for our phone specifically, so that might be why..Just like anything else electronic, not every rom/mod/flashable file is going to work on every phone; thats just the way it is...
Click to expand...
Click to collapse
Exactly... use caution flashing "flashable" zips unless you know for a fact it accomodates your specific device. You need to look in the META-INF folder and review the updater-script. In there you will see specific BLKs (partitions) which are mounted/extracted/written/unmounted. Devices don't all use the exact same "/dev/block/mmcblk0xx" for /system or /data partitions. Some of these scripts are fairly universal but I've seen others which call specific devblock partitions.
Thank you everyone for the help on this. I finally got brave enough about a hour ago and flashed a custom rom fir the first time.
Thanks again for all the help and info.
On my M8, I'm trying to reinstall Xposed (reinstall because I stopped using it for a while and wanted to save some space) but when I boot into recovery, TWRP isn't showing me what's on my device. In the "Install" section, it doesn't give me the right menu. I don't know how to explain it, it shows me things that I'm not looking for. I've done this many times before and so I know what its supposed to look like. It doesn't show me any of my downloads (which BTW there isn't a downloads folder either), even if they're .zip files, it only shows me folders. Its really hard to explain but I also noticed that my backups are gone even though I did one yesterday. If i go into ES file explorer, and look into my recovery, i can still find my backups from TWRP. I'm running CM12.1 if it makes a difference and the device was on Sense 6 5.0.1 before that. Both are and were working perfectly.
Hey man sorry was just passing threads and saw this. I cant help but just to say your maybe better moving this thread to the help part here mate - http://forum.xda-developers.com/htc-one-m8/help you might get quicker answers in that department :good:
EYES33YOU said:
Hey man sorry was just passing threads and saw this. I cant help but just to say your maybe better moving this thread to the help part here mate - http://forum.xda-developers.com/htc-one-m8/help you might get quicker answers in that department :good:
Click to expand...
Click to collapse
OK thanks
Did you happen to change your default location in TWRP to the removable SD instead of internal storage?
redpoint73 said:
Did you happen to change your default location in TWRP to the removable SD instead of internal storage?
Click to expand...
Click to collapse
That's what I thought initially but its still not showing me what its supposed to