is possible integrate apk's in firmware? - Moto G Q&A, Help & Troubleshooting

Hello everyone, I would like to restore often doing some apk in the rom that I have already installed, so if I do a factory data reset I find myself these integrated programs in the rom. I tried using Titanium Backup to create me an update zip but even if I flashed to restore the programs disappear. I remembered that you could do with titanium .... my questions are 2
1. if you can do it with titanium shown me step by step how to do?
2. there is a program to do these zip to flash that remain on forever?
thanks 1000

I don't know how to do that with Titanium Backup because i do not use it.
But you can make a flashable zip file of the (fresh flashed) firmware with cwm and integrate the apk's you want afterwards into the zip.
Maybe this gives you an idea.
Read Post 121 -123

myabc said:
Hello everyone, I would like to restore often doing some apk in the rom that I have already installed, so if I do a factory data reset I find myself these integrated programs in the rom. I tried using Titanium Backup to create me an update zip but even if I flashed to restore the programs disappear. I remembered that you could do with titanium .... my questions are 2
1. if you can do it with titanium shown me step by step how to do?
2. there is a program to do these zip to flash that remain on forever?
thanks 1000
Click to expand...
Click to collapse
Not tried on my Moto G (not really had the desire or need to deviate from stock), but on my rooted Tablet I use Titanium to
1 ) Integrate System App updates (e.g. Maps, Playstore etc) into the System partition - via the Batch Actions menu, under Move/Integrate.
2 ) Convert User Apps to System Apps - if you long press on the app on the app listing screen it shows a pop up menu - the last choice is 'Convert to system app'.

On my old phone I used RootExplorer and copied the file into the system and set the permissions. It might need a reboot after too. I didn't used it with updated apps but I prefer to keep things stock in that way.

Related

[Q] How to backup my software?

Hello. Currently, I am using RCMix S 2.7 and i thinking this is most stable and great rom for Desire S. I setup my mobile(applications, widgets, settings). However I would like to test new roms. How I can backup my customized software? I did backup in ClockworkMod Recovery and size of my software is 1.05Gb. Is this enough? How to make restore? Do i need to choose only restore or format something first?
Use Google sync for your Contacts and Calendar items (HTC Sync + M$ Outlook is also a good combination but you can use it only on Sense ROMs)
Download and install free Titanium Backup from the Market to backup your applications and settings (you can backup even your homescreen arrangement (all shortcuts and widgets) and restore them in one click. The backup itself is not taking too much space. My advice is when switching to ROM with different Sense/Kernel/Android version do not restore setting, it can mess up your new installation, restore just the apps and take the time to configure everything again.
I also test new roms all the time. My technique of back up is this.
1. contacs = back up using google. sync with your google account.
2. sms = i use 'kAmMa's BackupSMS'
3. Application = I only backup downloaded apps using Astro file manager.
For me titanium back up is a bit complicated.
to restore i always do this order
first use the filemanager in the rom - browse to backup folder and install astro file manager.
than use astro file manager and install all the other application that you back up
than setup google account and your contact will be downloaded automatically from internet.
than restore sms using the kamma's backupsms.
its done. I spend about 30 minutes for this. This is my way of doing things. If you like you can follow this way.
What You thinking about it:
How To: Backup or Restore via Nandroid
Nandroid allows you to create a complete system image of your device and stores it to the SD Card on your phone. Making one is very simple but there are a few prerequisites.
1. A rooted Android phone
2. A custom recovery that supports Nandroid (ie: Amon_RA, ClockworkMod, Etc.)
3. A MicroSD card that has enough space for a system image.
A complete image can range from 75-400 MB.
Please follow this link for instructions: http://forum.xda-developers.com/wiki...r_via_Nandroid
Ok, I got your point. You want to preserve you current ROM in the way it is now in case that you would like to go back to it.
In this case before restoration you have to follow the same steps like in installation of a new ROM:
Wipe all (system, data, cache)
Restore
Thanks a lot!
amidabuddha said:
Ok, I got your point. You want to preserve you current ROM in the way it is now in case that you would like to go back to it.
In this case before restoration you have to follow the same steps like in installation of a new ROM:
Wipe all (system, data, cache)
Restore
Click to expand...
Click to collapse
If you just want to simply restore one of your previously taken Nandoird backups then there is no need to wipe anything in advance as the restore will overwrite all partitions.
While saying that every time that I've performed a restore for safety's sake I always then wipe cache and dalvik cache before booting the restored ROM.

Titanium Backup Help

I recently flashed a new rom (the last time I did this was almost 2 years ago so I forgot what to do). Titanium backup has been doing weekly updates for a long time. So when I started up the phone titanium backup is gone, I read that I must redownload from the play store, but when I run it, it says I failed to acquire root privileges. It tells me to get busy box, so I download that too, but that won't install properly.
What should I do now? Have I lost root? The bootloader is available...that means it's still rooted right? The internal sd card still shows my folder of titanium backup and all the other root folders I used to have on my phone, I just can't get titanium backup to run so i can't restore.
Thanks!
stryder1587 said:
I recently flashed a new rom (the last time I did this was almost 2 years ago so I forgot what to do). Titanium backup has been doing weekly updates for a long time. So when I started up the phone titanium backup is gone, I read that I must redownload from the play store, but when I run it, it says I failed to acquire root privileges. It tells me to get busy box, so I download that too, but that won't install properly.
What should I do now? Have I lost root? The bootloader is available...that means it's still rooted right? The internal sd card still shows my folder of titanium backup and all the other root folders I used to have on my phone, I just can't get titanium backup to run so i can't restore.
Thanks!
Click to expand...
Click to collapse
If you flash a new rom root is lost.
You have to root again.
S.R.
A few of the JB ROMS were causing issues with root. The fix was to re-flash the SU (superuser) apk and that would fix things right up. You should be able to find it doing a search.
Good luck and hope this helps!
stryder1587 said:
I recently flashed a new rom (the last time I did this was almost 2 years ago so I forgot what to do). Titanium backup has been doing weekly updates for a long time. So when I started up the phone titanium backup is gone, I read that I must redownload from the play store, but when I run it, it says I failed to acquire root privileges. It tells me to get busy box, so I download that too, but that won't install properly.
What should I do now? Have I lost root? The bootloader is available...that means it's still rooted right? The internal sd card still shows my folder of titanium backup and all the other root folders I used to have on my phone, I just can't get titanium backup to run so i can't restore.
Thanks!
Click to expand...
Click to collapse
Lets start with a few basic questions... dont mean to offend you, just wanna make sure its not something you may have overlooked.
What rom did you flash?
What, if anything, did you wioe in recovery?
Did you get a superuser or supersu prompt when titanium started?
shivasrage said:
If you flash a new rom root is lost.
You have to root again.
S.R.
Click to expand...
Click to collapse
Not necessarily so. Most custom roms are pre-rooted by the dev. Ive flashed countless roms and until recently w/ jb not had any issues w/ root access.
Sent from my Nexus S 4G using Tapatalk 2
seems you've just lost root privileges,
just flash supeuser again and you will be fine...
I think this is the right thread to ask queation relevant to titanium backup so,
Here's my question -- how to backup messages by using titanium backup.
atishey23 said:
I think this is the right thread to ask queation relevant to titanium backup so,
Here's my question -- how to backup messages by using titanium backup.
Click to expand...
Click to collapse
it pretty much looks like this in TitBack, give or take a few letters: "[SMS/MMS/APN] Phone/Messaging...". when you tap on it, the pop-up recognizes it as "Phone/Messaging Storage". this is where your text messages are.
some 3rd-party MMS apps like GoSMS Pro can back up your messages too, and I believe there's also an app or two solely for backing up your messages to your sdcard/internal storage.
Titanium Batch restore fail
Hi all
Having a few problems, I'm new to flashing roms and the use of Titanium Backup and I've just flashed my second ROM. I've gone from CM9 to CM10. Before doing so I created a backup of apps + data.
I flashed the ROM fine, and ran the batch restore function in Titanium. I have all the icons on my homescreen from the previously installed apps but after clicking on them my phone tells me that app isn't installed. I then notice that my notification from Titanium's batch restore shows the apps I had downloaded from the play store failed to restore (the notification said that the elements failed after batch restore was complete).
I noticed that these apps have a line through them when the list of apps I want to restore appears.
Titanium then advised me that the apps did not restore as the Android ID had changed, So I then reverted to the previous android ID thinking this to be the solution. However, after running the restore function again, the same amount of elements failed to restore.
Due to my lack of knowledge in Titanium and my need for these apps, I turned to the play store and decided to manually redownload all the apps again. This does not work either! The error message I get is the apps cannot be downloaded due to an error (491). I guess this is to do with the android ID changing?
Please help, how can I get these apps to restore? and also how can I be able to download apps from the play store again? :crying:
EDIT: So I was able to reinstall the apps from the play store by wiping the dalvik + cache.
This still leaves me baffled as to why Titanium wasn't able to do this
jessel56 said:
Hi all
Having a few problems, I'm new to flashing roms and the use of Titanium Backup and I've just flashed my second ROM. I've gone from CM9 to CM10. Before doing so I created a backup of apps + data.
I flashed the ROM fine, and ran the batch restore function in Titanium. I have all the icons on my homescreen from the previously installed apps but after clicking on them my phone tells me that app isn't installed. I then notice that my notification from Titanium's batch restore shows the apps I had downloaded from the play store failed to restore (the notification said that the elements failed after batch restore was complete).
I noticed that these apps have a line through them when the list of apps I want to restore appears.
Titanium then advised me that the apps did not restore as the Android ID had changed, So I then reverted to the previous android ID thinking this to be the solution. However, after running the restore function again, the same amount of elements failed to restore.
Due to my lack of knowledge in Titanium and my need for these apps, I turned to the play store and decided to manually redownload all the apps again. This does not work either! The error message I get is the apps cannot be downloaded due to an error (491). I guess this is to do with the android ID changing?
Please help, how can I get these apps to restore? and also how can I be able to download apps from the play store again? :crying:
EDIT: So I was able to reinstall the apps from the play store by wiping the dalvik + cache.
This still leaves me baffled as to why Titanium wasn't able to do this
Click to expand...
Click to collapse
Did you try to restore system apps? I always use tb w/ the pro key to restore user apps + data, and have been getting the changed android id lately, but whether I keep the new id or revert to the old one, my restore works. Depending on what ROM I'm going to or from, sometimes I have to change my home screen shortcuts for system apps.
Sent from my Nexus S 4G using xda premium
p1gp3n said:
Did you try to restore system apps? I always use tb w/ the pro key to restore user apps + data, and have been getting the changed android id lately, but whether I keep the new id or revert to the old one, my restore works. Depending on what ROM I'm going to or from, sometimes I have to change my home screen shortcuts for system apps.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
I didn't select restore system apps, instead I selected restore all apps with data, failing that I tried restore missing apps + all system data.
What option should I normally be selecting to do a straight restore after flashing a ROM? Does the fact that there is a line through the apps that I'm trying to restore mean anything?
I always select "restore missing apps + data" it's the 1st option under restore in the batch menu. The apps with a line through them are the ones that tb recognizes as being backed up but not installed.
Sent from my Nexus S 4G using xda premium

Apps Backup and Restore

Hello everyone...
First of all, i'll like to apologise if this thread is already in existence cos i dont really know how to search through over thousands of thread created. I love trying out types of custom rom i feel wld be great. But everytime i install, i'll have to start installing my apps (backed up apk's) manually. Could anyone help me with any app which i can use to backup installed apps so after flashing a new rom, would just have to restore the backup which would install all app and its settings instead of doing it manually all from the start. i googled and downloaded an app Nandroid Manager but i dont figure how to use it.. It wont set a backup location. Any help???
via Desire S using xda app-developers app
Not very familiar with nandroid back up but i am using titanium backup(buy it, worth every penny), it give u option to both backup your app+data.
I think the free version has the same option.
There is also this app. i used recently on a game(pudding monsters) and it restored the app with the data.
Try both and see which works best for u.
+1 Titanium Backup do it well even free version
You can also do it yourself by doing a copy paste of your data/app folder
Titanium is the best way you can choise
its_Khal said:
Hello everyone...
First of all, i'll like to apologise if this thread is already in existence cos i dont really know how to search through over thousands of thread created. I love trying out types of custom rom i feel wld be great. But everytime i install, i'll have to start installing my apps (backed up apk's) manually. Could anyone help me with any app which i can use to backup installed apps so after flashing a new rom, would just have to restore the backup which would install all app and its settings instead of doing it manually all from the start. i googled and downloaded an app Nandroid Manager but i dont figure how to use it.. It wont set a backup location. Any help???
via Desire S using xda app-developers app
Click to expand...
Click to collapse
This can be done by two way
1) Titanium Backup - This will ensure all your app and data will be restored on new ROM in single click
a) Backup all user app+data of old ROM
b) Create a Update.zip through Titanium backup app
c) Flash the Update.zip through Recovery (Post installation of new ROM) and enjoy :good:
2) Nandroid backup - By using this option , entire ROM can be backed up (App,Data everything as on date). However this can be use only if you are going back to experience the same ROM again.
1) Through Recovery take the backup of entire ROM
2) Through Recovery restore
3) If you are on S-ON then post restore flash the boot.img manually by using Fastboot command before rebooting the phone. It is must to do step or else phone will be trapped in bootlap
I always ensure following before installing a new ROM
1) Back up of Contacts, SMS/MMS and Call logs by using My Backup Pro app
2) Creating the Update.zip file of all user app+data as on date so nothing can be missed out (Not even save games of Temple Run)
And if I want to go back again to the earlier ROM then I used Nandroid backup. Which reduce a hell lots of efforts.

[Tutorial] Back-Up & Restore from a Android Device - Unrooted & Rooted Methods

[Tutorial] Back-Up & Restore from a Android Device - Unrooted & Rooted Methods
How to backup & restore all your
data, contacts etc..... on your
Android device running a Non-
Rooted STOCK ROM
*******************************
************
MyBackup
MyBackup works as a perfect
backup & restore utility for Non-
Rooted (as well as ROOTED)
devices running the Android
OS......
The app can be downloaded from
Play Store here : https://
play.google.com/store/apps/
details?id=com.rerware.android.
MyBackup&feature=search_result
(FREE VERSION)
Once installed open the
application and tap the Backup
button, an option will pop up
asking wether you want to backup
your apps or data.....
When you backup your apps via
MyBackup, you will be presented
with an option of either selecting
certain apps you want backed up
or all your apps......
With backing up your DATA you
backup either straght to your
SDCard or to a Online server, for
later restoring..... same with the
app menu you can choose what to
backup or backup the your entire
data on the ROM, when backup is
complete it will create a ZIP file
on you SDCard.......
You can also have a backup
scheduled for a certain time ,
which is a great feature to have
especially if you forget to backup
sometimes.........
To Restore you can simply tap on
the RESTORE button and restore
what you want........
*******************************
************
Manual Drag and Drop
Drag & dropping files from your
Android device whilst connected
to the PC is a easy & fuss free way
of backing up data, contacts,
images and other SD Card data.....
Take a few minutes of your time
to save yourself the heartache if
something unfortunate happens to
your Android device.
******************************
How to backup & restore all your
data, contacts etc..... on your
Android device running a Custom
ROM with Custom Recovery MENU
or Backup Software
Nandroid backup
For ROOTED Users, you will
obviously have a Custom Recovery
installed with your ROM..... As
with most Nandroid recovery
systems you can backup & restore
all data right from this menu.......
There are many custom recoveries
available the most common one
being the ClockworkMod Recovery, Just boot into
the recovery console, tap on the
backup/restore tag, usually
through the menu Backup and
restore > Backup or restore...
To Restore follow the same
method as backup option, boot
into Recovery Mode and select
Backup and restore > Restore.
*******************************
************
Titanium Backup
Another option for rooted Android
users is Titanium Backup.
Titanium Backup gives you direct
access to your system. If you have
not used this program before
make sure to read all release notes
and methods of using the program
as mistakes can be made....
Once you’ve launched the app,
click on the Backup/Restore tab
and click the Menu button on your
phone. From the menu that
appears, select Batch. At the next
menu, click [RUN] Backup all user
apps + system data. You can
choose to backup just your user
apps and system data but you can
choose a complete and total
backup of your phone.
Depending on how much of your
phone you’ve chosen to back up,
the initial backing up process can
take anywhere from a few minutes
to half an hour or even more. Just
like a Nandroid backup, you can
opt to copy the backup file to your
computer. Navigate to the /
Titanium Backup directory on your
device’s SD card and you can find
your backup there, ready for
safekeeping.
When you’d like to restore your
backup, you can enjoy the same
Batch function. Select Menu >
Batch. On the Backup/Restore
menu, scroll down to find restore
options.
************************
question
Hi - can I backup from rooted device and then >
unrood and install stock rom >then restore to stock-unrooted rom?
how and what should i do in thisscenario ? does the order matter?
Thanks
g3nius79 said:
Hi - can I backup from rooted device and then >
unrood and install stock rom >then restore to stock-unrooted rom?
how and what should i do in thisscenario ? does the order matter?
Thanks
Click to expand...
Click to collapse
no its not possible
Sent from my GT-S5360 using Tapatalk 2
san122 said:
no its not possible
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Is there a different method/app?
I have to use an application thats checks if phone is rooted - it won't allow me to connect if its rooted
AND
I have some apps/games that don't sync with the cloud so all data will be lost if just reinstalled without crrent data?
please advice/refer/HELP?SAVE?RESCUE me
Thanks!
g3nius79 said:
Is there a different method/app?
I have to use an application thats checks if phone is rooted - it won't allow me to connect if its rooted
AND
I have some apps/games that don't sync with the cloud so all data will be lost if just reinstalled without crrent data?
please advice/refer/HELP?SAVE?RESCUE me
Thanks!
Click to expand...
Click to collapse
first of all backup everything with titanium backup
Then install new rom
After rom install flashable superuser zip
And then restore it
Sent from my GT-S5360 using Tapatalk 2
san122 said:
first of all backup everything with titanium backup
Then install new rom
After rom install flashable superuser zip
And then restore it
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
but I must unroot it - and I must restore apps from rooted device - what do you mean "After rom install flashable superuser zip" - how do I do that
could ou add a link to the zip?
Thanks

data/app problem, apps disapeared but folder seems OK

Hello Android lovers
I'll try to make it as simple and easy as I can, I searched a few hours on google, XDA and everywhere but can't find any answer.
I have a Asus Zenfone 2 with BORETS Stock ROM with android 6.0.1 and it worked fine since this week and a bad app update.
I updated MinMinguard to 2.1 and after reboot i got black screen... I can only press power button and see the reboot panel, and reboot, etc...
So I used TWRP to delete MinMinGuard in "data/app" folder, but first time I used it and I did some mess, copied some "com.xxxxxx" in another "app" folder inside the same, so like "data/app/app/com.xxxxx". before finally delete MinMinGuard folder.
And it worked, reboot was ok, apps was ok, all fine.
But I wanted to make it all clean, delete copied "app" folder in "data/app" but since everything is ****ed up. Android boot fine but I loose nearly all apps. Just left Asus apps every other is out, even playstore, google apps and stuff... So I can't do anything...
So, "data/app" folder is NOT empty
- each app folder have "base.apk", "lib" and "oat" folder (seems normal)
- tried to install ROM again a few times (to at least got play store and install apps again) did not worked
- formated cache and dalvik, after reboot I got "optimizing" popup and 88 apps instead of 135 before the mess.
- modified chmod of "app" folder because it's maybe just a reading problem as the folder is not empty.
And I'm out of idea................
I'd like not to format data/system as my backup is not up to date... And I don't even know if it''ll save the stuff...
If I have to format all, can you tell me how not to loose all my data (hard and ugly backup ), I saw a "data/data" folder, seems it will do the trick...
And about SMS I saw "/data/data/com.android.providers/telephony/databases/mmssms.db", will this work ?
Thanks a lot for your help
I'll have to move for 2 days and without my phone I'll have some troubles... ^^'
Nicopol. said:
Hello Android lovers
I'll try to make it as simple and easy as I can, I searched a few hours on google, XDA and everywhere but can't find any answer.
I have a Asus Zenfone 2 with BORETS Stock ROM with android 6.0.1 and it worked fine since this week and a bad app update.
I updated MinMinguard to 2.1 and after reboot i got black screen... I can only press power button and see the reboot panel, and reboot, etc...
So I used TWRP to delete MinMinGuard in "data/app" folder, but first time I used it and I did some mess, copied some "com.xxxxxx" in another "app" folder inside the same, so like "data/app/app/com.xxxxx". before finally delete MinMinGuard folder.
And it worked, reboot was ok, apps was ok, all fine.
But I wanted to make it all clean, delete copied "app" folder in "data/app" but since everything is ****ed up. Android boot fine but I loose nearly all apps. Just left Asus apps every other is out, even playstore, google apps and stuff... So I can't do anything...
So, "data/app" folder is NOT empty
- each app folder have "base.apk", "lib" and "oat" folder (seems normal)
- tried to install ROM again a few times (to at least got play store and install apps again) did not worked
- formated cache and dalvik, after reboot I got "optimizing" popup and 88 apps instead of 135 before the mess.
- modified chmod of "app" folder because it's maybe just a reading problem as the folder is not empty.
And I'm out of idea................
I'd like not to format data/system as my backup is not up to date... And I don't even know if it''ll save the stuff...
If I have to format all, can you tell me how not to loose all my data (hard and ugly backup ), I saw a "data/data" folder, seems it will do the trick...
And about SMS I saw "/data/data/com.android.providers/telephony/databases/mmssms.db", will this work ?
Thanks a lot for your help
I'll have to move for 2 days and without my phone I'll have some troubles... ^^'
Click to expand...
Click to collapse
If you still have TWRP, create a nandroid backup using the backup feature in TWRP, then save the backup on external sdcard or on PC. Then use the wipe feature in TWRP, then select the "advanced wipe" option then select the system partition, data partition, cache partition and dalvik cache, then swipe the slider to wipe, then you're ready to flash whatever custom ROMs are available for your device. After flashing your ROM, you can extract your data from the TWRP backup that you created and restore the data of your choice back onto the device.
Or, you can flash your original stock firmware. The easiest way to find what you need to do this is to do a Google search for:
"Return to stock (your model number)"
That should find the needed files, tools and instructions. After restoring stock firmware, start over with getting the device rooted and TWRP installed. Then you can extract the data of your choice from your TWRP backup and restore it on the device.
Sent from my LGL84VL using Tapatalk
Droidriven said:
If you still have TWRP, create a nandroid backup using the backup feature in TWRP, then save the backup on external sdcard or on PC. Then use the wipe feature in TWRP, then select the "advanced wipe" option then select the system partition, data partition, cache partition and dalvik cache, then swipe the slider to wipe, then you're ready to flash whatever custom ROMs are available for your device. After flashing your ROM, you can extract your data from the TWRP backup that you created and restore the data of your choice back onto the device.
Or, you can flash your original stock firmware. The easiest way to find what you need to do this is to do a Google search for:
"Return to stock (your model number)"
That should find the needed files, tools and instructions. After restoring stock firmware, start over with getting the device rooted and TWRP installed. Then you can extract the data of your choice from your TWRP backup and restore it on the device.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
As obvious as it was I forgot about the nandroid backup... ^^'
Thanks a lot for detailled steps
Edit : I made a backup of system and another backup of data. formated only system. flashed Borets ROM again. Started good but like a fresh new phone.
So I restored only data (folder "data/app" was empty) and again everything is messed up...
I'll go with fresh install and install back every apps (damn annoying), it seems "data/data" was fine so I hope all apps data will be safe... SMS is the most important...

Categories

Resources