Where to put SuperSU.apk - SuperSU

Hi,
I rooted my TVBox (T-R 42 II with RK3188), and during the rooting process SuperSU.apk was put to directory /system/app. Google Play Store then said that there was a new version and made an update, but put another apk into directory /data/app . So now there are two of them.
Can you please tell me where the correct location is? And which owner and rights have to be set for the apk?
Thank you!

ThemGo said:
Hi,
I rooted my TVBox (T-R 42 II with RK3188), and during the rooting process SuperSU.apk was put to directory /system/app. Google Play Store then said that there was a new version and made an update, but put another apk into directory /data/app . So now there are two of them.
Can you please tell me where the correct location is? And which owner and rights have to be set for the apk?
Thank you!
Click to expand...
Click to collapse
I checked it again, it looks like an error in the rooting script (DansRoot.bat). I guess it should have been /data/app from the start.

Related

[HOWTO] Delete system apps

There is many of you that asks how to remove this and that preinstallaed apps in different ROM
When a developer put apps in system/app it can not be removed so easy.
But if you have RomManager or fakeflash´s update.zip there is a other way.
I have attached a zip fil that contains a ordinare ROM installation script that only contains delete and copy.
Download file and unzip on your computer and take a look in the folders
data/app
META-INF/com/google/android/update-script
system/app
If your only wish is to remove a systemapp
edit the file update-script (textfile)
and add line with the filename of what you want to remove:
(example)
delete SYSTEM:app/unwanted.apk
delete SYSTEM:app/unwanted.odex
If you want to install some apps put them in system/app for not installable
and data/app for apps that can be removed as usual
rezip folders and install zip with RomManager NO WIPE!!
cm6 azures you will get a error because not same structure for data/app
never mind just select reboot. Delete will work anyway.
Sometimes there will be .so files in system/libs too. They are little more difficult to know which to remove so that demands more knowledge of the app.
Use for instance Astro filemanager or Estrong to look in system/app for correct filename to delete
Script work even if *.odex not exist.
The fact that when you zip folders it will not be signed so file will not work with adb recovery
Googleapps filenames:
CarHomeGoogle.apk, CarHomeLauncher.apk, com.amazon.mp3.apk,
Facebook.apk, GenieWidget.apk, Gmail.apk, GoogleBackupTransport.apk,
GoogleCalendarSyncAdapter.apk, GoogleContactsSyncAdapter.apk,
GoogleFeedback.apk, GoogleGoggles.apk, GooglePartnerSetup.apk, GoogleQuickSearchBox.apk, GoogleServicesFramework.apk, googlevoice.apk,
HtcCopyright.apk, HtcEmailPolicy.apk, HtcSettings.apk, kickback.apk, LatinImeGoogle.apk, LatinImeTutorial.apk, Maps.apk, MarketUpdater.apk, MediaUploader.apk, NetworkLocation.apk, OneTimeInitializer.apk, PassionQuickOffice.apk, SetupWizard.apk, soundback.apk, Street.apk, Talk.apk, talkback.apk, Twitter.apk, Vending.apk, VoiceSearch.apk, YouTube.apk, QuickSearchBox.apk, Provision.apk
Other apps:
ADWLauncher.apk, Gallery3D.apk
but filename may be different depending of ROM
Mainpart must exist for using phone normally
Hope that this help to remove "non-removable" systemapps in future.
/Snakehult
Good guide.
via Legend using XDA-app
Thanks snakehult - great guide and very useful!!
snakehult said:
(example)
delete SYSTEM:app/unwanted.apk
delete SYSTEM:app/unwanted.odex
Click to expand...
Click to collapse
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
c_man said:
Thanks snakehult - great guide and very useful!!
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
Click to expand...
Click to collapse
Yes you can use some regular filemanager such Astro or Estrongs and look in system/app
Always delete both, script work even if odex file is missing
c_man said:
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
Click to expand...
Click to collapse
cool guide!
anyway you have to detect the filename of the apps this way:
enter the recovery mode (in modaco-root-r4: recovery-windows.bat)
now type:
adb shell
mount -t yaffs2 /dev/block/mtdblock3 /system
ls -l /system/app
(this will give you the list of system apps, with space usage)
you have to delete both .apk and .odex files (the latter may not exist)
I use to delete the bigger ringtones too, the list is given by
ls -l /system/media/audio/ringtones
it is safe to delete, after you setup the google accounts (ie after first boot):
HTCSetup*
com.htc.Setup*
Stock*
HtcFoot*
NewsRead*
wow its working......thanks dude........
Uploaded with ImageShack.us
http://android.modaco.com/content/h...apps-from-the-htc-desire-with-adb-in-windows/
Simple guide from MoDaCo
That must be the hardest way to remove apps i guess Have you seen "modaco guide"? All you have to do is reboot your phone in to recovery mode and type 2-3 commands in ADB. Simple as that.
Thanks anyway for your efforts
Many way för same thing
But with a custom-made zipfile you always remove/install favourite apps without adb. And quick modify new ROM install.
Sent from my Legend using XDA App
Hello,
Good guide.
The Legend may be rooted to do this?
I am a newbie.
Thanks.
bobstar_fr said:
Hello,
Good guide.
The Legend may be rooted to do this?
I am a newbie.
Thanks.
Click to expand...
Click to collapse
As I see it, no use to do much in the dev forum without an rooted Phone
hey guys, thanks for bringing this up. i just tried modaco site method and i deleted stock and its widget only. the internal storage shot from 113 mb to 122 mb and ram from 42 to 134 mb !
what else can i delete
Learners Lisence said:
hey guys, thanks for bringing this up. i just tried modaco site method and i deleted stock and its widget only. the internal storage shot from 113 mb to 122 mb and ram from 42 to 134 mb !
what else can i delete
Click to expand...
Click to collapse
Just delete what you will never use and....no regret
thank you cryshop for your expert advise
i tried deleting Innovation.mp3 by this script -
adb-windows shell rm /system/media/audio/ringtones/Innovation.mp3
said file not found even though its listed.
whats my mistake ?
i will try snakehults method also but later.
thanks
im trying to use modaco's method but what is the green recovery menu?
i dont understand i go in fastboot then recovery and then?thank you
edit done im stupid
Learners Lisence said:
thank you cryshop for your expert advise
i tried deleting Innovation.mp3 by this script -
adb-windows shell rm /system/media/audio/ringtones/Innovation.mp3
said file not found even though its listed.
whats my mistake ?
i will try snakehults method also but later.
thanks
Click to expand...
Click to collapse
Hmm, did you forget a slash or a letter in the command? because I tried and I could actually delete it.
@kdma : install ROM Manager from the Market, and there is an option inside the app : Reboot into Recovery (easiest way to get into recovery mod)
I also deleted /system/etc/clock* and saved some space again
(of course I don't need Htc clock widgets)
cryshop said:
Hmm, did you forget a slash or a letter in the command? because I tried and I could actually delete it.
Click to expand...
Click to collapse
cryshop, i was typing in the wrong directory
Ps - snakehults's appfixer is real delight ! smooooth.
except that my winzip is a trial version and legend dont recognize winrar files.
I was wondering how i got such good figures for change in space and ram the first time. i havent since then. my legend just likes the rebooting involved coz i dont use task killers anymore. and maybe i deleted more than just stock the first time
Will this work with android 2.2 on Hero?
Hey I've been looking all over for something like this. I downloaded the zip, added the lines
delete SYSTEM:app/mms.apk
delete SYSTEM:app/mms.odex
delete SYSTEM:app/email.apk
delete SYSTEM:app/email.odex
and rezipped it.
I used Rom Manager and selected install rom from SD card. It rebooted, seemed to execute the zip. But the original email and mms apps are still installed. What am i doing wrong?
kdma said:
im trying to use modaco's method but what is the green recovery menu?
i dont understand i go in fastboot then recovery and then?thank you
edit done im stupid
Click to expand...
Click to collapse
The first thing you should do is download the required zip file from modaco (I'm a new user of xda and is not permitted to post outside links here. You may easily find that post "24/May r4 - HTC Legend rooting guide - Now with 1.31.x" in android.madaco.com)
I think many of us rooted the device followed the instructions of Paul. So that file might be already in your hands.
Fastboot and then recovery, as you have done before. Run Recovery-linux.sh (or Recovery-windows.bat, if you use Windows) in a terminal window - your device shall be at the green recovery screen.
Open another terminal window and enter:
./adb-linux shell mount /system
and then you can push, pull or rm file. For example,
./adb-linux shell rm /system/app/Calculator.apk
./adb-linux push abc.so /system/lib
--
I didn't notice you have already solved the problem, when I compiled this post. It is no longer useful.

Asus Writing App - Pulled for xoom?!

Hey Guys,
Asus just came out with a new writing app for their transformer (I believe?)
has anyone attempted to pull the apks and necessary's .so's in order to see if it works on the xoom?? If not, would anyone be willing to pull them so I can give it a try
trying to turn my xoom into a fully functioning school machinnneee
Thanks in advance
feel free to PM me if need be
Could i get a link that you say?
im looking for a link myself
anyone any luck with this yet?
I know it's the long way round, but you could probably extract it from this:
http://forum.xda-developers.com/showthread.php?t=1283081
So I gave it a try and it worked. Just drop the apk into /system/app/ set the permissions and reboot.
qubit76 said:
I know it's the long way round, but you could probably extract it from this:
http://forum.xda-developers.com/showthread.php?t=1283081
Or here, the system dump
http://forum.xda-developers.com/showthread.php?t=1281059
So I gave it a try and it worked. Just drop the apk into /system/app/ set the permissions and reboot.
Click to expand...
Click to collapse
Whoa thanks! I also pulled out a few other apks that work great.
qubit76 said:
I know it's the long way round, but you could probably extract it from this:
http://forum.xda-developers.com/showthread.php?t=1283081
Or here, the system dump
http://forum.xda-developers.com/showthread.php?t=1281059
So I gave it a try and it worked. Just drop the apk into /system/app/ set the permissions and reboot.
Click to expand...
Click to collapse
Would you please tell me how to set permission to install?
tritran18518 said:
Would you please tell me how to set permission to install?
Click to expand...
Click to collapse
Im assuming you have a file manager installed (Root Explorer, Es File Explorer)
You have to long press the app, after moving into proper folder /sysstem/app/ and set the same permissions as the others (I cant remember which ones they are exactly but you will be able to tell once in the file system).
tincbtrar said:
Im assuming you have a file manager installed (Root Explorer, Es File Explorer)
You have to long press the app, after moving into proper folder /sysstem/app/ and set the same permissions as the others (I cant remember which ones they are exactly but you will be able to tell once in the file system).
Click to expand...
Click to collapse
I already did that, but no luck. Still can't install. Its size is 8.2mb ,isnt it?
can someone post the apk here. Greatly appreciated
tritran18518 said:
I already did that, but no luck. Still can't install. Its size is 8.2mb ,isnt it?
Click to expand...
Click to collapse
Did you move the .odex file too and set permissions?
Attached the file here just in case
Hopefully someone can help me here, I followed the links and after a few attempt's of being told too much traffic I was able to download the system dump, I Extracted on my PC moved the email widget and the supernote APK's to the internal storage of the zoom, then I use Astro to install them it starts the process but if fails I get an error message saying file not installed, what do I need to do so this installs ? and where do I put the ODEX file ? and how do I sign them ?
thanks
arimus said:
Hopefully someone can help me here, I followed the links and after a few attempt's of being told too much traffic I was able to download the system dump, I Extracted on my PC moved the email widget and the supernote APK's to the internal storage of the zoom, then I use Astro to install them it starts the process but if fails I get an error message saying file not installed, what do I need to do so this installs ? and where do I put the ODEX file ? and how do I sign them ?
thanks
Click to expand...
Click to collapse
You didnt follow the instructions. You shouldnt be trying to install anything because the .apk's are not signed.
However, if you move supernote.apk and supernote.odex into system/app and set proper permissions and then reboot it will work.
still cant install this app. I move both supernote.apk and supernote.odex to system/app. try to set permission in many different ways, but this app still not be installed. i guess i give up.
tritran18518 said:
still cant install this app. I move both supernote.apk and supernote.odex to system/app. try to set permission in many different ways, but this app still not be installed. i guess i give up.
Click to expand...
Click to collapse
Are you setting the permissions exactly the same as all other apps in system/app and are you rebooting?
I cant remember which set worked for me - I downloaded the Dump and the ROM but I know one didnt work.
Try both.
tincbtrar said:
Are you setting the permissions exactly the same as all other apps in system/app and are you rebooting?
I cant remember which set worked for me - I downloaded the Dump and the ROM but I know one didnt work.
Try both.
Click to expand...
Click to collapse
Yes, there are two types of permission: rw-rw-rw and rw-r-r. I alredy tried and reboot but still didnt work. I download the dump image. Trying down the Rom now.
---------------
Ok. Using the .apk from the ROM, i got the app installed but FC upon opening.
---------------
finally, got the app working.
+ get the app from ROM link, not the dump link
+ copy supernote.apk to sytem/app
+ using root explorer/es file explorer, set permission : read-write for user-group-and other (rw-rw-rw).
+ reboot
Can someone please save everyone a lot of trouble and post the .apk from the ROM?
here is the link for the app: http://www.multiupload.com/GX9O2CTQ1W
finally, got the app working.
+ get the app from ROM link, not the dump link
+ copy supernote.apk to sytem/app
+ using root explorer/es file explorer, set permission : read-write for user-group-and other (rw-rw-rw).
+ reboot
Click to expand...
Click to collapse
--------------------
There is another app from market with is similar to this Supernote app in term of UI and Funtions call FreeNote. You guys might want to check it out.
I signed the apk.. it works on my Galaxy Tab 10.1
no need to root - just install
http://goo.gl/ciSZH
Thanks!
Sent from my Evo3D
justvinz said:
I signed the apk.. it works on my Galaxy Tab 10.1
no need to root - just install
http://goo.gl/ciSZH
Click to expand...
Click to collapse
How do you sign the apk? Thanks.

Everything just crashes that is sideloaded Rooted

I have a rooted Kindle Fire HD 7" and every google app (talk, gmail, playstore) I try to launch or any game that I try to sideload just flashes white or grey and then crashes/closes.
The only app that I can get to work is the Youtube app, but I can't login, when I try to login it just flashes a prompt and then I'm back to the app.
I've installed the GoogleServicesFramework.apk and followed other DIYs on this site to the T, and have tried every suggestion in every thread, but I am still crashing on everything. I've tried many different ways to get things to launch. I'm wondering if there is something blocking these that came out in the last few days? It looks like a silent update might have caused this?
It doesn't seem like there is a lot of current info on this site and wondering if there are other good resources, that I just can't seem to find.
did you accurately checked permissions of files after moving to system folder?
kashei said:
did you accurately checked permissions of files after moving to system folder?
Click to expand...
Click to collapse
I changed the permissions to RW R- R- for Vending.apk as defined in each of the different threads. When installing all of these items do I need to copy everything to the system/apps folder? The only file that is requested to be in that folder from every walkthrough is the Vending.apk.
timbonator said:
I changed the permissions to RW R- R- for Vending.apk as defined in each of the different threads. When installing all of these items do I need to copy everything to the system/apps folder? The only file that is requested to be in that folder from every walkthrough is the Vending.apk.
Click to expand...
Click to collapse
Well first im going to ask, Did you make sure to put in the googleserviceframework.apk with correct permissions in the /system/app folder?
And if so, did you do the same with the googleloginservice.apk ?
If both of these are present than, post back; but i like to check these first.
timbonator said:
I changed the permissions to RW R- R- for Vending.apk as defined in each of the different threads. When installing all of these items do I need to copy everything to the system/apps folder? The only file that is requested to be in that folder from every walkthrough is the Vending.apk.
Click to expand...
Click to collapse
The only apk that needs to be installed in the system\app folder is the vending.apk. And googleloginservices.apk is not needed. Try uninstalling the googleservicesframework.apk and vending.apk then re-install. The first time I installed the vending.apk and googleservicesframework.apk everything worked perfectly. I reset my device to make backups and when I re-did the process(exactly the same way) I kept getting kicked out like you describe. I uninstalled and did it again and worked perfect again. Same thing happened with Google Movies apk. Not sure why, other than these devices were not made to run these applications and we are forcing the system to do so.
Remember not all apps you sideload are not going to work.
craby1925 said:
Well first im going to ask, Did you make sure to put in the googleserviceframework.apk with correct permissions in the /system/app folder?
And if so, did you do the same with the googleloginservice.apk ?
If both of these are present than, post back; but i like to check these first.
Click to expand...
Click to collapse
No idea why none of the other DIY threads mentioned 'googleloginservice.apk', did a search for that and installed in the system/apps folder and viola everything works now. Thanks for that!

[Q] MTP Application 1.0 APK

Hey guys! So I successfully managed to root my Galaxy S Advance running stock 4.1.2 Jellybean (Italian firmware I9070XXLQL) and installed SuperSU and TitaniumBackup. I was uninstalling unnecessary bloatware using a couple of lists made by other forum members. One of the apps I deleted was called MTP Application 1.0 (I think?) because it is only required for connecting to a computer via Kies and I don't use that anymore (Android File Transfer all the way!) But now my phone does not get recognised by AFT at all. Unfortunately I'm a klutz and forgot to make a backup of the application before deleting so now it cannot be recovered. Can someone possibly provide me with the APK? It is a system application and I have granted root access to ES File Explorer. Just need the application itself. Thanks!
Edit: I've already searched online and can't find the APK anywhere on the Internet.
Here you go. I attached the file. I use xxlql deodexed and pulled this from the preload partition. I think you must put this apk in the app folder on preload partition and give it permissions. Good Luck.
sasank360 said:
Here you go. I attached the file. I use xxlql deodexed and pulled this from the preload partition. I think you must put this apk in the app folder on preload partition and give it permissions. Good Luck.
Click to expand...
Click to collapse
Hey thanks! I downloaded the APK, moved it to the appropriate folder and changed the permissions. Now my phone is getting recognised by AFT. Thanks once again for the speedy response!
jeremymichaeldlima said:
Hey thanks! I downloaded the APK, moved it to the appropriate folder and changed the permissions. Now my phone is getting recognised by AFT. Thanks once again for the speedy response!
Click to expand...
Click to collapse
Glad to know I was of some help. Good luck.
sasank360 said:
Here you go. I attached the file. I use xxlql deodexed and pulled this from the preload partition. I think you must put this apk in the app folder on preload partition and give it permissions. Good Luck.
Click to expand...
Click to collapse
Hi. Can you give instructions on how to install the APK? Like which folder to put it in and how to give permission?
Thanks so much!
ladyxylene said:
Hi. Can you give instructions on how to install the APK? Like which folder to put it in and how to give permission?
Thanks so much!
Click to expand...
Click to collapse
You must be rooted. Once you are done rooting your device you must install root explorer or es file explorer. Then grant root permissions to that app. Now move the apk file to preload/app folder in root of the device. Then choose properties of the apk file and set permissions. You can youtube the procedure. Good luck.
sasank360 said:
You must be rooted. Once you are done rooting your device you must install root explorer or es file explorer. Then grant root permissions to that app. Now move the apk file to preload/app folder in root of the device. Then choose properties of the apk file and set permissions. You can youtube the procedure. Good luck.
Click to expand...
Click to collapse
Will try that. Thank you
Mtp application
Set permission (rw r r ) or what?
#mtp application.apk

Who will sign for me this apk ?

Here it is -
Please, i need your help, people!
What do you mean? Does it just yell at you for using an unsigned APK when trying to install on your Nook, or does it need to be signed by a certain developer?
Done
Well, either way, I signed it for you here.
Unfortunately, my NST is no longer working so I didn't try installing it. It didn't work on my phone (because it's not a Nook), but that has nothing to do with signing the apk.
Thanks, clavierkid!
I have copied modified version in /system/app/, but it doesn't appear in Nook's system menu.
I noticed, that in afore-mentioned folder there is no such file as ReaderRMSDK.odex...?
Probably this is the reason for non-working reader.
Please, someone to share its ReaderRMSDK.odex file here for me!
Thanks
gsms said:
Thanks, clavierkid!
I have copied modified version in /system/app/, but it doesn't appear in Nook's system menu.
I noticed, that in afore-mentioned folder there is no such file as ReaderRMSDK.odex...?
Probably this is the reason for non-working reader.
Please, someone to share its ReaderRMSDK.odex file here for me!
Thanks
Click to expand...
Click to collapse
We'd better get something straight here first. Are you talking about an actual Nook Simple Touch (NST)? Because if you are, you are correct that there is no ReaderRMSDK.odex file in /system/app/
But there are no *.odex files at all! I don't think odexing even occurred to the Android 2.1 developers. So, which device do you have?
The device is Nook Simple Touch and there are other .odex files in /system/app/ !
gsms said:
The device is Nook Simple Touch and there are other .odex files in /system/app/ !
Click to expand...
Click to collapse
And what ROM are you running? Humor me and go to your "Settings" app. Under "Device Info" check out "About your Nook". The model number should be BNRV300. The Software version on mine is 1.21
I did a complete device search for files ending in *.odex and came up with none. But I am running the stock ROM (with many changes, but still the basic stock).
For what it's worth:
This APK uses lots of privileged permissions and will not operate 100% correctly unless it is signed with the system signature.
Is the APK something that you modified? Why don't you just use the stock one?
If you are going to use it you will have to resign your whole system.
(Also, you should look up "jarsigner" and learn to sign for yourself.)

Categories

Resources