[Q] HOW to save preferences? - Touch Pro, Fuze Android Development

HI!
Since we are changing from version to version because all of these are testing releases, there is any way to save the user preferences to put automaticaly in newer versions? so we dont need to go to the Configs again and put everything like we want.
Thanks!

ZiNoM said:
HI!
Since we are changing from version to version because all of these are testing releases, there is any way to save the user preferences to put automaticaly in newer versions? so we dont need to go to the Configs again and put everything like we want.
Thanks!
Click to expand...
Click to collapse
Hrm... there's a lot of things that could be lumped into 'preferences' - do you mean apps? Their data? Your homescreen? Little configuration settings in the 'Settings' app? Perhaps all of the above?
I believe TitaniumBackup will get your apps&data... I'm not too sure about other prefs tho.
Honestly, if you keep your data.img it should work - but obviously you can't always hang onto the file, and quite often you have to delete it to get rid of oddities in the system.
I hope that helps...

HI!
Thanks for the reply!
What i really want and i think the most simple but important is the system settings, because in every releases they are almost the same, so i think we can import from the older one and it will be more simple to change

Related

Can you join Cab files?

I currently have about 30 programs installed on my mobile. I would like to simplify the installation process of these after a Hardreset. Is it possible to mrge them into one single Cab which will install all of the applications? Or will they then show up as only one item in the software list if I do this?
Firefall! said:
I currently have about 30 programs installed on my mobile. I would like to simplify the installation process of these after a Hardreset. Is it possible to mrge them into one single Cab which will install all of the applications? Or will they then show up as only one item in the software list if I do this?
Click to expand...
Click to collapse
no you can't !
U can use a back up utility like sprite(Free with THD don't know about Xperia) or resco backup. Create a backup after installing all the apps U need and save it as a executable backup or as a back up set on the card. u can copy it in ur desktop also. Now anytime after a hard reset u can install those backed up apps without any other data. of course it may not work if U flash a new ROM etc.
One thing you can try is to look to see how UC works and set your cabs up that way..
You can then run it manually, copy sdconfig to /windows and run it. this way you should be able to manually run UC after installing any rom (even if it doesn't support it such as stock roms).
fards said:
One thing you can try is to look to see how UC works and set your cabs up that way..
You can then run it manually, copy sdconfig to /windows and run it. this way you should be able to manually run UC after installing any rom (even if it doesn't support it such as stock roms).
Click to expand...
Click to collapse
What's UC?
Umm u all mean this --> http://forum.xda-developers.com/showthread.php?t=372309
or this --> http://forum.xda-developers.com/showthread.php?t=366333
or this --> http://forum.xda-developers.com/showthread.php?t=411988
Im not a Cook so i dont really know how to 'cook' that thing to rom/device..
Just my 2cents, im very frustrated with re-installing all my apps everytime i upgrade to a newer version of rom. It's just pain in the ass.. Maybe the cookers can 'kindly' include the baby above in the rom. That's going to save the user alot of trouble..
=_= ~!
dancemacabre said:
Umm u all mean this --> http://forum.xda-developers.com/showthread.php?t=372309
or this --> http://forum.xda-developers.com/showthread.php?t=366333
or this --> http://forum.xda-developers.com/showthread.php?t=411988
Im not a Cook so i dont really know how to 'cook' that thing to rom/device..
Just my 2cents, im very frustrated with re-installing all my apps everytime i upgrade to a newer version of rom. It's just pain in the ass.. Maybe the cookers can 'kindly' include the baby above in the rom. That's going to save the user alot of trouble..
=_= ~!
Click to expand...
Click to collapse
main problem with cooking uc in is that it massively increases the amount of 'bugs' in a rom:
99% of the time they're down to 3rd party software and having stuff installed blindy makes things worse...
if you can get it running manually (after you've tested a new rom for a bit) then why not do that? it'll only take one click then...

[IDEA] View all apps in the Marketplace

So, I have read that it's an issue with all Froyo ROM's on the EVO... You can't see paid/protected apps in the Marketplace; supposedly, the apps not showing are not verified to work on Froyo.
Could someone just patch the build_prop like they did on the Nexus One before Google released the official fix?
N1 Fix Thread for Reference: http://forum.xda-developers.com/showthread.php?t=693102
If anyone wants to tackle it, the dev of the N1 fix explained what needs to be done here: http://forum.xda-developers.com/showthread.php?t=693102
I don't have an EVO, nor am I much of a developer; but I just rooted my friend's EVO and was looking for a fix for him when I realized that the N1 had a very similar issue when it was running leaked versions of Froyo.
Just throwing it out there... I could be way off.
I think this should be easy to do. Theoretically you should be able to take buildprop swticher v0.3.1.zip and replace /buildprop/build.2.1 with the build.prop from stock and /buildprop/build.2.2 with the build.prop from CM6 and then follow the directions from that post.
I'm about to test it out myself and see if it works...
Let me know... If it does, could you post the build.prop files that you used?
EDIT: Awesome to see another SC member!
Okay, first attempt boot looped. I think build.2.1 needs to be a 2.2 build.prop modified to look like 2.1 because the stock 2.1 build.prop won't work with 2.2. Should've looked at that more instead of rushing Going to see if I can find the lines to change real quick, gotta go back to work in a few minutes...
It also cleared my Google Account settings haha... trying a new modification but may not be able to upload anything until tonight!
Thanks for your help... Can you post your build.props before going back to work? If so, I will try to work on this more if you aren't able to get it before going back.
Thanks
Just printed and compared the build.props for the N1 fix and see that there are only 2 lines that were changed. If someone wants to provide me with a 2.1 build.prop and the CM6 build.prop, I might be able to get this working.
Don't bother with it man.
I'm the one posted the Nexus thread. I already tried changing the build.prop fingerprints & it didn't fix the issue.
Only thing keeping me from using CM6
Geniusdog254 said:
Don't bother with it man.
I'm the one posted the Nexus thread. I already tried changing the build.prop fingerprints & it didn't fix the issue.
Only thing keeping me from using CM6
Click to expand...
Click to collapse
I was just about to post saying what I tried didn't work and I was hoping you'd pop in here. I was thinking about digging into it more this weekend but if you haven't been able to get anywhere I doubt I could either.
Well... that blows... Sorry guys
Wish I could've been of more help!
Geniusdog254 said:
Don't bother with it man.
I'm the one posted the Nexus thread. I already tried changing the build.prop fingerprints & it didn't fix the issue.
Only thing keeping me from using CM6
Click to expand...
Click to collapse
After you changed the lines in build.prop did you try reseting Market?
settings > Applications > Manage Applications > ALL > Market > Clear data
Geniusdog... what all does the ro.build.fingerprint line do?
spiicytuna said:
After you changed the lines in build.prop did you try reseting Market?
settings > Applications > Manage Applications > ALL > Market > Clear data
Click to expand...
Click to collapse
Yep. Even tried pushing it while still in recovery, right after wiping and flashing the ROM. Still a no go
Edit: the to.build.fingerprint is the "fingerprint" it shows when it accesses the Market. So its how the Market decides what apps to show, and sees what kind of device it is & its version
Geniusdog254 said:
Yep. Even tried pushing it while still in recovery, right after wiping and flashing the ROM. Still a no go
Edit: the to.build.fingerprint is the "fingerprint" it shows when it accesses the Market. So its how the Market decides what apps to show, and sees what kind of device it is & its version
Click to expand...
Click to collapse
We need a setting like most of the android browsers to allow us to spoof ourselves as stock 2.1 EVO.
Geniusdog254 said:
Yep. Even tried pushing it while still in recovery, right after wiping and flashing the ROM. Still a no go
Edit: the to.build.fingerprint is the "fingerprint" it shows when it accesses the Market. So its how the Market decides what apps to show, and sees what kind of device it is & its version
Click to expand...
Click to collapse
Hmmm...editing fingerprint and description *SHOULD* work but it did not work when I tried adding the fingerprint/description from Avalaunch's Froyo ROM. It seems that Ava's Froyo ROM fixed the missing apps issue. It's so very bizarre that we can't get certain market apps to show on CM6 and drives me crazy. There has to be some type of solution, I'm just not sure what it is yet
ok this is what we did on the Hero when we was with 1.5 and got the leak of 2.1 the market didnt show all the apps so we just change it with the nexus one, so i am guessing maybe we can get a 2.2nexus one build.prop and push it to the Evo, make sure to clear the market chache though , it took like 5-6hours for the apps to start showing up on the Hero!! just an Idea
jabbawalkee said:
Hmmm...editing fingerprint and description *SHOULD* work but it did not work when I tried adding the fingerprint/description from Avalaunch's Froyo ROM. It seems that Ava's Froyo ROM fixed the missing apps issue. It's so very bizarre that we can't get certain market apps to show on CM6 and drives me crazy. There has to be some type of solution, I'm just not sure what it is yet
Click to expand...
Click to collapse
Have you tried just using the whole build.prop from Ava's ROM? Should work ok since they're both 2.2, no idea if it'll fix the issue though.
datajosh said:
Have you tried just using the whole build.prop from Ava's ROM? Should work ok since they're both 2.2, no idea if it'll fix the issue though.
Click to expand...
Click to collapse
bootlooops
Edit: nvm, was incomplete.
Sense build.prop files & AOSP build.prop files don't play nice together. Neither do CDMA files & GSM files.
It takes some changes to get the phone to boot with them, or to get radio access with them.
I've already tried a stock Nexus fingerprint, but it still doesn't give access. Like I said, I even pushed the file before even booting the phone (I.E, wipe, flash CM6, push file in recovery, then reboot) and it still didn't work.
Ava's build prop comes up, but no Market. Something else is going on.
Geniusdog254 said:
Sense build.prop files & AOSP build.prop files don't play nice together. Neither do CDMA files & GSM files.
Click to expand...
Click to collapse
Duh, forgot it was Sense for a minute there. I feel like looking into it more but I'm not sure if anyone's going to find a solution.

New to Froyo and 3 questions!

EDIT: 4questions !
Hi guys. I just installed the 2.2 update via OTA, but now i got "3 little problems". Since i didnt find them via search buttom, i'd like to ask them here.
1.- Most settings are the same as before (2.1), but for example, Google Talk changed my nickname, from my name to my e-mail. I know there was a way to change it, but i dont find the way to...
I know people can change my nickname, so each one sees me with the nickname they want, but the "default one" was my name and now's my e-mail
2.- Facebook events + brithdates. Is there a way to disable them? I got all kind of connections from facebook disabled.. but dont find this new feature so i can disable it.
3.- Flash. I found on market Adobe Flash Player 10.1. Wasn't it supposed to be enabled by default? I mean. Should i install it? Is it better than default? I dont understand anything since i read that 2.2 came with default 10.1... but there's an app, from Adobe.
4.- Is is recommended to do a hard reset after updating? I mean. I got all apps from 2.1 installed. And since I update, none of them were removed, etc. Do I lose some speed or something if i dont hard reset? Maybe Hard Reseting + Reinstalling ALL apps make my device to run EVEN smoother and faster than it does. (It goes faster now than before with 2.1, but maybe...)
See you soon and thanks for all!!!
Bump !!!
1.- Most settings are the same as before (2.1), but for example, Google Talk changed my nickname, from my name to my e-mail. I know there was a way to change it, but i dont find the way to...
Click to expand...
Click to collapse
I actually haven't been able to change it myself.
2.- Facebook events + brithdates. Is there a way to disable them? I got all kind of connections from facebook disabled.. but dont find this new feature so i can disable it.
Click to expand...
Click to collapse
In Calendar hit Menu > More > Calendars and untick it from there.
3.- Flash. I found on market Adobe Flash Player 10.1. Wasn't it supposed to be enabled by default? I mean. Should i install it? Is it better than default? I dont understand anything since i read that 2.2 came with default 10.1... but there's an app, from Adobe.
Click to expand...
Click to collapse
I believe HTC have just included this in their ROM.
4.- Is is recommended to do a hard reset after updating? I mean. I got all apps from 2.1 installed. And since I update, none of them were removed, etc. Do I lose some speed or something if i dont hard reset? Maybe Hard Reseting + Reinstalling ALL apps make my device to run EVEN smoother and faster than it does. (It goes faster now than before with 2.1, but maybe...)
Click to expand...
Click to collapse
I quick off-and-on again or battery pull if it slows down should suffice.
So 2.- Solved 100%
Still need help on:
1.-
3.-
4.-
Since 2 is exactly what we needed and 1,3,4 are things that you believe. Thank you very much !!!
w8ing for more answers
3 - included as default in the official rom
4 - always recommended when installing a new system, if not this could lead to bugs and performance issues. The official froyo is also odexed there's a chance your apps may conflict. if you have the time to hard reset then it's defo recommended.
don't know about the google talk thing though sorry.
regards
3. and 4. answered
1. is still missing
Thank you for your answers ! w8ing for more

[Q] Camera Save To SD

My camera app, keeps asking me to save to sd it happens randomly.
I always save to sd, but after a few days it would ask me again.
I know on older versions the G3 would keep asking me my preferences for default apps, you could try updating if possible. I'm on 5.0.1 version 20F and it doesn't happen anymore.
iDefalt said:
I know on older versions the G3 would keep asking me my preferences for default apps, you could try updating if possible. I'm on 5.0.1 version 20F and it doesn't happen anymore.
Click to expand...
Click to collapse
Thanks for your reply, there is an update however if I update I won't be able to gain root access anymore
Glen L said:
Thanks for your reply, there is an update however if I update I won't be able to gain root access anymore
Click to expand...
Click to collapse
Ah okay, well that's true I guess. You could always dig around and see/ask if there's a way to fix it, someone may have accidentally or intentionally fixed it or patched it in a custom ROM, anything's possible, it seems to be just the phone not remembering on reboot your preferences, which most likely comes down to a single file that has preferences stored somewhere.

[SCRIPT][TWRP] Stock ROM Debloat for KIW-L24, L22, L21 (kiwi)

Disclaimer: I am not responsible for anything that happens as a result of flashing these files. You decided to flash this script.
This script removes a good chunk of the apps installed by Huawei and left over files like a bunch of NFC files.
The full list is as follows:
Air Sharing
Audio Auto Test
Magnifier
Huawei Swype
Huawei Backup
Huawei File manager
Huawei Sound Recorder
Huawei Theme manager
MMI Testing
System Debug
Huawei Floating Tasks
Huawei Floating Mms
Huawei Log collection service
Huawei MMI Test 5
Huawei Weather Clock
Huawei System Manager
Huawei Power Monitor
Period Check
Exchange 2
Email
Print Spooler
AOSP Live Wallpapers
MusicFX
TTS Files
Themes
Delete-able apps
All of the leftover nfc files
All google apps that can be downloaded from the playstore
Google Talkback
If you want to keep something you will need to edit the updater-script everything is labeled well.
Download:
https://goo.gl/q3t4tB​
Reserved
Mine
Dope!!
Nice.
Excellent!!
Worked great! thanks deadman
Maybe it should be mentioned that you need TWRP to flash the zip file. Thanks for the efforts, though. I'm sort of dead in the water until I am able to get my unlock code.
kimtyson said:
Maybe it should be mentioned that you need TWRP to flash the zip file. Thanks for the efforts, though. I'm sort of dead in the water until I am able to get my unlock code.
Click to expand...
Click to collapse
The title of the thread says [Script][TWRP] please read the entire thread before posting.
deadman96385 said:
The title of the thread says [Script][TWRP] please read the entire thread before posting.
Click to expand...
Click to collapse
LOL. Good point. Sorry about that. It just wasn't very obvious. I guess I got excited and jumped in.
So, does this script removes the app that tries to police the background apps from running? I think it was protected apps under settings? If so.. awesome. we wont have to manually add them after install.
Is it possible that if I was on one of the restricted battery profiles when I ran the debloat script that it could have stuck?
When I first got the phone I put it normal mode and found it pretty good. Even running the Google launcher. However, I have now unlocked the bootloader, installed twrp, rooted, installed MOAB ad blocker and debloated the phone feels slow and janky?!? I figured dumping all the bloat would help to speed it up some. Any suggestions or thoughts?
Thanks,
Justin
TNScrambler said:
Is it possible that if I was on one of the restricted battery profiles when I ran the debloat script that it could have stuck?
When I first got the phone I put it normal mode and found it pretty good. Even running the Google launcher. However, I have now unlocked the bootloader, installed twrp, rooted, installed MOAB ad blocker and debloated the phone feels slow and janky?!? I figured dumping all the bloat would help to speed it up some. Any suggestions or thoughts?
Thanks,
Justin
Click to expand...
Click to collapse
Try removing the unnecessary zram operations using the no-swap method at -
http://forum.xda-developers.com/hon...ipt-disable-enable-swap-honor-5x-kiw-t3308321
When you debloated you removed a number of unnecessary processes and now it's trying to use the ram you freed up by keeping more of your apps in memory - with a constant compression/decompression process that adds lag on the 5X (and every other phone I've checked out that uses it).
Huawei - like every other phone maker with a new launch - will also be releasing performance improvements soon. I've tested both of these mods with the update coming next and you'll still want to use them.
The normal power mode ought to be sticking. If the no-swap mod doesn't help then it's probably a good idea to regress back with a nandroid backup, ensure normal mode and then de-bloat and remove swap.
Edit - and be sure to protect all apps in settings so that you get standard Android task management and not EMUI task management.
Is there anyway to selectively re-install some of the apps that it removed? Im curious because I think it some functionality like HwThemeManager_Local removes the ability to change the lock wallpaper. and if any other issues come up that i want to undo. (Can i somehow restore the individual items from a nandroid backup?)
And thanks for providing a nice commented script!
eruji said:
Is there anyway to selectively re-install some of the apps that it removed? Im curious because I think it some functionality like HwThemeManager_Local removes the ability to change the lock wallpaper. and if any other issues come up that i want to undo. (Can i somehow restore the individual items from a nandroid backup?)
And thanks for providing a nice commented script!
Click to expand...
Click to collapse
I don't think that you can do it directly.
Right now, it's restore your nandroid backup, modify the script here and debloat again.
I've started into an Aroma installer for this so you can just select the bloat you don't want. That's on the back burner with no ETA yet.
Meanwhile - if you want to wait until later today or tonight, I'll pull the file you want and you can reinstall it by hand.
If you don't want to wait, copy your nandroid system.ext4 to your pc (if not compressed) and rename it to system.ext4.tar - I believe that 7zip will work to extract it to your pc and you can find the file and put it back from there. (And I'm going by memory here so you'll want to be prepared for hiccups.)
There may be a utility for this - I think there is, but can't remember it.
OK - just checked another option for you -
My system nandroid spans volumes.
Copy system.ext4.win000 to system.ext4. win000.tar on to a large sd card.
Check out "ZArchiver"
https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver
See if you can extract with that, and if you can, repeat for all volumes.
No promises but you'll probably find the attempts very informative.
Thanks for the info. messed around for awhile trying to get something. I found out Titanium Backup has an "extract from Nandroid backup" feature. you select the backup and it lists the apps that you can restore. The only one i found that looked like the theme manger was: com.huawei.android.thememanager i click on that and restore and it takes a long time (which makes me think TiBu is not working right) about 1-2 minutes (but it does eventually say success), reboot and still cant change the lock screen wallpaper. I also copied the system.ex4 files to windows and renamed them tar. extract them with 7zip and it kinda locks up after a bit. it extracts some extension less files. So maybe im missing some additional files, or Tibu is not really doing anything. i tried mounting system as RW just in case. No biggie, i dont think i want to spend much more time on this. Thanks for the info though. Ill take a look again later.
EarlyMon said:
Try removing the unnecessary zram operations using the no-swap method at -
http://forum.xda-developers.com/hon...ipt-disable-enable-swap-honor-5x-kiw-t3308321
When you debloated you removed a number of unnecessary processes and now it's trying to use the ram you freed up by keeping more of your apps in memory - with a constant compression/decompression process that adds lag on the 5X (and every other phone I've checked out that uses it).
Huawei - like every other phone maker with a new launch - will also be releasing performance improvements soon. I've tested both of these mods with the update coming next and you'll still want to use them.
The normal power mode ought to be sticking. If the no-swap mod doesn't help then it's probably a good idea to regress back with a nandroid backup, ensure normal mode and then de-bloat and remove swap.
Edit - and be sure to protect all apps in settings so that you get standard Android task management and not EMUI task management.
Click to expand...
Click to collapse
Ok, so I was going to try and just go back to the fully bloated stock, rooted rom.... however I messed up and somehow didn't do a backup first.... so I have nothing to restore. I tried to download and restore the "full Stock" backup from the other thread, however I'm getting errors for no partitions. I then downloaded the factory firmware from Heuawi, but when it tried to install it seemed to be working, but then booted into TWRP and won't go further. Anyone have suggestions on how I can return this thing to stock?
TNScrambler said:
Ok, so I was going to try and just go back to the fully bloated stock, rooted rom.... however I messed up and somehow didn't do a backup first.... so I have nothing to restore. I tried to download and restore the "full Stock" backup from the other thread, however I'm getting errors for no partitions. I then downloaded the factory firmware from Heuawi, but when it tried to install it seemed to be working, but then booted into TWRP and won't go further. Anyone have suggestions on how I can return this thing to stock?
Click to expand...
Click to collapse
Ok, I was able to get it all sorted out, I just had to calm down, think, and teach myself some new comand line skills hahaha
I downloaded the stock Firmware, however I wasn't able to install it since I had TWRP and it was blocking it.... so I found this tool, Huawei Update Extractor that can be found here: http://forum.xda-developers.com/showthread.php?t=2433454 Then used this Extractor to expand the firmware and extract the stock Recovery.img out of it. Then flashed that to the phone via fastboot. Now, I was able to run the stock firmware update via the factory EMUI update app. Once that was done I was able too boot the phone back up and I was suprised to find that it didn't wipe the phone, I guess it ran it as a true "upgrade" instead of a nuke and pave.... BONUS!
Anyhow, then I was able to flash the new TWRP recovery back in place and now I'm currently creating a backup.... which if I had taken the time to do in the first place none of this would have happend. Oh, well... who needs more than 3 hours of sleep..... its not like I work full time and have 5 kids under 5 :silly:
Hope this helps someone who gets flash happy and forgets to make a back up like I did!
Justin
Does it work with KIW-L21?
LordKelsier said:
Does it work with KIW-L21?
Click to expand...
Click to collapse
It might. Pre-installed apps may vary by region, the Aroma installer (under construction) is intended to be intelligent about that.
Either way, make a nandroid backup before trying to debloat and you won't be stuck if anything goes wrong.
Worked for the most part.
There were some apps left (mostlygames that came preinstalled as well as Shazam and Instagramm)

Categories

Resources