[Q] Startup script file - Android Q&A, Help & Troubleshooting

Hey guys.
Samsung Galaxy S4 (SG24) I537 here. I recently followed, with success, instructions for using SQLite to edit the database and remove the built-in AT&T browser bookmarks. Then something happened, probably a reboot, and Lo! and Behold! all those bookmarks reappeared and my one custom bookmark (and homepage) were removed.
So...assuming there is no better way can someone point me to a resource for creating some sort of autoexec script file that will run at boot time to put things the way I want them.
Not a programmer here, just someone able to follow instructions and not unwilling to use F1 when all else fails....

Related

Retrieving stock apks (mainly TrackID)

Greetings. Been haunting this place for awhile, happy to finally have root.
After the phone is rooted the last step is something that sweeps up a bunch of SE's stock apps that most people don't want. What about us who actually liked a few of them, though?
I would have liked to keep the app called "TrackID," and am wondering if there's any way to get it back? I can't really find like a repository for the base APKs (I might want the Mixi plugin for Timescape back in the future, as well).
Can someone rip these out somehow for individual installing?
Here it is:
http://rapidshare.com/files/403753839/trackid.apk.html
Just install the apk.
Its works for me.
Nice threat, nice anwser.
It works fine with me too.
Thanks!
Preventing the rooting process from removing apps
Hello, You could just enter the step4 folder and open the cleanup.sh file in notepad or similar.
Remove the line saying rm *packagename here*. Then your app will only be copied to your SD, but it will also remain on the phone.
track id request
i couldnt download the package, the link no longer works :-(
Could someone uóad it again to another server? Because its a common problem and will br of much help thanks
http://balsat.hopto.org/builds/seX10-system/index.php?dir=..%2FseX10-system%2Fdir%2Fsystem%2Fapp%2F
ok... but now...
I have the app already installed, but now evertime it tries to connect it says "authentication error".... help?
I gave up and rooted the phone again, i went from steps 1 to 3 with no problems, using track id everytime to make sure it worked, and it did, I even used the cleanup script and it was there working very well...
So, I used steps 4 and 5 (for the X10a) But now it wont work... it says "authentication error".... what gives?
Sorry for my english, I´m from mexico...
Everything on my phone is working fine...
For TrackID I can only say that it was probably a rights issue.
Use chmod or Root Explorer to set the rights(644).
For step 4 and 5 i cant help,i have only a 3 step X10i ,sorry.
But dont give up, i think u find the help here on XDA.

[Q] Howto HTTP Post/Perl Command Line shortcut for Android.... please help

Hey all, I've had this issue for quite awhile and have looked around extensively on the internet before coming here. So if you don't wanna read what I've already found out, just skip to the last paragraph for a summary of my problem.
So I have a home automation system setup for my house and I'm loving everything about it. I already have an app on my Galaxy S that will let me control the devices. I took it a step farther and delved into how to send commands using the HTTP post commands. I've already created perl scripts that can activate and deactivate the devices, but as you know Android doesn't have perl inbuilt.
I want to be able to make a shortcut on my Android device to start the devices. The reason why I want to do this is simply because I want an alarm on my android device to trigger a shortcut which turns on everything I want in the morning without me having to actually touch my phone. I already have the Alarm app that can open the shortcut, but I need a script that will work.
I need a shortcut that would enable the devices. So my first thought would be a bash script (and make a shortcut using Gscript for the Alarm App). But there's the problem, because I don't know how to send a http command from the Android terminal. I know (and have tested) perl commands, but perl isn't available for Android. That was the only way I know how to do this. I know you can use java, but then you're creating other files and to me it seems too much of a hassle. I just need something that can access the http page without opening an internet browser or anything else.
Summary:
I need a shortcut on my android device that accesses an http page without opening an internet browser or any other program. The http page has a standard username/password prompt, but can be easily worked around.
What's the easiest way of going about this? If a shell script is needed, what would be the command to open the webpage without opening a browser?
Things to know:
- Weblink only needs to be opened (no interaction required) for the specific device to be turned on
- Website is password protected using standard http protocol (but can be worked around if there is a problem)
- In perl, all I would need to do is issue the following command to get the devices to turn on or off:
perl -u username : password h-t-t-p-whatever.com/device_3_on
Sorry for the drawn out post, but I really wanted to explain my situation as best as I could. I'm sure there is probably an easier way that I'm missing here, so I need help from any and all people that would know about these things. Any [helpful] advice is welcome

[Q] Galaxy S3 - Read web requests or apk decrypt?

I was wondering if there's a way to read the data being sent from my phone.
There is app that I'm working with and I need to read what kind of requests it makes (eg. Either GET or POST and where)
I installed Charles and Fiddler but the app doesn't load fully. I also did a TCP dump, and nothing.
If this is not possible, is it possible to fully decrypt and apk?
I used apk to java but I get a bunch of errors when I load the output on eclipse. It looks like there are code missing.
Any help is appreciated.
Thanks.
PS: Yes, I did search before posting.

[Q] Need help with building CM

Hi all, I am trying to build android from source (Cyanogenmod) for my phone Sony Xpreia Pro (iyokan). I am following the instructions at wiki{DOT}cyanogenmod{DOT}org/w/Build_for_iyokan (I haven't posted a lot so I can't post URLs ). During my build I need to do one additional step. I need to pull the proprietary files from my device. This is where the problem comes in.
I found that there are 4 files which the extract-files.sh script cannot extract. This causes problem in the build process and the build process stops without completion. The files which the script cannot find are:
/system/bin/calibrator
/system/etc/firmware/wl1271-fw-multirole-roc.bin
/system/lib/libc2d2_z180.so
/system/lib/egl/libGLESv2S3D_adreno200.so
I found wl1271-fw-multirole-roc.bin at "/system/etc/firmware/ti-connectivity/" instead of "/system/etc/firmware/". Is it fine to modify the "proprietary-files.txt" to have this path instead of the "/system/etc/firmware/"? I am not sure if the functionality of both the files is same.
Also I found a file called "wlan_calibrator" instead of "calibrator" in the same location. I also found a file called libGLESv2_adreno200.so instead of libGLESv2S3D_adreno200.so
Would it be fine if I change the name in "proprietary-files.txt"? Again, I am not sure if the functionality of the other files is same. I couldn't find the file called "libc2d2_z180.so"
I really don't know what to do and would really appreciate if anyone could help me on what I should be doing.

[4.2.2][Fake GALAXY S5 mini][SM-G800][Translation] Useful notes on Translating

Hello
[INTRO](a little background)
This is a guide for those who want to have their phone in their language but the operating system does not have it built in. You can flash a new ROM that has it or install an app right? Not so much. There are reasons for these methods to fail or simply not work for your situation. My problem was that the bootlegged hardware was not supported by the official ROMs or the Android community. This forum is also riddled with threds that started by people who need to mod something about their phone but have no technical knowhow. There wouldn't be annything wrong with that exept that the awnsers in these threds are something along the lines "Oh you just need to do this thingnemabob" that's it one sentence pointing to a technical slang word that means nothing to anyone but a seasoned developer despite first post DIRECTLY STATES IT WAS MADE BY A PERSON ASKING FOR A STEP BY STEP SOLUTION OR A LINK TO A TUTORIAL!
[pre-procedure]
List of necessary software:
Zipsigner (this goes on your phone)
ADB
text editor of choice( notepad++ recommended)
AIO-Flasher
smali/backsmali (depeding on wether your system files are odexed more on that later)
APKstudio
[installing above software]
Zipsigner
Why you need it?
As you modify your apk files their signature changes. Basically if you change anything about them the phone will no longer recognise these as "its" therfor you need to convince your phone that these are in fact okay with zipsigner.
how to install?
This is an app. If you ever installed anything from Google playstore before than you know how to install it. Go to your Google play store app on your phone. Search for Zipsigner and pick the top app. Agree to all the demands and tap on install
ADB
why you need it?
this is a command line piece of software. these might be very scary to use but don't worry follow the tutorial and you'll be okay. That aside what is it used for. ADB is a powerful tool but we will use it only to copy and paste files to and from Phone
how to install it?
ADB comes packed up with Android Development Kit so the easiest way to install it is to get the ADK
[STEP 1]
Okay so you want to translate your phone for one reason or another. Make backup! Backups are important. You want to have something when you fail to fall back on. Yes "When" you fail. Not "if" you fail. You will screw up but as long as you have a proper backup everything is okay.
You can back up your phone in few different ways.
Hello
[INTRO] (skip if you are not interrested in fluff)
For the past week I lived in Android Hell looking for what I thought would be a simple procedure and I wanted to share my expieriences somewhere so that no one else has to go through this flustrating expierience.
I got two phones (Galaxy S5 and Galaxy S5 mini)and I was taked with translating them. Well It should not be a problem I thought because it should be as easy as going into [settings]>>[region and langages] and choosing Polish. There is no Polish. So that was my first step towards the translating thiese.
[STEP 1]
First thing first backup. I am by no means a talented programmer or modder so I went with Samsung Kies but software didn't recognise neither phone. After fiddling with drivers and a back-and-forth with samsung costumer support we came to conclusion that phones are fake. IMEI of one identifies it as a Blackberry and other as Nokia >_< well okay they still have some sort of Android so there should be a way to translate them anyway. First thing on the agenda is still backup. So I went through a triall and error to get both roms dumped. I was successful with ANDROID AIO FLASHER which was a godsend after I failed time and again to push romdump's INSTALL into the phone. I managed to get one ROM off by now but other Phone still insists on denying me ability to dump the rom because of Segmentation error. but at least I have one rom backed up.
[STEP 2]
Okay I got myself ROM now what? I decided to make a transfusion. Why bother with getting down and dirty when you can just use the work of others. So I downloaded a ROM with same version of the Android OS and begun looking for language pack or something similar. No luck this is not how Android works. After some research I came to the conclusion that in order to make things work I need to basically decompile each and every APK file that refers to system functionality and translate Strings.xml by hand in order to ensure compatibility.
[PRESENT DAY]
this is where I am now. all I wonder if there is a way to add a new file in the APKs with polish in it or should I just translate English "strings.xml" file and set langage to english?
Feel free to point out faults in my logic as well as provide tips and tricks for those of us who bought our phones on the cheap and just want to usethem with language they are comfortable with. I will build up this topic with factual information that I come across and try to make this into a universal guide to Android translation with resources to download. I do this because no one should be subjected to this and there is no decent step by step guide on this forum just disjointed and incompleate information in posths here and there. Belive me I looked both here and Google and after two weeks of finding nothing more than a hints I want to just give back to the community all I found.

Categories

Resources