I deleted an important application on my rooted phone - HTC Bolt / 10 Evo Questions & Answers

Note: I'm new to XDA, so I've basically made no posts so far. I tried posting this under HTC Bolt/Evo 10, but since I have not made the 10 post threshold yet, I cannot post there, so I just made the post here. If this post needs to be relocated please let me know.
After rooting my phone (HTC Bolt), I foolishly deleted some bloatware applications without backing them up. One of them was TouchPal, a preinstalled keyboard app. I didn't think this would be much of a problem because I already had it disabled in settings and was using a separate keyboard app for other purposes.
However, when I restart my phone, it always asks me to type my pin and "decrypt" the phone. I'm not sure why it does this (previous cell phone didn't), but apparently (this is only a theory) it uses this keyboard application, so I can't actually type my PIN in to decrypt my phone.
I could be completely wrong, and I might have accidentally deleted some other important file from my phone, but either way, I don't know how to fix my phone right now.
I did a bit of research and found out I was supposed to flash a ROM onto my device. However, I don't think I can even connect my device to my computer because normally I would have to enable USB debugging and file transfers.
So basically: is there a way to connect my phone to my computer that would allow me to do whatever is necessary to let me access my phone again? (also should I be flashing a completely new ROM? I should still have everything on my phone except a couple bloatware applications, so is there an easier workaround?)
Update: I got my phone to connect to my PC by booting it in recovery mode. I'll delete this thread if I can successfully flash a ROM.

Hey!
You have already rooted your phone - perfekt!
Now you can start to your bootloader and from there you can flash a twrp recovery if you haven't yet.
If you didn't, there are many tutorials how to do: google: your phone flash custom recovery via fastboot mode
If you have done this - you can easily backup your data with twrp recovery (I think twrp is the best)
After you have done this you can make a full whipe of your system.
If you have done this maybe the failure isnt anymore, but now you have no code to unlock! If the app is still not there - go to apkmirror.com and download the app(there are even system apps). Or just google "xxx.apk download"
After this you can restore your data from twrp!
Summary:
1. Flash recovery. Via fastboot mode
2. Restore your data via recovery
3. Full Wipe
4. Restart
5. If app is still not there - search for APK and install
6. Reboot to recovery (e.g. volume up and home at starting phone, google...)
7. Restore data
8. Restart to system.
I don't know if this Is work, but it's worth to try.
If this don't work: you can transfer data from phone to PC via fastboot mode and then you can flash custom ROM or stock rom,...
I hope this works!
Greets
Ksa

Ksawerion said:
Hey!
You have already rooted your phone - perfekt!
Now you can start to your bootloader and from there you can flash a twrp recovery if you haven't yet.
If you didn't, there are many tutorials how to do: google: your phone flash custom recovery via fastboot mode
If you have done this - you can easily backup your data with twrp recovery (I think twrp is the best)
After you have done this you can make a full whipe of your system.
If you have done this maybe the failure isnt anymore, but now you have no code to unlock! If the app is still not there - go to apkmirror.com and download the app(there are even system apps). Or just google "xxx.apk download"
After this you can restore your data from twrp!
Summary:
1. Flash recovery. Via fastboot mode
2. Restore your data via recovery
3. Full Wipe
4. Restart
5. If app is still not there - search for APK and install
6. Reboot to recovery (e.g. volume up and home at starting phone, google...)
7. Restore data
8. Restart to system.
I don't know if this Is work, but it's worth to try.
If this don't work: you can transfer data from phone to PC via fastboot mode and then you can flash custom ROM or stock rom,...
I hope this works!
Greets
Ksa
Click to expand...
Click to collapse
Thanks for the reply. How would I install the apk onto my device?

ztcfrank123 said:
Thanks for the reply. How would I install the apk onto my device?
Click to expand...
Click to collapse
I remember an easier way.
Maybe you can install app via ADB in recovery mode.
Therefore you need:
custom recovery
ADB tools installed on your PC
USB Driver installed
The APK downloaded from here: https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=TouchPal
If you have done this - reboot to recovery.
Navigate on your PC to the adb tools folder where adb.exe is in it. Open CMD with right click on address line.
Then write in CMD:
adb devices
If your phone is found, adb commands are working.
Then copy the APK in the folder where adb.exe is in it.
Type in CMD:
adb push xxx.apk /system/app(the address where you delete apk)
So maybe this works
So first check:
- custom recovery flashed?
- adb tools installed?
- USB driver installed?
If you have further questions, let me know.
KSA

Ksawerion said:
Type in CMD:
adb push xxx.apk /system/app(the address where you delete apk)
Click to expand...
Click to collapse
How would I find out the address where I deleted the apk? I already had adb, USB drivers, and custom recovery installed.

ztcfrank123 said:
How would I find out the address where I deleted the apk? I already had adb, USB drivers, and custom recovery installed.
Click to expand...
Click to collapse
How did you delete the files?
Nice, then boot into recovery start CMD where you adb is installed and write" adb devices"
Do you see your device?

Ksawerion said:
How did you delete the files?
Nice, then boot into recovery start CMD where you adb is installed and write" adb devices"
Do you see your device?
Click to expand...
Click to collapse
The files were deleted within the phone itself through Titanium Backup, so I have no idea where the file location is. As of now, I can adb push the apk, but I don't know where to push it to.

ztcfrank123 said:
The files were deleted within the phone itself through Titanium Backup, so I have no idea where the file location is. As of now, I can adb push the apk, but I don't know where to push it to.
Click to expand...
Click to collapse
The now try:
adb remount
adb push Xxx.apk /system/app
adb shell chmod 644 /system/app/xxx.apk
adb reboot

Ksawerion said:
The now try:
adb remount
adb push Xxx.apk /system/app
adb shell chmod 644 /system/app/xxx.apk
adb reboot
Click to expand...
Click to collapse
Sorry for the late reply.
The command "adb shell chmod 644 /system/app/xxx.apk" doesn't work for some reason. It says it is not a directory. (I changed the name from xxx to the actual apk name by the way)

ztcfrank123 said:
Sorry for the late reply.
The command "adb shell chmod 644 /system/app/xxx.apk" doesn't work for some reason. It says it is not a directory. (I changed the name from xxx to the actual apk name by the way)
Click to expand...
Click to collapse
Okay then forget this command and only try 'adb push' command, and restart phone maybe it works. Merry Christmas bre

Ksawerion said:
Okay then forget this command and only try 'adb push' command, and restart phone maybe it works. Merry Christmas bre
Click to expand...
Click to collapse
Yeah... I already tried that. Also I tried a bunch of other adb commands like deleting the file and it couldn't find the directory either .
Merry Christmas to you too!

ztcfrank123 said:
Yeah... I already tried that. Also I tried a bunch of other adb commands like deleting the file and it couldn't find the directory either .
Merry Christmas to you too!
Click to expand...
Click to collapse
Was pushing successful? What says CMD after 'adb push'?

Related

NS 4G - Need radio image dump

Looking for anyone with a new NS4G to dump a copy of the radio. I messed up and flashed a rom that had a gsm radio attached. rendering my phone useless as far as phones go.
root
post a good root method and how to do the dump. I can have it hotlinked in 1 hour
i used http://jaxov.com/2011/02/how-to-root-android-2-3-3-gingerbread-on-nexus-s/
worked just fine.
Once you're rooted, do
Code:
adb shell dd if=/dev/mtd/mtd5 of=/sdcard/ns-cdma-radio.img count=12583040
Then upload that ns-cdma-radio.img somewhere ;D
?
ok thanks, i will link it when finished
the dumped file will be in my phone memory, correct?
ryandoubleu said:
ok thanks, i will link it when finished
the dumped file will be in my phone memory, correct?
Click to expand...
Click to collapse
It will be on your internal storage that you can mount as a drive on your pc, yes.
may take...
may take longer than an hour as I am doing the SDK install
ryandoubleu said:
may take longer than an hour as I am doing the SDK install
Click to expand...
Click to collapse
You don't need the platform api, just the SDK tools/platform-tools , that'll save you a lot of download time.
yes i should have mentioned that. i didn't install the SDK either just the tools.
just like http://forum.xda-developers.com/showthread.php?t=878786
hmm
fastboot command wont work? troubleshooting as we speak
ryandoubleu said:
fastboot command wont work?
Click to expand...
Click to collapse
instal drivers?
look to the 2nd rooting method i posted. the 2nd file you download are the drivers. you would install it when your phone is in fastboot mode then go to device manager and upgrade the driver
unzip the rar file and make sure to select x86 or x64 driver for your pc.
you should be able to type "fastboot devices" hit enter and it will return your phone if you have the drivers installed
Also the simplest method to get the drivers might be to put phone into fastboot mode, plug USB to computer, then install PDA Net (which automatically installs the phone drivers). I personally could not get the drivers to install manually on Windows 7, had to use the PDA Net method.
CMD is giving my a Permission Denied with this command
adb shell dd if=/dev/mtd/mtd5 of=/sdcard/ns-cdma-radio.img count=12583040
ryandoubleu said:
CMD is giving my a Permission Denied with this command
adb shell dd if=/dev/mtd/mtd5 of=/sdcard/ns-cdma-radio.img count=12583040
Click to expand...
Click to collapse
Try this: (I am assuming you've already finished rooting and installed superuser)
run adb shell
that should give you a "$" prompt in your command window (you've just shelled into your phone)
then type "su" (without the quotes)
On your phone, a superuser request should pop up on the screen, hit Allow
Your command prompt should change to a #
then type
dd if=/dev/mtd/mtd5 of=/sdcard/ns-cdma-radio.img count=12583040
*EDIT: made a typo in the original writeup of this post and left out the count parameter*
(no adb shell required before the dd command this time since you're already shelled into the phone)
here it is
http://www.megaupload.com/?d=H3Z7RQLZ radio image for you
Also, from the first root method I cant find this file and move forward
4. Tap on the gray box that says Mount R/W
5. Tap and hold on the file install-recovery.sh and rename this file to install-recovery.sh.old
6. Once renamed, download and install the app called ROM Manager from Android Market
7. Once installed, open ROM Manager app and choose Flash ClockworkMod Recovery option.
ryandoubleu said:
http://www.megaupload.com/?d=H3Z7RQLZ radio image for you
Also, from the first root method I cant find this file and move forward
4. Tap on the gray box that says Mount R/W
5. Tap and hold on the file install-recovery.sh and rename this file to install-recovery.sh.old
6. Once renamed, download and install the app called ROM Manager from Android Market
7. Once installed, open ROM Manager app and choose Flash ClockworkMod Recovery option.
Click to expand...
Click to collapse
i didn't do that i just ran ROM manager and flashed the latest Clockwork. you're backing up the old recovery. in that step, good idea, sure. needed, not really.
joebags said:
i didn't do that i just ran ROM manager and flashed the latest Clockwork. you're backing up the old recovery. in that step, good idea, sure. needed, not really.
Click to expand...
Click to collapse
Actually the point of renaming that script is to prevent clockwork from being overwritten by the stock recovery.
The default stock rom is set up to re-flash the stock recovery from cache on bootup if it detects that it's been changed (which is very annoying if you *want* clockwork recovery).
thank you very much for uploading that for me
now correct me if i'm wrong netarchy but i would use fastboot to flash the img file?
I just want to double check before i mess up once again. i'm pretty smart and a quick learner but not a pro like yourself
worked?
joebags said:
i didn't do that i just ran ROM manager and flashed the latest Clockwork. you're backing up the old recovery. in that step, good idea, sure. needed, not really.
Click to expand...
Click to collapse
the radio.img got you working?

Kindle fire stuck in TWRP 2.0 menu noob needs help. Im apologize...

Im sorry, I have tried everything to get my Kindle Fire up and running again. Ive read forum after forum trying to get it up and running. Ive tried the KFU the newest one and the older one. I tried to root my kindle fire and I some how got it stuck on TWRP 2.0. Here are the details of whats going on.
1. I am stuck on TWRP 2.0.
2. My PC does not recognize this device at all.
3. Ive tried deleting the drivers and re-installing the drivers.
4. None of the KFU devices see my KF on the pc.
5. I cant communicate with my KF device through ADB because the PC doesnt see anything.
6. I made the mistake of system restore through the OEM Amazon menu.
7. I dont have any custom roms on my KF device when I scroll through the TWRP menu.
8. I was a dummy and didnt backup the oem device version.
9. I cannot seem to push update.zip because there is no communication between my PC and the KF device.
10. The KF device is not even recognized for a quick second on my PC.
Any help would be greatly appreciated. I tried changing the INI file with the recommended numbers on the forum. Thanks for your time and thank you community in advances. I just wanted to get some better features on the device and i ended up paying the price. Once (i hope) it is restored I will never mess with the device again.
Mount your kindle like USB Storage ("Mount" in TWRP) download any rom and flash it!
animefun135 said:
Mount your kindle like USB Storage ("Mount" in TWRP) download any rom and flash it!
Click to expand...
Click to collapse
can you explain a bit more? i pressed mount in TWRP, and i dont see my fire appearing in "My Computer"
Thanks
in twrp press mount - select sdcard - mount it
in device manager it should show up
if not you should update your drivers
you can use the ones from the newest kfu 0.9.2 http://forum.xda-developers.com/showthread.php?t=1399889
extract it to c:\ and rename to something like c:\kfu\ - sometimes it don't like spaces in pathname
if nothing shows up remove your old drivers: http://support.microsoft.com/kb/315539/en-us
and power down and power up your computer (no restart)
then it should detect something - use the drivers you downloaded - select them manually !!!
once you see the sdcard from your pc you can copy one of the prerooted roms (would take the secure version) or cm7 to the sdcard and install with twrp
prerooted stock images: http://forum.xda-developers.com/showthread.php?t=1402440
b63 said:
in twrp press mount - select sdcard - mount it
in device manager it should show up
if not you should update your drivers
you can use the ones from the newest kfu 0.9.2 http://forum.xda-developers.com/showthread.php?t=1399889
extract it to c:\ and rename to something like c:\kfu\ - sometimes it don't like spaces in pathname
if nothing shows up remove your old drivers: http://support.microsoft.com/kb/315539/en-us
and power down and power up your computer (no restart)
then it should detect something - use the drivers you downloaded - select them manually !!!
once you see the sdcard from your pc you can copy one of the prerooted roms (would take the secure version) or cm7 to the sdcard and install with twrp
prerooted stock images: http://forum.xda-developers.com/showthread.php?t=1402440
Click to expand...
Click to collapse
hey sorry but im having the same problem.. i can get it mounted and everything fine but when i move the prerooted stock you provided in the post it doesn't show up in twrp i have know idea what to do.
bradlier said:
hey sorry but im having the same problem.. i can get it mounted and everything fine but when i move the prerooted stock you provided in the post it doesn't show up in twrp i have know idea what to do.
Click to expand...
Click to collapse
try following:
rename the file to update.zip
copy to root of sdcard
sdcard is hopefully mounted in twrp since you don't see anything
b63 said:
try following:
rename the file to update.zip
copy to root of sdcard
sdcard is hopefully mounted in twrp since you don't see anything
Click to expand...
Click to collapse
i tried that and on my computer it shows up as a zip file but it wont show up on twrp but the other zips i have on the sd card do..
bradlier said:
i tried that and on my computer it shows up as a zip file but it wont show up on twrp but the other zips i have on the sd card do..
Click to expand...
Click to collapse
can you open the file on your computer ?
i would try to re-download it - i think it has to be bad
b63 said:
can you open the file on your computer ?
i would try to re-download it - i think it has to be bad
Click to expand...
Click to collapse
yes the zip opens on the computer. i redownloaded and i got the zip to show up on twrp then flashed it then rebooted.. but all it does is show the yellow triangle thing and then the power button turns orange for a second and it goes right back to twrp.. im staring to think it might be bricked but i really hope not
bradlier said:
yes the zip opens on the computer. i redownloaded and i got the zip to show up on twrp then flashed it then rebooted.. but all it does is show the yellow triangle thing and then the power button turns orange for a second and it goes right back to twrp.. im staring to think it might be bricked but i really hope not
Click to expand...
Click to collapse
don't worry you'r not - it's simply the wrong boot mode
open adb and enter the following commands:
adb shell su -c "idme bootmode 4000"
adb reboot
b63 said:
don't worry you'r not - it's simply the wrong boot mode
open adb and enter the following commands:
adb shell su -c "idme bootmode 4000"
adb reboot
Click to expand...
Click to collapse
sorry, but how do i do that?
command prompt? or something else?
bradlier said:
sorry, but how do i do that?
command prompt? or something else?
Click to expand...
Click to collapse
do you have kfu available ? http://forum.xda-developers.com/showthread.php?t=1399889
if not download, extract to c:\ and rename "kindle fire utility" to "kfu"
you can let it kfu do for you:
run kfu by "run.bat" and select option 1 - change bootmode to normal
or do it manually by opening an (elevated) command prompt in the tools folder of kfu and issue the commands
b63 said:
do you have kfu available ? http://forum.xda-developers.com/showthread.php?t=1399889
if not download, extract to c:\ and rename "kindle fire utility" to "kfu"
you can let it kfu do for you:
run kfu by "run.bat" and select option 1 - change bootmode to normal
or do it manually by opening an (elevated) command prompt in the tools folder of kfu and issue the commands
Click to expand...
Click to collapse
hey man that was it.. thanks alot
Thanks for all the help. My actual problem was the drivers needed to be reinstalled and the USB cable I was using was no good. Go Figure!

[Q] Motoblur home process failing

Hello All,
I would really appreciate help on this issue I have been having. I recently rooted then unlocked the bootloader of my device. I downloaded a root uninstaller and may have somehow killed the home process from running. Now, when i turn on the device, i get the error
The application Home (process com.motorola.home) has stopped unexpectedly
It does not go away and comes repeatedly back, not allowing me to change any settings whatsoever. I don't know what to do. I tried going into android recover mode and both wiped the device and cleared the cache, but the problem persists. I also tried putting a cyanogenmod version on the devices SD card but cant get it install because for some reason I can't get clockwork mod installed correctly. I cannot turn on USB debugging mode because I can't get into the settings. I tried using the .sbf to flash it but it is the .sbf I used to unlock the device so I am not sure that is the right one or if the right one would even do the trick, I fear that the system files that run the home application may be corrupt, deleted or permanently inactive. I would appreciate any ideas people may have to help me.
Also, becuase I factory reset the device, the bootloader is unlocked, but it is no longer rooted, and I cannot root it at this time becuase I cannot turn on USB debugging mode.
I was looking at the guide here;
http://forum.xda-developers.com/showthread.php?t=1302423
And was wondering why it didn't work when I tried to install CWM, then I noticed something I didnt see;
"DO NOT FORGET TO DO THIS PART: After the install of RomRacers recovery boot up your phone. Open up your favourite file browser (I used Astro file manager to do this ) and navigate to /system/etc/ and delete the file called 'install-recovery.sh'"
Is there a way to do this from the PC as I wouldn't be able to on my device? Or is the fact that it is not currently rooted going to stop me from doing anything?
Thanks,
heronpj said:
I was looking at the guide here;
http://forum.xda-developers.com/showthread.php?t=1302423
And was wondering why it didn't work when I tried to install CWM, then I noticed something I didnt see;
"DO NOT FORGET TO DO THIS PART: After the install of RomRacers recovery boot up your phone. Open up your favourite file browser (I used Astro file manager to do this ) and navigate to /system/etc/ and delete the file called 'install-recovery.sh'"
Is there a way to do this from the PC as I wouldn't be able to on my device? Or is the fact that it is not currently rooted going to stop me from doing anything?
Thanks,
Click to expand...
Click to collapse
If you are familiar with ADB, the basic commands would be:
Code:
adb remount rw
adb shell
While in the ADB shell:
cd /system/etc
rm install-recovery.sh
exit
that should cover it.
let me know if this works for ya.
Thanks for your response. The only problem is my phone isn't in USB debug mode, and I can't set it to be. Any idea of how to get that turned on without being able to get into the settings?
FaithCollapsing said:
If you are familiar with ADB, the basic commands would be:
Code:
adb remount rw
adb shell
While in the ADB shell:
cd /system/etc
rm install-recovery.sh
exit
that should cover it.
let me know if this works for ya.
Click to expand...
Click to collapse
heronpj said:
Thanks for your response. The only problem is my phone isn't in USB debug mode, and I can't set it to be. Any idea of how to get that turned on without being able to get into the settings?
Click to expand...
Click to collapse
can you boot into recovery?
FaithCollapsing said:
can you boot into recovery?
Click to expand...
Click to collapse
I can, and have down a wipe data as well as cleared the cache, problem persists.
Solved!!! I was able to basically button mash until somehow the screen to log into the play store came up. Download launcher pro and that got me back into my phone! Thanks for your help

[Q] Broke Screen, Want to Backup files

Hi,
So today the front of my Nexus 4 cracked and rendered it completely dysfunctional. The worst part is that there's a screen lock, making it impossible for me to access through Android File Transfer. I was reading that you could use adb and screencast to access the phone and to unlock it, allowing for me to retrieve files. But after installing and running commands, it seemed like I couldn't find a device when I inputted the command 'adb devices'. I know, I searched it up and I think the reason is that usb debugging was not enabled (I don't remember if I did or didn't enable it at all). I've read past threads which explain how to enable it even with a cracked screen but I'm just too confused on how to do it. All this SDK and AVD stuff confuses the heck out of me (I'm fairly new to the whole Android notion) so I practically have the IQ of a 5 year old. My phone is rooted (In which it did wipe the memory so that may be why debugging could be off) and I'm currently flashing Cyanogenmod. Could someone please explain to me how do I enable debugging with a dysfunctional screen like I'm 5? Also, if there were an easier alternative to retrieving/backing up my files that would be nice knowing too because all of this stuff is currently doing my head in.
Thanks!
You can try to access adb from recovery too.
Turn off phone and start by holding VOL-DOWN and POWER together. You will boot into BOOTLOADER mode and there switch to RECOVERY MODE by VOLUME button (2 times press is this mode). If you have installed CyanogenMOD, then you have probably advanced recovery (CWM or TWRP). Now try command "adb devices".
If you haven't CWM or TWRP recovery installed, boot again into BOOTLOADER mode and flash recovery by fastboot.
xjcook said:
You can try to access adb from recovery too.
Turn off phone and start by holding VOL-DOWN and POWER together. You will boot into BOOTLOADER mode and there switch to RECOVERY MODE by VOLUME button (2 times press is this mode). If you have installed CyanogenMOD, then you have probably advanced recovery (CWM or TWRP). Now try command "adb devices".
If you haven't CWM or TWRP recovery installed, boot again into BOOTLOADER mode and flash recovery by fastboot.
Click to expand...
Click to collapse
Thanks for the quick reply,
After I hit advanced recovery and selecting my backup, which option do I press? Do I restore the boot, system, data, cache, or sd-ext?
Also typing in adb devices only lists the recovery device and I don't seem to be able to access it through Android File Transfer, what do I do with the serial number it tells me?
By the way I don't have any backups when I had no screen pattern so wouldn't recovering those areas still give get me locked out?
loolnicetry said:
Thanks for the quick reply,
After I hit advanced recovery and selecting my backup, which option do I press? Do I restore the boot, system, data, cache, or sd-ext?
Also typing in adb devices only lists the recovery device and I don't seem to be able to access it through Android File Transfer, what do I do with the serial number it tells me?
By the way I don't have any backups when I had no screen pattern so wouldn't recovering those areas still give get me locked out?
Click to expand...
Click to collapse
Android File Transfer is not working in recovery mode, but you can pull required files by "adb pull /sdcard/some-file-or-folder/ /to/some/path/on/your-system/". Of course you can pull whole /sdcard/. You can try also adb backup (I didn't try it yet). From recovery you can also make nandroid backup of the system and transfer to computer by adb pull.
In recovery mode you have access to full system (maybe you must mount some partitions), that means you can use magic command "adb shell", to get shell (in shell you can use "ls" for list files, "cd" for change directory) and do what you want. To remove screen lock try some guide from XDA, I've found for example [GUIDE][HOW-TO]Crack android pattern lock! or [EASIEST]Crack Android Pattern/Pin/Password Lockscreen without root.
I hope this will help you.
xjcook said:
Android File Transfer is not working in recovery mode, but you can pull required files by "adb pull /sdcard/some-file-or-folder/ /to/some/path/on/your-system/". Of course you can pull whole /sdcard/. You can try also adb backup (I didn't try it yet). From recovery you can also make nandroid backup of the system and transfer to computer by adb pull.
In recovery mode you have access to full system (maybe you must mount some partitions), that means you can use magic command "adb shell", to get shell (in shell you can use "ls" for list files, "cd" for change directory) and do what you want. To remove screen lock try some guide from XDA, I've found for example [GUIDE][HOW-TO]Crack android pattern lock! or [EASIEST]Crack Android Pattern/Pin/Password Lockscreen without root.
I hope this will help you.
Click to expand...
Click to collapse
I CANNOT THANK YOU ENOUGH! You were easy to understand and got straight to the point which was perfect! On a side note, do you know if there's a way I can extract and save my sms messages and read them on my computer? I know I can take out the .db file but it's complicated to open on a Mac and it's quite an effort. (Considering my phone still has a lock on it)
loolnicetry said:
I CANNOT THANK YOU ENOUGH! You were easy to understand and got straight to the point which was perfect! On a side note, do you know if there's a way I can extract and save my sms messages and read them on my computer? I know I can take out the .db file but it's complicated to open on a Mac and it's quite an effort. (Considering my phone still has a lock on it)
Click to expand...
Click to collapse
I'm really happy that I helped you!
Android is storing messages, contacts in SQLite database, there is not another way to grab these files from recovery. But it's not complicated to extract these files. Download for Mac OS X sqlite-shell-osx-x86-XXX.zip from SQLite Download Page and extract it somewhere.
Then pull messages by
Code:
cd /path/where/is/extracted-sqlite
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db .
Finally you can list your messages by
Code:
./sqlite3 mmssms.db 'select address,body from sms'
If last command is not working try make it executable and repeat previous step
Code:
chmod +x sqlite3
xjcook said:
I'm really happy that I helped you!
Android is storing messages, contacts in SQLite database, there is not another way to grab these files from recovery. But it's not complicated to extract these files. Download for Mac OS X sqlite-shell-osx-x86-XXX.zip from and extract it somewhere.
Then pull messages by
Code:
cd /path/where/is/extracted-sqlite
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db .
Finally you can list your messages by
Code:
./sqlite3 mmssms.db 'select address,body from sms'
If last command is not working try make it executable and repeat previous step
Code:
chmod +x sqlite3
Click to expand...
Click to collapse
For the pulling of the .db file, it says the remote object does not exist, what should I do?
loolnicetry said:
For the pulling of the .db file, it says the remote object does not exist, what should I do?
Click to expand...
Click to collapse
Hmm that is strange, maybe this will help you (especially check first answer): http://stackoverflow.com/questions/12266374/backup-full-sms-mms-contents-via-adb
Sent from my Nexus 4 using Tapatalk
xjcook said:
Hmm that is strange, maybe this will help you (especially check first answer):
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
When I try to enter the $mkdir command it says it's not found. Am I meant to include the $ in the command?
xjcook said:
Hmm that is strange, maybe this will help you (especially check first answer): http://stackoverflow.com/questions/12266374/backup-full-sms-mms-contents-via-adb
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I FIXED IT MYSELF! I'm feeling a bit smart haha, it turns out my system and data wasn't mounted and all I had to do was mount it through cwm. Thanks a lot friend you were a great help, I'd be panicking a substantial amount without you!

Accidentally uninstalled Package Access helper

Hey Guys,
I just made a big blunder.. darn! I uninstalled the Package Access Helper (thru the titanium backup app) on my G2 (D802 ver) and now I can't install any apps anymore from the PlayStore.
The phone is rooted though..
My question is... What's the best and easiest way to remedy this problem? should I go to all the hassle of reflashing back to Stock ROM? OR can I possibly get an apk for this "Package Access Helper" thingie? and where in God's world do I find this apk if ever asl well?
I'm in dire need here guys... pls help me out. .::
thank you.
There you go
bender_007 said:
There you go
Click to expand...
Click to collapse
Hey thanks bender.. I tried to download and install the apk file on my phone but I'm getting an error - "Package not installed"...
letters_to_cleo said:
Hey thanks bender.. I tried to download and install the apk file on my phone but I'm getting an error - "Package not installed"...
Click to expand...
Click to collapse
copy it to /system/app & reboot
Thanks, but I dont have have any root explorer app on my phone.
Already installed the adb shell on my laptop..
enabled USB debugging on my phone, checked device manager and saw "Androidnet Sooner Single ADB Interface: under Computer.
then on the command prompt with admin permission, I typed on where the adb libs are located
adb shell
su
adb remount
chmod 777 /system/apps
adb push DefaultContainerService.apk /system/app/
BUT.... I always end up with the errr message "device not found"
What's this error all about??
Thank you again for sharing some of your info... I highly appreciate your insights on this
Here you go x2
flashable
@error - you need adb drivers + usb debugging enabled.
I sent you back a message mate.
Unfortunately the flashable zip might not be of no good to me at all, as I did not install any custom recovery on my phone e.g. twrp, etc.
I guess the only route I can do is to really push the DefaultContainerService.apk to the /system/app but I'm always getting this err -'device not found''it
Should Androidnet Sooner Single Adb interface really be the one that appears under the Device manager? or should it be 'Android Composite ADB Interface'?
I'm having a tough luck on this
I guess the most I can do on this would be to just reflash it back to stock again and hope it'll work. *sigh
what does "adb devices" show ?
bender_007 said:
what does "adb devices" show ?
Click to expand...
Click to collapse
adb devices show nothing.
letters_to_cleo said:
adb devices show nothing.
Click to expand...
Click to collapse
you need a more recent adb.exe
try this one https://dl.dropboxusercontent.com/u/663851/adb.exe
darkobas said:
you need a more recent adb.exe
try this one https://dl.dropboxusercontent.com/u/663851/adb.exe
Click to expand...
Click to collapse
thanks man, I downloaded the adb tool from the android sdk website itself.
By the way, I tried as well booting up to stock recovery, and flashing the zip (on the earlier post), but since my phone system is not yet mounted, then the zip file didn't do anything at all.
any one please send me the Package Access helper to my gmail
Please help me I want to restore my package Access helper back please
For battery optimization obsessives, Do not delete or disable it. Apps from play store can not be installed without it. This what I ended up with after disabling the service.

Resources