[q] How can I set the recovery to do something? - Android Software Development

Hello!
I'm creating a ROM Updater for fun and to learn something about Android developing. So far I did the following:
- ROM mod and version detection
- JSON-based ROM repositories with full and incremental updates (automatically selectable if there is the proper update from version to version), changelog etc.
- optional extra files to download when you select the file you want to download the mod version
- download of the files with a progress bar
- all in professional-looking ListViews
------------------
NOW... I need to know how can I set the recovery in order to automatically execute backups / zip flashes when you reboot in recovery mode. How can I do that? And how can I reboot the system in recovery mode?
------------------
Thanks
Some images so far btw
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

Can anyone port this CWM Recovery ?

Hi guys,
Can someone port this CWM recovery for our model, its very interesting!
Heres is the link of recovery http://forum.xda-developers.com/showthread.php?t=1485829
Greetings!
TWRP has on-screen touch navigation controls as well. You can't see it on screenshot of the thread though because the version is outdated (latest version is v2.1).
Here's a more updated screenshot where you can see the touch control,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TWRP offers other features as well such as zip queue, allowing you to flash multiple zips in one go.
I think recovery misoperation can lead to catastrophic consequence... So I myself prefer the oldest, non-touch CWM recovery 5.0.2.0

[TOOL][Android Self Center][v0.1 - Release]

Hi,
I was trying to make a little tool ( console program ) to process few things easily.
So I tried to make this tool.I didn't complete it.
Changelog
v 0.1
-Kernel flash [Done.]
-Clear Dalvik Cache [Done.]
-Backup current system and data folder to a flashable zip [Only system folder, Done.]
-Logging [Done - Need to improve.]
Click to expand...
Click to collapse
Coming...
-Root and Unroot
-Get logcat file
-Will improve logging.
-And few more thing I want to add.
-Also if you want something, share with me.
Click to expand...
Click to collapse
Credits
Google
7-zip
Mirror
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[MOD]Add “Delete” button to the screenshot preview for your ZU

Hey, guys, we know that some ROMs don’t have the “Delete” button on the screenshot preview like the Sony Xperia series. Hence, here is the guidance that can help you add “Delete” button to your screenshot preview for your ZU.
PS: Full Guide can be found here: http://xswxm.com/?p=1023
Recommed:
Officail 108&118 odexed ROM
Tested Deviced & ROM:
C6833 with HK_108_ROM
Steps:
1. Backup your ROM or just backup the files ("/system/priv-app/SystemUI.apk" & "/system/priv-app/SystemUI.odex") will be covered later;
2. Unzip SystemUI_ODEXED.zip and copy the files to "/system/";
3. Set 211 or 644 permission for these two files;
4. Copy them to "/system/priv-app/", just cover the files inside;
5. Restart your cellphone and enjoy!
Download: SystemUI_ODEXED.zip (Notice: Not Flashable)
Preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[TOOL] OSRepack v0.4

Since OS Builder doesn't work with WP8 I create this VERY VERY simple tool. It's so simple that screenshot is 4 times larger then the tool itself :laugh:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
List packages and files
Remove packages or files
Copy packages from other image
Even with Admin rights this tool can't write to any folder of the image. Without Admin rights this tool is mostly read-only.
Support for non-compressed DSMs added.
OS Repack 0.3 alpha
Only UI improvements.
OSRepack 0.4 alpha
1) Even more UI changes
2) Fixed performance issue when selecting package with lots of files
3) Added ability to remove files (not entire package)

[GUIDE] *Root* - Google Dialer Call recording Announcement Off

Below are the files required for flashing download these :
All GDRIVE links Download ending_voice-en_US.wav & starting_voice-en_US.wav : https://drive.google.com/drive/u/1/folders/1mFMqrcT1NwAskIBKXt9XASRF1a49JcLi
Goto /data/data/com.google.android.dialer/files/callrecordingprompt/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Delete "ending_voice-en_US.wav" & "starting_voice-en_US.wav"
Copy paste downloaded files to the same location /data/data/com.google.android.dialer/files/callrecordingprompt/
Reboot device - Viola Announcement Off
PS: I have not created this tutorial and I have copy pasted this from This link
Also there are google dialer mods and magisk module that do the same.
[MOD][ROOT] GAppsMod (ex GoogleDialerMod)
Introduction GAppsMod (ex GoogleDialerMod) is an Android application able to unlock hidden features (e.g., available only in some countries or on certain devices) in Google applications (such as Phone Messages by Google). Root is required. The...
forum.xda-developers.com
Recording button prompt failed ,it is not work!!!

Categories

Resources