[Tutorial][VIDEO] Add/integrate apps into Settings app! - Android Software Development

Hello!
I wanted to make this little tutorial since many people wounder how to add certain apps to settings app
On XDA Portal
Things you will need
Apktool: http://forum.xda-developers.com/showthread.php?t=1755243
Notepad++: http://notepad-plus-plus.org/download/v6.3.2.html
Video tutorial http://www.youtube.com/watch?v=75ZzDs3seqw
Check out my YouTube channel for more videos
The procedure
1: Download and extract apktool into a folder
{
"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"
}
2: Extract Settings.apk and framework-res.apk from your ROM to the apktool folder
3: Open up cmd and go to the APKtool folder
4: Install the framework
5: Put the app you want to add in the apktool folder then decompile Settings and the app
6: Open the settings folder and navigate to /res/values and open Strings.xml with notepad++
7: Add the name of the app furthest down
8: Navigate to /res/xml and open settings_headers.xml
9: Add this
Code:
<header android:icon="@drawable/..." android:title="@string/...">
<intent android:targetPackage="..." android:action="android.intent.action.MAIN" android:targetClass="..." />
</header>
10: navigate to the decompile app you want to add and open androidmanifest.xml
11: Copy the name at the top
12: Then paste here
13: Hold on your screen and select shortcuts
14: Choose activities
15: Scrool to the app and then press it
16: Enter what you found there here
18: Choose a name for the icon you will be using
19: Go to the app you will be adding and navigate to /res/drawable-****
20: Copy the icon to Settings/res/drawable-**** and rename it to what you put in the XML file
21: And now lets build it
22: When the building is done navigate to Settings/dist/ and there is you new Settings app
I will add a zip in the attachments, just put the Settings app in /system/app/ folder in the zip then move it to your phone and flash it
EDIT Another way to install the app (with adb):
Code:
adb remount
adb push Settings.apk /system/app/
adb shell chmod 644 /system/app/Settings.apk
adb reboot
EDIT 2: If you get any FCs or errors (app not showing up) after installing try to open up the original Settings.apk and copy AndroidManifest.xml and META-INF folder to /apktool/Settings/build/apk/ then build again (repeat every time you build)

very nice tutorial, for which roms will this work? stock, cmXX
i have a LG L9, with stock jelly bean rom. will this work for me?

mcmaster81 said:
very nice tutorial, for which roms will this work? stock, cmXX
i have a LG L9, with stock jelly bean rom. will this work for me?
Click to expand...
Click to collapse
Any rom above 4.0

cool tutorial... thanks, I appreciate it...

I think i will add a video tutorial soon

Tks 4 tuts useful.

Nice tutorial thanks
but i have a error when i complied settings.apk
C:\apktool>apktool b Settings.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
could you help me?
sorry for my english
thanks

hecvalve said:
Nice tutorial thanks
but i have a error when i complied settings.apk
C:\apktool>apktool b Settings.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
could you help me?
sorry for my english
thanks
Click to expand...
Click to collapse
Dont have the .apk extension when building. Should look like this apktool b Settings

I will try this later thanks for the guide,
I'm trying to add a TTS setting to a rom which doesn't have a TTS options in the Settings -> language & input. can you tell me what activity should I choose? I cannot open TTS settings from my phone.

alexforsale said:
I will try this later thanks for the guide,
I'm trying to add a TTS setting to a rom which doesn't have a TTS options in the Settings -> language & input. can you tell me what activity should I choose? I cannot open TTS settings from my phone.
Click to expand...
Click to collapse
Actually, i have never used TTS so i dont really know :/

Hey, as said a very good tutorial! Thanks :good:
I compiled the settings apk now and everything worked fine, but when i´m opening it in the Settings.apk, I only see this:
(Yes, I know.. strange name of the app )

Flextrick said:
Hey, as said a very good tutorial! Thanks :good:
I compiled the settings apk now and everything worked fine, but when i open it in the Settings.apk, I only see this:
(Yes, I know.. strange name of the app )
Click to expand...
Click to collapse
As i said, that is probably because of appinventor :/
Skickat från min GT-P1000 via Tapatalk 2

RomWiz said:
Dont have the .apk extension when building. Should look like this apktool b Settings
Click to expand...
Click to collapse
Upps i´m noob sorry.
now i compiled but when i flash my settings.apk ,and reboot i can´t see in my device the settings
thanks

hecvalve said:
Upps i´m noob sorry.
now i compiled but when i flash my settings.apk ,and reboot i can´t see in my device the settings
thanks
Click to expand...
Click to collapse
Send me your apk and i will see if there is something faulty.
Skickat från min GT-P1000 via Tapatalk 2

Do you think that in the future you might be able to create a program or a batch file/script that can automate this? Possibly with a GUI? That would be awesome. But thanks to this wonderful guide of yours! I'm still studying it. I would try it once I find the time.

les02jen17 said:
Do you think that in the future you might be able to create a program or a batch file/script that can automate this? Possibly with a GUI? That would be awesome. But thanks to this wonderful guide of yours! I'm still studying it. I would try it once I find the time.
Click to expand...
Click to collapse
Maby, but i'm not sure if it'll work.

Video is up

i am having troubles with hiding the app from app drawer...could you help?
i removed the intent.launcher line from android manifest but it still isnt working...i mean the app just doesnt get installed ...and if i put it in system/app/ and set perms to rwrr even then it acts as if its not installed...

hsay said:
i am having troubles with hiding the app from app drawer...could you help?
i removed the intent.launcher line from android manifest but it still isnt working...i mean the app just doesnt get installed ...and if i put it in system/app/ and set perms to rwrr even then it acts as if its not installed...
Click to expand...
Click to collapse
Did you sign it?
Skickat från min GT-P1000 via Tapatalk 2

@RomWiz There shouldn't be android:id to add an app... I tried but it's not showing up there Any help?

Related

[Tutorial ] How to change Lock Screen Background on Framework-res.apk

Tools needed :
Apk manager 4.9 (using options for each step )
Notepad++( Hexadecimal editor for *.xml )
{
"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"
}
1. pull /system/framework/framework-res.apk (option 0)
2. Decompile apk (option 9)
3. add your pic to drawable-hdpi (must be a .png) and resize it as 480x800 ( if not, the picture will be stretched to fit in the resolution ) _ you can rename the file lockscreen_background.png for example
4. open the file res\layout\keyguard_screen_tab_unlock.xml with notepad++, and find the line
Code:
<RelativeLayout android:gravity="center_horizontal" android:id="@id/root" android:background="#70000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
change to
Code:
<RelativeLayout android:gravity="center_horizontal" android:id="@id/root" android:background="@drawable/lockscreen_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
5. compile the apk (option 11)
(when recompile do)
5.1. Hit yes to "system app".
5.2. Hit yes to restoring the files:
6. -Open the "keep" folder and delete resources.arsc and res\layout\keyguard_screen_tab_unlock.xml
7. when it is done, rename unsignedframework-res.apk to framework-res.apk and put it back to /system/framework/ again (you can just drag it to the zip file with 7zip)
Code:
[COLOR="DarkOrange"]=============Lockscreen Note==================
Once you have my theme, no needs to follow my Tuto as i already coded the xml for the lockscreen
You only need a picture 480 x 800
Open my zip file theme with 7zip and drag the picture in :
Framework > framework-res.apk > res > drawable
Then go back and 7zip will ask you to apply the changes on the apk.
All done, enjoy it!
===========================================[/COLOR]
Enjoy it
Thank you
I was wanted to know this tip.
I'll be make my theme apply this tip.
tried to change picture on LeeDroid 3.0.2 and stuck on splash screen
This is cool, but will it have to be changed every time you change your wallpaper? And on a completely unrelated note, do you have a Lion cub as a pet? (looking at the lock screen and one of your home screens)
Ignore.z said:
tried to change picture on LeeDroid 3.0.2 and stuck on splash screen
Click to expand...
Click to collapse
If you are stuck on splash screen, must be something wrong during the compilation of the apk _ did you tried to modify *.png9 files as well ?
Matty Matt said:
This is cool, but will it have to be changed every time you change your wallpaper? And on a completely unrelated note, do you have a Lion cub as a pet? (looking at the lock screen and one of your home screens)
Click to expand...
Click to collapse
Unfortunately, until some dev with free time wants to launch an app' for that, yes, we will need to changed the background _ only the background as the setup @drawable/whatever you named your picture.png doesnt change.
Hope it helps
Something is wrong when i try to open the xml file with N++ ..i've upload my xml file,could you edit it just like u said in step 4??? ty
Yorzua said:
If you are stuck on splash screen, must be something wrong during the compilation of the apk _ did you tried to modify *.png9 files as well ?
Click to expand...
Click to collapse
I only changed picture
aca85 said:
Something is wrong when i try to open the xml file with N++ ..i've upload my xml file,could you edit it just like u said in step 4??? ty
Click to expand...
Click to collapse
Sorry my friend, wrong file
You must edit keyguard_screen_tab_unlock.xml
Try again with the correct file, follow the steps and everything should be fine as it working for me and many people more
Ignore.z said:
I only changed picture
Click to expand...
Click to collapse
I need more infos in order to help you :
did you start from a stock framework.apk ?
did you get any erros during decompile/compile ?
did you change only the picture or did you modify the required xml too ?
Yorzua said:
I need more infos in order to help you :
did you start from a stock framework.apk ?
did you get any erros during decompile/compile ?
did you change only the picture or did you modify the required xml too ?
Click to expand...
Click to collapse
yes, I started from stock apk
i had no errors
i put new picture (lockscreen_background.png) to drawable-hdpi and modify the xml like you write
lockscreen_background.png to drawable folder
Ignore.z said:
yes, I started from stock apk
i had no errors
i put new picture (lockscreen_background.png) to drawable-hdpi and modify the xml like you write
Click to expand...
Click to collapse
Second error :
lockscreen_background.png MUST be placed in drawable and not in drawable-hdpi
Read carefully my post
Please click on the thanks button for this one
Thanks a lot, it help me a lot
It's awesome! Thanks the information.
Sent from my HTC Desire using XDA App
Yorzua said:
Second error :
lockscreen_background.png MUST be placed in drawable and not in drawable-hdpi
Read carefully my post
Please click on the thanks button for this one
Click to expand...
Click to collapse
still not working
Ignore.z said:
still not working
Click to expand...
Click to collapse
i helped you three times on three posts and no one thanks from you...
it is working perfectly for everyone _ start to thanks people for their help and maybe i will help you modding directly your file for you
Thanks for the hint Do you know maybe some more (I am building a theme just like you)?
Do you know KBanause's threat http://forum.xda-developers.com/showthread.php?p=9978779#post9978779? Maybe he could add your howto to the collection.
affmalg said:
Thanks for the hint Do you know maybe some more (I am building a theme just like you)?
Do you know KBanause's threat http://forum.xda-developers.com/showthread.php?p=9978779#post9978779? Maybe he could add your howto to the collection.
Click to expand...
Click to collapse
I thanked you on your theme thread
i knew already and thaked too the great tuto of Kbanause which i recomend for those who want to start theming.
KBanause Guide for Android 2.3
I am preparing a new tuto which could be add to it :
[Tutorial]How to edit smali files
If you like my work, please hit the thanks button here
Apk manager 4.9 and Notepad++
Apk manager 4.9 and Notepad++ ==> links for download added on the first post
works great, good tutorial
thanxxxx cron999

[Tutorial]How to edit smali files // ZIP Kit prepared for you ^^

Tools needed :
My KIT for SMALI files (using options for each step )
Notepad++( Hexadecimal editor for *.xml )
This is an example of a smali file changed (in this case, Global.Actions.smali located in android.policy.jar)
_______________ Power Menu modded (smali changed) ______________
{
"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"
}
Open my zip kit ( recomended in a Theming Folder for example with apkmanager and all files you would like to mod )
What you get :
Baksmali
Baksmali ( executable Jar File )
Command.exe ( Shell file )
Notepad text with the two commands for decompile and compile already made for you ( just copy and paste into command.exe )
Smali
Smali ( executable Jar File )
1. So the only thing you need is to place your apk in the smali kit folder
2. To Decompile :
Code:
java -jar baksmali.jar -x yourfile -o classout
(classout folder can be renamed to whatever you want, doesnt matter until you dont forget to change the name too in the second command)
3. Make the modifications you want for smali files
4. To Compile again :
Code:
java -Xmx512M -jar smali.jar classout -o classes.dex
5. Copy and paste the file classes.dex into your apk _ you will overwrite the old one.
Thanks to Rafalense
Enjoy it
Thanks mate, it might be useful for some trick i'm gonna test.
Hi,
thanks for the guide and the advice.
But does the apk manager the smali decompile and compile too?
Could you give some hints where you can change what in smali?
Apk manager 4.9 and Smali/Baksmali
affmalg said:
Hi,
thanks for the guide and the advice.
But does the apk manager the smali decompile and compile too?
Could you give some hints where you can change what in smali?
Click to expand...
Click to collapse
Sorry for the late answer, have been busy with the last release of my theme
Apk manager decompile/compile xml files for apk
Smali/Baksmali decompile/compile smali files for apk
I am preparing a Tuto for both but a good start will be to check here and here
Yorzua said:
Apk manager decompile/compile xml files for apk
Smali/Baksmali decompile/compile smali files for apk
Click to expand...
Click to collapse
Okay now i got that
I am preparing a Tuto for both but a good start will be to check here and here
Click to expand...
Click to collapse
I know them both and they have been very helpful
But i would like to know more about things like that you deleted the powermenus headline.
I you have time could you look a that.
I just can't compile the apks any more, so my theme can't get an update
Apk manager 4.9 on xp windows
affmalg said:
Okay now i got that
I know them both and they have been very helpful
But i would like to know more about things like that you deleted the powermenus headline.
I you have time could you look a that.
I just can't compile the apks any more, so my theme can't get an update
Click to expand...
Click to collapse
affmalg said:
Hi guys,
I am using Apk manager 5.0 with the latest updates and apk tool 1.3.1
I want to decompile, edit and recompile my SystemUI.apk.
My Roms framework-res is set as 1.apk
Decompiling of SystemUI.apk works (no errors)
To check that compiling works, i edit nothing, just removed the "-v4" from the drawable-hpdi folder.
I assume that the must be something wrong with the resource, the framework-res.apk which i placed as 1.apk
"Resource is not public" is the error.
Does anyone no how to solve this?
The curious thing is that with the previous version of the rom it worked when i was making my theme a week ago.
Now it doesn't work any more
Click to expand...
Click to collapse
If you follow my Tuto, you should always use apk manager 4.9 editing framework as you want to mod xml __ even better with XP rather than any windows else.
Apk manager is not needed to decompile/recompile png's
you just forget zip and use instead 7zip which allow you to directly drag any file you want to another zip without decompiling/compiling.
Another rule is that you cant drag a xml from a zip to your hdd folder.
you must decompile the apk first. if the xml is already modded, then you can drag it everywhere and re-drag it where you want.
Never set framework-res as 1.apk
apk manager does everything for you, you just need to decompile,
set always level of compression to 0 in order to avoid issues during compilation work on the framework folder decompiled and just compile.
If you proceed step by step, you should be fine.
Note that systemUI.apk gives a lot of issues during decompilation
Smali files are included in systemUI so better use my tool for smali's files
Last one, i will prepare a tuto to take out the title in Power menu soon
If it helps you, please hit the thanks button
Sorry, a little OT, what's the name of the font?
font in my screenshots
grotesque02 said:
Sorry, a little OT, what's the name of the font?
Click to expand...
Click to collapse
The font in the screenshots is : Veggie burger
Hope it helps you
Thanks, and sorry for OT
Thread closed upon OP request.

New SE Launcher + Timescape for O1

Want that new xperia launcher on your phone? Then mumble no more.
This mod will enable you to use the Xperia launcher plus timescape widgets on your Optimus One android phone
{
"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"
}
DISCLAIMER: I AM NOT RESPONSIBLE FOR ANYTHING BLAH BLAH BLAH ETC.
WHAT YOU NEED
1. The flashable zip files containing the actual launcher and SE widgets(Download here)
2. Terminal emulator(free from market)
3. Executable script to modify build.prop(Download here)
INSTRUCTIONS
1. Make sure that the executable script(AKA "build") is placed in the root(meaning the base) of your SD card.
2. Using terminal emulator, input this command.(press enter after each line)
Code:
su
sh /sdcard/build
--this should change your build's manufacturer from LGE to Sony Ericsson--
--if an error appears, take note of the error message and post it here--
3. Reboot to recovey and flash SE_timescape.zip
4. Enjoy!!!!!
SMALL WARNING:
No undo.zip as of now, so if you're kind of fidgety on what's in your phone, stay away for now. But, if you have basic knowledge in removing system files, just fiddle with the zip file and you'll know exactly what to remove.
Bugs(help needed):
-app drawer button is placed a little bit high
-photo and video widget may present some errors
Thanks to cygnus of samdroid.net. Click here to visit the original thread
can i see the screenshot?
Screenies are up. I hope you like her, er I mean them.
Yo ungaze-dude you just posted wrong link you posted ungaze's data2sd link.
So that's why there's no one downloading the zip file. Thanks for pointing it out man.
Link fixed
i get this error in terminal "sed: -i requires an argument "
aragarm said:
i get this error in terminal "sed: -i requires an argument "
Click to expand...
Click to collapse
funny, that shouldn't happen. try to re-download. this time I uploaded the one I actually used on my phone.
i am currently using se launcher (for xperia) how is it different with that? Also app drawer button is not high for my launcher.
This launcher sucks. App Drawer doesn't show all apps.
good work man ! but the timescape font is HUGE!
looks ugly :/
it wieked on CM 7.0.2 )
i flashed this archive into recovery
and before i changed this string in build.prop
ro.product.manufacturer=LGE
to
ro.product.manufacturer=Sony Ericsson
neimovirne said:
it wieked on CM 7.0.2 )
i flashed this archive into recovery
and before i changed this string in build.prop
ro.product.manufacturer=LGE
to
ro.product.manufacturer=Sony Ericsson
Click to expand...
Click to collapse
That's exactly the same procedures as the 1st post.
the downloadable "build" script will automate the build prop change needed, while the SE_timescape.zip is a signed(edify) version of SEUX.zip.
About the fonts, YEP they're ugly alright(as you can see on my screenies) I wasn't really planning to use timescape but I really wanted the photo and video widget to work. So if anyone can help here, I'd greatly appreciate it.
Another thing, I wanted to use the SE launcher from this thread but was unsuccessful. Again, if anyone can help out, please do.
Even though it has a few bloats, I still like this launcher(+ photo widget and folders - really cool). I also think it's really fast. I don't have much time to tinker right now so any help would be greatly appreciated.
ungaze said:
That's exactly the same procedures as the 1st post.
the downloadable "build" script will automate the build prop change needed, while the SE_timescape.zip is a signed(edify) version of SEUX.zip.
Click to expand...
Click to collapse
where do you see in the first post at least one file for flash recovery?
neimovirne said:
where do you see in the first post at least one file for flash recovery?
Click to expand...
Click to collapse
WHAT YOU NEED
1. The flashable zip files containing the actual launcher and SE widgets(Download here) <-----HERE?!?!?!?!?!?
2. Terminal emulator(free from market)
3. Executable script to modify build.prop(Download here)
Click to expand...
Click to collapse
Did you get to read the post?
ungaze said:
Did you get to read the post?
Click to expand...
Click to collapse
I downloaded this archive but it was not clear files, not like in the archive that sent me
and by the way, on my phone works all widgets
neimovirne said:
I downloaded this archive but it was not clear files, not like in the archive that sent me
and by the way, on my phone works all widgets
Click to expand...
Click to collapse
I really don't know where you're getting at but trust me, both files are one and the same(only difference is with the update scripts which can be fixed by toggling signature verification). Anyways I've re-uploaded the SE_timescape.zip which is now compatible with all optimus one recoveries.
Have you tried the large photo widget? Did it work for you?
BTW, here's a screenie of the pinch gesture, really nice:
Can we use this on the optimus s? I would love it
cmyasika1 said:
Can we use this on the optimus s? I would love it
Click to expand...
Click to collapse
yes but don't do the steps in RED
WHAT YOU NEED
1. The flashable zip files containing the actual launcher and SE widgets(Download here)
2. Terminal emulator(free from market)
3. Executable script to modify build.prop(Download here)
INSTRUCTIONS
1. Make sure that the executable script(AKA "build") is placed in the root(meaning the base) of your SD card.
2. Using terminal emulator, input this command.(press enter after each line)
Code:
su
sh /sdcard/build
--this should change your build's manufacturer from LGE to Sony Ericsson--
--if an error appears, take note of the error message and post it here--
3. Reboot to recovey and flash SE_timescape.zip
4. Enjoy!!!!!
Click to expand...
Click to collapse
Instead, manually change your build.prop by changing this line:
ro.product.manufacturer=LGE
Click to expand...
Click to collapse
into this:
ro.product.manufacturer=Sony Ericsson
Click to expand...
Click to collapse
or you could follow this thread specifically for optimus S:
androidcentral.com courtesy of captmeach7
ungaze said:
yes but don't do the steps in RED
Instead, manually change your build.prop by changing this line:
into this:
or you could follow this thread specifically for optimus S:
androidcentral.com courtesy of captmeach7
Click to expand...
Click to collapse
So do I just flash the zip?
Where do I change the build.prop at? And will the SE widgets work?

[APP][23-5-2012] Samsung Galaxy S III S Voice - "Network Error" Fix w/o Changing you

[APP][23-5-2012] Samsung Galaxy S III S Voice - "Network Error" Fix w/o Changing you
Samsung Galaxy S III S Voice leaked and if you have ICS rom in your phone then you can test of S Voice. S Voice has the promise to be one of the better voice command options for Android as compare to iphone siri
It's unclear what devices can and can't run the app right now. So far so you can take a chance to test it and report it at comment section
you can also install it by
1. Unrar the file and copy the apk file
2. Copy to system/app folder
3. Change permission to rw-r-r
restart phone.
BIG THANKS TO : Playout
• You MUST HAVE ICS ROM.
• If the apk is giving you parsing error then move the apk under data/app and set permission via Root Explorer or something as,
x x -
x - -
x - -
BUG FIX - "Network Error" Fix w/o Changing your build Prop
{
"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"
}
PRESS THANKS IF YOU LIKE IT
http://www.mediafire.com/?cr133uyjyddc1aj
http://www.4shared.com/android/jTCWeXO7/svoice-signed.html
Dropbox Mirror
https://dl.dropbox.com/s/ygskrtyufx6qn7x/svoice-signed.apk?dl=1 - Currently down
dl
mediafire blocked at my workplace and dropbox link dead "Too much traffic" congrats
Report
It doesn't work as expected. Speech recognition and responses are very cool, but the app gets stuck almost every time after the first response. :-(
amit.meena05 said:
Samsung Galaxy S III S Voice leaked and if you have ICS rom in your phone then you can test of S Voice. S Voice has the promise to be one of the better voice command options for Android as compare to iphone siri
It's unclear what devices can and can't run the app right now. So far so you can take a chance to test it and report it at comment section
you can also install it by
1. Unrar the file and copy the apk file
2. Copy to system/app folder
3. Change permission to rw-r-r
restart phone.
• You MUST HAVE ICS ROM.
• If the apk is giving you parsing error then move the apk under data/app and set permission via Root Explorer or something as,
x x -
x - -
x - -
PRESS THANKS IF YOU LIKE IT
http://www.mediafire.com/?m7mu6pdt0b63dul
Dropbox Mirror
https://www.dropbox.com/s/aaratzvdvea9dsv/voicetalk.apk
Click to expand...
Click to collapse
Any credits to original thread?
opera38205 said:
mediafire blocked at my workplace and dropbox link dead "Too much traffic" congrats
Click to expand...
Click to collapse
Try this
http://uploaded.to/file/itkvz5ej
emyller said:
It doesn't work as expected. Speech recognition and responses are very cool, but the app gets stuck almost every time after the first response. :-(
Click to expand...
Click to collapse
it will only work on ICS and it must be rooted
myawan said:
Any credits to original thread?
Click to expand...
Click to collapse
Already thanks to original thread
amit.meena05 said:
Already thanks to original thread
Click to expand...
Click to collapse
Your thanks alone won't do.
Put the credits tag on your post and link the original thread
guys please report in comment section that is s voice is working or not
Network Error
This is the original thread
http://forum.xda-developers.com/showthread.php?t=1662255
I also read there that you need to change your build.prop to make it work if you get "network error" you know if i get problems with any app if i do that modification? using HepHappy Final build, thx
DieGo316 said:
This is the original thread
http://forum.xda-developers.com/showthread.php?t=1662255
I also read there that you need to change your build.prop to make it work if you get "network error" you know if i get problems with any app if i do that modification? using HepHappy Final build, thx
Click to expand...
Click to collapse
To Fix EDIT MOD :
To fix the network error, edit two lines in the build.prop to add GT-I9300
The 2 lines should look like the following:
ro.product.device=GT-I9300
ro.product.model=GT-I9300
amit.meena05 said:
it will only work on ICS and it must be rooted
Click to expand...
Click to collapse
It is ICS. And, obviously, it's rooted.
[AOKP, build #36]
Can I install S Voice in normal or i have to copy it to system/app
emyller said:
It is ICS. And, obviously, it's rooted.
[AOKP, build #36]
Click to expand...
Click to collapse
then it will be work fine
Newbie256 said:
Can I install S Voice in normal or i have to copy it to system/app
Click to expand...
Click to collapse
1. Unrar the file and copy the apk file
2. Copy to system/app folder
3. Change permission to rw-r-r
restart phone.
normal;
it works if you install it normally
amit.meena05 said:
To Fix EDIT MOD :
To fix the network error, edit two lines in the build.prop to add GT-I9300
The 2 lines should look like the following:
ro.product.device=GT-I9300
ro.product.model=GT-I9300
Click to expand...
Click to collapse
What is the file that Ineed to edit??
Thank you!!
Sent from my GT-I9100 using Tapatalk
opera38205 said:
it works if you install it normally
Click to expand...
Click to collapse
you can try else you have to copy app in system /app
I got it installed, placed in the system/app folder. Changed the build.prop files. I still get a DC after asking it to call someone.
Any ideas or thoughts on getting it to stop fc-ing? Also I find this weird, I had 45% power before hand. Now I'm at 17%. Check out the drop in my screenshoot.
Sent from my iPhone killing White Epic 4G Touch. Running milestone5 AOKP.
pabligeno said:
What is the file that Ineed to edit??
Thank you!!
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
To get the S-Voice to work..
1A. You need ICS, if your on GB, ttyl
1B. You NEED rooted device
1C. Do NOT directly install like a regular APK
2A. Open the apk file on your PC with WinZip / 7Zip
2B. Extract "libsvoxtts.so" from \lib\armeabi\
2C. Transfer both these files to your ICS device or you can push via adb
3A. Copy the voicetalk.apk (i tested with this name) to /system/app
3B. If there no space, remove some apks not required pref by Titanium Backup
3C. Copy the voicetalk.apk with say ES Explorer or via ADB PUSH
3D. Change permission of voicetalk.apk to rw,r,r
3E. Press and hold >> Properties >> Change (ES Explorer)
3F. Copy the libsvoxtts.so to /system/lib (do check this is required or not)
4A. Edit build.prop (with build.prop Editor or manually)
4B. Edit property ro.product.device with value GT-I9300
4C. Edit property ro.product.model with value GT-I9300
5A. Restart Phone
5B. Start S Voice from launcher
5C. I saw during setup trying to change Hi Galaxy to your own command crashed the app.

[Guide] XML editing for framework(pictures included) Updated 240214

Hi all XDA members, today I am going to show you how to edit xml files in your framework-res.apk so you can edit auto - rotation on lockscreen or CRT - Animation. This does not apply to the Arc only, most Android phone's framework can be edited this way except maybe Samsung or HTC phones which have an extra resource file. This guide contains screenshots and is meant to be noob friendly so everything is self explanatory, you don't need a rocket scientist to explain everything.
What you need:
Framework-res.apk you want to edit
Apktool
Notepad++ is recommended for editing XMLs.
7-zip
So let's get started:
1. If you want to edit the framework file, naturally you should have extracted it from your phone. If you have not done so, the framework-res.apk can be found in system/framework/framework-res.apk(requires root access)
{
"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"
}
2. Place the file into apktool directory
4. Press shift and right click the directory(don't select any file, just press shift right click in the empty space of your apktool directory, you should see "Open command window here")
5. You should see a command window like this:
6. Type this command: apktool if framework-res.apk. You should get a response like this:
7. Now type this command:apktool d framework-res.apk. This will decompile your framework-res.apk so you can access the xml files.
8. Go back to your apktool file. You should see a new folder called framework-res(Yes, please take a good look. I circled it for your sake.)
9. Open the folder. go to res/values/bools.xml
10. Right click on file, select edit with Notepad++
11. Now open in Notepad++, you can edit and choose the functions you want to add just by editing the boolean with "true" or "false"
That's it, you are now ready to choose if you want auto rotation lockscreen or enable CRT animation.
Stay tuned to this thread, I will make a second thread about recompiling your framework and signing it for use on your phone.
If you have found any errors in this tutorial, please send me a PM and I shall rectify it.
At the request of some users, I have updated the thread with the compiling and signing steps as well, so please continue reading.
12. Firstly we need some files to sign the apks, so go to your original framework-res.apk, right click -> 7 zip -> Open Archive
13. Extract the folder "META-INF" and the file "AndroidManifest.xml" from the framework-res.apk
13a. Alternatively, you can find the files in <your framework-res folder> -> Original // No "<>" symbols, please see attached screenshot
14. Before we compile the framework, please rename the folder to avoid any conflicts with the existing framework-res.apk
15. Type this command: apktool b <your framework-res folder> and press Enter // No "<>" symbols, please see attached screenshot
16. You should get a response like this:
17. Go to <your framework-res folder> -> dist -> framework-res.apk // No "<>" symbols, please see attached screenshot
WARNING! DO NOT PUSH THIS FILE INTO YOUR PHONE YET. IT HAS NOT BEEN SIGNED AND WILL CAUSE A BOOTLOOP IF YOU PUSH IT TO /SYSTEM. PLEASE CHECK THAT THESE FEW STEPS HAVE BEEN COMPLETED BEFORE PUSHING IT TO /SYSTEM
18. Right click the file, go to 7-zip -> Open Archive
19. Select the files you extracted or received from step 10 or 10a
20. Drag and drop into 7-zip. You will get a warning message. Press "Yes".
21. You should have both files copied into the apk. You have signed the framework-res.apk and the file is OK for use.
22. Push the framework-res.apk into /system/framework, set RW-R--R-- permissions and reboot.
That's it. Your phone should be functioning normally and the changes you did internally should take effect.
If you have found any errors in this tutorial, please send me a PM and I shall rectify it.
Also, please PM me or comment if you have questions.
If the question has been asked before, please read the previous posts if there are any.
Repeat questions will not be entertained.
popthosegaskets said:
Stay tuned to this thread, I will make a second thread about recompiling your framework and signing it for use on your phone.
Click to expand...
Click to collapse
Would be better keeping it all in one thread.
Sent from Myushi
XperienceD said:
Would be better keeping it all in one thread.
Sent from Myushi
Click to expand...
Click to collapse
Ok, thanks for the feedback
僕のLT18iから送られてきた
did you ever manage to get round to posting a recompiling guide??
Inside 4ndroid said:
did you ever manage to get round to posting a recompiling guide??
Click to expand...
Click to collapse
I'm busy with other stuff, although if you want me to redo the guide I can do so.
僕のLT18iから送られてきた
popthosegaskets said:
I'm busy with other stuff, although if you want me to redo the guide I can do so.
僕のLT18iから送られてきた
Click to expand...
Click to collapse
that would be awsome if you could write up the recompile guide.. but no rush only when you get the time... thanks
Inside 4ndroid said:
that would be awsome if you could write up the recompile guide.. but no rush only when you get the time... thanks
Click to expand...
Click to collapse
Ok... I shall redo this guide.
僕のLT18iから送られてきた
Thread content updated per user request.

Categories

Resources