Hello,
Is it possible to simply modify any rom to contain pre-installed security app with user data ?
For example I have extracted lookout.apk and data from /data/data/com.lookout. My idea is simply copy these files to zip with custom rom. In case of lost/stolen phone, applications would stay with my settings even after factory reset.
I tried to put lookout.apk into system/app and data in data/data/com.lookout into the custom rom. The application was installed ok, but the data was completely missing. I am quite new in modifying roms, but I think there is some problem with missing instructions in manifest or update script.
...belongs in Q & A
xlxcrossing said:
...belongs in Q & A
Click to expand...
Click to collapse
Pardon, can somebody move it please ?
You can put the apk in the data/apps I don't know if you can put the actual saved data in....
apk is working perfectly. Problem is how to tell the rom to copy files with settings into /data/data/com.lookout. Good solution could be some script with commands such as
"cp /data/com.lookout/file1.txt /data/data/com.lookout/file1.txt" but I dont know if it is possible.
I tried to modify manifest.mf and cert.sf but files was not copied.
d1105373 said:
Hello,
Is it possible to simply modify any rom to contain pre-installed security app with user data ?
For example I have extracted lookout.apk and data from /data/data/com.lookout. My idea is simply copy these files to zip with custom rom. In case of lost/stolen phone, applications would stay with my settings even after factory reset.
I tried to put lookout.apk into system/app and data in data/data/com.lookout into the custom rom. The application was installed ok, but the data was completely missing. I am quite new in modifying roms, but I think there is some problem with missing instructions in manifest or update script.
Click to expand...
Click to collapse
if i understand you question correctly, if someone where steal your phone and flash a new ROM you want lookout and your personal data from lookout to be installed when they flash the ROM? is this correct?
i think your confused, or either i am in regards to what exactly you mean? a factory reset and flashing a new ROM are two totally different things. a factory reset simply resets the installed ROM to its default settings. flashing a ROM resets "everything" data included. if someone were to steal your phone, flash a format all or wipe manually for that matter, and then install another ROM your data is GONE. no, getting it back for us normal people anyway.
t3project said:
if i understand you question correctly, if someone where steal your phone and flash a new ROM you want lookout and your personal data from lookout to be installed when they flash the ROM? is this correct?
i think your confused, or either i am in regards to what exactly you mean? a factory reset and flashing a new ROM are two totally different things.
Click to expand...
Click to collapse
I think he wants to save it at /system and have a script or something put the settings back after a rom initiated factory reset...
Sent from my PG86100 using xda premium
ceyo14 said:
I think he wants to save it at /system and have a script or something put the settings back after a rom initiated factory reset...
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
the only way i know of to accomplish this would be to place the files on the /sdcard create a script that runs at boot (a fairly simple thing) and tell it to copy the file from the sdcard into the desired folder. this would have to be a custom ROM and the sdcard would have to have the file on it. again, if the person flashed a new ROM or formatted/repaleced the /sdcard, you're just SOL.
its possible use avast formally theft aware it integrates it self into the rom as root and survives a hard reset as well as offering alot of other features such as sms control and automatically turning n 3g and gps
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
aaronpoweruser said:
its possible use avast formally theft aware it integrates it self into the rom as root and survives a hard reset as well as offering alot of other features such as sms control and automatically turning n 3g and gps
Click to expand...
Click to collapse
until you wipe and flash a new ROM
ceyo14 said:
I think he wants to save it at /system and have a script or something put the settings back after a rom initiated factory reset...
Click to expand...
Click to collapse
Yes, thats exactly what I meant. I didn't realize, that after factory reset is data partition (/data) wiped. The script could be a good solution.
Of course I know after flashing rom everything will be gone. But I asume if somebody steal/find your phone. He will not be flashing rom at first time. Probably he will make factory reset and insert his sim card. It would be fine to know who is using your phone and where even after factory reset.
Im kinda new so here it goes... I recently been playing around with Xperia Active. I already rooted it and remove/replace some apk. So I'm wondering if i can make my installed apps to stick when I do a factory reset or maybe replace the supplier stock apps?
The only way to keep apps is after rooting, make backups of the whole app with data(using Titanium Backup) and after factory reset place them back.
I couldn't understand, what apps do you want to replace, so I can't answer to that.
Sorry bout that, I remove some bloat apps in the /system/app. Also remove some supplier apps in the /etc/product/applications, then replace it with some apps (i.e. ES File Explorer & Advanced Task Killer). just dumb thinking if it will install itself when factory reset.
got it, just need to place it on the /system/app
BTW, if you have different way I want to try it as well..
OFF Topic: can i make the backup(CWM) file into one ftf/rom file? how?
fncampoy said:
got it, just need to place it on the /system/app
BTW, if you have different way I want to try it as well..
OFF Topic: can i make the backup(CWM) file into one ftf/rom file? how?
Click to expand...
Click to collapse
.ftf can only be made from Update Service files.
Hi people, I rooted my girlfriends galaxy ace & put link2sd on it to transfer as many apps as possible to free up internal memory which left her with about 45mb to play with & 2gb external sd space, I now have a problem, last night I made the mistake of downloading an official update for it & it failed instalation because the phones rooted (obviously :crying which I stupidly forgot! The problem I now have is that the failed update @ 30.1mb is hogging up the memory again with the usual "low on internal space" error residing in status bar! I managed to delete a few unneeded apps & now have about 21mb space & no warning but the failed update is still there somewhere on the internal memory & I want to find & delete it if I can using root explorer! Can someone give me its location where it's residing to delete it, or can I only use manage applications in settings to do this & delete the data in software updates? & will that give me back the space it took!?
TIA!
Anyone??
Try clearing the cache of the programs. U can use "Apps2sd" or "Titanium Backup" to clear cache and move some of the apps to sd card to free space.
:: Today is the first day of what's left of your life. ::
ChelebiTech said:
Try clearing the cache of the programs. U can use "Apps2sd" or "Titanium Backup" to clear cache and move some of the apps to sd card to free space.
:: Today is the first day of what's left of your life. ::
Click to expand...
Click to collapse
I've moved most apps to sd using link2sd as previously stated in my first post, & I've cleared the cache of most programs also
The problem lies with the update that I downloaded which failed to install because of the device being rooted, it's residing in internal memory still taking up 30.1mb of space! I just need to delete it somehow but don't know where to look for it!?
The problem lies with the update that I downloaded which failed to install because of the device being rooted, it's residing in internal memory still taking up 30.1mb of space! I just need to delete it somehow but don't know where to look for it!?
Click to expand...
Click to collapse
I can update apps even after rooting.
And I think everyone here can.
Gaining root access to the phone won't affect ur app update.
Sent from my GT-S5830i using xda app-developers app
amogh420 said:
I can update apps even after rooting.
And I think everyone here can.
Gaining root access to the phone won't affect ur app update.
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
he isn't talking about updating apps, he is talking about updating firmware..
if phone is rooted, then ota update will fail..!!
if internal memory is around 30 mb then it is normal (i think, but not sure)
still u can try to wipe cache and dalvik cache through cwm..
or just simply update the firmware through odin...
and restore all app via titanium backup :thumbup:
Sent from my GT-S5830i using xda app-developers app
srt99 said:
he isn't talking about updating apps, he is talking about updating firmware..
if phone is rooted, then ota update will fail..!!
if internal memory is around 30 mb then it is normal (i think, but not sure)
still u can try to wipe cache and dalvik cache through cwm..
or just simply update the firmware through odin...
and restore all app via titanium backup :thumbup:
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
Thanks for making that point yep the free internal memory that is left is around 28mb now, but only because I uninstalled some more apps after the update failed! I've cleared caches & dalvik cache but if I were to find & delete the failed update, I'd gain another 30mb (totalling 60mb free space!)
I think I'll just unroot it, install the ota update then root it again if I can't find where it's residing & delete it! I'm not too keen on using odiin although I have in the past on my S2 with no problems, I prefer ota or mobile odin (mobile odin doesn't support the galaxy ace unfortunately!) or cwm recovery firmware instalations!
Thanks for your reply! :good:
srt99 said:
he isn't talking about updating apps, he is talking about updating firmware..
if phone is rooted, then ota update will fail..!!
if internal memory is around 30 mb then it is normal (i think, but not sure)
still u can try to wipe cache and dalvik cache through cwm..
or just simply update the firmware through odin...
and restore all app via titanium backup :thumbup:
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
Ohh
I thought he meant the update of Link2SD failed. Lol.
Sent from my GT-S5830i using xda app-developers app
Cant find failed update
amogh420 said:
Ohh
I thought he meant the update of Link2SD failed. Lol.
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
Hi
I have same problem firmware update failed and I had unrooted my phone before I started update I have now lost 50mb (app) of internal storage.
You make a good point CrackDaddy "where does firmware updates reside after downloading" I have used Link2sd and Titanium to try and find this failed download but just can't find it, knowing the firmware file name or the format that it may be would help cos I have probably seen it and did not realise.
I hope some member can help us.
There is no firmware file, the firmware is like a custom rom. So there are multiple files which atayed in /system after the failed download (correct me if I'm wrong). The solution is to flash a firmware through Odin.
Gesendet von meinem GT-S5830i mit dem verfluchten Broadcom Chip
mmm interesting
Android-fany said:
There is no firmware file, the firmware is like a custom rom. So there are multiple files which atayed in /system after the failed download (correct me if I'm wrong). The solution is to flash a firmware through Odin.
Gesendet von meinem GT-S5830i mit dem verfluchten Broadcom Chip
Click to expand...
Click to collapse
Thanks for info android-fany
I was hoping the failed download would be in one place and not multiple files.
So installing updated firmware via Odin would remove / fix failed firmware and correct the storage problem ?
And can we download and install updated firmware via Odin when phone is rooted or does the phone need to be unrooted before download / install of updated firmware ??
soundacer said:
Thanks for info android-fany
I was hoping the failed download would be in one place and not multiple files.
So installing updated firmware via Odin would remove / fix failed firmware and correct the storage problem ?
And can we download and install updated firmware via Odin when phone is rooted or does the phone need to be unrooted before download / install of updated firmware ??
Click to expand...
Click to collapse
it is fine if u flash fw through odin on a rooted phone..
so dont worry..just flash it :thumbup:
Sent from my GT-S5830i using xda app-developers app
soundacer said:
Thanks for info android-fany
I was hoping the failed download would be in one place and not multiple files.
So installing updated firmware via Odin would remove / fix failed firmware and correct the storage problem ?
And can we download and install updated firmware via Odin when phone is rooted or does the phone need to be unrooted before download / install of updated firmware ??
Click to expand...
Click to collapse
Yes, does installing new firmware overwrite or add to the system file storage space problem
After all, I'm not as concerned about having new firmware custom or official on the phone, as I am about gaining the space back, ( it's not my phone ) so potentiality all I have to do is partition the sd card to fix the space problem, although the failed update files wiould still remain in the system!
Ok so I am in the exactly the same boat; rooted my GT-S5830i on stock rom and stupidly yesterday I downloaded a 30.14mb update which failed after installing 25% of it and now my internal memory is 30mb less!!! =( (if only I had known before hand you can't update a rooted phone!!)
Researching told me that OTA updates where stored in the cache so I tried wiping the cache in recovery and no joy. Using my ES File Explorer app the following folders show...
/data/cache/ is empty!
/cache/lost+found/ is empty!
/cache/recovery/ has a file called "last_log" which is only 7.23KB not 30mb! =(
So it would seem the failed update installed and as said above is in the system folders, so I guess unless I was told every single file/folder name and went and deleted them all all,. the only other way to get back the 30mb of internal memory would be to flash my phone back to the stock rom correct?
I really didn't want to muck about with flashing, I'm a total noob and tbh it scares me in case I muck it up and also then there is warranty issues, doesn't flashing make the bootload value increase each time, thus voiding your warranty if the value is not at the stock value of 0?! I decided to root my phone with the understanding that if I did need to do a warranty claim I could reload the bloatware apps, factory reset the phone and then unroot it thus putting it back to stock mode and more importantly the bootload value will remain the same as the phone has not been flashed!
So I am put off tbh if the only way for me to get my 30mb of internal space back is to flash it with the stock rom! =(
Does anyone know where the 30mb of files are and what they are called? Maybe it is just one file and not a lot because I understand now that when you do an OTA update it downloads the update but before installing checks the system's files and folders to check every is 100% stock and that the stock apps are there before installing the update. Well surely because this check failed on my phone then it didn't install the update and with any luck the 30mb download is still in one file?!
lol sorry to go on, this has really annoyed me, especially the fact that since it has happened yesterday I have literally spent about 7 hours on and off researching this on the net etc! =(
Thanks for your help,
James =)
lcrjames said:
Ok so I am in the exactly the same boat; rooted my GT-S5830i on stock rom and stupidly yesterday I downloaded a 30.14mb update which failed after installing 25% of it and now my internal memory is 30mb less!!! =( (if only I had known before hand you can't update a rooted phone!!)
Researching told me that OTA updates where stored in the cache so I tried wiping the cache in recovery and no joy. Using my ES File Explorer app the following folders show...
/data/cache/ is empty!
/cache/lost+found/ is empty!
/cache/recovery/ has a file called "last_log" which is only 7.23KB not 30mb! =(
So it would seem the failed update installed and as said above is in the system folders, so I guess unless I was told every single file/folder name and went and deleted them all all,. the only other way to get back the 30mb of internal memory would be to flash my phone back to the stock rom correct?
I really didn't want to muck about with flashing, I'm a total noob and tbh it scares me in case I muck it up and also then there is warranty issues, doesn't flashing make the bootload value increase each time, thus voiding your warranty if the value is not at the stock value of 0?! I decided to root my phone with the understanding that if I did need to do a warranty claim I could reload the bloatware apps, factory reset the phone and then unroot it thus putting it back to stock mode and more importantly the bootload value will remain the same as the phone has not been flashed!
So I am put off tbh if the only way for me to get my 30mb of internal space back is to flash it with the stock rom! =(
Does anyone know where the 30mb of files are and what they are called? Maybe it is just one file and not a lot because I understand now that when you do an OTA update it downloads the update but before installing checks the system's files and folders to check every is 100% stock and that the stock apps are there before installing the update. Well surely because this check failed on my phone then it didn't install the update and with any luck the 30mb download is still in one file?!
lol sorry to go on, this has really annoyed me, especially the fact that since it has happened yesterday I have literally spent about 7 hours on and off researching this on the net etc! =(
Thanks for your help,
James =)
Click to expand...
Click to collapse
Firstly if you flash through CWM recovery & not odin your flash/binary count remains at 0, & you can easily reset the binary counter with a single click anyway if you ever needed your warranty, right here: http://forum.xda-developers.com/showthread.php?t=1647703
Secondly as Android-fany has stated in his post, a failed update resides in the /system as multiple files & not a single file, so unless you flash either an official or custom rom/firmware, then you have no other options available, other than partitioning your sd card to make more space on internal memory!
& thirdly flashing roms/firmware REALLY isn't that difficult, look in the dev section & read the tutorials to the letter, then you should have no worries! (just remember to flash the CORRECT rom/firmware) official or custom for your particular device/model!)
CrackDaddy said:
Firstly if you flash through CWM recovery & not odin your flash/binary count remains at 0, & you can easily reset the binary counter with a single click anyway if you ever needed your warranty, right here: http://forum.xda-developers.com/showthread.php?t=1647703
Secondly as Android-fany has stated in his post, a failed update resides in the /system as multiple files & not a single file, so unless you flash either an official or custom rom/firmware, then you have no other options available, other than partitioning your sd card to make more space on internal memory!
& thirdly flashing roms/firmware REALLY isn't that difficult, look in the dev section & read the tutorials to the letter, then you should have no worries! (just remember to flash the CORRECT rom/firmware) official or custom for your particular device/model!)
Click to expand...
Click to collapse
I did a factory reset and all is good after reinstalling all my downloaded apps and putting all my settings/texts/contacts etc back on the phone, I now have 42mb more internal memory, since the failed OTA update =)
lcrjames said:
I did a factory reset and all is good after reinstalling all my downloaded apps and putting all my settings/texts/contacts etc back on the phone, I now have 42mb more internal memory, since the failed OTA update =)
Click to expand...
Click to collapse
If you did a factory reset then you should have rooted & partitioned your sd card before you put everything back on mate
as you're only gonna be in the same predicament sometime soon, either through apps, msg's, media or yet another failed update taking your space!
Unfortunately the internal memory on the galaxy ace sucks period!
You can't have many apps on it then, or anything else for that matter!
CrackDaddy said:
If you did a factory reset then you should have rooted & partitioned your sd card before you put everything back on mate
as you're only gonna be in the same predicament sometime soon, either through apps, msg's, media or yet another failed update taking your space!
Unfortunately the internal memory on the galaxy ace sucks period!
You can't have many apps on it then, or anything else for that matter!
Click to expand...
Click to collapse
Yeah I need to get round to partitioning my 16gb SD card (10gb is free) so all my apps are installed on that, don't suppose you know any simple guides? At the mo I am still forcing apps to install the majority part of it on the sd card from this guide I used when I first got my phone before I rooted.... http://androidforums.com/samsung-ga...-force-install-apps-sd-card-without-root.html
I must admit it is very annoying that my apps positions change from what I want every time I turn my mob on and off or connect it to the PC with a cable (ie. every time it mounts and unmounts the SD card!)
Yea the galaxy ace internal memory sucks, but mine is a hell of a lot better than stock which was only about 85mb free out of the box which is quickly taken up by user apps/data etc, but I have 115mb free at the mo and I have about 25 user apps, which is fine for my use, One day I will partion my SD card though, I hope lol.
lcrjames said:
Yeah I need to get round to partitioning my 16gb SD card (10gb is free) so all my apps are installed on that, don't suppose you know any simple guides? At the mo I am still forcing apps to install the majority part of it on the sd card from this guide I used when I first got my phone before I rooted.... http://androidforums.com/samsung-ga...-force-install-apps-sd-card-without-root.html
I must admit it is very annoying that my apps positions change from what I want every time I turn my mob on and off or connect it to the PC with a cable (ie. every time it mounts and unmounts the SD card!)
Yea the galaxy ace internal memory sucks, but mine is a hell of a lot better than stock which was only about 85mb free out of the box which is quickly taken up by user apps/data etc, but I have 115mb free at the mo and I have about 25 user apps, which is fine for my use, One day I will partion my SD card though, I hope lol.
Click to expand...
Click to collapse
I thaught you said you were noob & too scared to do anything with your phone?, lol! If you can follow that tutorial for using sdk tools & putting commands into cm prompt, then installing CWM zip on your sd card with root/unroot zip then rootiiing & partitioning & using Link2sd to put your apps on your sd card & never running out of space should be a doddle!
there's tons of guides, just use google, I'm sure even you can do that
Here: http://mnabil95.blogspot.co.uk/2013/01/how-to-increase-internal-memory-galaxy.html
Back from Holiday
CrackDaddy said:
I thaught you said you were noob & too scared to do anything with your phone?, lol! If you can follow that tutorial for using sdk tools & putting commands into cm prompt, then installing CWM zip on your sd card with root/unroot zip then rootiiing & partitioning & using Link2sd to put your apps on your sd card & never running out of space should be a doddle!
there's tons of guides, just use google, I'm sure even you can do that
Here: http://mnabil95.blogspot.co.uk/2013/01/how-to-increase-internal-memory-galaxy.html
Click to expand...
Click to collapse
Hi All, not been on here for a while to give update to my failed FW update cos was on holiday.
Anyway I have done nothing to my phone cos I was away and obviously been getting reminder regards FW update from Samsung but just keep postponing it because of problem.
I have read all the postings here since (some interesting and good points) but just a little bit confused because some members say use CWM and others say use Odin mmm, what is the best to use and do you require to have phone unrooted for both ??
Also where would I get this new FW update from because the last time I was on Sammobile (2wks ago) and I looked again when I got back from holiday it was not there.
Because I am a nooby I am just a little apprehensive lol
Just another point / if the binary counter on a phone was not at "0" would this cause new FW to fail when trying to install ??
I've just order the HTC ONE and before switching to it completely I've got some questions that I would like to ask because I would like to sell my SGS2:
1- All of my apps and their data is backed up on my SGS2 using TB, is it possible to just move the TB folder that is located on my phone to my HTC ONE or is their another process that I need to take.
2- After dealing with all of the things that I would like to move to my new device what is the best way to completely delete all of data, that is on my SGS2, and to get it to the same state that he was when I bought it?
3- Will it be best if I would also Unroot the device?
Thanks
3. U can ask the person who would buy your phone if he/she want rooted phone if not unroot and give him stock rom
saar17 said:
I've just order the HTC ONE and before switching to it completely I've got some questions that I would like to ask because I would like to sell my SGS2:
1- All of my apps and their data is backed up on my SGS2 using TB, is it possible to just move the TB folder that is located on my phone to my HTC ONE or is their another process that I need to take.
2- After dealing with all of the things that I would like to move to my new device what is the best way to completely delete all of data, that is on my SGS2, and to get it to the same state that he was when I bought it?
3- Will it be best if I would also Unroot the device?
Thanks
Click to expand...
Click to collapse
1. Yes. the TB folder is all you need
2. Flash hawker paul's ROMNuke script, that should delete everything on the device, then a quick new ROM
3. That would depend on the buyer I guess. I would unroot it though and flash stock ROM (my opinion)
Thanks, I will try those when the device will arrive.
None of that will wipe internal storage. You may want to (after transferring all files to pc) wipe that from CWM recovery. Up to you. I use that script stated above, it doesn't wipe photos etc which I have on internal sd
Sent from a galaxy far, far away