Native APK??? - Galaxy Note II Q&A, Help & Troubleshooting

Hey guys. I am in need of the native email app for our phone. Through a series of dumb moves I have lost my back up and it not even in Titanium Back up any more. Can anyone point me to where I can find it?

Are you on a stock rom? If you are (and if you have the rom file), you can extract from the System.img (You'll need to convert the IMG using this app before being able to extract) file and then push to /system/app via adb (or any ROOT file manager on your phone).
Also, learn your lesson! FREEZE the app instead of uninstalling! On stock phones, the SYSTEM partition has almost 1GB of free space, so there's no need to delete apps you judge "useless"!
Hope it helps.
Cheers!

Related

Integrate apps to custom rom some help!.

Hi im using OD's rom, but i wanna make some personal stuff to it.
I have found out to integrate apks to the zip file, but after i integrate the apps and install it on my desire, it does not show the files on the market under downloads.
Is there any way to let them show up in there so i could uninstall them if thats what i want?.
Download any app from the market and they should show up... you are putting them in /data/app and not /system/app aren't you?
ephumuris said:
Download any app from the market and they should show up... you are putting them in /data/app and not /system/app aren't you?
Click to expand...
Click to collapse
I put them in system/app,
so if the data folder its not there i just make data/app and place them in there correct?.
Thanks for the reply.
Okay i tryed to make the folder data and inside that i made the app folder and placed all the apk i need.
Seems not to work they dont install automatic when installing the custom rom?
bump!!!!
bump.......
Put them in /data/app. They will show up. If they don't, you're doing something wrong.
Sent from my HTC Desire using XDA App
ehm, okay.
I took opendesire 3.6.0. i opend it with winrar and made the folder data and app folder, in the root of the zip file okay? its not there on standard. And then i putted the files in in zip file and signed it.
It does not work. Is there a guide somewhere?. Have trying to search but no luck yet.
bump!.......
when you install an app without using the market, there is no market link for the market to... well... link to.
I use aTrackDog to keep track of my constant backups and flashes etc. it even provides you a market link if you want to update.
Have a look at Titanium Backup as a different way of keeping market links. when restored it can restore the market link necessary for it to show up in the market downloads section
If there is no /data/app folder in the ZIP then simply adding it won't work as the update script won't look for it and flash them - you'd need to ask AdamG (or someone else) to add the lines to the script to make the ROM flash that information as well...

[Q] Safe to remove APKs?

My Desire's ROM is full. I have rooted the phone and using root explorer to remove garbage from the ROM. There are many apps in /system/app. Each app has a .apk file and an .odex file. Is it safe to move the *.apk files to my sd card to save up space? Or are they needed to run the application?
Thanx
norad73 said:
My Desire's ROM is full. I have rooted the phone and using root explorer to remove garbage from the ROM. There are many apps in /system/app. Each app has a .apk file and an .odex file. Is it safe to move the *.apk files to my sd card to save up space? Or are they needed to run the application?
Thanx
Click to expand...
Click to collapse
Think you may need to read a fair few of the posts in the forum if you are asking is it safe to remove apk's.
A fair answer is yes and no.
Some you can some you can't.
Removing the wrong ones will cause havoc with your phone.
Why not try flashing one of the custom Roms on here.
Thanx Raze.
I believe that the operating system either *needs* or *doesent need* an apk file in the system/app folder for the app to function correctly.
My question is: Does android 2.2 *need* or *not need* the .apk file of an app to exist in the /system/app folder in order for the app to function correctly? Isnt the odex file enough?
Since apk's are package files, my impression was that maybe they are not needed after the app is installed.
deleted .apk file = uninstalled app
deleted important.apk file = havoc on your phone
norad73 said:
My Desire's ROM is full. I have rooted the phone and using root explorer to remove garbage from the ROM. There are many apps in /system/app. Each app has a .apk file and an .odex file. Is it safe to move the *.apk files to my sd card to save up space? Or are they needed to run the application?
Thanx
Click to expand...
Click to collapse
You won't get any advantage from that; freeing space on the system storage partition won't lead you to have more room for your apps on the internal storage of your device: those are two different partitions. If you want more space on the internal storage partition you should flash a custom, resized partition table (you need s-off, look on the related topic for the howto) and (if you didn't do that yet) partition your sd, so that you can use a2sd scripts to move your stuff there. That's the best you can do if you wanna have more room for your apps, everything else won't help much imo
norad73 said:
Thanx Raze.
I believe that the operating system either *needs* or *doesent need* an apk file in the system/app folder for the app to function correctly.
My question is: Does android 2.2 *need* or *not need* the .apk file of an app to exist in the /system/app folder in order for the app to function correctly? Isnt the odex file enough?
Since apk's are package files, my impression was that maybe they are not needed after the app is installed.
Click to expand...
Click to collapse
My understanding (please correct me if i am wrong as i am so used to windows phone) is that the odex file is simply the integrity of the apk. lots of roms now are de-odexed so you can push or zip-flash a file into its place and it will still function. if the rom still has the odex files this is not possible as the phone will check the apk against the odex file and bootloop. The apk is the install package and the woking part of the file itself. Your best bet would be to flash a rom with A2SD installed in it. This accesses a fat3 partition on your sd card which the android os sees as extra internal space. I'm running LeeDroid 2.2d A2SD version. I have more apps installed now than when i was on a stock rom (motonav, psx4droid, angry birds, snesoid etc) and my phone still says i have 85mb or 52% of my space left
Thank you guys, now it is clear.
I keep getting a storage space low warning on my Desire, and I am trying to find out how to free up some space. My phone is rooted, my sd is partitioned, and most of my apps are installed on the SD with apps2sd.
Any apps still installed on the phone do not support installing on the SD. I have removed almost all apps and left only a very few that cannot be moved.
EDIT: Just realized that HTC Mail data was taking up 65mb of the phone memory.... deleted it and now my phone can breathe again
you are rooted? well if you use a2Ext you dont have to move your Apps to SD.
Moved to Q&A as not development.
Please do not post such questions in development.
Check those articles:
Safe to remove apks:
http://androidforums.com/droid-x-al...t-apps-apks-removable-non-removable-root.html
http://wiki.cyanogenmod.com/index.php?title=Barebones
Custom MTD Partitions (resize data, system, and cache):
http://forum.xda-developers.com/showthread.php?t=806321

[Q] how to extract .apk from a nand backup?

is it possible to extract an .apk file from a nand backup made with Amon_Ra (1.8)?
i switched roms to MIUI and i can't find Volume Button Controller on the market. I've had it on my phone for months and I can't function without it. i've searched online and all i come up with is broken market links and links saying the app has been removed from the market.
it was a free app, that I have on a backup. just dont want to have to backup my current miui setup (in progress), to restore that one, to restore this one again, etc. plus i think knowing how to do this will be useful in the long term.
i'm on Windows XP so I'm restricted to that platform on terms of getting it to work. google search turned up an app called unyaffs but it looked like a linux thing
thanks!
backup what you are on. restore your nand of where you have the apk. and then use titanium backup to backup your app. Restore your latest nand and use titanium to restore the app.
Swyped from my cyanogenized and gingerbreaded EVO
You can also extract files directly from the img files. Install Cygwin with the default options and download unyaffs compiled for windows. Place unyaffs in your path for ease of access, copy the system.img file out of your nand backup and drop it into a folder that is easy to get to. Start Cygwin, cd to the folder the img file is stored, type unyaffs system.img. That will extract all the files from the system.img file. Most of what you need should be in the app folder. Some things will need stuff from the lib folder too, like swype.
Sent from my PC36100 using Tapatalk
thanks for the info.
ended up going the route i didnt want to go. installing cygwin was taking forever!
but now i know for the future
Yeah, Cygwin can take a while if you are on a slow connection or get stuck on a slow mirror.

Saving or Storing .apk's

I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
zero86ea said:
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
+1
Sent from my SGH-T989 using XDA
You can also use JRUMMY6 apps - Ultimate app manager pro or ROM Toolbox Pro. This will save the apk as well as the settings for that app.
CincoDeDrinko said:
I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Click to expand...
Click to collapse
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
yoft1 said:
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
Click to expand...
Click to collapse
TI backup also just requires the pro license key to be stored in the same location as the backup directory. this way you can change roms and get Ti pro back without needing to re purchase.
Sent from my SGH-T989
try using root explorer
then goto the data/app directory copy your apps and move to whatever folder that you like. then if you want you could sign up for minus and upload all your apks (they have a 2gb upload limit so it works great). Or just connect hercules to computer and pull files from folder you copied to to your computer.
rom tool box pro backs up ALL your installed apks on your sd. manual install and market installed.

[QUESTION] Flash with boot + System app folder

Hello people.
So, I'm using Lineage, but want to go back to Marshmallow, with a ROM customized by me, to suit my needs.
I'm thinking to use this tool to make the ROM, but I have a doubt... This tool works with boot.img, recovery.img and system.img, basicly, to generate a zip file to be flashed in TWRP. As G3 can give a message about security when a boot.img is flashed, I want to know if it will happens if I use that tool.
Second... G3 have some folders storing apps, in special system\app and system\priv-app (there are some others, like 'vendor', but don't rementer now). What are the difference between them? Wich folder I have to use to put the apps I want? I noticied Titanium Backup have some issues with apps in priv-app, I'm asking bascly because this.
Thanks in advice

Categories

Resources