Hi,
Tried a bunch of other system apps from another samsung (dunno what is from what anymore)
One app that was better then our radio app is what I posted here.
This is a system app so from the PC:
- adb shell cp /system/app/FmRadio.apk /sdcard
- adb remount (mounts /system rw)
- adb push FmRadio.apk /system/app
- adb shell rm /data/dalvik-cache/*FmRadio*
- adb reboot (for rebuilding dalvik cache dex file)
If you have a shortcut on your lancher you need to make it again.
Previous FmRadio data (favorites etc) are working.
Cheers
ps: I also attached the apk for the shortcut to the Android build in SoundRecorder
Related
From the original post by cyricc in the G1 Android Development forum:
HOW TO: Manually backup 3rd-party application settings and data
I just didn't want to be the guy posting only a link. Please post any questions, comments, or thanks in the original thread I deserve NO CREDIT for this post.
##############################
This tutorial will explain how to backup application data and settings for 3rd-party apps that do not have an export/import settings feature. Looking to upgrade your ROM but don't want to lose your todos/highscores/whatnots after a data wipe? Then read on..
(I've never used apps to SD, so I'm not completely sure how the data is stored with that. I'm assuming the entire data partition is moved to the SD though, so the procedures outlined in this guide are not necessary / do not apply to apps2sd)
Tools needed:
adb
Backing up settings
Run a adb shell in the command prompt and navigate to /data/data
Code:
c:\android-sdk-windows-1.5_r1\tools> adb shell
# cd /data/data
Find the folder of the app whose settings you want to backup. In android 1.5, M/SMS are stored in com.android.providers.telephony and bookmarks are in com.android.browser. For third party apps, you can use ls to list all installed apps and find your app folder manually, or use find - say I want to find the app folder for the Astrid todo app:
Code:
# ls
<.....lots of directories....>
com.timsu.astrid
<.....more directories....>
# find *astrid* -maxdepth 0
com.timsu.astrid
Now open a separate command prompt and use adb pull to copy the application's data folder to your computer. This does not copy the app itself, only its saved data and settings. App .apks reside in /data/apps, which you can also adb pull out if you want. In this example I pull out settings for Astrid:
Code:
c:\android-sdk-windows-1.5_r1\tools> adb pull /data/data/com.timsu.astrid d:\desktop\com.timsu.astrid
Feel free to replace d:\desktop with the location of your choice, of course. Repeat the above for each app folder you want to backup.
Restoring settings after a wipe
First thing to do is reinstall the apk, from sdcard, adb install, market, whatever. After the app is installed, you can restore settings in one of two ways: the easy way or the hard but safe (paranoid) way.
The Easy Way:
This quick and dirty method will give everyone full read/write/execute permissions on the application's settings/data. This is normally a Very Bad Idea with a normal linux computer, but realistically there is very little risk of this posing any real security issues on a device like a phone.
First, adb push the settings into the data folder, overwriting the app's stock settings (in this example, the astrid data I backed up) then adb shell into the phone and navigate to /data/data:
Code:
c:\android-sdk-windows-1.5_r1\tools> adb push d:\desktop\com.timsu.astrid /data/data/com.timsu.astrid
Done
c:\android-sdk-windows-1.5_r1\tools> adb shell
# cd /data/data
Now give full permissions to the app's data folder and its contents:
Code:
# chmod 777 com.timsu.astrid
# cd com.timsu.astrid
# chmod 777 * */*
And that's it. Launch the app and your settings/data should be restored.
The Hard Way
I'm not going to go into this in detail because if you're reading this, you probably know the commands to do this anyway. After you reinstall the app, the general idea is to run ls -l on the stock app data directory and its subdirectories to display the owner and permissions of each file/folder as setup by the android system. Write these down then adb push the backup app data folder in, which overwrites everything with directories and files owned by root. Then use chown and chmod to restore the original owners and permissions for each file and directory. Needless to say this can be quite a hassle if you're dealing with more than a few application backups.
i made a script that copies ALL of the applications off of the phone as a backup to a folder on your sd card. the sd card MUST HAVE a folder called "app" in order for this to work.
Code:
@ECHO OFF
adb shell cp data/app/* /sdcard/app
pause
then here is one to reinstall ALL of the apps from that "app" folder back onto your android, keeping the update notifications.
Code:
@ECHO OFF
adb remount
adb shell busybox install sdcard/app/*.apk /data/app
pause
exit
either type those commands into a command prompt or you can make a .bat file and put those commands in.
Is the any of LG_IME.apk that works on "Joestone's Gingerbread 2.3.2".
I've had extracted LG_IME form "Lavero Burgos's data2system mod of AOSP Joestone Gingerbread" ROM and have installed it to "Joestone's Gingerbread 2.3.2"
The problem is, it says force close.
Thanks
use this http://gt540.co.cc/index.php?dir=&file=LG_IME_2.3.zip
I don't know what went wrong, I've installed the zip package via recovery but it seems that the problem remains.
When I select LG IME as the input method, It does still says force close.
But thanks anyway
heres what to do with my file:
TUTORIAL #7
- Dowload LG_IME_data2system and unzip in desktop
- Open System folder and copy the 3 folders: app, lib2 and usr folders to C:\*SDK\platform-tools\
- Plug your phone to the computer
- Open a CMD terminal and type:
Code:
cd C:\*SDK\platform-tools
adb devices
adb remount
adb push app /system/app
adb push lib2 /system/lib
adb push usr /system/usr
adb kill-server
exit
- Unplug your phone
- Go to ROM Manager application and run Fix Permissions (DO NOT avoid this step, so you dont get FC's)
DONE!
Veronica
Sent from my GT540 using XDA App
It works, thanks Veronica
I've followed your tutorial step by step and it works without any problem. No more FC ...
Thanks Veronica
Nearly There. . .
Followed your guide right through. Only problem I have is the T9 (predictive) won't work, the little T9 button is disabled..... no FC's though. Any thoughts ??
lavero.burgos said:
heres what to do with my file:
TUTORIAL #7
- Dowload and unzip in desktop
- Open System folder and copy the 3 folders: app, lib2 and usr folders to C:\*SDK\platform-tools\
- Plug your phone to the computer
- Open a CMD terminal and type:
Code:
cd C:\*SDK\platform-tools
adb devices
adb remount
adb push app /system/app
adb push lib2 /system/lib
adb push usr /system/usr
adb kill-server
exit
- Unplug your phone
- Go to ROM Manager application and run Fix Permissions (DO NOT avoid this step, so you dont get FC's)
DONE!
Veronica
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
can someone tell me why this method is not working for me ?? i've followed the instructions but.. FC's...
I just got my fascinate yesterday and I'm trying to root it right away. I let or upgrade ota to 2.2 earlier and now I'm trying the root method of the start root process on the pc and that's not working and I also tried the z4root and I have no luck with that either. Anyone have any advice?
Sent from my SCH-I500 using xda premium
I don't care for one-click style roots, I've always had the best luck using ADB.
However, are you going to flash a custom ROM? If so there really isn't a reason to root.
---------- Post added at 05:50 PM ---------- Previous post was at 05:46 PM ----------
These where my notes back when I rooted my phone originally, if it helps, the files necessary for this should still be fairly easy to find (If it helps any, I still say flash a custom rom and skip the rooting process):
- Install USB driver
- Install Android SDK
- On phone
- Turn USB Debugging on (Settings, Applications, Development)
- Allow mock locations
- Plug phone into computer
- Command Prompt
- adb devices (this should just show that the phone is connected)
- Unzip root.zip
- busybox
- rageagainstthecage-arm5.bin
- su
- Superuser.apk
- Command Prompt
- Navigate to the directory of adb.exe, in Android SDK, Platform-Tools
- adb push c:\[directory]\rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
- adb shell
- Shell prompt should be $
- cd /data/local/tmp
- chmod 0755 rageagainstthecage-arm5.bin
- ./rageagainstthecage-arm5.bin
- Wait till prompt comes back up, will end adb shell automatically
- adb shell
- Shell prompt should be #
- exit
- adb push su /sdcard/su
- adb push busybox /sdcard/busybox
- adb shell
- mount -t rfs -o remount,rw /dev/block/stl9 /system
- cd /system/xbin
- cat /sdcard/su > ./su
- cat /sdcard/busybox > ./busybox
- chmod 4755 su
- chmod 4755 busybox
- exit
- adb install Superuser.apk
- This may freeze, wait till it says "Success", then Ctrl-C to exit.
- Reboot phone
- Download ClockworkMod Rom Manager from Android Market
- Turn Phone off
- Remove battery
- Hold volume down button in
- Plug USB cable in
- Should See Android digging.
- Open Odin
- Use PDA button
- Select the CWMrecovery_DJ05_DL09.tar.md5
- Click Start
- Should say pass when done.
- Put battery back in and turn phone on.
- Flashing only works from Recovery mode, not ROM Manager.
- Hold both volume up and down buttons in, Turn Phone on.
- First screen apply update.zip to get into Clockwork.
- First screen home button is "enter"
- Second screen back arrow is "enter"
Click to expand...
Click to collapse
Hi,
Today I followed 2 tutorial to how to do it. OK I have old market, but it FC in 5 seconds (com.android.vending). I'm annoyed cause of new market, IT LAGS SO MUCH. Is there any solution for old market on STOCK ROM?
Using MIUIv1
____________________________
Solution:
1. Download ‘Vending.apk’ from here
2. Reboot into recovery and plug into pc,
3. mount /system using your recovery
4. From your preferred ADB console run these commands
adb push Vending.apk /system/app
adb shell rm /system/app/MarketUpdater.apk
adb shell chmod 644 /system/app/Vending.apk
adb shell chown root.root /system/app/Vending.apk
5. Reboot your phone .
[ Originaly posted by Omnichron http://forum.xda-developers.com/showthread.php?t=1231358 ]
6. Download and install http://www.4shared.com/file/s1PoadZK/comandroidvending-236.html
(No reboot required)
(This is original 2.3.6 version of market, no suspicious permissions)
Delete the MarketUpdater from system/app. It will prevent ur market from gettin upgraded. Then uninstall upgrades from settings- applications- manage apps .
Sent from my GT-S5830 using XDA App
PRESS THNX IF I HELPED
Aashay Sathe said:
Delete the MarketUpdater from system/app. It will prevent ur market from gettin upgraded. Then uninstall upgrades from settings- applications- manage apps .
Sent from my GT-S5830 using XDA App
PRESS THNX IF I HELPED
Click to expand...
Click to collapse
I doesn't have uninstall upgrades option, I had already uninstalled MarketUpdater.
_____________________________
Using ADB – This method is only for advance users
Download ‘Vending.apk’ from http://forum.xda-developers.com/attachment.php?attachmentid=699259&d=131420749
Reboot into recovery and plug into pc,
mount /system using your recovery
From your preferred ADB console run these commands
adb push Vending.apk /system/app
adb shell rm /system/app/MarketUpdater.apk
adb shell chmod 644 /system/app/Vending.apk
adb shell chown root.root /system/app/Vending.apk
Reboot your phone .
This one worked, but...
market is too old :O
It doesn't work as well as a little newer.
If anyone wants to develop the program further, I have made it publicly available here.
https://github.com/rainman74/FireTV-Settings/releases
I hereby discontinue support for my Fire TV Guides and Apps. I've been a big fan of Fire TV devices for the last 2-3 years, but Amazon has now with each firmware further limited the possibilities of a configurable Android environment and even destroyed standard Android commands. This goes too far for me now.
I can recommend the following devices to anyone who wants to have a reasonable and much better Android TV experience, which I now use myself and am enthusiastic about:
Mi Box
Mi Box S
Sony Android TV (ATV3 platform, eg. XF7, XF8, XF9 or higher)
Awesome, thanks for sharing this! Will be using this on my ‘Playing With Fire’ Leanback Launcher configuration!
Are there any activities missing that could still be included in the conFIREator?
Ideas?
@rainman74
can you add this function:
-Restart Device
-ADB Debugging
-USB Debugging
-Apps from Unknown Sources
-Network Info (to look ip address from device)
-System Info (to look Software version from device)
droidpaine said:
@rainman74
can you add this function:
-Restart Device
-ADB Debugging
-USB Debugging
-Apps from Unknown Sources
-Network Info (to look ip address from device)
-System Info (to look Software version from device)
Click to expand...
Click to collapse
Thanks for the ideas. But this is not only possible with activities, you need a modified settings app for these commands (except for restarting, you need root privileges for this, or a corresponding authorized app).
Okay, let's see:
Restart Device -> Simple Reboot
turn on ADB/USB -> you have to install modified settings app from PlayFire as system app
Network Info (to look ip address from device) -> you have to install modified settings app from PlayFire as system app
System Info (to look Software version from device) -> you have to install modified settings app from PlayFire as system app
turn on unknown sources -> you have to install modified settings app from PlayFire as system app
ok thanks for the explanation
restart with the app works
rainman74 said:
Thanks for the ideas. But this is not only possible with activities, you need a modified settings app for these commands (except for restarting, you need root privileges for this, or a corresponding authorized app).
Okay, let's see:
Restart Device -> Simple Reboot
turn on ADB/USB -> you have to install modified settings app from PlayFire as system app
Network Info (to look ip address from device) -> you have to install modified settings app from PlayFire as system app
System Info (to look Software version from device) -> you have to install modified settings app from PlayFire as system app
turn on unknown sources -> you have to install modified settings app from PlayFire as system app
Click to expand...
Click to collapse
Is there a tutorial on how to install an app as a system app? Or can you point me in the right direction.
BRICK0044 said:
Is there a tutorial on how to install an app as a system app? Or can you point me in the right direction.
Click to expand...
Click to collapse
For this you need root rights!
First you have to download the modified Android TV Settings app from PlayFire:
View attachment TvSettings.apk
Then copy the app into the system app folder and MUST restart your Fire TV to install it automatically.
Code:
adb push C:\TvSettings.apk /sdcard/
adb shell su -c mount -o remount,rw /system
adb shell su -c mkdir /system/priv-app/TvSettings
adb shell su -c chmod 755 /system/priv-app/TvSettings
adb shell su -c cp /sdcard/TvSettings.apk /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chmod 644 /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chown root:root /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c mount -o remount,ro /system
adb shell su -c rm /sdcard/TvSettings.apk
rainman74 said:
For this you need root rights!
First you have to download the modified Android TV Settings app from PlayFire:
View attachment 4475903
Then copy the app into the system app folder and MUST restart your Fire TV to install it automatically.
Code:
adb push C:\TvSettings.apk /sdcard/
adb shell su -c mount -o remount,rw /system
adb shell su -c mkdir /system/priv-app/TvSettings
adb shell su -c chmod 755 /system/priv-app/TvSettings
adb shell su -c cp /sdcard/TvSettings.apk /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chmod 644 /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chown root:root /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c mount -o remount,ro /system
adb shell su -c rm /sdcard/TvSettings.apk
Click to expand...
Click to collapse
Thanks again worked great!
Updated app in first post (Access to SuperSU Settings)
Updated app in first post (Access to Xposed and VMLite VNC Server)
Also added Google Play Store, Android Terminal, Mouse Toogle and Reboot
Updated app in first post
If you use XInstaller, other basic Amazon activities can be called up (which are normally only possible with the Amazon TV Launcher) and I will include them in an upcoming version of conFIREator, e.g. screen and sound settings, sdcard menu, Fire TV info, etc.
This allows you to access all Amazon settings even if Amazon Launcher is disabled.
Updated app in first post with two versions: 1) possible settings without root and 2) really all settings with root & Xinstaller
New version added which removed access to notifications, because they no longer work with the Leanback Launcher.
If you still need it, please continue to use version 2.1.
All new version of Fire TV Settings
@rainman74 hello, first of all thank you for your work. i have an fire tv stick 2nd using halauncher and amazon launcher removed. no root. i want to acces display&sound is it posibile ? i want the overscan option. thks
xhostluv said:
@rainman74 hello, first of all thank you for your work. i have an fire tv stick 2nd using halauncher and amazon launcher removed. no root. i want to acces display&sound is it posibile ? i want the overscan option. thks
Click to expand...
Click to collapse
No that's not possible, you need root privileges and Xposed/XInstaller and you can't get them on a Fire TV Stick 2.
rainman74 said:
No that's not possible, you need root privileges and Xposed/XInstaller and you can't get them on a Fire TV Stick 2.
Click to expand...
Click to collapse
Did you use the Magisk xposed or the standalone xposed. I understand everything has to be flashed in twrp. thanks