[Q] App Associations vs. ro.da1.enable? - HTC Desire S

Hi folks,
I've recently updated to the ICS RUU provided by HTC. I had problems changing the defaults in 'App Associations', untill I folowed the workaround provided here.
While searching for that solution I found a number of threads which advocate hacking the system/build.prop file, the method is spelt out here or here and using the results of this instead of the 'app associations' menu.
Just wondering if anyone has had any problems after changing "ro.da1.enable" or is it fairly reversable?
A lot of people who have done it seem to do so because WhatsApp links crash otherwise. Is there a benefit if you don't use WhatsApp?
I've done a fair bit of searching but haven't come accross any screen shots for what changing "ro.da1.enable" gives you. People say it gives what they had pre ICS but since they come from people using different ROMs I'm not sure what that means.
Does it have any implications I should be aware of when backing up or changing ROM?
Thanks in advance for any info!

Simple answer, it does enable the so called data tapping, which means a dedicated app is opened instead of i.e. the browser.

I'd say that the change has no further implications that I'm aware of and you don't need to consider any additional backup steps.
If your concerned about making any change, before making it ie editing the build.prop (in this case) make a copy so that you can revert it easily if you need and always take a full nandroid backup before making any change.
When changing ROMs the new ROM will come with its own build.prop file so the change may be undone.

Related

Still can't side load on my Captivate even with rooting it.

hey guys, still new to the Android game. Had a friend at work root it for me. I got rid of all the ATT junk but still can't side load. Does anyone have any ideas on how to overcome that issue.
go to general, read wiki
shuratilt said:
hey guys, still new to the Android game. Had a friend at work root it for me. I got rid of all the ATT junk but still can't side load. Does anyone have any ideas on how to overcome that issue.
Click to expand...
Click to collapse
Specifics would be helpful but my guess is that all the issues you are having have already been mentioned in other threads.
Checkout the wiki in the general section, and the other Non-Market Apps threads in this section.
Read non market apps solved this will fix your issue.
Sent from my Samsung Captivate using Tapatalk Pro
actually, read the SECOND thread on the issue. It's not 16+ pages to read.
http://forum.xda-developers.com/showthread.php?t=738376
If you don't mind using your PC to sideload, do a Google search for "Sideload Wonder Machine."
It's the easiest way to do it and you don't even have to be rooted.
Double-post / Please disregard...
Everyone is telling you what to read but not why.
You still need to enable the ability to install non-market apps. You can read the above posts on how to do it!
max_warheads said:
actually, read the SECOND thread on the issue. It's not 16+ pages to read.
http://forum.xda-developers.com/showthread.php?t=738376
Click to expand...
Click to collapse
I agree you post is a lot more organized and detail. Going to stick your thread and replace the other one.
I rooted my Captivate and then followed a guide that I located via Google. Since I am a "noobie", I am not allowed to post the link due to anti-spam rules... So, here is how to locate the link:
1) go to Google, enter the keywords "sideload at&t captivate" without the quote marks.
2) when the search results appear, look down the page for one titled "How to Enable Sideloading of Apps on Captivate" on androidforums dot com. For me it was about the eighth result down on first page.
3) when you go to the link, you might wind up on the second or third page of comments, so click back to the first page to locate the solution...
The "big idea" behind the solution is that there is a SQLlite database containing settings which the Android OS uses to determine, among other things, if sideloading of apps is allowed. AT&T, being the kind-hearted benevolent protectors of us children to keep us from harming ourselves, has shipped their Android phones with this setting toggled to prevent sideloading. The guide above describes how to copy the database to your computer, toggle the setting "on" to allow sideloading and copy the modified settings database back to your phone.
Or at a bit more granular level, the guide describes how to:
1) at the location "/dbdata/databases/com.android.providers.settings/settings.db" on the phone is a SQLite database containing configuration settings for the android OS
2) you are copying that database to first your SD card and from there to your computer
3) on you computer you are using a tool to modify a particular setting within the database, the setting which AT&T toggles off to prevent sideloading. NOTE: The tool utilized by the guide is the Firefox browser with an add-on plugin which allows viewing / modification of SQLite databases, any tool that gives you access to view/modify a SQLite database will work fine.
4) finally, you copy the modified database back to the SD card on the phone and from there back to its "real" location where the Android OS will read it.
5) When you reboot the phone, Android reads in the modified setting and sideloading should "just work"
This is my first post, hope it is helpful...
BTW, I am a user of Linux, these days mostly Ubuntu and its derivatives. I was able to perform the entire rooting and enable sideloading operation from my Linux machine without having to use Windows!! Yippeeeee!!!

[Q] Roms and patches - is it this easy?

When I first got my G-tab I was baffled by all the instructions and the literally thousands of posts in the forum. Even now, I haven't been able to find exactly how (or why) I should update my kernel. That said, I have TNT Lite running and I love my g-tab. Exploring the possible uses and utilities on it provides hours of fun. Now - here is my question. I stumbled on some instructions for installing the ROM and I have used those same instructions to install several patches to the Rom. I see all this commentary on Clockwork, side loading, etc. and I wonder if I am missing something. Today I just installed the .25 patch for TNT-Lite. I downloaded the rar file, unzipped it on my PC to get the Recovery folder and the update.zip file. I plugged the g-tab into the pc and switched it to usb mode. Then I moved the old recover folder and update.zip to a folder (cautious me) and put the new ones in the root. I disconnected the usb and started the g-tab in recovery mode (holding the power and volume+ key. It rebooted, applied the patch and I was done. That seems simple enough. It would seem that this would work for switching roms, applying patches and probably even upgrading the kernel (If I knew where it was and why I should do it). Am I missing something? Everything seems to work.
Sounds like you got the basics ok.
The real main reason to update the kernal as i see it is to add things like driver support for devices like gps and g3, so on, also minor fixs. If your not using your gtab for anything like this you maybe happy to stay stock. But if you like myself like to use your gtab to surf with g3 or as a sweet gps, then thats what the kernal updates allow. Im sure others can correct me if ive got anything wrong or add to what ive said.
You got the basic steps right, but installing ClockWorkMod Recovery has a lot of benefits.
First, built in backup and recovery will save your skin if the gTab get "cranky".
Second, installing ROMs and/or updates saves you a few steps. From "tar" files (TnT-lite), extract the update.zip file to a folder (I created a folder named "xda", just an example) and name it after the version of ROM/update.
CWM will flash "*.zip" file. This way you can keep multiple ROMs/updates on the card and switch between them.
CWM lets you clear cache, wipe Data partition, clear Dalvik-cache (use caution there), fix permissions and so much more! It is a great tool.
Sent from my gTablet-TnT-Lite-4.2.5 using TapatalkPro
So now we peel back another layer
OK so now the question of multiple roms comes up. I am not clear about the role of the rom - can I switch roms and keep all of my apps and data intact? I'm thinking like changing style sheets on a web page - presentation is different but the underlying data is still the same? Is it that easy?
And... if I am doing that perhaps I need to "clear cache" or "wipe data partition" but although I like to investigate new things I'm not willing to just walk up and push the big red button without knowing what it is for. So why would I "clear" or "wipe" things?
I get the impression that I could switch between ROMs just like switching between browsers on a pc - today Chrome, tomorrow, Firefox and never Internet Exploder... Is that correct? It took me quite a while to get the market working and it still doesn't work optimally but I'd hate to undo all the work I've done getting the g-tab humming along by switching roms. Can I?
So - anyone care to expound on the structure and how it all hooks together? What parts can be swapped out and what parts form the foundation? I'd hate to brick the little guy in my ignorance.
One final note if you know and you answer - where did YOU learn about this. Is there a book somewhere to read?
Thanks again for sharing your knowledge.
The Need for A Wiki
I'm in the same boat as enigma. I'm not even sure what ROM is an acronym for, though I think it means operating system. A wiki would be a big help for many people. I bet people would be glad to contribute.
Well, I don't know about Android book, especially about "hacking android book" , but this (and others) forum has plenty of reading material and guides. Not to mention people (a lot more knowledgeable and experienced than me) who will offer advice and lend a hand. And Google search comes in handy too.
Switching ROMs is almost like switching the OS, or a flavor of. Very much like switching between Linux distributions; the base OS is the same, but the overlay changes the user experience. Some things do change deep down inside, that's why is advisable to clear data.
Android, like Linux which it is based on, uses separate partitions for different parts of the OS, like boot, recovery, data, cache and user data. Plenty of write ups and discussions on the web on that.
So when flashing a ROM, you'll rewrite boot and system. Your user apps and data/preferences pertaining to those apps are stored in data partition, and since you are changing the 'OS', the apps need to be recompiled for it. Backup apps, like Titanium Backup, come extremely handy here: backup and restore apps AND appdata with a few clicks.
Backups are stored on sdcard, which is a lot like Linux /home directory, and do not get wiped during flash. Also the CWM (sometimes called Nandroid) backups are also stored there. A backup-of-the-backup is always a good habit (copy of /sdcard to your PC for safekeep).
This is just a quick rundown, hopefully that answered some of the questions.
There is a world of information available out there in "ether-world", Google is your friend.
[EDIT]:
Some links:
http://android-dls.com/wiki/index.php?title=Main_Page
http://lifehacker.com/#!5596108/how-to-choose-the-right-android-rom-for-you
and of course:
http://forum.xda-developers.com/forumdisplay.php?f=841
(use the search on top of the screen)
Sent from my gTablet-TnT-Lite-4.2.5 using TapatalkPro
Doesn't my sticky on how to flash the roms help at all? I can try to make it clearer if you have suggestions.
http://forum.xda-developers.com/showthread.php?t=892090
TeamSpeed said:
Doesn't my sticky on how to flash the roms help at all? I can try to make it clearer if you have suggestions.
http://forum.xda-developers.com/showthread.php?t=892090
Click to expand...
Click to collapse
Yes, your Sticky is as clear as Florida sky.
I just installed Thumb Keyboard on my gTab last night and I guess I got carried away getting used to it!
Yes, I have found some very good step by steps (reflashed to vegan after reading that one). Step by steps are great but I 'd like to understand why I'm doing it. The market fix...I can follow the steps and it works but why? I wish I had time to research all these things but there are so many forums,so many posts to read! The explanation that did surface in this thread was great though. Thanks. I'll keep asking questions. There are a lot of smart people out there!

Request for a Tutorial on comparing two ROM's

Is there anyone out there who has the knowledge on how to tweak/make ROM's willing to do a quick (I don't know if that is realistic) tutorial on just how to compare to different ROM's? For instance a video or a step-by-step process on how to take one ROM (let's say the Stock ROM of the Droid Charge Gingerbread version) and compare this to a heavily modded ROM (let's say Infinity ROM or Humble)... I'm curious just how the devs do this; many have advised to start here to see how ROM's work, what's different and where the location of different parts are.... Please help thanks..
My initial thread
Hmm good question. Sure most will point you to several links to read different threads. Each Rom depending on what they change are usually an effort by several people. Thats were credit to certain people are given. Some start with a stock ROM and do some tweaks but alot of theme work. Guess thats why you are asking. Think there is so much going on in the back round with what we dont see it would be hard to compare, such as lines of code etc... Dont know if that is the correct answer but figured I would try.
I know, the reason I'm asking is because I've been given advice to start here and the names of programs needed, but I'm not learned enough to use the programs the correct way yet... Figured I'd ask-whats the harm?
Sent from my SCH-I510 using XDA App
Programs:
Linux if you want to extract files from factoryfs.rfs files
7zip or File-roller (or other archive utility)
apktool (or smali/baksmali)
diff (win-diff or kdiff3 also works, can also use git)
Notepad++ or gEdit
andriod-sdk with platform-tools (for adb)
Any dependencies of the above
After that, it's as "simple" as de-compiling various files (with apktool/baksmali) and comparing them. Then use a text editor to add/remove things that you want/don't want from the de-compiled files, or swap out images. After the changes are made, recompile and test. It is a very time consuming process, especially if you run into issues, as problems aren't always easy to track. Logcat will definitely become your friend.
andrewjt19 said:
I know, the reason I'm asking is because I've been given advice to start here and the names of programs needed, but I'm not learned enough to use the programs the correct way yet... Figured I'd ask-whats the harm?
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
You came to the game kind of late. There're so many roms/kernels etc..and the history of them. It will take you months to catch up. I suggest that we would provide you the most current one and it's new/just release you can read up on it. When you look at a rom, alway start on the first page, this is where developer will provide details/description about what has changed for the rom. I would recommend the most current, stable, fast and it's a new release. The TweakStock Rom. This rom when you're using with Go Launcher (Go launcher set to smooth and with some animation, will give you the fluid of Iphone 4S. Start from thread one and see what dev has taken a stock rom and upgraded/tweaked up until today. Good luck. If any question you can post here and we will try our best to help out.
Thanks fellas, I appreciate the advice and I will let you know how I do. One problem I kept running into was in this procedure:
1. Opened kdiff
2.file browse rom a (stock gb in this case) both files still in .tar.md5 format
3. File browse rom b (humble or infinity)
4. Open/compare
5.force close
Second attempt removed .md5, left
.tar, same problem.
Third attempt unpacked and zipped, repeated steps 1-5. Force close.
Fourth attempt, tried to open just the .rfs files and repeated steps 1-5. this time I got a bunch of symbols... laid it to rest...........
So based upon the replies so far, I can see that I was trying to oversimplify a whole; each file must be extracted and browsed individually.
Sent from my SCH-I510 using XDA App

Development question

Hi,
I am slowly getting through the basics of apk decompiling, Editing, Debugging & recompiling.
Using tools like Apk Tool, Winrar, Notepad++ Winmerge, Adb .
First time I have touched an android or even done any kind of stuff like this was Early August 2012. So not long at all, Someone might even remember I asked what should I do with my phone after I root it,, haha previous Iphone user.Thank God I changed! I have definately seen the light! Anyways now i have a question to the more experienced Devs. Eg; Lets just say I dont want increasing ringtone How do you pin point where in the apk to start editing i mean there are heaps of files its like looking for a needle in a haystack. One way I came close and pin pointed it is using a previous made mod and then used Winmerge to compare the differences, Problem is the differences in these to Apks is not just the Increasing ringtone, so when I winmerged them it picked out out the other differences Now this deffinatley narrowed it down. I have a feeling it has something to do with the Callnotifier.xml is this the only Xml?
Also Lets just say you dont have another apk to compare it to , how to you find out this stuff..
Another thing is I want to cook up a rom, but the way I want to do it is modding my own rom untill I am happy with it and then creating something like a nandroid without my personal data. then making it flashable for people. What tools is best used for this? I was thinking editing my nandroid and adding it to a cwm flash. but I think there is an easier way.
PS: You can have a look at my signature for my current device i am using
Thanks for you help

[Q] How to backup sms with emoji?

Hi!
I have been searching for this on Google and in the forums, and I cannot find any answers. I see that the most of the sms/mms backup apps are using .XML files, and I read that they do not support emoji and would corrupt the .xml file if I try to restore it.
I have only had to restore sms one time and that time i used go sms pro since I read that they support emoji backup even though they didnt so my 14000 sms got corrupted when I tried to restore, also tried with Titanium without anyluck or maybe I did something wrong (luckly I had nandroid backup and didnt update ROM), this time i want to make sure that this would not happen again and I want to update rom without loosing my sms. I feel there is a simple solution, but I cannot find it.
Would be nice if someone could help out a newb
Bump
Dns94 said:
Bump
Click to expand...
Click to collapse
This
I'd like to know toO!
Why do they have to make this so damn hard. Why can't I just drag a file from old android phone and drop it in new android phone? What is the best method to COMPLETELY backup and restore SMS/MMS on non rooted phones?
Try this app (find the latest beta from release folder) : https://github.com/jberkel/sms-backup-plus/blob/master/README.md#readme
Used for years and did several restore while changing my rom. It push the backup into a Gmail label.
From what I saw, it saves pictures. So I guess it saves also emoji.
Hope it helps.
baudbox said:
Try this app (find the latest beta from release folder) : https://github.com/jberkel/sms-backup-plus/blob/master/README.md#readme
Used for years and did several restore while changing my rom. It push the backup into a Gmail label.
From what I saw, it saves pictures. So I guess it saves also emoji.
Hope it helps.
Click to expand...
Click to collapse
Thanks, I'll give it a shot. I tired SMS Backup & Restore but for some reason when it restored them (which worked for the most part) it screwed up a bunch of the time stamps.
One year later and no good solution to my problem?
A solution I found
Dns94 said:
One year later and no good solution to my problem?
Click to expand...
Click to collapse
I know this thread was years ago, but I came across it while trying and failing to fix this issue, and after a ridiculous amount of time investigating I have a solution finally. I thought if I posted it here then others with the same problem might come across it too and it could help people.
Assuming you already have "SMS Backup and Restore" (though confusingly there are two apps in the Play Store called that, you want the one with the green icon by SyncTech Pty Ltd).
Select "Back Up Now" and send it to Dropbox (or another place, I found Dropbox the easiest). Most importantly though, click on" Advanced Options" and turn the "Emojis & special characters" slider OFF. xml doesn't understand emojis, and it will corrupt the file and cause "XML Parsing Error" when you try to open it.
There's an extra optional step to make the file easier to read (puts it in a nice table without bare code everywhere) but this website won't let me post the code because it contains two links (and because I'm a very new member, signed up just to write this). This step involves adding a file called "sms.xsl" and adding a line of code to the xml file to make it talk to the xsl file, but I can't find anywhere to download it with a quick Google search.
Let me know if anyone wants any more details.
This all worked for me very well at least, I hope it does for others.

Categories

Resources