So I have tried searching some and my case might be a little different so I thought I would just ask.
I have a G2 that i am trying to retrieve data from. Specifically the SMS database file. I have found that in android, the sms messages are not kept on the sim car or the SD, its kept in a .db file in the internal memory. Unfortunately these files are restricted without root/su access.
From what I have read, the only way to root right now is to downgrade the OS to a previous version to obtain root. Unfortunately, doing that would erase the .db file and would be counter productive.
I have tried using ADB to obtain root/su access to extract a copy of the DB to no avail. I tried visionary and z4 to temp root and neither seemed to allow me to su in the terminal.
Again, all I need is SU access for a short ammt of time to copy out a file in a section that is restricted. Does anyone know any way to do this? Though backups? copying the whole file system to my cpu hdd? Temp root program that does work?
Any ideas?
Go to this guide
Follow the 'Gaining Temp-Root' and '
Temp-Rooting to Backup' sections.
-Nipqer
Why do you need su to copy a file from /system?
Related
With root explorer, i see that my apps are saved to something like '/system/sd/app,' but when I mount my G1, I can't find that folder. I can't even find the "system" folder. Anyone have any ideas?
Also, I pressed the "R/W" button on that folder in Root Explorer, but now I can't switch it back to R/O. It gives me an error saying, "Remount Failed: Device or resource busy."
what is it you want to do with the apps?
My gmail app is force closing, and I haven't found a way to reinstall it through market. I was going to try to replace the .apk.
I don't believe the gmail app is on the SD, it should be under /system/app/Gmail.apk
For the most part, the system apps install on the phone, the rest are on SD.
That still leads me to my first question, lol. I can't find the "system" folder after mounting my G1.
??
I don't know. I use the rooted file browser SUFBS and have never had a problem seeing the system folder.
Might have been associated with other changes you made to the system.
For me, if all else fails, I re-partition, wipe & re-flash.
Hopefully someone else can offer some better info.
I find it fine on my G1 via Root Explorer. It's just that I can't seem to locate it on my computer (i.e something like h:\system\app), after plugging my G1 in.
Sorry for any confusion.
You must be on a windows machine. You can not nativly see an ext partition under windows.
Look at the guides that tell you how to set up adb and adb push the application to the folder you want.
adobrakic said:
I find it fine on my G1 via Root Explorer. It's just that I can't seem to locate it on my computer (i.e something like h:\system\app), after plugging my G1 in.
Sorry for any confusion.
Click to expand...
Click to collapse
You can do these things right from recovery console, and probably terminal, I like recovery better though. place the file you want to use on the root of the SDcard. Since it is the Gmail.apk you want to replace you would go about it like this:
mount system
mount sdcard
cp /sdcard/Gmail.apk /system/app/Gmail.apk
reboot
thats pretty much it.
i have a rooted droid x running the version above. i am not interested in running custom roms, i just want root so i can run whatever apps i want to. after rooting i downloaded wireless tether and the free version of titanium backup. wireless tether is my only means of connecting my computer to the internet. i ran a complete backup after downloading titanium backup. just messing around one day i removed cardock and blockbuster from the phone. i have restored blockbuster but can not get cardock restored. my phone has downloaded the latest ota update and wants me to install it. from what i have read, i will need cardock restored. is this correct and if so how can i get it back? i am fairly good with a puter but new to android. i rooted using doroot for windows. all help is much appreciated.
maneddi said:
i have a rooted droid x running the version above. i am not interested in running custom roms, i just want root so i can run whatever apps i want to. after rooting i downloaded wireless tether and the free version of titanium backup. wireless tether is my only means of connecting my computer to the internet. i ran a complete backup after downloading titanium backup. just messing around one day i removed cardock and blockbuster from the phone. i have restored blockbuster but can not get cardock restored. my phone has downloaded the latest ota update and wants me to install it. from what i have read, i will need cardock restored. is this correct and if so how can i get it back? i am fairly good with a puter but new to android. i rooted using doroot for windows. all help is much appreciated.
Click to expand...
Click to collapse
2.3.15 is soooo yesterday
look into some deblured Rom's. Easier to get rid of the Crapware with a Rom than one at a time. that could cause other issue.
IMHO there are easier tools to root like 4Zroot.
Your heading in the correct direction keep on reading the threads and different sites.
please read my post again. i am not interested in roms.
Stock apks
www . chadhaney . com / droidXDefault / ( wont allow me to post links) but go there...
Let me know what happens... I'm in the same boat. No roms, just titanium back up and wireless tether ( which I never use ) Titanium Pro allows you to freeze apps so they dont run and you dont have to delete them.
P
According to droid x forums, if your rooted, and have all the original apk/apps on the phone you should be able to update to 2.3.34. Make sure that every setting is stock too. No frozen apps, etc... You will lose root. Then they recommend Z4root to re-root.
Successful install
I was running 2.3.15 rooted, no leak, installed 2.3.34 OTA with no problems.
I used Z4Root 1.3 to re-root my droid x. If you were previously rooted you should select the unroot option from Z4Root first. Phone will restart and then select permanent root. Should be good to go after that...
I did it the hard way... wish I had un-rooted first!
Thanks for helping eyepopper. I downloaded the apk file but it would not install. I assume I need to move it manually but don't know where it goes. The odex file opened when I selected it and looks like code. Not sure how to get it where I need it either. I am using astro for my files.
Sent from my DROIDX using XDA App
Are you using the phones browser? Try going the chad website thru the phones browser (I use dolphin browser) download it to the phone. Then run the apk thru the browser, go one step further and make sure that you checked off to allow other non market apps to run in applications. Astro app is the problem most likely.
i am using the stock browser but the page just reloads when i select the apk file and opens a window showing gibberish when i select the odex file. i have the 2 files on my sd card under titanium backup and was able to copy and paste them from /sd/titanium backup to /sd but i can't get them to copy and paste to the system folder or the framework folder. as soon as i leave /sd the paste function grays out. looks like your are the only one willing to help me and i am very grateful for it. i need to go on and get this done and be thru with it so i can enjoy the holidays. can you meet me in a chat somewhere and see if we can get this done? pm me ur info if you can. thanks again...
maneddi said:
hi, i was wondering if you could look at my post concerning updating to the latest ota. (it's in the general droid x section) i have the files but can't get them off my sd card onto the phone.
Click to expand...
Click to collapse
Ok you will need to connect your phone to your computer. Open a command prompt and type the following commands:
*make sure your phone's usb mode is Charge Only
1) type: Adb devices (make sure your phone gets listed as a device)
2) type: adb shell (press enter)
3) type: su (press enter)
4) type: mount -o rw,remount /dev/block/mtdblock 4 /system
I'm not sure where you have the cardock.apk on your sdcard, but this next step will require you to know the path to your .apk
5) type: cp /mnt/sdcard/<path to CarDock.apk> /system/app/CarDock/apk
if just on the sdcard then it would be "cp /mnt/sdcard/CarDock.apk /system/app/CarDock.apk
6) type: cd /system/app
7) type: chmod 644 CarDock.apk
8) type: exit
you may need to type exit one more time, but when you return to a normal command prompt, type the following:
adb reboot.
Make sure to take a backup before you do any of this, as if you mess anything up in /system your phone can wind up hosed....
Hope this helps. As a last resort, you could always take a backup of your phone, and then perform the 2.3.15 full sbf and restore the apps that way (make sure to perform a factory reset as well. Then you would be able to perform the OTA update and shouldn't have any problems.
Hope this helps! Lemme know if you need more help.
You can also refer to this link if you want more info...
http://androidforums.com/droid-x-al...w-reinstall-system-apps-_as_-system-apps.html
great post SysAdmin-X, thanks. i haven't used adb manually before but i know if your not careful 1 little missed space or wrong key stroke will mess you up so i opted to go with the post you provided a link for.
i downloaded root explorer and was able to move my files successfully from my sd card to the system apps folder but could not get them to show up afterwards in titanium backup. i figured since they were files i manually removed from tb they were prolly named wrong so to be right i went to this link and downloaded the entire zip. i was then able to place those 2 files in the /system/app folder and after rebooting they showed up in tb. finally...yea!!! ok, i remember reading somewhere they needed to be in the /system/framework folder as well. does anyone know if this is fact? if the update looks for them there and doesn't find them it won't install correctly or at all, so i'm told.
maneddi said:
great post SysAdmin-X, thanks. i haven't used adb manually before but i know if your not careful 1 little missed space or wrong key stroke will mess you up so i opted to go with the post you provided a link for.
i downloaded root explorer and was able to move my files successfully from my sd card to the system apps folder but could not get them to show up afterwards in titanium backup. i figured since they were files i manually removed from tb they were prolly named wrong so to be right i went to this link and downloaded the entire zip. i was then able to place those 2 files in the /system/app folder and after rebooting they showed up in tb. finally...yea!!! ok, i remember reading somewhere they needed to be in the /system/framework folder as well. does anyone know if this is fact? if the update looks for them there and doesn't find them it won't install correctly or at all, so i'm told.
Click to expand...
Click to collapse
possibly with Root Explorer tool you could change the permissions of the moved apps to rwrr.
this way you phone can see them and use them.
Kdinc is right about changing the permissions using root explorer. Make sure to set the as user: read and write, group: read, and other: read. Should look like this after: rw-r--r--
Sent from my DROIDX using XDA App
I'm doing research on android security, and i realised i can use adb to pull files from /data/data. These files includes SMS databases and sharedpref.
Now I have root on my n1, so I'm wondering if this is possible because of root?
Sent from my Nexus One using Tapatalk
I'm not sure about that specific directory but I do know there are certain system folders/files that can only be modified with root access. Certain apps like Titanium backup use root access to pull apks from root only folders, without root they simply can't function.
It's only possible because of root access. Without root you can't get to the sensitive info like that.
Yep, both /data and /data/data have permissions set to drwxrwx--x, meaning root has read/write/execute permissions, the system group has it too and regular users only have execute permissions.
Thanks all, for your input. Much appreciated!
Sent from my Nexus One using Tapatalk
fubaya said:
Yep, both /data and /data/data have permissions set to drwxrwx--x, meaning root has read/write/execute permissions, the system group has it too and regular users only have execute permissions.
Click to expand...
Click to collapse
To be more accurate, the "drwxrwx--x" (or 771) permission indicates the OWNER's permissions, then the GROUP permissions, and then EVERYONE. root will have the same permissions as the owner.
Hello,
I am currently running the H918 model with twrp and full root. Root was successful and the phone is running well. Thanks to all those who put in their time and effort and providing such a quick root capability. Makes the phone even more amazing than it already is.
Unfortunately, I am having an issue with be able to modify system files as I am unable to edit them whatsoever. I have tried using adb and using mount and remount commands but nothing has worked. I was hoping if anybody would be able to assist me with my issue. Thank you.
I've tried reflashing super su and I have busy box installed. Adaway is working properly (only through system less root) and I have been able to hibernate apps through tibu. I still cannot edit any files under /system. Does anyone have any suggestions? Thanks.
use root explorer
Thanks for your response. I've tried many root managers (including root explorer), enabled root permissions, had them successfully granted through supersu and still a no go. I just ran recowvery again and flashed twrp (this time without formatting data) and I am still unable to edit any system files.
I've looked all over and I'm unable to find a solution or even what's stopping me from modifying the /system folder in the root directory. I can remove files from that folder and all of it's subfolders but I'm unable to add any files into that directory. I am rooted on the T-mobile OnePlus 6t that has been converted to the international ROM. I know my root works cause I can perform other root functions. I also cannot modify the /system folder from TWRP either which is really strange to me. Also, when TWRP prompts me to install the app, it just reboots recovery since it's trying to install it as a system app which I can't do for this odd reason I have yet to find out. This issue all of a sudden showed up after an OTA update and re-rooting after. I have tried reinstalling TWRP, Magisk and Oxygen OS itself but the issue persists. I have also tried running "reboot disemmcwp" as root in a terminal window AND using adb but I guess that command no longer works. Any suggestions welcome as this is the last place I can find an answer to this issue.
Edit: found out I'm unable to uninstall system apps for some reason. So the issue isn't space related.
Toilet Clauger said:
I've looked all over and I'm unable to find a solution or even what's stopping me from modifying the /system folder in the root directory. I can remove files from that folder and all of it's subfolders but I'm unable to add any files into that directory. I am rooted on the T-mobile OnePlus 6t that has been converted to the international ROM. I know my root works cause I can perform other root functions. I also cannot modify the /system folder from TWRP either which is really strange to me. Also, when TWRP prompts me to install the app, it just reboots recovery since it's trying to install it as a system app which I can't do for this odd reason I have yet to find out. This issue all of a sudden showed up after an OTA update and re-rooting after. I have tried reinstalling TWRP, Magisk and Oxygen OS itself but the issue persists. I have also tried running "reboot disemmcwp" as root in a terminal window AND using adb but I guess that command no longer works. Any suggestions welcome as this is the last place I can find an answer to this issue.
Click to expand...
Click to collapse
Known issue that in the Newer OxygenOS versions there is no free space in /system. I'd download Solid Explorer and check the Free Space in the Root Directory.
Sent from my OnePlus6T using XDA Labs
Mannan Qamar said:
Known issue that in the Newer OxygenOS versions there is no free space in /system. I'd download Solid Explorer and check the Free Space in the Root Directory.
Click to expand...
Click to collapse
I've thought about that before. I use root explorer and can see there's more space than needed for the files I want to insert. Is there some buffer space needed in there and how much?
Toilet Clauger said:
I've thought about that before. I use root explorer and can see there's more space than needed for the files I want to insert. Is there some buffer space needed in there and how much?
Click to expand...
Click to collapse
Well, if you go to magisk and select core only mode then reboot you will be able to modify system
toolhas4degrees said:
Well, if you go to magisk and select core only mode then reboot you will be able to modify system
Click to expand...
Click to collapse
I was actually able to find the issue. Space was the issue. I guess there's a space buffer needed from what a file explorer says is left and what's actually left. I uninstalled a couple system apps I disable anyway and was able to insert files/apps into system again.
I made space easy I have the new OnePlus camera apk 125mb the old one is 67mb