I recently started using the new Mobile Defense app (mobiledefense.com) and I'm trying to make it survive a wipe. I moved it to /system/app and the APK stays after a wipe, but it is not recognized as an installed program. Can anybody give me some direction as to how to fix this?
Thanks,
Chris
Anyone? Maybe better in the dev. forum?
grokdesigns said:
Anyone? Maybe better in the dev. forum?
Click to expand...
Click to collapse
can you not cook it into the ROM, i think if you open up the flash and put the APK file into the framework-res.apk in the framework/apps folder
then sign the update.zip and flash it
and with any luck the app should now be integrated into the OS.
EDIT: Ignore this post and read my second one below Daveid's this explains what I meant better than this post does.
I think you were on the right path trying to place the file into the /system/app directory, however.. I believe you want to do it a little differently. I think the command you want to use is:
adb install xxx.apk /system/app
I think that installs it into the specified directory, instead of just copying it there. I could be wrong, but I think that may do it. If not, it may need to be signed with the test-keys in order to be installed in /system.
I am not sure what you tried to copy it (I am assuming you did "adb push xxx.apk /system/app"), but I would try my method out. Don't listen to warrmr, judging by what they wrote, I doubt they really know what they are talking about. The framework-res.apk file is an application in and of itself, that is mainly responsible for the layout and design of the operating system. and there is no framework/apps folder, nor do you put any apks into the framework-res-apk file. So his entire post is pretty bad advice (no offense intended, just if you don't know what you are talking about, maybe you should tell people that to start off with).
EDIT - I guess you can't specify the target using adb install. Let me try to figure this one out real quick.
In fact, I believe I will attempt to install an app using the adb install command listed above, and post back in a few moments to see if it works out ok.
Alright, so I pushed an APK into the /system/app directory, and it worked just fine for me. Showing in the list and all, one thought. Is the program you are trying to do this with a copy-protected program? If so, you may need to be a little underhanded in your actions. Let me try moving one real quick from /data/app and /data/app-private over to /system/app and see what happens, though I doubt it will work.
Nah, doesn't work like that, if this is indeed a copy-protected app, I don't think there is much you can do about it. Sorry.
I am able to copy to /system/app and run it with no problems. The problem is after wiping, the APK is still in the directory, but doesn't show up in my applications.
daveid said:
I think you were on the right path trying to place the file into the /system/app directory, however.. I believe you want to do it a little differently. I think the command you want to use is:
adb install xxx.apk /system/app
I think that installs it into the specified directory, instead of just copying it there. I could be wrong, but I think that may do it. If not, it may need to be signed with the test-keys in order to be installed in /system.
I am not sure what you tried to copy it (I am assuming you did "adb push xxx.apk /system/app"), but I would try my method out. Don't listen to warrmr, judging by what they wrote, I doubt they really know what they are talking about. The framework-res.apk file is an application in and of itself, that is mainly responsible for the layout and design of the operating system. and there is no framework/apps folder, nor do you put any apks into the framework-res-apk file. So his entire post is pretty bad advice (no offense intended, just if you don't know what you are talking about, maybe you should tell people that to start off with).
EDIT - I guess you can't specify the target using adb install. Let me try to figure this one out real quick.
In fact, I believe I will attempt to install an app using the adb install command listed above, and post back in a few moments to see if it works out ok.
Alright, so I pushed an APK into the /system/app directory, and it worked just fine for me. Showing in the list and all, one thought. Is the program you are trying to do this with a copy-protected program? If so, you may need to be a little underhanded in your actions. Let me try moving one real quick from /data/app and /data/app-private over to /system/app and see what happens, though I doubt it will work.
Nah, doesn't work like that, if this is indeed a copy-protected app, I don't think there is much you can do about it. Sorry.
Click to expand...
Click to collapse
It was a suggestion, and as nobody had replied to the thread i thought i would give it a bash with my limited knowlage.
Mabe i should explain what i meant a bit better than i did in my last post and then you can tell me of im talking utter balls so to speak.
Ignore what i said about the framework-res.apk I was being slightly stupid. I was getting confused with where the App folder in the flash.
If you take the update.zip and look in system/app you will see lots of the "core" APK files along with any other ones that the "chef" has decided to cook into it.
If you were to take your APK file and inject it into the update.zip and then sign it, put the update.zip on your phone and then flash that zip file you will have the app pre-installed thus if you do a factory wipe then it will still be there.
It was badly explained and there was no real need to just brush my post off and say it was a useless waste of time. Isnt the ethos of this forum for learning and development, If I was talking utter balls then fine. I also should have bothered to check the content of an update.zip file rather than just relying that i saw the folder somewhere.
warrmr said:
It was a suggestion, and as nobody had replied to the thread i thought i would give it a bash with my limited knowlage.
Mabe i should explain what i meant a bit better than i did in my last post and then you can tell me of im talking utter balls so to speak.
Ignore what i said about the framework-res.apk I was being slightly stupid. I was getting confused with where the App folder in the flash.
If you take the update.zip and look in system/app you will see lots of the "core" APK files along with any other ones that the "chef" has decided to cook into it.
If you were to take your APK file and inject it into the update.zip and then sign it, put the update.zip on your phone and then flash that zip file you will have the app pre-installed thus if you do a factory wipe then it will still be there.
It was badly explained and there was no real need to just brush my post off and say it was a useless waste of time. Isnt the ethos of this forum for learning and development, If I was talking utter balls then fine. I also should have bothered to check the content of an update.zip file rather than just relying that i saw the folder somewhere.
Click to expand...
Click to collapse
I personally understood what you meant the first time and agree. For example, having SuperUser permissions, Spare Parts, and Term emulator "cooked" into JesusFreke's build. Should be able to simply decompile an update.zip, plug in those programs, and resign.
Related
If I take a ROM in .ZIP format and unzip it on my PC into a folder with the same name...
Then delete any .APKs of programs I have no use for (Twidroid, facebook, etc) and then replace the boot.img with a different kernel of my choice and different SuperUser.apk...
Can I then ZIP this primary folder and load it as a ROM onto my MT3G?
Forgive me if this sounds really stupid, but I have no idea.
Would it need to be "cooked" before I can load it??
When you cook you need to make sure the gloves are on and you have the oven's temp turned up real nicely to fry that thing
I guess you didnt search or something? I need you to confirm that you cant/can see this at the top left corner of screen:
xda-developers > Dream > Dream Android Development
Press Dream then head to Q&A section please.Wait a sec...Thats not a Dream..You belong here for asking q's about your phone:
http://forum.xda-developers.com/forumdisplay.php?f=480
Just do a search for signing tool and it shows up.
rbrainard said:
If I take a ROM in .ZIP format and unzip it on my PC into a folder with the same name...
Then delete any .APKs of programs I have no use for (Twidroid, facebook, etc) and then replace the boot.img with a different kernel of my choice and different SuperUser.apk...
Can I then ZIP this primary folder and load it as a ROM onto my MT3G?
Forgive me if this sounds really stupid, but I have no idea.
Would it need to be "cooked" before I can load it??
Click to expand...
Click to collapse
its more complicated than it looks...
First u will have to know if removing those .apk will not cause any trouble...
Second u will have to sign the apks u r going to add, and signed the zip too...
about changing the boot.img has been tried before in another thread...
but most important u will have to search, search and read, read...
going to try and find some thread for u, before the mods closed this...
Need to have it resigned...once a zip file is open it breaks the signature but I would aslo like to kno if this is possible
ilostchild said:
Need to have it resigned...once a zip file is open it breaks the signature but I would aslo like to kno if this is possible
Click to expand...
Click to collapse
here its a thread about resigned:
http://forum.xda-developers.com/showthread.php?t=473580
read it all, has interesting stuff, but keep searching...
actually i would like to try this too...
if u ask devs, unless they want to teach u, great...
Wow...
You can open zips (roms/updates) and browse them without the need to resign them. If you change any of the contents in a zip (rom/update) file, as in remove or add, then you have to resign. You do not have to resign the apks you add to the zip (rom/update) file.
To do what you want to do, refer to the link about signing zips that was posted above. Remove the APKs, sign the zip (rom/update) file, and apply the update to your phone.
bring in the wrecking crew!
anyone know how to run this on a mac?
Ha people had post, but the one that make the thread, its no where...
Sweet! Thanks folks.
The "Search" function is the most important in any forum, but it does the user no good if they have absolutely positively no idea what to search for... lol
My goal is to take Manup's Eclair_2.1-v1.5 and remove all the .APKs I don't have any use for... Swap the boot.img for the eclair one with the 10MB hack, replace the SpareParts.APK with one that contains "Keep home app in memory" option, etc, etc, etc.
rbrainard said:
If I take a ROM in .ZIP format and unzip it on my PC into a folder with the same name...
Then delete any .APKs of programs I have no use for (Twidroid, facebook, etc) and then replace the boot.img with a different kernel of my choice and different SuperUser.apk...
Can I then ZIP this primary folder and load it as a ROM onto my MT3G?
Forgive me if this sounds really stupid, but I have no idea.
Would it need to be "cooked" before I can load it??
Click to expand...
Click to collapse
You've just described in detail what about 90% of roms out there really are: open zip, add/remove files, ..., profit!!!
As mentioned correctly by Moonspoon, all you'd need afterwards is to sign your package (just to ensure that there's no problems with the signature, delete the three files inside /META-INF (leave the folders alone)).
Also, as mentioned by ginatojr (kind of...), you have to know which files you're removing, for example, removing TelephonyProvider.apk, well, that should be obvious. One that's not so obvious is gtalkservice.apk. When I first started, I removed it because I though it was part of Google Talk, when in fact it's more closely related to GoogleApps and SubscribedFeedsProvider.
The only times you want to deal with signatures is if your roms come from two different sources (if you're using an AOSP test-signed core and want to toss in some release-singed Google apps), but for the most part it's unnecessary and mostly discouraged as it's a different can of worms.
So, yeah, that's basically "Rom Cooking 101", where most other people releasing roms are at "Rom Cooking 102", there's really nothing to it.
rbrainard said:
Sweet! Thanks folks.
The "Search" function is the most important in any forum, but it does the user no good if they have absolutely positively no idea what to search for... lol
My goal is to take Manup's Eclair_2.1-v1.5 and remove all the .APKs I don't have any use for... Swap the boot.img for the eclair one with the 10MB hack, replace the SpareParts.APK with one that contains "Keep home app in memory" option, etc, etc, etc.
Click to expand...
Click to collapse
The keep in home might not work on 2.1 roms yet.
If this works out... My future plans would include doing this to streamline and modify any ROM of my choice as they are released.
I have absolutely no intention of modifying ROMs for redistribution.
This will be for my own personal needs alone.
Can anyone tell me where the .APK files of Market downloads are stored on the handset?
rbrainard said:
Can anyone tell me where the .APK files of Market downloads are stored on the handset?
Click to expand...
Click to collapse
NEVERMIND!
Found them in /SDCard/BackupRoot/app directory.
sorry for the double post
Curious..........when we install .apks do they alreadly know where to install its self. some apks i can completely move to the /system/app/ and others go straight to /data/app where most apks go and cannot be moved without FCing
IS there a way to force all data that i want to system/app/
just wanted to know if this is possible...would be sweet
TIA
As far as I know if you install them manually you can install them wherever you want. System or data.
While rom building I've put non-standard apps into the system/app folder with no problem.
If you put them in the system/app folder you might need to make sure the permissions are set right.
bp328i said:
If you put them in the system/app folder you might need to make sure the permissions are set right.
Click to expand...
Click to collapse
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
DS36 said:
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
Click to expand...
Click to collapse
I'm probably out of my league here, but I would guess that you should be able to add in the new keyboard (to the SYSTEM folder), select the new keyboard as your default keyboard (using an SMS app or something), then once it's selected you're good to go. You may be able to even delete the old one at that point without any errors?
However, you mentioned cooking and baking so this is what's over my head. Sorry if this doesn't help you.
Also, like that other dude said... "other" apps like the ones installed from the Market usually go in DATA. I noticed that when some ROMs have Maps installed in SYSTEM and you go to update it, it will install the newer version in DATA. I remember seeing in the logcat during boot that the phone detects both versions and just ignores the older version in the SYSTEM folder.
DS36 said:
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
Click to expand...
Click to collapse
I have used that exact keyboard on ROMs in the past. I did a straight install from the SD card using a file explorer, Astro to be exact.
Maybe I'm missing what you are trying to accomplish, but that's how I installed it. I'm not up on the cooking and baking, but maybe it's different if you are trying to add it to the ROM prior to flashing?
To remove the standard HTC_IME.apk, I would install the new one first then go into adb shell and remove it that route.
The only way I know how to change permissions is by using the Root Explorer app. If you have that you mount r/w and navigate to the apk you wanna change. Then you long press it and go to permissions. It looks like all the ones in /system/app are "User: Read, Write; Group: Read; Others: Read". Hope this helped!
zwade01 said:
The only way I know how to change permissions is by using the Root Explorer app. If you have that you mount r/w and navigate to the apk you wanna change. Then you long press it and go to permissions. It looks like all the ones in /system/app are "User: Read, Write; Group: Read; Others: Read". Hope this helped!
Click to expand...
Click to collapse
Great info guys but actually im trying to build a Rom from scratch in the Rom Kitchen.......
when i flash the Rom to my Phone i want the keyboard i want and not the stock one built in at all....i actually remove it while in the kitchen....
so basically if you were to flash this rom to you phone the stock is gone and the custom will be there.....
P.S. I already know about removing the htc ime_mod via ADB after i flash but i want it gone before
TIA everyone great info
ANYBODY ??????
i pushed it on with adb, it shows up in root explorer now, but not in the widgets list. anyway to make this work?
can you send me the file? i would like to try some attempts...
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
EDIT: My bad for some reason (it must be late) i thought i read Google News widget...I do want to get the HTC news widget on my phone also...
ejlax said:
can you send me the file? i would like to try some attempts...
Click to expand...
Click to collapse
sure, PM me your email and i'll email it to you
ejlax said:
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
Click to expand...
Click to collapse
you installed the HTC news widget right on the phone? the one i tried wouldn't install.
i got the NewsReader.apk installed and opened...now trying to figure out how to get the widget...
anywho, i successfully modified and then pushed the modified News and Weather (GenieWidget) onto the phone. i themed it to match my FeedR widget.
tried to post a screen cap but it's not letting me. something about being a new member.
i have the widget.apk, but not the NewsReader.apk. maybe that's why it's not working. we need to share files. lol
here is the link for the newsreader.apk
http://www.mediafire.com/?xuzn5r0yzze
the app itself does nothing but force close for me. are you getting the same result?
do we maybe also need the odex file?
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
ejlax said:
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
Click to expand...
Click to collapse
i do not have the odex files. i'm giving up for now. lol hopefully somebody can figure it out. i'm good with my skinned geniewidget for now.
You say your rom is deodexed... you're running a fully deodexed rom on DI? Did you build this yourself, or...?
I have some ideas for the news widget, but I'd like to see newsreader working first.
Thanks!
I posted progress..
I posted progress on the same thread in the apps section. I rooted and pulled de-odexed files from an evo build and pushed them to the system/app/ directory, i then cleared the data in HTC Sense app and the widget and icon showed up. The problem is that they force close. You need 3 files
RSS.apk
NewsReader.apk
com.htc.NewsReaderWidget.apk
I don't think it will make any difference to use odex'd files. Usually it is better to have de-odex'd files to install. The files must be on /system/app/ directory in order to even show up and launch. I hope that a dev is able to take a better look at the androidmanifest.xml in the app or use logcat to see what the hell is going on.
If you want to write to the /system/app/ directory,
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mv /sdcard/RSS.apk /system/app/RSS.apk
(etc...)
then applications-->manage-->HTC Sense -->clear data...
But again, FC's will occur until someone is able to look at the manifest and alter it. I looked at the MinSDK for this app and it is the same as the DInc, otherwise I would've changed that part with a Hex editor myself.
Hope someone is able to do this, we would all be one step closer to a smaller Evo, lol. (I really don't like holding a "kindle" to my ear anyways, lol!)
Red.
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
vilord said:
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
Click to expand...
Click to collapse
I didn't need to resign because the .apk files I pulled were from a build that was de-odex'd in the "Evo Android Development" Section. Root Explorer recognizes the files right away, but because they need to be system files, they can't be installed like other apps. I don't have a logcat because I really don't dev too much, but would be thrilled if others tried this.
Red
I have the tablet version .apk installed that was posted in the collection of Transformer apps, I think in the Xoom forum. Anyways, it opens fine before it force closes, but when I try to open my resume it crashes. I tried installing it outright and also putting in system/app. Both ways give the same results, it opens then crashes when opening a file. I cleared the data, reset the device, nothing.
jkuhna3449 said:
I have the tablet version .apk installed that was posted in the collection of Transformer apps, I think in the Xoom forum. Anyways, it opens fine before it force closes, but when I try to open my resume it crashes. I tried installing it outright and also putting in system/app. Both ways give the same results, it opens then crashes when opening a file. I cleared the data, reset the device, nothing.
Click to expand...
Click to collapse
Did you check the apk details to see if there's some sort of license/drm check?
Many apps and games are now coming with a license check, just like computer software to make certain people aren't pirating them. Something could be checking for a serial number.
I don't know if that's a paid version too. If so, I'm pretty sure discussing pirated apps is against ToS. If it's a freely available thing then, no worries. I'm waiting, maybe forever for a LibreOffice port to Android. Probably be a long while, dunno how well Dalvik and something that big would play together.
muqali said:
I don't know if that's a paid version too. If so, I'm pretty sure discussing pirated apps is against ToS. If it's a freely available thing then, no worries. I'm waiting, maybe forever for a LibreOffice port to Android. Probably be a long while, dunno how well Dalvik and something that big would play together.
Click to expand...
Click to collapse
That's true, it may be a paid app. If so I'm not trying to do anything that's frowned upon here. I do know that the app isn't available in the market yet. I think I'm gonna put this off for a while and see what happens with the official release because it's obviously not working right now.
From what little I can learn Polaris Office comes preiinstalled on the Transformer tablet only. I found advice that I needed to move two lib files over to system/lib to make it work. Well I only found one lib file, copied to system/lib and still crashes. I can get it display some stuff but it won't let me start a new doc or read an exist in doc. There are some nice YouTube videos showing how it works, and it looks real nice. I hope some can figure it out.
Look at this post. http://forum.xda-developers.com/showthread.php?t=1114100
The two files are libpolarisoffice_Clipboard.so and libpolarisoffice.so. It works fine for me without any FCs.
Yep, It Works For Me Too..
but you have to push the two lib files to system/lib using ADB (or Root Explorer)
Thanks for the names of the two file...it works! I am amazed at how this info is found and shared
bpivk said:
Look at this post. http://forum.xda-developers.com/showthread.php?t=1114100
The two files are libpolarisoffice_Clipboard.so and libpolarisoffice.so. It works fine for me without any FCs.
Click to expand...
Click to collapse
Perfect, thank you. I knew there had to be a way.
However (you just knew there was going to be a however!), Polaris Office loads OK, but many of the functions don't work. For example I am able to type in text for a new document but very few of the tools at the top work and I can't highlight any portions of the text. There must still be something missing to make it work correctly. When I do a check for updates within the program it says I am up to date. Any one else seeing these problems?
daveheine said:
However (you just knew there was going to be a however!), Polaris Office loads OK, but many of the functions don't work. For example I am able to type in text for a new document but very few of the tools at the top work and I can't highlight any portions of the text. There must still be something missing to make it work correctly. When I do a check for updates within the program it says I am up to date. Any one else seeing these problems?
Click to expand...
Click to collapse
Seems to be OK for me, I've had it running for nearly 2 weeks now. What functions specifically aren't working for you? I'll try them on mine...
I found a couple of YouTube videos by andyxover that I was able to try out. I could do all of his examples.
The problems/limitations that jumped out at me were
(1) you can not move pictures around in a document (MS Word limits you also)
(2) in spreadsheets you have to type in the blind when you are making enties into boxes
I need to ply around more to get a better feel for this UI.
daveheine said:
I found a couple of YouTube videos by andyxover that I was able to try out. I could do all of his examples.
The problems/limitations that jumped out at me were
(1) you can not move pictures around in a document (MS Word limits you also)
(2) in spreadsheets you have to type in the blind when you are making enties into boxes
I need to ply around more to get a better feel for this UI.
Click to expand...
Click to collapse
1. Yes you can. Single tap on the image and it will select.. Then you can move it where you want within reason.
2. There is no "in cell" editing. Editing is in the text box at the top of the screen.
bpivk said:
Look at this post. http://forum.xda-developers.com/showthread.php?t=1114100
The two files are libpolarisoffice_Clipboard.so and libpolarisoffice.so. It works fine for me without any FCs.
Click to expand...
Click to collapse
Hello, I was readig your posts looking for help and maybe you can help me, as I can see you solved the problem.
I have an Acer Iconia A500 w/Honeycomb and tryed to install Polaris Office.
I donwloaded the P.O. files and read the txt file: (Using root explorer or adb, push the two lib files to system/lib.).
Downloaded and install rootexplorer, copy to pen drive "lib files", opened rootexplorer, copied lib files then went to System File, opened lib file, did hit paste and a warning message says this file is reading only.
I began to investigate and found that needed to root the device, I did it and tested with root checker, it said it was rooted succesfully, and then repited the hole process, again, read only file.
I was reading posts and found that what I think is the problem, "Fix permissions", so it let me paste the 2 lib files. But still havent found the answer to this. Is there a step I missed? or I'm just doing it all wrong?
I thought if I could find the way to solve the "fix permissions" problem and could paste the 2 lib files in System/lib folder it would be the solution, but can´t paste the 2 files. What should I do?
Thanks in advance for reading and helping me.
It's kind of funny.
You've missed an option in Rootexplorer. It has a button on the top corner that says "Mount R/W" press it and copy the files. You have an old version of rootexplorer if it doesn't have that option.
Ok, here goes:
OPEN Rootexplorer,
top right is the Remount as R/W button, click on it and it changes to Remount R/O
found MNT folder and click, foun usb_storage folder and click,
found the folder I made with 2 lib files and click,
Multiselect and mark: libpolarisoffice.so and libpolarisoffice_Clipboard.so files and Copy
Back to System folder and then to lib folder, click PASTE and " You cannot paste here because the file system is read-only.
What happen??? What am I doing wrong?
aero2much said:
Ok, here goes:
OPEN Rootexplorer,
top right is the Remount as R/W button, click on it and it changes to Remount R/O
found MNT folder and click, foun usb_storage folder and click,
found the folder I made with 2 lib files and click,
Multiselect and mark: libpolarisoffice.so and libpolarisoffice_Clipboard.so files and Copy
Back to System folder and then to lib folder, click PASTE and " You cannot paste here because the file system is read-only.
What happen??? What am I doing wrong?
Click to expand...
Click to collapse
By the way, the 2 lib files have an icon in golden color with a star i brown color, would it mean something?
aero2much said:
By the way, the 2 lib files have an icon in golden color with a star i brown color, would it mean something?
Click to expand...
Click to collapse
Opened the system file folder, found the lib file folder, opened and tried to paste:
the same answer "You cannot paste here because the system file is read-only"
But I noticed something, when I click R/W it changes to R/O, when I open system folder to Paste the Remount automaticaly changes to R/W again after it was R/O, I don´t know if it something important to this case, afted denied access I cilk the remount button again, just to see if it changes to R/O, but it doesn´t.
I usually just copy the files and then press the r/w button and paste. I don't leave the folders. You shouldn't have problems if you're rooted.
bpivk said:
I usually just copy the files and then press the r/w button and paste. I don't leave the folders. You shouldn't have problems if you're rooted.
Click to expand...
Click to collapse
Just double check with rootchecker and it says I have root access.
I don't know! Maybe is not for me this time.
Thanks a lot for your time
Hello there, hope everyone's alright
While uninstalling bloatware I mistakenly deleted my android's file manager (File 7.1.1 com.android.documentsui).
I can't reinstall it via adb because the versions I download don't match the signature of the allegedly deleted file.
Is there a way in which I can absolutely remove every trace in order to have it accept the new apk, or that being impossible, to restore the former file?
Alternatively, could anyone that has the same model/rom extract the app file and upload it for me, or would it clash as well with the signature?
Thanks in advance!
just install a root file browser like mixplorer and drop(copy) the .apk file back into /root/system/priv-apps folder and reboot
it will automatically be installed as system apk and work ....
Sent from my woods_f using XDA Labs
Nevermind what I just posted. Edited.
I managed to install it (had to try between some different versions of the apk file), but now it closes/crashes/stops as soon as I open it, every single time. Any ideas as to what might be the issue?
Dotf said:
Nevermind what I just posted. Edited.
I managed to install it (had to try between some different versions of the apk file), but now it closes/crashes/stops as soon as I open it, every single time. Any ideas as to what might be the issue?
Click to expand...
Click to collapse
You probably need the libs. Or the OAT folder. Or the permissions may be wrong.
Here you go. I'll attach screenshot of permissions as well.
It's not a flashable zip, just extract the files and place in system/privapp in a folder (name it DocumentsUI) and set permissions.
You cannot just install it like a regular app. You have to manually place the files
madbat99 said:
It's not a flashable zip, just extract the files and place in system/privapp in a folder (name it DocumentsUI) and set permissions.
You cannot just install it like a regular app. You have to manually place the files
Click to expand...
Click to collapse
Did exactly as you pointed out, but no luck.
After that I tried opening the apk on the privapp folder from mixplorer, and it says it's corrupted.
If I try to install said apk via adb, I get
Package couldn't be installed in /data/app/com.android.documentsui-1: Package /data/app/com.android.documentsui-1/base.apk code is missing
Dotf said:
Did exactly as you pointed out, but no luck.
After that I tried opening the apk on the privapp folder from mixplorer, and it says it's corrupted.
If I try to install said apk via adb, I get
Package couldn't be installed in /data/app/com.android.documentsui-1: Package /data/app/com.android.documentsui-1/base.apk code is missing
Click to expand...
Click to collapse
ADB is trying to install it as a user app which I said you can't do. Just place the APK and the oat folder in there. Make sure the permissions of the APK and the odex all match the rest of the files in the privapp folder and reboot. Don't forget to reboot that's very important.
You need all folders. Folder named oat, and in that, a folder named arm. Put odex in there. Make sure all permissions match others in priv app (even the oat and arm folders). Reboot.
---------- Post added at 06:22 PM ---------- Previous post was at 06:06 PM ----------
Did you delete anything other than document ui? Debloating doesn't mean randomly delete system apps. Some things are needed for Android to function.
madbat99 said:
ADB is trying to install it as a user app which I said you can't do. Just place the APK and the oat folder in there. Make sure the permissions of the APK and the odex all match the rest of the files in the privapp folder and reboot. Don't forget to reboot that's very important.
You need all folders. Folder named oat, and in that, a folder named arm. Put odex in there. Make sure all permissions match others in priv app (even the oat and arm folders). Reboot.
---------- Post added at 06:22 PM ---------- Previous post was at 06:06 PM ----------
Did you delete anything other than document ui? Debloating doesn't mean randomly delete system apps. Some things are needed for Android to function.
Click to expand...
Click to collapse
Made sure to have everything with the proper permissions, still, no luck.
The other apps that I deleted were either sprint and amazon crap, or google games/videos/music and youtube. This one I mistakenly got rid off because it was labeled as "Downloads" and looked kinda like one of those other unnecessary google apps. In hindsight I should have backed up everything; got too cocky for my own good.
Is there some system-wide checkup that can be performed to make sure nothing else of importance is missing, or at this point is it better to give up and reinstall the rom/factory reset?
Dotf said:
Made sure to have everything with the proper permissions, still, no luck.
The other apps that I deleted were either sprint and amazon crap, or google games/videos/music and youtube. This one I mistakenly got rid off because it was labeled as "Downloads" and looked kinda like one of those other unnecessary google apps. In hindsight I should have backed up everything; got too cocky for my own good.
Is there some system-wide checkup that can be performed to make sure nothing else of importance is missing, or at this point is it better to give up and reinstall the rom/factory reset?
Click to expand...
Click to collapse
If it was downloads, I may have given you the wrong one. Let me check.
Dotf said:
Made sure to have everything with the proper permissions, still, no luck.
The other apps that I deleted were either sprint and amazon crap, or google games/videos/music and youtube. This one I mistakenly got rid off because it was labeled as "Downloads" and looked kinda like one of those other unnecessary google apps. In hindsight I should have backed up everything; got too cocky for my own good.
Is there some system-wide checkup that can be performed to make sure nothing else of importance is missing, or at this point is it better to give up and reinstall the rom/factory reset?
Click to expand...
Click to collapse
if you have a twrp backup just restore from there ...if you never made a backup of your stock rom in twrp before or after rooting or making sytem changes you are right that you are too cocky ..
Sent from my woods_f using XDA Labs
Dotf said:
Made sure to have everything with the proper permissions, still, no luck.
The other apps that I deleted were either sprint and amazon crap, or google games/videos/music and youtube. This one I mistakenly got rid off because it was labeled as "Downloads" and looked kinda like one of those other unnecessary google apps. In hindsight I should have backed up everything; got too cocky for my own good.
Is there some system-wide checkup that can be performed to make sure nothing else of importance is missing, or at this point is it better to give up and reinstall the rom/factory reset?
Click to expand...
Click to collapse
Which one did you delete? DocumentsUI or downloadprovider?
What I gave you extracted right from my phone (virgin mobile, exact same as sprint) so if it didn't work, either you did something wrong or deleted something else.
madbat99 said:
Which one did you delete? DocumentsUI or downloadprovider?
What I gave you extracted right from my phone (virgin mobile, exact same as sprint) so if it didn't work, either you did something wrong or deleted something else.
Click to expand...
Click to collapse
Sorry for taking so long, I was out of the house.
While the app appears as Downloads in the app browser, on the properties it's listed as Files 7.1.1 aka documentsUI, the same you uploaded for me.
The main gripe with all of these, is that I can't install or update apps via playstore. They start the download process and get stuck in a loop there, never actually beginning the download in itself, in case it helps as a clue.
Dotf said:
Sorry for taking so long, I was out of the house.
While the app appears as Downloads in the app browser, on the properties it's listed as Files 7.1.1 aka documentsUI, the same you uploaded for me.
The main gripe with all of these, is that I can't install or update apps via playstore. They start the download process and get stuck in a loop there, never actually beginning the download in itself, in case it helps as a clue.
Click to expand...
Click to collapse
Try clearing app data for download manager. Also clear cache for playstore. Sometimes you have to clear data for playstore as well. Pretty common problem. Clearing data for those usually works. Some ppl have had to clear data for play services as well.
madbat99 said:
Try clearing app data for download manager. Also clear cache for playstore. Sometimes you have to clear data for playstore as well. Pretty common problem. Clearing data for those usually works. Some ppl have had to clear data for play services as well.
Click to expand...
Click to collapse
I just checked, and I am indeed missing as well the downloadprovider apk+odex. It's probably the missing piece. I'm honestly ashamed of asking further help from you at this point because of how patient you've been, but if you can upload that one for me, it's probably all it'll take to finally close this up. I tried with other versions from the net but they didn't work.
Dotf said:
I just checked, and I am indeed missing as well the downloadprovider apk+odex. It's probably the missing piece. I'm honestly ashamed of asking further help from you at this point because of how patient you've been, but if you can upload that one for me, it's probably all it'll take to finally close this up. I tried with other versions from the net but they didn't work.
Click to expand...
Click to collapse
Sure thing bro. Give me a minute. Also, clear the data for the apps I said. That has worked for many people.
Here ya go. Same deal, make sure to set permissions because as soon as I extract and compress them the permissions change.
madbat99 said:
Here ya go. Same deal, make sure to set permissions because as soon as I extract and compress them the permissions change.
Click to expand...
Click to collapse
Aaaaaaand....
IT WORKS!
Thank you so much dude, for all your help and patience. I'm gonna have to make a shrine in your honor.
PS: Making a backup of everything ASAP.
Dotf said:
Aaaaaaand....
IT WORKS!
Thank you so much dude, for all your help and patience. I'm gonna have to make a shrine in your honor.
PS: Making a backup of everything ASAP.
Click to expand...
Click to collapse
No problem. Have fun, be safe, own your device.
Could this app missing be causing a corrupt sd card error?