I've been searching extensively for an answer though I couldn't find one.
I'm currently testing an app, which is running on from android 4 to android 7. I wanted to find out whether it would be possible IN ANY WAYS to download a database from the root folder without knowing the PIN code, USB debugging set to off and without root.
Is that in any way possible (Android 4-7)?
After that, since I'm pretty sure I have no way of uploading the files back in to the system, I'll do a factory reset, the PIN code will be removed and I will enable USB debugging re-download the app and replace the databases with the ones I've downloaded.
How should the pushing phase work out? Rooting the phone isn't an option.
Thanks a lot
Related
So I as working on theming the Adeo ROM and must have messed something up. I didn't think it had to do with the framework files I had pushed so I did a factory reset to clear off all the 3rd party apps from the phone.
Well, since that reset, I can't access the phone in ADB, settings FC's, Market FC's, and I can't download/install an APK because of the security restrictions.
The phone is "functional", I can place/receive calls/sms and use the browser. USB to the PC works for everything except getting ADB access. I verified I can get it to recognize for RSDLite and for Fastbook so I figure using one of those methods should (eventually) provide me an avenue to get my phone 100% functional again.
Does anyone happen to have or know where I could find signed files for Fastboot to replace the entire /system partition or an SBF file to flash the phone back to stock? Or possibly any other solutions?
Also, before I get flamed as a n00b who broke a phone, I've worked on over a dozen different Android handsets and I was well aware I was working without a safety net. This is NOT my primary phone so if I need to I can patiently wait for an SBF to leak. I'm just checking to see if anyone knows any solutions already so I can get back to theming.
Sounds to me like a permissions issue. I had that after I fiddled with the contacts database to unrestrict pictures from third party apps. I would double check any files you modified and make sure they got chmod'ed back to what they should be.
You will have to somehow access the Settings to re-enable adb. When you did a factory reset, you disabled USB Development (aka adb).
For now the only known way to recover is through adb. No fastboot or signed update.zip for now.
navalynt said:
So I as working on theming the Adeo ROM and must have messed something up. I didn't think it had to do with the framework files I had pushed so I did a factory reset to clear off all the 3rd party apps from the phone.
Well, since that reset, I can't access the phone in ADB, settings FC's, Market FC's, and I can't download/install an APK because of the security restrictions.
The phone is "functional", I can place/receive calls/sms and use the browser. USB to the PC works for everything except getting ADB access. I verified I can get it to recognize for RSDLite and for Fastbook so I figure using one of those methods should (eventually) provide me an avenue to get my phone 100% functional again.
Does anyone happen to have or know where I could find signed files for Fastboot to replace the entire /system partition or an SBF file to flash the phone back to stock? Or possibly any other solutions?
Also, before I get flamed as a n00b who broke a phone, I've worked on over a dozen different Android handsets and I was well aware I was working without a safety net. This is NOT my primary phone so if I need to I can patiently wait for an SBF to leak. I'm just checking to see if anyone knows any solutions already so I can get back to theming.
Click to expand...
Click to collapse
When I lost ADB access because of a hard reset (I think), this is what I did to fix my issue: http://forum.xda-developers.com/showthread.php?t=974824
I never lost root after a hard reset so I went to the market and bought root explorer and sqlite editor and copied the adbd to the /sbin folder to fix adb. I then bought sqlite editor and followed this: http://forum.xda-developers.com/showthread.php?t=972760 to re-enable side loading of apps. To install apps that I had the apk's for.
I still lose adb after a reset, but I can copy the adbd file to the /sbin folder and adb works again until I reset the phone.
I made a post about losing adb access on the motorola support forums: https://supportforums.motorola.com/message/332307#332307 to see if there were any solutions, but Mark said he would get back to me after trying to reproduce my problem.
I hope this helps.
I think I'm just up **** creek without a paddle for the moment because I can't connect via ADB, the Market force closes, and the security restrictions won't let me side-load any applications via download from the browser. I can't manually add ADB because I have no way to move the files to where they need to be.
Thanks for the replies! airbillion, I'm following your thread at the Motorola Owners' Forum to!
navalynt said:
I think I'm just up **** creek without a paddle for the moment because I can't connect via ADB, the Market force closes, and the security restrictions won't let me side-load any applications via download from the browser. I can't manually add ADB because I have no way to move the files to where they need to be.
Thanks for the replies! airbillion, I'm following your thread at the Motorola Owners' Forum to!
Click to expand...
Click to collapse
No problem. That sucks, I'm not sure what you can do. Hopefully motorola or someone here will get a sbf soon so we can mess with our phones and have a way to fully recover. I hope you get it working again. Good luck!
navalynt said:
I think I'm just up **** creek without a paddle for the moment because I can't connect via ADB, the Market force closes, and the security restrictions won't let me side-load any applications via download from the browser. I can't manually add ADB because I have no way to move the files to where they need to be.
Thanks for the replies! airbillion, I'm following your thread at the Motorola Owners' Forum to!
Click to expand...
Click to collapse
Have u not tried sideload wonder machine love that thing used it alot when my wife had her backflip
Sent from my MB860 using XDA App
shadowscreation said:
Have u not tried sideload wonder machine love that thing used it alot when my wife had her backflip
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Requires USB Debugging to be enabled, but I have no access to enabled it due to Settings force closing and no ADB access in pre-boot.
Could you download Android Terminal Emulator 's apk to your sdcard, then install it using a apk install you may already have that work.
If you can get any terminal access from your phone, do a su, then launch /sbin/adbd. This should hopefully give you adb shell access. Without needing to enable USB debugging.
adlx.xda said:
Could you download Android Terminal Emulator 's apk to your sdcard, then install it using a apk install you may already have that work.
If you can get any terminal access from your phone, do a su, then launch /sbin/adbd. This should hopefully give you adb shell access. Without needing to enable USB debugging.
Click to expand...
Click to collapse
It won't let me install a downloaded APK because of the security restriction.
If you have an SD card, try booting into recovery with an update.zip on the file.
I can get into the recovery, but the update.zip file needs to be signed. I created one that will push the original copies of the framework files I was working with but it won't install because it's signed with test keys. The stock recovery 3e needs update.zip files signed with the manufacturer release-keys which only Motorola has.
https://supportforums.motorola.com/thread/46051?tstart=30
I started a thread on the official Motorola Owner's Forum in hopes I can find a full factory restore method for the OS. It's unfortunate that unlike HTC and other manufacturers who release full wipe RUU files Motorola has chosen to keep their restore files internally.
http://www.4shared.com/file/7YXo_gmO/update.html
That's the link to the update.zip file I was trying to use that fails because it's only signed with test-keys.
Retracteddd
After a severe fall, my Atrix 4G screen is damaged and the digitizer non-functional, though everything else inside still functions correctly, including USB connection and wifi. Not wanting to invest in digitizer repair, I have upgraded to an Atrix 2 where Google sync has restored just about everything except for SMS messages.
My 4G is unrooted and unluckily I had unticked USB debugging only a few weeks ago. Do I have any hope of using a lesser-known path that would allow me to pursue any of four strategies constrained by using only power, volume up and volume down and/or connecting via USB without debug mode:
1. Booting from the SD card and executing a script that can issue a cp /dbdata/databases/com.android.providers.telephony/mmssms.db to the SD card?
2. Use a fastboot option which activates the USB in debugging mode, allowing me to connect to my PC and execute an adb.exe pull command?
3. Somehow access the build.prop settings in the /system directory to set persist.service.usb.setting=1 ?
4. Root the phone using the SD card plus power and volume buttons only, later allowing CWM recovery?
It would be nice to recover about 14 months' worth of SMS threads, but not worth replacing the digitizer.
TedB said:
After a severe fall, my Atrix 4G screen is damaged and the digitizer non-functional, though everything else inside still functions correctly, including USB connection and wifi. Not wanting to invest in digitizer repair, I have upgraded to an Atrix 2 where Google sync has restored just about everything except for SMS messages.
My 4G is unrooted and unluckily I had unticked USB debugging only a few weeks ago. Do I have any hope of using a lesser-known path that would allow me to pursue any of four strategies constrained by using only power, volume up and volume down and/or connecting via USB without debug mode:
1. Booting from the SD card and executing a script that can issue a cp /dbdata/databases/com.android.providers.telephony/mmssms.db to the SD card?
2. Use a fastboot option which activates the USB in debugging mode, allowing me to connect to my PC and execute an adb.exe pull command?
3. Somehow access the build.prop settings in the /system directory to set persist.service.usb.setting=1 ?
4. Root the phone using the SD card plus power and volume buttons only, later allowing CWM recovery?
It would be nice to recover about 14 months' worth of SMS threads, but not worth replacing the digitizer.
Click to expand...
Click to collapse
Have you unlocked the bootloader?
Even if you haven't, I think that you can:
1.) unlock the bootloader
2.) Install a custom recovery (CWM)
3.) create a nandroid backup
4.) have someone trusted install said backup on their phone
5.) Make a backup using an app like this:
https://market.android.com/details?id=com.idea.backup.smscontacts&feature=search_result&hl=en
6.) Send you the backup so you can restore it on your new phone.
To be honest, as far as I can tell, your options are kind of limited with no ADB available.
Try using the webtop hack. You can do it over adj. And take it to a repair shop... the digitizer is a huge pain to replace with the glue. Earpiece is a pain too.
Sent from my Motorola Atrix 4G using Tapatalk on AT&T, the company that disappoints me so much that I have to use my tapatalk signature to tell everyone
Many thanks for your insights. I tried various angles and it seems I can't unlock the bootloader without root, but can't root without USB debugging enabled or without a working digitizer. Likewise, without USB debugging, no ADB and hence no webtop hack.
TedB said:
Many thanks for your insights. I tried various angles and it seems I can't unlock the bootloader without root, but can't root without USB debugging enabled or without a working digitizer. Likewise, without USB debugging, no ADB and hence no webtop hack.
Click to expand...
Click to collapse
What? You don't need to boot into android AT ALL to unlock the bootloader OR flash a new recovery. The steps I gave you should work assuming the phone works.
http://forum.xda-developers.com/showthread.php?t=1302423
Thanks for giving me the extra push, since other research had led me to believe I would be wiping /data upon attempting to unlock bootloader which of course is wrong.
For others' benefit, I followed the detailed steps in your linked post, though installed the Atrix-customized CWM from the thread here:
http://forum.xda-developers.com/showthread.php?t=1204500
and was successfully able to create a nandroid backup.
Since I was only after the mmssms.db file, I installed Nandroid Browser
https://market.android.com/details?id=de.goddchen.android.nandroidbrowser
which allowed me to retrieve that one file.
I still have to find a path to import the old SMSes, since I'm not ready to root the brand-new Atrix 2 during the 30-day exchange period, but I think the hard part is over!
Hello,
I have an external USB camera(endoscope) that I'd like to use with my Huawei Mediapad tablet. I've been googling and its possible, there is no hardware restrictions since USB OTG is working(tested with thumb drive). I'm not sure about UVC drivers but there are a few other problems that might be causing the problem.
Reading a blog i discovered that since KitKat(this tablet has 4.4.4) the SELinux policy is set to "enforced" and therefore apps can't access external USB camera feeds like they used to straight out of the box. There are 3 workarounds which all require rooting.
1. Start the app with superuser rights
2. Configure SELinux to allow USB cam feed
3. Custrom rom
Blog link: htt ps://droidperception.wordpress. com/2013/12/01/webcams-on-android-4-4/
So it all comes down to this - I need to have this device rooted but I haven't even found a single thread about this model in this forum.
NB! I don't have room for experimentation(read: bricking the device) since the device is not mine.
Thanks for you attention,
Pask
You ask quite a while ago and I see no answer. So, just in case, I did root mine in a way I not necessary would recommend, but ... KingRoot latest version can do a trick, but it definitely not kind of software I would keep on my tablet. So after that I install SuperSU, Link2SD ( using it to get rid of applications I do not like) and RootExplorer + Terminal. Give all of them root access using KingRoot manager and with help of Super-Sume App (will cost you some money) start a process of getting read of all related to KingRoot and Co. It is more tricky that one may think but by freezing and killing some processes in "write" time I manage to install SupeSU binaries and remove left overs. I still have problems to get su requests, so just copy config files from my phone with access rights already given to specific applications and deny access to anything else. So far do not see anything I cannot identify running, so my hope KingRoot is completly gone.
So far I did not fine any other tools/methods to get root
Hello. I'm wondering if its possible to make a phone copy files from the sd card to a destination on the phone while its booting so it has root permissions with some sort of custom code pushed to the phone via adb update for this to happen. I know something of the sort is possible but i may have the wrong idea about it?
My goal is to access a phone with a pattern lock on it by removing the gesture.key file in order to access the data. The phone does belong to me but i don't know the pattern to it. Any help would be appreciated.
The phone is un-rooted but does have usb debugging enabled.
Hello,
my wife recently found her (very) old 'Medion E4504' and now claims that it appartly has many important pictures and messages stored, but she does not remember the PIN.
I can boot it up normally, but of course without the PIN we cannot get past the lockscreen.
As far as I can tell, it runs on Android 5.1 Lollipop, developer options (and USB-debugging) are disabled and it is not rooted.
If I hook it up to a PC, it is recognized, but I cannot see any files on the internal storage, I assume because it is locked.
Is there any way to either bypass the lockscreen (without hard reset and loosing all data of course), or alternatively somehow accessing the internal storage?
I tried this, but it does not work, since I cannot paste anything into the PIN field:
Android 5.x Lockscreen Bypass (CVE-2015-3860)
sites.utexas.edu
Perhaps the phone runs on a later software version where this was fixed.
I tried adb, but when I adb devices when it is booted up to the lockscreen, I cannot see it.
If I boot into bootloader, I can see it in the list if I adb devices, but it seems other commands do not work, I assume because developer options and USB-debugging are not enabled.
Thus, this did not work:
[Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI
- DISCLAIMER - This Is For Educational Purposes Only You Shall Not Use This On Other People Phones Without Permission Under Any Circumstances I'm Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices Files And Tutorials Are...
forum.xda-developers.com
Does anyone have any idea?
I would have thought that Android Lollipop 5.1 would be easier to beat . . .
I welcome all suggestions!
Regarding adb, please explain it to me as if I was a five year old, as I do not know much about adb.
Quick update:
I was able to boot into recovery and backup data on a microSD.
I now have two files: 'userdata_20150101_000026.backup' and 'userdata_20150101_000026.backup1', and am trying to figure out if it is possible to extract data from these files on a windows machine.
Sorry, if this is maybe trivial to some, but I am not a pro . . .