General Issue with SMS Backup And Restore - Google Pixel 6 Pro

PSA I guess is what this might be, just had an issue with moving SMS's from one phone to the p6 and thought I'd share in case it helps someone else.
Been getting my phone set up and one of the things I did was use SMS Backup and Restore to back up the messages from my 2Xl over to the 6p. It was roughly 120K text messages over the last 4 years.
The import 'seemed' to go okay but it didn't. I don't know if its a volume/count issue or a android 12 issue or a p6 issue but the messages app was kind of fried after the import. It would freeze/hang, send messages into oblivion etc and had 6(ish) just blank icons and blank entry lines at the bottom of the text list that 'side flashed' like they were loading but never did. I let it sit for about 12 hours thinking it might be an index issue or something but it just never recovered. Sometimes I'd hit send and it would go out, other times I'd get the ding but it wouldn't show up on my side, and from what I can tell never went out. I tried to delete conversations and they'd sometimes disappear from the messages app but on a reboot they'd be back.
Best guess is the SMS database got jacked up by the restore and only a complete delete would fix it.
I then tried to use SMS Back up and Restore to delete the messages from the app using the feature under Tools in the app and it also just hung on "Deleting" and never finished after about 6 hours.
So... I ended up having to use a terminal to kill the smsmms.db and db-journal files out of the telephony folder, reboot, wipe messages cache and storage to clear it. I was just one step short of doing a firmware re-install with the -w option but this seems to have worked the way I expected.
If you have a need for this step for some reason, on a rooted phone, install any terminal app from the play store, run it and then type the below. The commands for those who are familiar with terminal is get superuser (you'll be prompted by Magisk to allow), change directory to the place where the SMS database files are stored, list the files there, I only had the two, remove each file.
su
cd data/data/com.android.providers.telephony/databases/
ls
rm smsmms.db
rm smsmms.db-journal
Close the terminal.
Wipe Messages cache and storage.
Reboot.
You should now have a blank slate in the messages app.
Not ideal for me but I'm not sure yet if you can copy just individual threads over. I don't need all the "Hey you want to sell your house?" and "Medical coverage is going to expire" and "here's your MFA code" threads or threads from years ago.

All you need is SQLite to open the smsmms.db file and delete all the cruft

miravision said:
All you need is SQLite to open the smsmms.db file and delete all the cruft
Click to expand...
Click to collapse
Thanks!

Related

cannot delete mail/sms after restore, no 'envelope' icon.

Not sure if anyone else had this: I did a ROM upgrade on my XDA IIs, then restored all my data from a back up on my PC. most things seemed OK (though some GPRS settings were lost), but some old SMS messages and emails now show in the relevant folders, but have no 'envelop' next to them. I can't open them (you see the window try to expand, but nothing happens), and I can't delete them either! Even 'empty folders' doesn't work.
Does anyone know if there's a way of taking them out manually via explorer, or am I just stuck with them?
Thanks for any help
Vince
im having the same problem with my phone. i can send messages to deleted items but when i try to delete those althought they go away the number thats in deleted items shows in blue

PPCPimBackup corrupt backup

Hello all!
Yesterday I made a backup of my call logs and SMS/MMS messages with PPCPimBackup, and today I reinstalled my phone using the official T-Mobile ROM, and i used PPCPimBackup to restore the backup.
Too bad, it didn't work. The call log was restored, but with the text messages it gave the following error: "ERROR_CSV_BAD_RECORD at line 936"
So I opened the backup with winrar, opened the .csm file containing the messages, and deleted line 936, compressed the .csm file back in the backup file, but it still would work. It said the file was corrupt, so I probably haven't compressed it right or something like that. Any way to still restore my backup, or is it permanently lost?
I can still read the messages from the .csm file, so maybe there's another program that can make a new backup from this file?
Thaan.nl said:
Hello all!
Yesterday I made a backup of my call logs and SMS/MMS messages with PPCPimBackup, and today I reinstalled my phone using the official T-Mobile ROM, and i used PPCPimBackup to restore the backup.
Too bad, it didn't work. The call log was restored, but with the text messages it gave the following error: "ERROR_CSV_BAD_RECORD at line 936"
So I opened the backup with winrar, opened the .csm file containing the messages, and deleted line 936, compressed the .csm file back in the backup file, but it still would work. It said the file was corrupt, so I probably haven't compressed it right or something like that. Any way to still restore my backup, or is it permanently lost?
I can still read the messages from the .csm file, so maybe there's another program that can make a new backup from this file?
Click to expand...
Click to collapse
Hi Thaan.nl,
You shouldn't have done that. Compression is nothing to do with the file corruption. Deleting line 936 has mentioned by the error is not enough.
Your backup was fine, I can assure you, the problem resides in the csv parser, I know it is not perfect, and I already mentioned it.
Don't worry, nothing is lost (except line 936).
BTW, get the .csm file out of the .pib, open it with an editor like ultraedit which can show each individual record and showing line numbers.
Try to remove the whole text message that couldn't be parsed by the parser and do the restore. You don't need to put the .csm back in .pib, you can restore it directly.
Did you use PIM Backup 1.5?
If you need any help to restore your backup, don't hesitate to ask...
Cheers,
.Fred
Beware of this product. I restored backup messages to my mail account. After that I will no longer be able to send out any mail. The system says that my outgoing smtp server is incorrect, although it is correct. I tried deleting the account and recreate it but it does not help. The only way so far was to do a hard reset. It happened to me and caused me to do about 10 hard resets before I finally pinned it down to this being the culprit. I am able to recreate the problem very reliably. The addresses and appointment parts are okay. It's just the messages part that you should not use.
I have gone through too much pain with this, so I thought I should share it with all of you and be warned.
Cheers
PPCPim BACKUP IS KING!!
eaglesteve said:
Beware of this product. I restored backup messages to my mail account. After that I will no longer be able to send out any mail. The system says that my outgoing smtp server is incorrect, although it is correct. I tried deleting the account and recreate it but it does not help. The only way so far was to do a hard reset. It happened to me and caused me to do about 10 hard resets before I finally pinned it down to this being the culprit. I am able to recreate the problem very reliably. The addresses and appointment parts are okay. It's just the messages part that you should not use.
I have gone through too much pain with this, so I thought I should share it with all of you and be warned.
Cheers
Click to expand...
Click to collapse
Are u insane man!!
this program is the greatest thing since sliced bread!!!
One corrupt backup doesnt make the program suck
And if you search there is a fix for that
i do believe you need to delete the mailbox folders on ya SD card
Hi There!
I'm using PPCPimBackup (Version 2.8) to get all my contacts from my K850i to my new Xperia X1.
I created a whole phonebook-backup from the K850i in different formats:
contacts.csc, contacts.pib, pb.ldif, pb.vcf, pb.xml.
PPCPimBackup could only use contacts.csc or contacts.pib. When i try to restore one of them i use the field delimiter "," and map the values.
When i start the restore, i get the following error-message:
Error (ERROR_CSV_BAD_RECORD) : Bad record found at line 128.Nothing done.
Does someone know why this problem does occur?
EDIT: I solved the problem by reading other threads... Because the "corrupt Line" was the last line in the contacts.csc i added a "RETURN" to last line and now the program works great!
I solved the problem by reading other threads... Because the "corrupt Line" was the last line in the contacts.csc i added a "RETURN" to last line and now the program works great!

[Q] how can i restore system apk.

First off I'd like to start off by saying that I am kind of an idiot...with that said; I like to mess around with important files on my device(Acer a100) even though I have absolutely no clue what I'm doing.
Using titanium backup I uninstalled that download system apk. The one with the green icon and the white arrow pointing down. Now when I try to restore it through tit. Backup it will just freeze and keep saying that it is restoring and I have to finally force close titanium. I have also tried messing around with permissions in root explorer, fixing permissions in rom manager, navigating to system/app and installing it manually through a file explorer( get message install fail), and hard resetting.
The main problem is that everything I download will show in my notification bar and after I close/exit them they come back 5-30 min later. If I click on the download in my notification(not on the x) then my notification bar just closes. I can kinda fix this by turning my notifications off or cleaning data/cache on ?download storage? Apk/app.
Does anyone know of an easy fix for restoring this system apk. For there are no custom roms or recovery sources for this device that I have seen yet.
Thank-you, Robb
Get the system.apk file from the roms here
http://forum.xda-developers.com/showthread.php?t=1307046
i tried downloading those recovery files and twice they came back saying they were corrupted, is there any way someone can just upload the system file i need from their a100...its the downloads apk. the green icon with a white arrow pointing down
RobbandJenica said:
i tried downloading those recovery files and twice they came back saying they were corrupted, is there any way someone can just upload the system file i need from their a100...its the downloads apk. the green icon with a white arrow pointing down
Click to expand...
Click to collapse
PM me with your email address, I'll email you the apk from my A100, I'm still running the stock rom that I pulled it out of the box with.
You can download it straight to your tab from your email, beforee you do, get a file manager (like es file manager) from the market. You will be able to get to your downloads folder from there and install it.
ummmmm............ could you repeat that?
6stringandy said:
PM me with your email address, I'll email you the apk from my A100, I'm still running the stock rom that I pulled it out of the box with.
You can download it straight to your tab from your email, beforee you do, get a file manager (like es file manager) from the market. You will be able to get to your downloads folder from there and install it.
ummmmm............ could you repeat that?
Click to expand...
Click to collapse
He's got Root Explorer, that should do the trick.
To the OP: You are mounting the system partition R/W in Root Explorer when you try this, aren't you? Hate to ask a dumb question but.....
Yes I am hitting that button up top on root explorer changing it from r/w to r/o but I think some how I just got the wrong apk....after titanium wouldn't restore it I think I remember copying apk. From my phone (g2x) and attempting to restore those...dumb, I know I might of tried changing the names of the apk. Too,..like I say I f*** with s*** I have no business Fu****** with. I will p.m. my email now maybe I can get a screen shot of the system files if anyone feels up to it, so I can cross check proper name and sizes
How about just reinstalling the 3.2.1 update that is in the developer section. There should be no reason to factory reset since it is the same version. I have soft bricked mine a few times and I have just did the update again.
I even upgraded from whatever version the device shipped with to 3.2.1 without wiping the data.
A100 development section??? I see three a100 recovery downloads and one a101 recovery in our development section but when I download them i t says they were corrupted...if those are what your talking about...which one exactly should I use and what do I do with the file after words???
----sorry two that say a101 and two a100
So should I use file Id # 115,116,117,or 109
Use the one in this post. It is already decrypted. The ones in the frist post need to be decrypted using the Acer decryption tool. I have used the one I linked to probably 20 times. Once you run the update you will have to re-root the tablet.
thank-you all..recovered and fixed!!!
I was able to fix my problem by using the recovery update zips. But I want to thank everyone that helped, and remind people from experience to freeze unwanted system apps instead of uninstlling in titanium backup.u
Very important advice also is to search and read before starting new posts. I could have saved some time and headache just by doing that...the answers were just a couple paragraphs away the whole time.

Defrosting system apps with Titaniun Backup Pro

I was experimenting with the freezing feature of Titaniun Backup Pro for the first time since I started using my phone in order to enable/disable the Maps application; everything was going smoothly until I wanted to kind of automate the process and thus I started using the widget. I thought that the Freeze widget would only freeze the only application in the freezable app list (in fact I don't know why it was only showing Maps there) but instead it slowly froze all my apps including the system ones.
To make it short, I can't obviously access settings/launcher/titanium backup or anything like that. I am staring at a black screen and I can only drag down the notification bar (if I click on the settings icon there, SystemUI crashes since it's frozen).
It's the first time something like this happens, I guess I could fix it by wiping everything and refleshing but I don't really feel like it. Any solutions? USB debugging is enabled.
That's the route I would take. I hope you made a backup. I'm not too familiar with TBP as I use ROM Toolbox for that, so there may be another user who can find a better workaround. You may be able to enable via ADB since you have USB debugging enabled. I'm not sure if when you run the packagemanager if it'll actually list the frozen processes though. Its been a while since I've used it.
From what I understood, I have to edit /data/system/packages.xml. I am in the ADB shell but I am not sure how I can do that. I've searched a bit and I don't think it's possible to edit files in the shell itself so I tried to copy it to my PC using the pull command (and push) but it's not a valid command for that ADB shell. Any idea on how I can copy that packages.xml file to my PC and then back to my phone?
EDIT: oh, you cannot ADB PULL in a ADB shell, my bad!
EDIT2: according to some research I did on xda, frozen apps should've been displayed with an enabled=2 tag in the packages.xml which wasn't the case. There was no "enabled" attribute at all and since I was at a loss I decided to go for a clean wipe instead.

[Q] There must be an answer to show apps [Solved]

Edit: Please note this post does have a resolution at the end.
Did you ever have a tech quandry you just had to solve?
Last year I hid some apps in/from the app drawer of a stock, S-On, not unlocked or rooted, T-mobile HTC Wildfire S with the stock Sense 2.1 UI. I want to unhide them and can't find the info on how I hid them anywhere. They do show up in a different launcher, like LauncherPro. They're not disabled, I already checked that in adb in the Android SDK.
I can run them, either from Titanium Backup or Launcher Pro, and then from my recent apps drawer in Sense 2.1 after I've run them in one of the mentioned ways; but, I really want to get those icons back and do a CWM backup of my stock ROM before I start trying custom ROMs on this phone. I like Sense and want to be able to go back if I choose.
I'm rooted now thanks to the many articles and guides here. Unlocked at HTC Dev, and ran root.zip. Installed SuperUser, ROM_Manager, TitaniumBackup
I have spent a LOT of time recently and all day every day since Monday researching here and at Android Forums, the 2 defacto places for phone knowledge. I've also used Google, searched on Life Hacker, looked in all my browsers favs for articles, searched my computers for notes (I usually make a file in Notepad for things I do that I might not remember), checked magazines I read, and so on.
I don't know if I did something in adb, changed a manifest (too many to do that), or installed a launcher that left those apps hidden when it was deleted. I hid about a half dozen apps/icons.
There has to be an answer.
Sure would appreciate some help. I'm exhausted trying to find the tip/trick I followed to do this so I can undo it. If it will help. When I try to enable the Stocks package in adb I get a return of:
C:\>adb shell pm enable com.htc.android.Stock
[1] Killed pm enable com.ht...
Does that mean I killed the app, "Way back when"; or, maybe just the process is killed without invoking root (remember the phone wasn't rooted when I first did this)? If I do it this way invoking root, I get a diff result, but neither way shows the app (unlike freezing/unfreezing in the many apps like TB, etc.):
C:\>adb shell
$ su
su
# pm enable com.htc.android.Stock
pm enable com.htc.android.Stock
Package com.htc.android.Stock new state: enabled
BTW if I disable it disappears from LauncherPro and then enable and it reappears in Launcher Pro; but, nothing gets it to reappear in Sense except in the recent apps drawer after I open it in Launcher Pro or TB as mentioned in the above post.
The control has to be in a file somewhere. Do phones have an, "xxx.ini" file for apps like computers sometimes do?
Re: [Q] There must be an answer to show apps
MiCeltic said:
Sure would appreciate some help. I'm exhausted trying to find the tip/trick I followed to do this so I can undo it. If it will help. When I try to enable the Stocks package in adb I get a return of:
C:\>adb shell pm enable com.htc.android.Stock
[1] Killed pm enable com.ht...
Does that mean I killed the app, "Way back when"; or, maybe just the process is killed without invoking root (remember the phone wasn't rooted when I first did this)? If I do it this way invoking root, I get a diff result, but neither way shows the app (unlike freezing/unfreezing in the many apps like TB, etc.):
C:\>adb shell
$ su
su
# pm enable com.htc.android.Stock
pm enable com.htc.android.Stock
Package com.htc.android.Stock new state: enabled
BTW if I disable it disappears from LauncherPro and then enable and it reappears in Launcher Pro; but, nothing gets it to reappear in Sense except in the recent apps drawer after I open it in Launcher Pro or TB as mentioned in the above post.
The control has to be in a file somewhere. Do phones have an, "xxx.ini" file for apps like computers sometimes do?
Click to expand...
Click to collapse
What apps are you trying to show again? Since you have root you can try to use a root uninstaller app to make a back up of the app first, then reboot the phone. Then use the app to reinstall and then reboot to recovery and use fix permissions.
Feel free to make a nandroid back up first just incase you lose any data
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Thanks for the response heavy_metal_man. It's hard to tell everything. I missed what and the kind of apps, thanks. I am talking about system apps like, "Stocks" and, "Voice Recorder", and there's others. I did Fix permissions in ROM Manager before and it didn't fix anything. I have tried a lot of stuff and am getting flustered and tired, but not giving up! For the sake of knowledge, I really want to find out the what and how...not just use a workaround. I tried your suggestions with, "Voice Recorder"...backed up in Titanium Backup...uninstalled with Root Uninstaller...checked everything to be sure it was gone and then restarted...attempted a restore of, "App only" with TB and it just churned long enough to know it was hung (I did get a notice there was an update, but don't think that would interfere); so, I powered off and restarted. No changes; so, tried another restore of, "App + Data"...same thing it just churned...another restart and everthing was back to the way it was. VoiceRec in Settings>>Apps>>ManageApps, but not in the Sense app drawer. I then couldn't get ROM Manager to do anything when I selected Fix Permissions...couldn't get into TB, did the update, still couldn't get ROM Mgr or TB to do anything, and so did a battery pull restart...I did go into CWM, but just rebooted. Then everything was normal, meaning as before, and fixed Permissions in ROM Manger. I don't think it matters whether I fix in CWM, ROM Mgr, or ADB...they're all reading the same .xml files to set permissions. Anyway, No VoiceRec in the Apps Drawer.
So I'm back to square one. Any more ideas I'll be glad to try them. I don't think I used APKToolkit to do anything or that it would be in the apk's. Tomorrow I think I'll try to find something in the package xml's...just need to find the right package that would address them all. I've looked at a few, but just for change dates on all the files in the packages...all were 2009, and I'd have done this in 2012.
Thanks again...tomorrow is another day.
Re: [Q] There must be an answer to show apps
Hmm. For the sake of argument make a full backup and then factory reset from recovery, then reboot and go through the first setup nonsense. Are the apps back?
Also the sense launcher is called Rosie should that ring any bells.
If a factory reset doesn't fix this then you may have to flash a stock rom to sort it like
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
h_m_m,
I did a factory data reset myself before, which I believe is really just an erase of data, and not a real reset (like formatting and reinstalling an OS in a computer). Then of course there was the factory reset that occurred after unlocking and rooting. Neither of those changed anything. I have flashed a CWM recovery after rooting.
Are you saying, boot into recovery:
1. Factory Reset as
a. DO NOT wipe the factory data reset
b. Wipe cache and dalvik cache
c. Throw in a wipe of the batt stats too
then
d. Do the factory data reset and let all the caches rebuild as they will
or
2. Factory Reset as
a. Wipe factory data reset
b. Wipe cache and dalvik cache
c. Wipe batt stats
then
d. Backup and Restore>>Advance Restore>>Original ROM>>Restore system (not the data, cache or any of the other stuff there)
If number 2., then I wonder if that would put me back to OOB (Out Of Box), and if so, would I lose root, have T-mobile...yeah, I like T-mobile for some things - - blame it on Catherine Zeta-Jones time as spokesperson. As long as I have CWM recovery and have backed up from there I can't do anything that would ever leave the phone bricked; and, I can always unlock and root again if needed.
Either 1. or 2. I want to hold those in reserve because I do want to find out how I hide them. They act exactly as though they're disabled, i.e., The icon is gone, but I still get updates (Voice Recorder was updated just a week ago); however, they're only disabled in SenseUI. LauncherPro shows them all, and of course functionally...and remember once I run one of these apps, like Stocks, in LauncherPro, I can then switch to Sense and run it from my recent apps (long press on Home) or the pull down notifications area list of recents.
BTW, You were too gentlemanly to ask, but I clicked a couple, "Thanks" for you today. I was tired and forgot yesterday. We may not solve anything, but I'm enjoying/appreciate the conversaton/thread.
Even though I'm holding on those ideas above, let me know which/what you think of them please, in case I ultimately go that way. I did clear the data in Apps>>Manage for both of the HTC Senses and Rosie. I'll have to look at what's in Rosie though, maybe that holds the key!
As an aside, the first personal web page I made had, "Iron Man" as the background music!
Re: [Q] There must be an answer to show apps
MiCeltic said:
h_m_m,
I did a factory data reset myself before, which I believe is really just an erase of data, and not a real reset (like formatting and reinstalling an OS in a computer). Then of course there was the factory reset that occurred after unlocking and rooting. Neither of those changed anything. I have flashed a CWM recovery after rooting.
Are you saying, boot into recovery:
1. Factory Reset as
a. DO NOT wipe the factory data reset
b. Wipe cache and dalvik cache
c. Throw in a wipe of the batt stats too
then
d. Do the factory data reset and let all the caches rebuild as they will
or
2. Factory Reset as
a. Wipe factory data reset
b. Wipe cache and dalvik cache
c. Wipe batt stats
then
d. Backup and Restore>>Advance Restore>>Original ROM>>Restore system (not the data, cache or any of the other stuff there)
If number 2., then I wonder if that would put me back to OOB (Out Of Box), and if so, would I lose root, have T-mobile...yeah, I like T-mobile for some things - - blame it on Catherine Zeta-Jones time as spokesperson. As long as I have CWM recovery and have backed up from there I can't do anything that would ever leave the phone bricked; and, I can always unlock and root again if needed.
Either 1. or 2. I want to hold those in reserve because I do want to find out how I hide them. They act exactly as though they're disabled, i.e., The icon is gone, but I still get updates (Voice Recorder was updated just a week ago); however, they're only disabled in SenseUI. LauncherPro shows them all, and of course functionally...and remember once I run one of these apps, like Stocks, in LauncherPro, I can then switch to Sense and run it from my recent apps (long press on Home) or the pull down notifications area list of recents.
BTW, You were too gentlemanly to ask, but I clicked a couple, "Thanks" for you today. I was tired and forgot yesterday. We may not solve anything, but I'm enjoying/appreciate the conversaton/thread.
Even though I'm holding on those ideas above, let me know which/what you think of them please, in case I ultimately go that way. I did clear the data in Apps>>Manage for both of the HTC Senses and Rosie. I'll have to look at what's in Rosie though, maybe that holds the key!
As an aside, the first personal web page I made had, "Iron Man" as the background music!
Click to expand...
Click to collapse
Firstly thanks for the thanks , I love helping people out! Its how I get my kicks
Secondly as long as you have made a nandroid back up in your recovery you are pretty much covered for everything. If I was you I would go for option 2 and wipe the lot. Then let the phone fully boot up and go through the set up. If a full wipe fixes the issue then we at least have a solid starting point to find out what's happened after that little test then restore your back up regardless.
Notes: the factory reset will not remove root or any extra system apps you have installed.
As long as you have the back up done you can always go back to it, allowing you don't destroy the bootloader. But that is highly unlikely as you are still s-on
Also an option to help this might be to use the app titanium back up to back up all your apps data separately, then back up your contacts, SMS ect, and then do a fresh install of a stock rom. Once that is done you could restore your back ups manually and go from there
I must say though this is a very odd case indeed, I'm pretty stumped as to how you have managed this without root
Tapped out from my sexy nexus 7
Re: [Q] There must be an answer to show apps
I have been looking into this more and it turns out sense hides some system app icons by default. Such as the camcorder, as we already have the camera app. Can you post a list of the apps to cross reference them?
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Sorry h_m_m, I didn't get an email notice of your reply on the 24th. Stocks and Voice Recorder are 2 definite ones. They don't show in Sense, but do in LP, and are discussed in the T-mobile HTC Wildfire S manual. I did notice in LP that there are some that I'm not sure I ever saw.
Re: your 2nd last post, I am 99% sure I did something with SDK, either in recovery or in the emulator...possibly debugging, that could be done without root!? I installed the SDK just short of one month after getting the phone. I really believe this was an article/tutorial by a programmer/developer that just walked me through. I felt OK using my computer skills in things like Visual Basic, SQL, and so on, but I was nervous because it was my 1st smartphone.
Anyway, in the last few days I've decompiled Rosie.apk to see if there was anything I could recognize or reason in the Manifest or Resources, but no clue there. I decompiled the Stock.apk from my WFS and one from a Hero to compare, again specific to the rosie/htc launcher, but nothing. I decompiled the htcSoundRecorder, no joy, Calculator (shows, but for comparison) - no joy. I have not done anything with the .odex files...maybe the tutorial I followed set something in those smali/java files, BUT, I don't see evidence on the computer I use for all this, of Eclipse or the JDK...only Java FX 2.1, but it's install coincides with the install of Google's Chrome browser, which uses it.
I believe this info is so obscure (except to ROM developers, I'm sure) because a lot of phones after Gingerbread got the menu option in the app drawer to hide icon shortcuts. So I'm going to keep this post in my favs and hope I get any email notifications if someone posts; and, search for articles now and then, but get back to living and leave this obsession behind...but not forgotten.
Hopefully I'll find something, come back and post it and even get a thanks for an interesting article and providing some obscure information!.
Oh, and I'll try option 2. from a couple posts ago before I take off flashing a bunch of ROMs, or after I delete stuff from this one and make a 2nd backup...like we rooted for! Clicked a couple more thanks too.
Re: [Q] There must be an answer to show apps
MiCeltic said:
..........
I believe this info is so obscure (except to ROM developers, I'm sure) because a lot of phones after Gingerbread got the menu option in the app drawer to hide icon shortcuts. So I'm going to keep this post in my favs and hope I get any email notifications if someone posts; and, search for articles now and then, but get back to living and leave this obsession behind...but not forgotten.
Click to expand...
Click to collapse
That's probably the best plan at this point sorry I couldn't help out more, but you have totally baffled me with this one just goes to show that the sdk can do far more than it lets on still, I hope one day you find that illusive tutorial and post it here
PS, gave you some thanks
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Hey h_m_m,
Thanks for the thanks!
I had time Sunday and I found some info and fixed them to show! I used search terms based on your statement that HTC hides some apps by default and found an article that referenced the, "/system/customize/mns/default.xml" file that contained a function, "applications_hide". So without getting into what I might do or might have done previously in the SDK, and since I was rooted, I just copied the file to my sdcard, attached to a computer and opened it in Notepad (needed to use the computer because it's well over 2000 lines in the file with no speed scrolling in es file explorer), changed (as one example):
<set name="plenty" max="7">
<item name="package">com.htc.android.Stock</item>
<item name="class">com.htc.android.Stock.StockWidget</item>
</set>
to
<!--<set name="plenty" max="7">
<item name="package">com.htc.android.Stock</item>
<item name="class">com.htc.android.Stock.StockWidget</item>
</set>-->
saved the file, mounted the file system using ES File Explorer and copied the file, then pasted it back in the, "/system/customize/mns/" folder. I commented the lines out so they wouldn't run and would still be there for history (instead of deleting the lines), and commented the code with a statement, <!--uncomment to hide the app's shortcut icon in the app drawer--> so that if I ever looked back I'd have info on it. I also did the same with the Sound Recorder, Voice Dialer, and WiFi (all at the same time as Stocks).
I did a factory reset and the shortcuts showed! This file, after all, sets the defaults. Well it didn't end there. I lost root. The su binary was still in it's folder(s) but Titanium Backup, ES File Explorer, and Super User wouldn't run...or rather wouldn't stop searching for root. It was like the su binary wasn't registered in the system; long story short, I re-flashed root.zip and all was right once more. The interesting thing is I had opened and abandoned this, "default.xml" file a couple times because it was so long and tedious to scroll through on the phone!
You can see a sample, "default.xml" for Gingerbread on code.google at http://code.google.com/p/warm-ginge...e/trunk/system/customize/MNS/default.xml?r=34 just stop the script if you get a pop-up. It's about 1/4 of the way down, or just do a find for, "applications_hide". There's only 2 things hid in that example file. ***Note that default is misspelled as defeault, but it seems to parse...it's in my phone's file that way too. I'd be cautious about opening that site on a phone browser, it seems to want to run on my computer when I open it.
What's the advantage of this? It could show apps or enable features that someone might like. This file sets all the defaults present OOB or after a factory reset, i.e., bookmarks, what I call sample app shortcuts and widgets on the screens, wallpaper, the 4 stocks in the stocks app, etc., etc., so those could be modified if desired as well. Proceed at own risk!
Clicking more thanks h_m_m! I don't know how long this would have taken without your feedback and input.
Re: [Q] There must be an answer to show apps
That is great news man I'm glad you got sorted and posted your findings here that's really interesting, and good to know
Tapped out from my sexy nexus 7

Categories

Resources