[Q] Install voice commands (motoblur) to cm9 - Android Software/Hacking General [Developers Only]

How to? I make steps
1. Download and unzip above file to your external or internal storage in a temp folder.
2. Copy VSuiteApp.apk file from system/app in unzipped folder to /system/app folder on your device
3. Copy nuance folder from system/etc in unzipped folder to /system/etc folder on your device
4. Copy libvsuite_mot_vs32_cmb103.so file from system/lib in unzipped folder to /system/lib folder on your device
5. Copy nuance folder from system/tts in unzipped folder to /system/tts folder on your device
6. Fix permission on all copied files (individual or in folders copied over) to rw- r-- r--.
7. Reboot, and hopefully it will work.
Click to expand...
Click to collapse
and not run =\

Somebody help.

Related

Htc "mirror" app fix for endymion

View attachment HTCCamera.apk
INSTRUCTIONS:
1.dOWNLOAD THE .APK FILE
2. Transfer the .apk files to your SD card via PC / Mac (remember where you put them)
3. Open Root Explorer App, and navigate to the transferred .apk files
4. Long-press HTCCamera.apk and select the “Move” option on pop-up menu
Navigate to /system/app folder
5. Change mount option from RO to RW (read-only to read-write)
Paste HTCCamera.apk into the /system/app folder
6. Long-press HTCCamera.apk and select “Permissions” from pop-up menu
Change permissions to match all other apps in this folder (rw-r–r–)
7. Install HTCCamera.apk
8. Reboot your device and ENJOY!!

How to create an update.zip file that can copy & rename a file?

Hello!
Here's exactly what I'm looking for - I need an 'update.zip' file that will make the 'system' folder writable and then it would copy this file:
/system/framework/framework-res.apkback
to this folder:
/system/
after that it would rename the 'framework-res.apkback' file in the 'system' folder to:
framework-res.apk
and copy it back to:
/system/framework/
It has to overwrite an existing 'framework-res.apk' in 'system/framework' folder and in the end make the 'system' folder ro.
Note: The permissions can NOT change.
How exactly can this be done please? I have some ideas but I don't want to risk bricking my phone more than it already is.
Any help would be greatly appreciated!

[TUTORIAL] Centering the Lockscreen After Decreasing DPI

[Noob friendly tutorial]
A typical problem when decreasing the DPI of your device is sometimes the lock screen will offset to the right(usually).
This tutorial might help fix this problem.
Requirements:
1. Rooted device
2. File manager for viewing and managing the root directory (e.g. Root Explorer)
3. Software for decompiling and recompiling .apk files
4. Text editor, I recommend Notepad++
Prerequisite:
Backup your current ROM so that I will not be held responsible for problems the may occur on your device
Instructions:
1. Open Play Store and download "ZipSigner" by Ken Ellindwood
2. Go to the root directory which is designated as "/".
3. Open "system" folder
4. Open "framework" folder
5. Look for "framework-res.apk"
6. Copy "framework-res.apk"
7. Navigate back to your SD card directory and paste it to where you want it.
8. Connect your device to your PC.
9. Expand your phone's the notification bar, press "Charging" and change it to "USB mass storage" and press "OK". Your PC will access your phone's storage directories (SD Card and Phone Storage)
10. On your PC, go to your SD Card's directory and navigate to where you put framework-res.apk and move it to your PC's desktop (you can put it to anywhere you like, just make sure you have it in your PC's storage directory).
11. On your PC, transfer framework-res.apk in the directory of your decompiling/recompiling tool with respect to what "tool" you are using.
Main Part:
12. Decompile framework-res.apk
13. Go to its "decompiled" directory
14. Navigate to /res/layout
15. Look for "keyguard_screen_tab_unlock.xml"
16. Open it with a text editor
17. Look for this line:
Code:
<com.android.internal.widget.multiwaveview.GlowPadView
18. Rigt next to this line, look for the lines, "android:gravity" and "android:layout_height".
19. Change their values to "left|top" and "wrap_content" respectively
So "android:gravity" and "android:layout_height" should look like this:
Code:
android:gravity="left|top"
and
Code:
android:layout_height="wrap_content"
20. Recompile framework-res.apk
21. Sign the new, edited framework-res.apk
22. Place it back to your SD Card
23. Disconnect your device from your PC.
24. Go to your SD Card and navigate to where you have put the modified framework-res.apk
25. Using the ZipSigner app, press "Choose In/Out..." and navigate to where you put the edited framework-res.apk
26. Press "Sign The File" and ZipSigner will begin to produce a signed version of the selected apk.
27. Navigate back to where you have created the edited-and-signed framework-res.apk and it will have a "-signed" in it's name.
28. Remove the "-signed" and MAKE SURE the newly-edited-and-signed framework-res.apk is named AS IS, "framework-res.apk".
*If there are others' named "framework-res.apk" in the same directory, rename them into something different before renaming the "newly-edited-and-signed framework-res.apk" so it won't conflict with step 28.
29. After you have successfully renamed the "newly-edited-and-signed framework-res.apk", copy it.
30. Go to the root directory which is designated as "/".
31. Open "system" folder
32. Open "open "framework" folder
33. And paste-and-overwrite/override the "newly-edited-and-signed framework-res.apk" to this "framework" directory.
Note: If in some case you were prevented to paste in the "framework" directory, check to see if your root file manager is mounting the root, if not check for an option to mount the root directory
34. If you have successfully overwritten/overridden the original framework-res.apk, your device should begin to Soft-Reboot automatically. If not then, manually force your device to reboot.
And your lock screen should now be at the center.
35. Done
durancharles27 said:
[Noob friendly tutorial]
A typical problem when decreasing the DPI of your device is sometimes the lock screen will offset to the right(usually).
This tutorial might help fix this problem.
Requirements:
1. Rooted device
2. File manager for viewing and managing the root directory (e.g. Root Explorer)
3. Software for decompiling and recompiling .apk files
4. Text editor, I recommend Notepad++
Prerequisite:
Backup your current ROM so that I will not be held responsible for problems the may occur on your device
Instructions:
1. Open Play Store and download "ZipSigner" by Ken Ellindwood
2. Go to the root directory which is designated as "/".
3. Open "system" folder
4. Open "framework" folder
5. Look for "framework-res.apk"
6. Copy "framework-res.apk"
7. Navigate back to your SD card directory and paste it to where you want it.
8. Connect your device to your PC.
9. Expand your phone's the notification bar, press "Charging" and change it to "USB mass storage" and press "OK". Your PC will access your phone's storage directories (SD Card and Phone Storage)
10. On your PC, go to your SD Card's directory and navigate to where you put framework-res.apk and move it to your PC's desktop (you can put it to anywhere you like, just make sure you have it in your PC's storage directory).
11. On your PC, transfer framework-res.apk in the directory of your decompiling/recompiling tool with respect to what "tool" you are using.
Main Part:
12. Decompile framework-res.apk
13. Go to its "decompiled" directory
14. Navigate to /res/layout
15. Look for "keyguard_screen_tab_unlock.xml"
16. Open it with a text editor
17. Look for this line:
Code:
<com.android.internal.widget.multiwaveview.GlowPadView
18. Rigt next to this line, look for the lines, "android:gravity" and "android:layout_height".
19. Change their values to "left|top" and "wrap_content" respectively
So "android:gravity" and "android:layout_height" should look like this:
Code:
android:gravity="left|top"
and
Code:
android:layout_height="wrap_content"
20. Recompile framework-res.apk
21. Sign the new, edited framework-res.apk
22. Place it back to your SD Card
23. Disconnect your device from your PC.
24. Go to your SD Card and navigate to where you have put the modified framework-res.apk
25. Using the ZipSigner app, press "Choose In/Out..." and navigate to where you put the edited framework-res.apk
26. Press "Sign The File" and ZipSigner will begin to produce a signed version of the selected apk.
27. Navigate back to where you have created the edited-and-signed framework-res.apk and it will have a "-signed" in it's name.
28. Remove the "-signed" and MAKE SURE the newly-edited-and-signed framework-res.apk is named AS IS, "framework-res.apk".
*If there are others' named "framework-res.apk" in the same directory, rename them into something different before renaming the "newly-edited-and-signed framework-res.apk" so it won't conflict with step 28.
29. After you have successfully renamed the "newly-edited-and-signed framework-res.apk", copy it.
30. Go to the root directory which is designated as "/".
31. Open "system" folder
32. Open "open "framework" folder
33. And paste-and-overwrite/override the "newly-edited-and-signed framework-res.apk" to this "framework" directory.
Note: If in some case you were prevented to paste in the "framework" directory, check to see if your root file manager is mounting the root, if not check for an option to mount the root directory
34. If you have successfully overwritten/overridden the original framework-res.apk, your device should begin to Soft-Reboot automatically. If not then, manually force your device to reboot.
And your lock screen should now be at the center.
35. Done
Click to expand...
Click to collapse
This is Q and A thread tutorial should not be here .... Plz post this thread in right place.....
samith.shetty3 said:
This is Q and A thread tutorial should not be here .... Plz post this thread in right place.....
Click to expand...
Click to collapse
Well, can I move this thread in "General"?
durancharles27 said:
Well, can I move this thread in "General"?
Click to expand...
Click to collapse
yup..
samith.shetty3 said:
yup..
Click to expand...
Click to collapse
well I can't I would have to pray that an Admin/Moderator would see this and move it.

[GUIDE]How to fix MD5 Mismatch Error while Restoring Nandroid Backup

Up there.
Requirements:
-File explorer OR PC (USB cable needed and file extentions turned on)
-A brain
-Acsess to sdcard
No pc Steps:
1. Open your file explorer and navigate to /sdcard
2. Find the clockworkmod/backup folder
3. Open the malfunctioning backup folder
4. If there is a file called "nandroid.md5"(no quotations), delete, then create a new file called nandroid.md5.
4a. If there is no nandroid.md5, you just need to create it.
PC steps:
1. Connect phone to PC and mount USB storage.
2.Open file explorer and go to G drive or whatever your sdcard is.
3. Find the clockworkmod/backup folder
4. Open the malfunctioning backup folder
5. If there is a file called "nandroid.md5"(no quotations), delete, then create a new file called nandroid.md5 (if it just says nandroid you news to turn file extensions on
5a. If there is no nandroid.md5, you just need to create it.
The reason it malfunctions is because the md5 sums don't match up.
Hit thanks if I helped!!!!!

How can I look at the code that is running an app?

I have built a few web sites but now I'm learning how to build apps. Is there a way to look at the code that is running a particular app on my phone so I can get an idea of how it is put together?
Can I open an app from my phone with Android Studio?
Follow the steps given below.
Procedure to open the source code:
Step 1:
Make a new folder and copy over the .apk file that you want to decode.
Now rename the extension of this .apk file to .zip (e.g. rename from filename.apk to filename.zip) and save it. Now you can access the classes.dex files, etc. At this stage you are able to see drawables but not xml and java files, so continue.
Step 2:
Now extract this .zip file in the same folder (or NEW FOLDER).
Download dex2jar and extract it to the same folder (or NEW FOLDER).
Move the classes.dex file into the dex2jar folder.
Now open command prompt and change directory to that folder (or NEW FOLDER). Then write d2j-dex2jar classes.dex (for mac terminal or ubuntu write ./d2j-dex2jar.sh classes.dex) and press enter. You now have the classes.dex.dex2jar file in the same folder.
Download java decompiler, double click on jd-gui, click on open file, and open classes.dex.dex2jar file from that folder: now you get class files.
Save all of these class files (In jd-gui, click File -> Save All Sources) by src name. At this stage you get the java source but the .xml files are still unreadable, so continue.
Step 3:
Now open another new folder
Put in the .apk file which you want to decode
Download the latest version of apktool AND apktool install window (both can be downloaded from the same link) and place them in the same folder
Download framework-res.apk and put it in the same folder (Not all apk file need this file, but it doesn't hurt)
Open a command window
Navigate to the root directory of APKtool and type the following command: apktool if framework-res.apk
apktool d myApp.apk (where myApp.apk denotes the filename that you want to decode)
now you get a file folder in that folder and can easily read the apk's xml files.

Categories

Resources