You need to be rooted and i recommend use root explorer
1) First guys make sure you have the apk or else pull it from /Root/Data/App
2) Copy that apk to your SD card and install it as a normal user app (Like a usual APK)
3) Go to /Root/Data/Data
4) Find the app then go to it and open the folder (eg. com.android.camera - Camera)
5) Go to file called "lib" in the folder (com.android.camera)
6) You may find one or multiple files in it. (eg. abcd.so ) copy it or them to your SD card
7) Uninstall the app and reboot the device
8) Take the apk from SD card and copy the apk to /Root/System
9) Select the file and change the permissions of the apk under select permissions
10) Tick all the boxes under read and only the first one under write and click ok
11) It should look like rw-r--r--
12) Then cut the Apk and pate it to /Root/System/app
13) Copy the the Lib named like. (Eg - abcd.so) to /Root/System and change the permission like you did with earlier apk but cut (Eg. abcd.so) it and paste it to /Root/System/lib
And reboot and enjoy
Hit Thank If It Helped You
I don't unstand why you can install a system apps on step 2
mine shows App not installed. The package appears to be corrupt. and some time conflict
Related
Need some help. Yesterday i tried to mod the widgetlocker, i used the root-explorer metod. Followed the steps in this tread
http://forum.xda-developers.com/showthread.php?t=825553
ROOT EXPLORER
- - - - - - - -
1) Open Root Explorer and navigate into data/app and find com.teslacoilsw.widgetlocker-1.apk
2) Copy the .apk to your SD card
3) Open the .apk and navigate to /res/drawable-hdpi
4) Copy the two images you've chosen, overwriting the 'old' PNGs in \drawable-hdpi
5) Exit the .apk and copy it back to /data/app, overwriting the old .apk
You need to be in R/W mode.
Long click the app - Select permissions and do the checkmarks like this (* represents a checkmark)
* . * . -
* . - . -
* . - . -
it didnt work, so as dumb as iam i used the permission trick on data/''app'' folder, now all my apps dissappeard, only the orginal apps from galaxy s are there... what to do ? dont want to do a factory resert
thx in advance
Hello everyone. This is my second attempt at making a useful thread for the community so if it isn't formatted correctly or isn't right in anyway please PM me and I will fix it., it might be helpful to me to leave instructions on how to fix it as well. If something like this already exists, I am sorry please notify me of that and I will take this down.
This is a thread to instruct you on how to make custom s-pen sounds and install them as well as how to install custom s-pen pointers on any TW based rom including stock ( this is just install, I don't know how to make custom pointers yet). There are two requirements YOU MUST BE ROOTED AND RUNNING STOCK OR TW BASED ROM. This is my method, I am not saying that there aren't better ways just that this is how I do it and I know it works. I am not responsible for things going wrong and you being left with a device that doesn't work. You do this because you choose to and understand the risk involved. Also, please make back ups of all the files you want to change so that you have all the original files.
For Sounds: (You can use any sound you have or even the voice record app to make the sound you'd like)
1. Make sure you're rooted
2. Have some sort of root permission file explorer installed (I use Rom Toolbox)
3. Find or record the sounds you want to use as your s-pen attach and detech sounds If they aren't in the .ogg format then convert it to .ogg (I use wavepad for this step)
4. Decide if you want the sound to be sound 1,2 or 3
5. Once you have your sound the way want it rename the file for attach to Pen_att_noti1 (the number can also be a 2 or 3 depending on where you want the sound) and the sound for detach to Pen_det_noti1 (again the number can be different)
6. Place the files on your phone where you can locate them with the file explorer you have installed.
7. Locate the file(s) you want to use and using your explorer navigate to the directory system\ media\ audio\ ui and paste the sounds there. (You might be asked to overwrite whats there. If you want to save the original sounds simply find the file with the same name before you paste and rename to (thefilenamehere.ogg.bak)
8. Restart your phone
9. Once rebooted navigate to your spen sound selector and choose the sound want.
Thanks to my friend TheGrammerFreak for this nexxt bit
For Pointers:
(I don't know how to make pointers. This is assuming you have a file that you know can be used as the pointer. i am trying to learn and when/if I do I will add that to this thread)
1. Make sure you're rooted
2. Make sure you have some root permission file explorer installed.
3. Make sure you have a program that can open .apk files on you PC (I use 7-Zip)
4. Using the explorer you have navigate to the directory system\ framework and copy the file framework-res.apk to a place that you can access via the pc (I used my extsdcard)
5. Attach your phone to the computer
6. Find the framework-res.apk and move it onto your computer
7. Take the file you want to use and reaname it to tw_pointer_spot_hovering_spen
8. Open (not to be confused with unzip. Right click the apk and select "open with") the framework-res.apk with a program that will open it
9. Once open navigate to res\ drawable-xhdpi and find the file named tw_pointer_spot_hovering_spen delete that file and take the file you made/have of the same name and paste it directly into that directory. exit the program after doing so.
10 Take the framework-res.apk file that you edited and place onto your phone where you can locate it.
11. Detach your device from the computer
12. Using your explorer on your phone navigate to the edited framework-res.apk[ and select to copy it.
13. Navigate with your explorer to the directory system\ framework and paste the file there. WARNING: You might get several errors and force closes, don't worry this is normal.
14. Either restart your phone or pull your battery and boot up and you will now see your new pointer. Enjoy!
NOTE: If you want a different pointer for your files that air view capable or if you want your new pointer to be used as your air view pointer follow the same instructions except that the file you are wanting to use and the one you replace are both named tw_pointer_spot_hovering_spen_more and these files can be the same as your normal pointer if you choose.
Hi everyone
This is my first thread, so I decide to make it useful to everyone
Let's GO !
What You Want :
ES File Explorer File Manager (OR any file explorer supports zip extracting)
Rooted Phone
Nandroid Backup (You don't know how important it is)
1- enable root explorer and set permission to r/w (read & write)
2- extract the flashable zip to your memory
3- go to the existing folder
4- copy everything except META-INF folder to the root of your phone
5- "Must" show replace confirmation select confirm
6- After the copy operation is finished, reboot your device
7- Done, Congratulations
PLEAS NOTE THAT I AM NOT RESPONSIBLE ABOUT YOUR DEVICE IF YOU BREAK IT RESTORE THE NANDROID BACKUP
note if its a new file you need to set permissions of the file
most files in app are rw-w-w however some may vary depending on what file it is
at the end of the day if you have a flashable zip its much better to flash certain things than push to system so if the flashable zip has already been made for you than you might as well use it
One doubt please
Ahmad YH said:
Hi everyone
This is my first thread, so I decide to make it useful to everyone
Let's GO !
What You Want :
ES File Explorer File Manager (OR any file explorer supports zip extracting)
Rooted Phone
Nandroid Backup (You don't know how important it is)
1- enable root explorer and set permission to r/w (read & write)
2- extract the flashable zip to your memory
3- go to the existing folder
4- copy everything except META-INF folder to the root of your phone
5- "Must" show replace confirmation select confirm
6- After the copy operation is finished, reboot your device
7- Done, Congratulations
PLEAS NOTE THAT I AM NOT RESPONSIBLE ABOUT YOUR DEVICE IF YOU BREAK IT RESTORE THE NANDROID BACKUP
Click to expand...
Click to collapse
I think this method only for apk files. "my doubt is this method is posible to replace frameworks files..?"
krsharjun said:
I think this method only for apk files. "my doubt is this method is posible to replace frameworks files..?"
Click to expand...
Click to collapse
yes just push to system and set permissions - normally rw-r-r
although I dont know why you would want to do this as its always better to flash the file and since you have a flashable zip why not just flash it
Just a confuse
marcussmith2626 said:
yes just push to system and set permissions - normally rw-r-r
although I dont know why you would want to do this as its always better to flash the file and since you have a flashable zip why not just flash it
Click to expand...
Click to collapse
as by my knowlege While replacing framework files means it will stuck the mobile then how can we set permission.. ? please help me.. and yes u said is correct but creating update.zip which need an a computer i am so lazy
krsharjun said:
as by my knowlege While replacing framework files means it will stuck the mobile then how can we set permission.. ? please help me.. and yes u said is correct but creating update.zip which need an a computer i am so lazy
Click to expand...
Click to collapse
with root browser you can set permissions of any file - please search how
it depends what framework files you are replacing - you cant just replace with any old file from a different rom - it wont work
if its been designed for your rom or you are modding your own files then thats fine
and a flashable zip takes two secs - you dont need a pc - and iv posted a template loads of times
here is it again - just add any files you want to flash to framework in the framework folder
if you want files to go to the app folder just create a folder in system in the zip called app and put files there
same for any other folder in system
http://d-h.st/sr9
Hey all,
I'm a HUGE fan of the true stock AOSP keyboard with the long-press alternates on every key. However, it is always difficult to get it installed (or find the proper files on the web, for that matter). This tutorial is NOT for the newish Google Keyboard on the Play Store - I consider that one an inferior frakking piece of shtako. But everyone is entitled to their own opinions.
Anyhow, here are two tutorials to install the AOSP Keyboard on the OnePlus X. First tutorial is for those people running OOS 2.2.0-X (i.e. the latest OTA). Second tutorial is for those people running OOS 2.2.0 (i.e. without the latest OTA - y'all have it easier than those of us who updated!)
Before you begin... I'd recommend performing a Nandroid backup through your recovery (TWRP/CWM/etc).
FIRST TUTORIAL - IF YOU'VE UPDATED TO OOS 2.2.0-X:
1. Download the attached AOSP Keyboard.zip file & extract to your SD card.
2. Go into your file manager & browse to Root/system/app. Look for the folder LatinImeGoogle.
3. Rename the LatinImeGoogle folder to something else. I used LatinImeGoogle-backup for safety reasons. Always leave yourself an out!
4. Change the LatinImeGoogle-backup folder permissions to r-r-r (really this is flexible - just use something other than what is currently assigned to the folder.)
5. Go back to where you extracted the AOSP Keyboard folder contents.
6. Copy libjni_latinime.so to system/lib/
7. Set libjni permissions to rw-r--r-- (aka 644)
8. Copy LatinIME folder to system/app/
9. Set LatinIME folder permissions to drwxr-xr-x (aka 755)
10. Open "LatinIME" folder.
11. Set LatinIME.apk permissions to rw-r--r--(aka 644)
12. Set "lib" folder permissions to drwxr-xr-x (aka 755)
13. Open "lib" folder.
14. Set "arm" folder permissions to drwxr-xr-x (aka 755)
15. Open "arm" folder. IF there is anything in the "arm" folder, delete it. (Sometimes Android will auto add libjni_latinime.so in there. Just delete it).
16. Go back to your root /system/lib/ and scroll down to libjni_latinime.so.
17. Long press on the libjni_latinime.so file. Choose "Create symlink".
18. In the Symlink location field, choose Browse. Navigate to /system/app/LatinIME/lib/arm/ and Create the symlink there.
19. Go back to your root /system/app/LatinIME/lib/arm/. You should now see a symlink "shortcut" to libjni_latinime.so. Set the shortcuts permissions to rw-r--r-- (aka 644).
20. Reboot your device.
21. Celebrate with a cookie!
SECOND TUTORIAL - IF YOU'RE RUNNING OOS 2.2.0 WITHOUT THE LATEST OTA:
1. Download the attached AOSP Keyboard.zip file & extract to your SD card.
2. Copy libjni_latinime.so to system/lib/
3. Set libjni permissions to rw-r--r-- (aka 644)
4. Copy LatinIME folder to system/app/
5. Set LatinIME folder permissions to drwxr-xr-x (aka 755)
6. Open "LatinIME" folder.
7. Set LatinIME.apk permissions to rw-r--r--(aka 644)
8. Set "lib" folder permissions to drwxr-xr-x (aka 755)
9. Open "lib" folder.
10. Set "arm" folder permissions to drwxr-xr-x (aka 755)
11. Open "arm" folder. IF there is anything in the "arm" folder, delete it. (Sometimes Android will auto add libjni_latinime.so in there. Just delete it).
12. Go back to your root /system/lib/ and scroll down to libjni_latinime.so.
13. Long press on the libjni_latinime.so file. Choose "Create symlink".
14. In the Symlink location field, choose Browse. Navigate to /system/app/LatinIME/lib/arm/ and Create the symlink there.
15. Go back to your root /system/app/LatinIME/lib/arm/. You should now see a symlink "shortcut" to libjni_latinime.so. Set the shortcuts permissions to rw-r--r-- (aka 644).
16. Reboot your device.
17. Celebrate with a brownie!
I've also tucked a txt copy of the barebones instructions into the zip file.
Feel free to ask any questions below.
Cheers,
equi
hi equi_design
thank you very much for providing a manual for aosp keyboard. i followed you instructions and everything went through apart from changing the shortcut to 644. i could not get any access in order to change permissions. nevertheless, keyboard works without any problems so far!
btw which filemanager did you use? es explorer for example does not support the creation of symlinks (i am on version 3)
best wishes,
lukas
lukas235 said:
hi equi_design
thank you very much for providing a manual for aosp keyboard. i followed you instructions and everything went through apart from changing the shortcut to 644. i could not get any access in order to change permissions. nevertheless, keyboard works without any problems so far!
btw which filemanager did you use? es explorer for example does not support the creation of symlinks (i am on version 3)
best wishes,
lukas
Click to expand...
Click to collapse
To create a symlink I used the root Explorer pro
lukas235 said:
hi equi_design
thank you very much for providing a manual for aosp keyboard. i followed you instructions and everything went through apart from changing the shortcut to 644. i could not get any access in order to change permissions. nevertheless, keyboard works without any problems so far!
btw which filemanager did you use? es explorer for example does not support the creation of symlinks (i am on version 3)
best wishes,
lukas
Click to expand...
Click to collapse
Glad it worked out in the end. I use Solid Explorer now. About a year ago, I gave up on ES since they were dropping & hidden files onto my SD card. I'd suggest looking around for another file manager if you can.
Sent from my OnePlus using XDA Labs
I would like to change default file manager but it seems that some links to it are hardcoded in LOS so for example if i uninstall it and replace it with fx file manager some
apps can't access it because they are calling to that default one which is not there anymore.
Any tips on how can i replace it, or where can i change those links to default app?
The default file manager that you were using has the package name "com.android.documentsui", and you generally see it when you have to choose a file for an app. Only here has it been turned into a full-fledged file manager. That was a system app that you weren't supposed to remove, so your only option is to install another file manager app alongside the default one.
Hi i'm with the same problem, i need a default file manger that can accese root so other app can get accese to root folder. Is there a way to resolve?
Here is how to replace the stock file explore with the root accessable one.
I'm gonna priovide the best filemanager fully featured, called mixplore, which i highly recommend. this file manager can access root directory.
watch Mixplore review from HERE
NB: make sure you have a root access
1. download Mixplore
2. install it on your device then open it
3. on the left then click on "root" then grant root permission when prompted
4. go into system/apps/documentUi OR system/apps/cmfilemanager
OR system/apps/files. If your on other roms apart from cynogenmod, lineageOs or RR-Os.. go into system/apps/filemanger
in case not found in app forlder try priv-app, i.e system/apps/..
NB: not "document" its "documentUi"
5. open the that last folder on the directory i.e file manager, swipe right and go into downloads copy the Mixplore.apk, then swipe left back into root/system/app/___ and paste the mixplore and delete the stock filemager from that folder
6. restart the phone.. now you have replaced the stock file explore from your android.
ppllzz help meee mi a1
i uninstalled the system file manager and now can't reinstall it and com.andeoid.documentsui keeps stopping and after installing app getting the problem files keeps stopping
Adwolf01 said:
i uninstalled the system file manager and now can't reinstall it and com.andeoid.documentsui keeps stopping and after installing app getting the problem files keeps stopping
Click to expand...
Click to collapse
Dirty flash your ROM
yohannacastle said:
I'm gonna priovide the best filemanager fully featured, called mixplore, which i highly recommend. this file manager can access root directory.
watch Mixplore review from HERE
NB: make sure you have a root access
1. download Mixplore
2. install it on your device then open it
3. on the left then click on "root" then grant root permission when prompted
4. go into system/apps/documentUi OR system/apps/cmfilemanager
OR system/apps/files. If your on other roms apart from cynogenmod, lineageOs or RR-Os.. go into system/apps/filemanger
in case not found in app forlder try priv-app, i.e system/apps/..
NB: not "document" its "documentUi"
5. open the that last folder on the directory i.e file manager, swipe right and go into downloads copy the Mixplore.apk, then swipe left back into root/system/app/___ and paste the mixplore and delete the stock filemager from that folder
6. restart the phone.. now you have replaced the stock file explore from your android.
Click to expand...
Click to collapse
will this work if an app ask to write on external storage ???
loopypalm said:
will this work if an app ask to write on external storage ???
Click to expand...
Click to collapse
This method creates problem when trying to access sd card or otg,mixplorer ,though fully featured,will also need permission from documentsui to access externals,it will show error "doesn't exist x
Best way is disable documents ui from showing icon in launcher
HarmitR said:
This method creates problem when trying to access sd card or otg,mixplorer ,though fully featured,will also need permission from documentsui to access externals,it will show error "doesn't exist x
Click to expand...
Click to collapse
yes, i already tried, it didn't work
best thing to do is give access to all apps that require SD write then freez DocumentsUI