Related
[Edit]
Turned out that the lovely chinese governement somehow got to Android
Anyhow, thanks to Marcus, we have the solution, tested & confirmed working by myself.
Please follow the instructions at that link :
hiapk.com/bbs/thread-278678-1-1.html
Then you'll be happy. If you need more detailed informations, let me know.
I haven't been trying to understand the changes I made. If you somehow feel that it's a problem for you, then leave the phone as is. Also, I guess this will be usable only for rooted phones.
Have fun! And once again, thanks to Marcus.
Romain
[End of edit]
[original post, FYI]
Hey all,
Starting yesterday, I am having this error with the market.
Any app I try to get will give me that error : download was unsuccessful, please try again blah~
Weird thing is that it really happened out of the blue, because it was working fine until yest noon. I am on CM 5.0.7.1-N1, with the radio that came with Froyo. Issue exists with Wi-Fi and 3G.
I tried : reboot (multiple times), newer CM, Nandroid restore to a point when it was working, deleted/recreated APN.
I m too lazzy to try and downgrade the radio, and haven't tried to install Froyo.
Strange thing is : gmail app won't connect, but the email app will work (well, I knew that it isn't an internet access related issue, but still...). If I try and install a ROM from scratch, the initial Google login will fail again and again.
Actually, I have one suspicion. I am in Beijing, on China Unicom. I know that China hasn t been kind on Google lately. Any other user in China experiencing this same issue? Or does this just happen sometimes?
Thanks!
I am in GuangDong, and for the past 2 days similar things just happened to me.
I didn't use the GMail app but now you mentioned it, I tried it and it didn't work. It is stuck with "No connection (Retry)" screen
Using Email and setup a GMail account works fine with me as well.
Hopefully, this is not one of the other 'stunt' of the Great China Firewall.
Argh...
I do believe that we may be f***ed, at least temporarily...
Let s see where it goes, but if you do experience the same troubles, then it might a nation-wide thingy.
Are you on China Unicom, too?
Only time will tell.... But let's hope we won't have to give up on Android in China.
Any other Android friends in China having troubles? I ll update the title of the tread, see if we can catch more people's eyes.
Re: [In China only ?] Market : suddenly, "Download was unsuccessful..."
I'm in Shanghai and can only access market apps and gmail syncing with my vpn.
-------------------------------------
Sent via the XDA Tapatalk App
same here in shanghai
i have htc dseire and now same problem happened in shanghai too .
Solved
Guys there is a fix here: hiapk.com/bbs/thread-278678-1-1.html
Good Luck
Marcus
Hey, good catch!
Will give it a shot, then report back here how it went.
Thanks
[Edit] It works! Follow Marcus link, and you ll get unstuck.
If anybody needs detailed directions, feel free to let me know.
Will edit the title and original post.
Romain
***EDIT
Gmail and the Market work on my US simcard roaming on China Unicom.
I'm in Guangdong; i've also had the same issues with Gmail and the Market at the same time. Both don't work on the network (Unicom) or WiFI connections; I'll have to give that fix a try later, thanks.
Hello!
Can somebody translate the procedure into English?
Thanks!
The procedure is to edit your host file with the information shown.
I m happy to share this, so here is the easy way to do:
1-get the file rootexplorer, which is attached here, if you don't have it.
2- install it, of course If you do not have a file explorer to get to it, then push the file.
3- open it, then find the folder /etc, open it
4- remember to touch the button "Mount R/W" to change the status of the text r/o into r/w right next to the button.
5- find the file called "hosts", and long press it. scroll all the way down to "Open in Text Editor"
6- there is already a line of stuff in there, so just skip a line and type :
209.85.135.100 clients2.google.com1
209.85.135.101 android.l.google.com
209.85.135.100 android.clients.google.com
underneath. I guess the spacing does not really matter, but they have to be each on a different line, as shown here. Also, it is a pain in the ass to type, so make sure there is no typo at first try
7- in options, save&exit (it creates a backup by itself)
8- reboot (not sure if that s necessary)
9- it works
there you go.
Does this fix works with a phone not rooted?
Yoopo said:
Does this fix works with a phone not rooted?
Click to expand...
Click to collapse
Hi, I am guessing that no, it won't, since you need to access root files. I m not sure but seems to make sense to me.
Sorry! Also, this is what is preventing me to go straight away to Samsung i9000, since it isn't rooted yet...
I didn't root my Legend yet and if i do so and the fix doesn't work, I will be stuck with the phone with no app on it.
At least now I have all my apps and only Gmail and the Market don't work.
Any idea from where this issue come from and if it will resolve itself?
It's the end of the chinese holiday... so maybe some hope...
sorry i m naive in the field of this mobile tech world .
i reached to the hosts file through your solution but i can't change read only files to write
this rooting stuff looks too complicated for htc desire .
is there any other way , without roooting my desire
Sorry, mate. I don't own a desire, so I really cannot help with this issue.
True enough, it's only those two apps which will not work, but still a little annoying to have to go and look online for the apps and to download them manually.
Ask on the Desire forum about this
4- remember to touch the button "Mount R/W" to change the status of the text r/o into r/w right next to the button.
In my htc desire i can't get this "mount r/w" is its the functionality of root explorer . because i can't see any option to change from r/o to r/w
Hey, what can i do if my phone isn't rooted?
Same problem as everyone has, apps not installing and no gmail.
I dont get it, why it happened. Stupid Great firewall.
I have froyo 2.2. how can i root it just to change hosts files? dont want any custom roms tho. tnx
Hey everyone, I'm not sure why all of the 3rd party apps on MIUI Revamped are installed as system apps and we can't remove, so I made a little script to remove all those. Here's how:
Download my script attached and remove the .txt ending so it ends in .sh
- Download Gscript Lite from the market.
- Start Gscript, leave it to take Superuser access, and close it
- a new folder called "gscript" was created on your internal sdcard;
- Copy my script in gscript folder on internal sdcard:
/sdcard/gscript
- Start Gscript and then press:
Code:
Menu --> Add script --> Load file
select the script, and check 'Need SU' if not already clicked, then save;
- A new script is added!
- Press on the script you want and it will run thru and remove those apps!
**If you want to customize which apps get removed**
Open the script with a text editor and remove lines from there or add more.
To find the name of the app, you can open the MIUI Revamped ROM download and go into the System/app folder and look at the app names.
HAVE FUN!!!
I appreciate your effort but sounds like using adb or rootexplorer would be easier. If this causes problems with my rom it will be removed. Download revamped for what it is.if you don't like what's in revamped then run stock. You really should have asked before having peopl altering my rom. If you uaw this and encounter problems DO NOT REPORT IN ReVaMpED thread.
nickmcminn60 said:
I appreciate your effort but sounds like using adb or rootexplorer would be easier. If this causes problems with my rom it will be removed. Download revamped for what it is.if you don't like what's in revamped then run stock. You really should have asked before having peopl altering my rom. If you uaw this and encounter problems DO NOT REPORT IN ReVaMpED thread.
Click to expand...
Click to collapse
You are entirely too offended by this. We all use your rom because we love how it runs, but all the live wallpapers and extra apps, A LOT of people don't use. And until now I have been removing them via adb or other root uninstallers. It takes too long since you update your rom every friday. Quick question, why put all these 3rd party apps in the system/app folder? You completely missed the point of my post. It could very well have something to do with how you build your rom, I don't know I'm not a developer. Again, I'm not sure why you are so offended. If I was tweaking the hell out of your rom or something I could understand but its just removing some apps. Why the hostility?
lupascu.marius said:
You are entirely too offended by this. We all use your rom because we love how it runs, but all the live wallpapers and extra apps, A LOT of people don't use. And until now I have been removing them via adb or other root uninstallers. It takes too long since you update your rom every friday. Quick question, why put all these 3rd party apps in the system/app folder? You completely missed the point of my post. It could very well have something to do with how you build your rom, I don't know I'm not a developer. Again, I'm not sure why you are so offended. If I was tweaking the hell out of your rom or something I could understand but its just removing some apps. Why the hostility?
Click to expand...
Click to collapse
Because sir for you never asked us to make these mods. Second there's no hostility just speak the truth. There are proper ways to go about things and this sir isn't. I am standing 100% behind my partner, except he doesn't want this take down and i do. All this does is cause problems and confusions. IF YOU USE THIS TO ALTAR OUR ROM, PLEASE DON'T REPORT BUG'S.
once again no personal attack just there is a proper way of doing things thank you.
Thread in hiatus while we investigate...
Regards,
M_T_M
@OP...I will contact you via PM soon.
There's been a lot of speculation on what can and can't be removed as well as how to remove them without causing force-closes, boot loops, and other headaches. So I wrote this script that will let you disable all of the bloat with none of the hassle.
After a few prompts to find out if there's anything you want to keep that can't be replaced in the market, it will do its magic -- renaming files to a .bak extension so they are no longer recognized by Android. This will cause some system services to fail and force-close loop until you reboot (and the script reboots for you). Also included is a script that will undo all of this.
If you select every option, including the default launcher and text messaging apps (which are confirmed safe to remove without losing SMS or MMS ability or push notifications), then here's the list of apps removed:
AdService.apk, android-syncservice-app.apk, ArcVideoEditorLite.apk, BackupAssistanceClient.apk, Blockbuster.apk, BlurHome2.apk, BlurSNMessagingEngine.apk, BlurTasks.apk, BlurUpdater_VZW.apk, BooksPhone.apk, CitrixReceiver.apk, CityID.apk, Conversations.apk, DLNA.apk, DlnaSystemService.apk, FriendFeed.apk, gotomeeting-stub-1.0.74.apk, GuidedTours.apk, HelpCenter.apk, IMPresence.apk, IndexingService.apk, Kindle.apk, MessagesWidget.apk, Messaging.apk, MOTOPRINT.apk, MSExchangeService.apk, MyVerizon.apk, NewBayVault_4.2.99.36.Market.apk, NFLMobile.apk, OnlineAlbum.apk, PhotoEditor.apk, PortalStandAlone.apk, Preloaded.apk, RichLocationVzW.apk, SkypeBourbon.apk, Slackerradio.apk, SocialMessaging.apk, SocialShare.apk, StatusWidget.apk, SuggestionsProvider.apk, SuggestionsRuleCheckerCore.apk, SuggestionsServiceScheduler.apk, Swype.apk, ToggleWidgets.apk, UniversalInbox.apk, Upgrader.apk, VCAST_TONES_4_5_7.apk, VCASTMusic.apk, VCASTVideo.apk, VSuiteApp.apk, vzw_vnav_DROID3_rel_PROD_signed.apk, VZWIM.apk, VZWInstaller.apk, WeatherWidget.apk, ZumoCast_1.0.17.apk
Make sure you run these scripts using Script Manager or a comparable app and be sure to enable it to run as root or it won't have permission to make changes to /system/app.
This is version 1 of the scripts -- if any of the apps removed wind up causing problems or more are found, I'll add it to the list. I've tested the scripts back and forth myself and have tested it as much as I can without finding any issues. Also, some apps are removed without asking, such as ZumoCast or VCAST or NFL Mobile. You can find these apps in the market, so there's no point keeping them locked down in system.
Enjoy! Comments are welcome.
UPDATE 9/1/2011: fixed a typo in one of the variables (thanks everyone who reported this), added more options to keep (Swype and Car Dock Voice Commands), split into two versions -- one for the stock 5.5.959 build and 5.6.890 update (late August OTA), added a warning about removing the home screen without a launcher and that it removes the Calendar widget.
Great, but maybe it would be nice to make a y/n option for each .apk where it asks you if you want to delete that apk
script
instructions for use?
thanks
DoubleYouPee said:
Great, but maybe it would be nice to make a y/n option for each .apk where it asks you if you want to delete that apk
Click to expand...
Click to collapse
You shouldn't delete them -- we don't have an SPF yet. Someone posted the complete /system/app contents and you could restore, technically, manually, but it's a bad idea. Renaming to a .bak is completely effective.
lodisax said:
instructions for use?
Click to expand...
Click to collapse
Read the post.
You'll want to use Script Manager -- unzip the two scripts to your SD card (internal or external), launch Script Manager (free version is fine), find the script and click it, then tick on 'root' and then run the script. Follow the prompts from there.
script
thanks for the answer
psouza4 said:
You shouldn't delete them -- we don't have an SPF yet. Someone posted the complete /system/app contents and you could restore, technically, manually, but it's a bad idea. Renaming to a .bak is completely effective.
Click to expand...
Click to collapse
Yeh sorry that's what I meant.. Option to y/n rename the apk.
I'd like to use the script once I get my droid 3 but would like to 'keep' some of the apks.
DoubleYouPee said:
Yeh sorry that's what I meant.. Option to y/n rename the apk.
I'd like to use the script once I get my droid 3 but would like to 'keep' some of the apks.
Click to expand...
Click to collapse
There's Y/N for anything you'd want to keep. About 6-7 questions in total. Anything that you can't find in the market that isn't definitely bloat has a prompt.
script
script manager that you use?
I use script manager and asked me if I want to remove each apk or not.
There is a script manager that does everything automatically?
thanks for the answer
lodisax said:
script manager that you use?
I use script manager and asked me if I want to remove each apk or not.
There is a script manager that does everything automatically?
thanks for the answer
Click to expand...
Click to collapse
Please read the thread thoroughly -- I'm going to ignore obvious questions like these.
psouza4 said:
There's Y/N for anything you'd want to keep. About 6-7 questions in total. Anything that you can't find in the market that isn't definitely bloat has a prompt.
Click to expand...
Click to collapse
So what if I wanna keep DLNA, photoeditor and socialmessaging?
DoubleYouPee said:
So what if I wanna keep DLNA, photoeditor and socialmessaging?
Click to expand...
Click to collapse
Then answer 'Y' to the prompts asking if you want to keep 'DLNA' or 'social messaging'. There are plenty of photo editors in the market, so there's no prompt on that (although if you were so inclined, you could just rename the .BAK's back to their original files). I feel you haven't actually looked at the script or read my post.
psouza4 said:
I've tested the scripts back and forth myself and have tested it as much as I can without finding any issues. Also, some apps are removed without asking, such as ZumoCast or VCAST or NFL Mobile.
Click to expand...
Click to collapse
I think the ultimate test is to do factory reset and see how device will go through initialization stage. It can be surprises which are not noticeable during normal use. Without this it is kind of premature to say what is safe to delete and what is not.
serg675 said:
I think the ultimate test is to do factory reset and see how device will go through initialization stage. It can be surprises which are not noticeable during normal use. Without this it is kind of premature to say what is safe to delete and what is not.
Click to expand...
Click to collapse
Ehh I agree with you to a point, because i made the very noobish mistake of uninstalling bloat that i knew would not effect daily use; however, I did a factory reset to test a theory for krazy and learned that something I uninstalled makes the setup process FC and wont let you get to the blur launcher, luckily other launchers work and I was able to batch install via adb.
Thing is though is if the phone reboots when this stuff is renamed then it will survive a factory reset, though it may do the same thing mine has done. If it does its no big deal to load up adb and rename the files back so that you can complete the setup.
You forgot the World Clock widget in your removal script; the only clock that thinks it needs a permanently-resident service, regardless of whether it's running or not.
Xenoproctologist said:
You forgot the World Clock widget in your removal script; the only clock that thinks it needs a permanently-resident service, regardless of whether it's running or not.
Click to expand...
Click to collapse
That messes with the dock though, so I don't consider it bloat.
I know its a lot to ask... but can someone either create a comprehensive list of what each one actually does... or point us in a direction to where there already is one?
Sent from my DROID3 using Tapatalk
Seirÿu said:
I know its a lot to ask... but can someone either create a comprehensive list of what each one actually does... or point us in a direction to where there already is one?
Click to expand...
Click to collapse
Open the script in a text editor and read my comments -- it gives each one a title.
@psouza4 - nice work, it's about time someone took a more organised approach to figuring out what apks are safe to remove.
I tried to get a similar effort going here :-
http://forum.xda-developers.com/showpost.php?p=17004394&postcount=11
but the way people behave on this forum, it's like trying to herd cats.
thingonaspring said:
@psouza4 - nice work, it's about time someone took a more organised approach to figuring out what apks are safe to remove.
I tried to get a similar effort going here :-
http://forum.xda-developers.com/showpost.php?p=17004394&postcount=11
but the way people behave on this forum, it's like trying to herd cats.
Click to expand...
Click to collapse
Thanks!
Couple of notes, too:
It was asked in IRC why I'm removing 'android-syncservice-app.apk'. This service is the extra backup stuff that Verizon added on (as evidenced inside the package in /assets/system.properties you'll find several references to verizon servers for sync, like sm_connection_url=http://syncba.myvzw.com/syncml). This service doesn't do anything beneficial for you unless you really have a hard-on for Verizon's sync stuff. I've had it disabled since we achieved root and it has no affect on account sync services (contacts, gmail, calendar, reader, etc.) nor SMS/MMS push notifications, etc.
Also, a fellow PM'd me saying he got errors that variable names were invalid -- turns out he had edited the script in Windows, saved it, and that broke the UNIX-style line endings. If you're going to modify the script, use Notepad++, UltraEdit, or something that will maintain the correct line endings. Or just use an editor on the phone, such as in Root Explorer.
Thanks a bunch man, works great. About to run a benchmark to see the results!
Hello,
I'm a beginner lost in reading all the useful information on this forum.
I started with the idea to reduce the permissions of applications of my Razr I.
Google pointed to this http://www.xda-developers.com/protecting-your-privacy-app-ops-privacy-guard-and-xprivacy/
And I'm really happy and surprised about all information I can find here, thank you that much for
making this possible to all of you!
As today I feel ready to start playing around with my phone I wanted to ensure I understood the items right.
May be for you it takes only some seconds to verify my guess and can give a short notice
about Step 2 or 3 is easier to become implemented.
Step 1.) I wanted to do a full backup before I start, following this thread:
So I'll install ADB on my PC and run "adb backup -f FullBackup.ab -apk -all"
This works on a Razr I with 990.43.74.xt890.Retail.en.EU - of the shelf and is not risky at all - or?
Could you pls. tell whether it is really true I can switch back to my backup if I'm not happy with my System?
Step 2.) My first intention was to root my device and install Xposed framework
http://forum.xda-developers.com/showthread.php?t=2299428
http://repo.xposed.info/module/de.robv.android.xposed.installer
And to use Permission Master out from google play store
First of all I wanted to ask you whether this is feasible technicaly and esp. for a beginner?
Alternative to Step 2 Step 3?
Step 3.) In general I'm happy with my Razr I Android 4.4.2 (990.43.74.xt890.Retail.en.EU)
But I'm wondering whether it would be easier or has less risk to use a custom ROM instead of implementing Step 2.
By reading in this forum I found out there is a planty of features FM-Radio, enhanced stand-by current ,
to get rid of preinstalled aps and so on.
I'm an embedded developer but do not have the overview about the architecture of Android devices, what I got so far is:
There is a bootloader which needs to be changed from OEM closed to open.
There is a boot partition I flash ROMs in.
I need some tools on my PC combined with SDK and Motorola drivers to allow a USB-Debuging and flashing.
And sure as always once your bootloader is damaged you are lost, so I understand even backup will not help here.
So I'll keep my fingers crossed.
Thanking you in anticipation and pls accept my excuses about my english and stupid beginners questions.
Best Regards
gonso
PS:
As I main entry point I used the
http://forum.xda-developers.com/razr-i/general/index-razr-t2832722
from there I'll try to get ADB, drivers etc.
Hi GonsoXDA,
Step 1: I have never used it. Didn't even know that it existed. On the internet there are numerous people who uses it and it seems to work. Maybe someone else can give some info about this or just try it. U can try it with a non-important app and see if it works. Just backup it, delete it and restore it.
Step 2: This works just fine. But do know 3 things:
1. First root: To get root on stock rom, u need to use kingsdroot methode afaik. And that one sends your IMEI to some rare ip adress. I personnaly don't trust this and stay away from it, but there are many people who use it.
2. Xposed requires a recovery to install the framework. It can be done mannually or by the app i suppose. With only root u don't have a recovery on your device that can perform such action.
3. If something goes wrong only a full restore with RSD-Lite can most of the time help u out. Because u don't have a recovery that works than.
Step 3: We only have 2 full roms. 1 for JB (stock) and a working CM11 rom (kitkat).
Only the Jellybean roms support fm-radio, on every newer rom fm-radio is cut out of the audio firmwares. The risk of going to this is even less as Step 2, because u can do a full backup and restore of ur phone. ( I would chose for this if u want to play a bit with the phone and ur warranty is already out of years)
The gereneral idea about the android architecture is this (it is different for almost every device and the Razr I has many more thing to hold into account, but if u are here only for the roms and xposed, there is no more to know):
Bootloader: Is like an uefi bios for PC, but then for android. It also contains fastboot
Bootimage(boot): Has all the info like kernel and ramdisk to boot the system
Recovery: Is like 'boot', but boots into the recovery partition that lets u change every aspect of the device if u know how. Its mainly used to flash a custom recovery to, backup and restore a nandroid backup and flash/wipe roms, mods, (all/specific) data and packages.
Systempartition: Is the system the boot boots into. It's android.
Datapartition: Where all the user data is stored.
Cachepartition(dalvik): Where all cache is stored and in earlier android versions also dalvik. But not now anymore.
Fastboot: To flash/wipe the above partitions and many more (needs drivers)
Adb: To push, pull, command things in system or recovery (needs drivers)
Sdk: contain the abd and fastboot packages, but aren't needed for adb and fastboot because with the right drivers can work on there own (see the internet)
If u have a custom recovery and only change things on the system, data and cache partition there is almost no way to damage the phone. There is always a backup through recovery. As long as u stick to the things u can do in recovery.
The only thing tha can mesh up your phone beyond repair is doing wrong stuff withint the bootloader and other inner parts in the phone(like i did to get newer kernel working) or u are in bad luck and you internal memory blocks. See 'Super brick samsung phones' (emmc error).
I suggest:
- Unlock your bootloader
- Install custom recovery
- Make a backup with the recovery
- Do what u want, xposed on stock rom, try CM11?
- If things won't boot, restore through recovery
And always, read up before doing anything. There are thousands of articles about android, flashing things, repairing android, using adb and fastboot. AND ALWAYS HAVE A BACKUP PLAN!
Hello,
always having a backup seems not to be that easy.
So I unlocked my boot loader and tried to install twrp2850 and twrp2860 via mfastboot.
The mfastboot with 533.353kB caused the following "(bootloader) Variable not supported!"
I rebooted into bootloader and tried recovery -> horizontal Android man with a red !-rectangle
After reboot to normal power up my phone seems to be in factory reset, all my data is gone :crying:
ok crying dosn't help so I looked around and tried with another mfastboot 186.178kB and recoverycwm6.0.5.1.4.img.zip
http://forum.xda-developers.com/showthread.php?t=2441224
The twrp I tooked from here: http://forum.xda-developers.com/showthread.php?t=2278483 seems not to work.
I did a backup with cwm is there a change to get back my data? I think I know the answer.
In the meanwhile I installed
http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855
And will try to install
http://forum.xda-developers.com/xposed/modules/tool-installer-xposed-installer-zenfones-t2983589
Thank you for the help, work and excuse the stupid beginner posts.
Regards
gonso
gonsoXDA said:
Hello,
always having a backup seems not to be that easy.
So I unlocked my boot loader and tried to install twrp2850 and twrp2860 via mfastboot.
The mfastboot with 533.353kB caused the following "(bootloader) Variable not supported!"
I rebooted into bootloader and tried recovery -> horizontal Android man with a red !-rectangle
After reboot to normal power up my phone seems to be in factory reset, all my data is gone :crying:
ok crying dosn't help so I looked around and tried with another mfastboot 186.178kB and recoverycwm6.0.5.1.4.img.zip
http://forum.xda-developers.com/showthread.php?t=2441224
The twrp I tooked from here: http://forum.xda-developers.com/showthread.php?t=2278483 seems not to work.
I did a backup with cwm is there a change to get back my data? I think I know the answer.
In the meanwhile I installed
http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855
And will try to install
http://forum.xda-developers.com/xposed/modules/tool-installer-xposed-installer-zenfones-t2983589
Thank you for the help, work and excuse the stupid beginner posts.
Regards
gonso
Click to expand...
Click to collapse
Than u know the answer, it is no I think.
Both twrp images should work just fine, but always chose the latest. The message "(bootloader) Variable not supported!" doesn't do anything So don't worry about that one. There should be a lot more in you log that the message if twrp didn't install. U did extract it and flash it with the command: mFastboot flash recovery <recovery-image>. Where <recovery-image> could be C:/users/*/Downloads/recovery.img.
Hello,
yes sure "The secret of health for both mind and body is not to mourn for the past, worry about the future"
So I use CM11 now for about 2 days and I'm really impressed, so far everything works :good: THANK YOU!!!
As I asked already I installed XPosed and Permission Manager, but I found XPrivacy might be the better solution and switched to this.
(Today I do not have all the technical background to judge whether it is technically equivalent, but I'll investigate on it)
Esp. one thing I'm wondering, why XPrivacy is reading my Contacts once I check the permissions of an app?
But the more important thing I recognized differences between CM11 and the Stock ROM. One is the Entry
"Privacy" in the settings. It seems to be more or less the XPosed and XPrivacy, or?
But it seems the Restrictions are not shared, so I can restrict in the one and do not see the restriction in the other tool.
So first is there a risk to use both, is it useful or just doing the same twice.
Thank you
Gonso
gonsoXDA said:
Hello,
yes sure "The secret of health for both mind and body is not to mourn for the past, worry about the future"
So I use CM11 now for about 2 days and I'm really impressed, so far everything works :good: THANK YOU!!!
As I asked already I installed XPosed and Permission Manager, but I found XPrivacy might be the better solution and switched to this.
(Today I do not have all the technical background to judge whether it is technically equivalent, but I'll investigate on it)
Esp. one thing I'm wondering, why XPrivacy is reading my Contacts once I check the permissions of an app?
But the more important thing I recognized differences between CM11 and the Stock ROM. One is the Entry
"Privacy" in the settings. It seems to be more or less the XPosed and XPrivacy, or?
But it seems the Restrictions are not shared, so I can restrict in the one and do not see the restriction in the other tool.
So first is there a risk to use both, is it useful or just doing the same twice.
Thank you
Gonso
Click to expand...
Click to collapse
That's a sentence.
Why XPrivacy needs it i don't have a clue. For that sort of things u need to be by the dev of the app.
CM has a lot of features out of the box compared to stock, but stock is most of the time a bit more optimized in terms of proprietary stuff like camera.
So as u noticed, CM had an inbuilt security app. This app (CM) and XPrivacy don't share there settings, so that's the difference u see. But most likely if u disable something in one of the apps it is disabled even tho the other doesn't say it because it doesn't know of it.
I don't think it will be a risk. They both do the same thing, but they don't know about it. To be on the safe side, just use one and restore the other to default. U can always search on the web if they don't get along.
U can now make a full backup, so everything can be reverted and your data should be relative safe.
Hello,
thank you again - I now find the answer by reading in the development part of the forum. For me as a beginner it is sometimes not easy to interpret the discussions there.
If accepted I will use the thread now as a kind of diary, may be some other users will have similar destinations and my learn from my mistakes.
So to answer my question a little more detailed, but with less background know how than Hazou. Pls. do not trust me I'm a beginner, I have not analyzed the code just the behavior - feel free to correct or contradict my words!
The XPosed is in the area of permissions just a framework which allow other modules to put some code between an app requesting permissions and the Android core granting this permissions. The Xposed it self doesn't handle settings or permissions you did in modules like the CM Privacy, Permission Manager or XPrivacy.
As a result I came to the same conclusion it is not a risk, but an overhead to have more than one pice of code between the app requesting permissions and the Android core. -> My proposal: Do not use more than one of this Permission control apps in parallel.
From the privacy perspective the Permission is just a starting point, it allows you to hide your private information from the app. On the other side many apps will need access to the data to work and most of them are able to connect to the internet.
So I realized the next step would be the restriction of internet usage of apps. Here permissions are sword but we need a scalpel, to separate the necessary from the unwanted connections. This scalpel could be AFWall+ and "Netzwerk Log", this is a firewall and a sniffer.
What I can say to day the apps run on CM11 installed on my Razr I.
So it looks like I see my destination raising on the horizon and I will try to formulate it in the following order:
1.) Hide Contacts, Calls and SMS from Apps who do not need this to work -> XPrivacy
2.) Disable some Android features I think I don't need.
(e.g. Captive Portal Check - settings put global captive_portal_detection_enabled 0)
3.) Restrict the internet access of some apps to servers they need to connect. ( e.g. E-Mail client is restricted to connect to the mail server)
4.) Limit the access to my pictures, stored on SD card. [I have not found a solution so far]
If you read this I think 1 is reasonable for most of you, even if you do not have deep Android or Network know how (as I have), you just restrict the permissions - if app crashes or doesn't do the job you expect you may permit access or uninstall the app. (XPrivacy allows you also to fake data)
3 is a usual task of a network administrator, if you are used with iptables it is just work. I'll try to find out whether there is somewhere a source of "Templates". Usually the network admins share there common settings based on services, once I find out I'll post.
To restrict the access to SD Card I only see the change to extend the sandbox of Android to the SD and to hide files which does not belong to the app. As I would store my pictures on SD as I would store my Navi Data, but neither the Navi app should see my pictures nor the Cam and Gallery my Navi Data. ...
I don't know whether there is an app out there but It should be possible the same way like XPrivacy fakes the other data.
Thank you
Gonso
Hello,
Most of the time I used the numbers to just put in the extension, so if I want to call 0049 9876 54 321 I put the numbers 321 the Motorola dialer will show a list of all contacts where the number contains 321.
Some Numbers of contacts are not shown as well, seems if a contact has more numbers only one or two are shown.
The CM11 dialer doesn't show the number, is there a setting to get this feature?
I tried to get my Stock dialer back, so I copied dialer.apk from stock into the /system/sec-app/ directory of the CM11 and restarted the phone -> doesn't change the dialer ....
Any proposals? I'm terrible sorry for my stupid questions, I read several threads and still no idea about a possible solution
Gonso
PS: CM11 file manager shows a secure storage /storage/emulated/0/storage/secure - what is the algorithm used for the encryption.
gonsoXDA said:
Hello,
Most of the time I used the numbers to just put in the extension, so if I want to call 0049 9876 54 321 I put the numbers 321 the Motorola dialer will show a list of all contacts where the number contains 321.
Some Numbers of contacts are not shown as well, seems if a contact has more numbers only one or two are shown.
The CM11 dialer doesn't show the number, is there a setting to get this feature?
I tried to get my Stock dialer back, so I copied dialer.apk from stock into the /system/sec-app/ directory of the CM11 and restarted the phone -> doesn't change the dialer ....
Any proposals? I'm terrible sorry for my stupid questions, I read several threads and still no idea about a possible solution
Gonso
PS: CM11 file manager shows a secure storage /storage/emulated/0/storage/secure - what is the algorithm used for the encryption.
Click to expand...
Click to collapse
Stock CM dialer doesn't have that function afaik. The moto one doesn't work because it needs the Moto framework to work. Just download a dialer U trust from the playstore.
I don't have any clue about the secure storage, sorry.
I have just acquired a Samsung Galaxy A40 phone. In my opinion, it has one of the best size/price/performance ratios on the market, reason why I bough it.
However, one very sad point about it is that there is still no LineageOS or any other custom ROMs to this phone, forcing myself to stick to the Samsung ultra-bloated distribution.
Having to accept this fact, my first action was to clean the phone the best I could, by removing any unnecessary crap from Sansumg and others from Google, Linkedin, Facebook and anything not strictly necessary. I based my list on some available (find ref on the script), but I also added some other useful commands.
Let me know if this works out for you, and if you have any point to add to the list. Find it attached on the Gist below:
https://gist.github.com/joaofl/7671e7e96a760e9b368992d6694a33d9
Before running it, I recommend reading the comments on the scrip, so that you dont end up without keyboard for example.
Hope it suites you!
By the way, do you have any information on when or if there is anybody working on a custom ROM (Lineage preferably) for this device?
EDIT:
There is no need to be root!
Disabling Galaxy A40 bloatware
joaofl said:
...clean the phone the best I could, by removing any unnecessary crap from Sansumg and others...
Click to expand...
Click to collapse
Instead of removing system apps you can simply disable them which is easily reversible.
If the Disable button is grayed-out in the Settings > App > app's info see this XDA article: How to disable any pre-installed system app bloatware on Android without root using adb
***
joaofl said:
I have just acquired a Samsung Galaxy A40 phone. In my opinion, it has one of the best size/price/performance ratios on the market, reason why I bough it.
However, one very sad point about it is that there is still no LineageOS or any other custom ROMs to this phone, forcing myself to stick to the Samsung ultra-bloated distribution.
Having to accept this fact, my first action was to clean the phone the best I could, by removing any unnecessary crap from Sansumg and others from Google, Linkedin, Facebook and anything not strictly necessary. I based my list on some available (find ref on the script), but I also added some other useful commands.
Let me know if this works out for you, and if you have any point to add to the list. Find it attached on the Gist below:
https://gist.github.com/joaofl/7671e7e96a760e9b368992d6694a33d9
Before running it, I recommend reading the comments on the scrip, so that you dont end up without keyboard for example.
Hope it suites you!
By the way, do you have any information on when or if there is anybody working on a custom ROM (Lineage preferably) for this device?
Click to expand...
Click to collapse
I need root permissions to do this
But will this run without rooting the phone?
EDIT: It works!
Beautiful.
I'm new with Galaxy A40, i'm really not a fan of Samsung but it was great to have the idea of making a phone lower than 15cm that is my need for lot of reasons.
I was just preparing to remove some system apps like bixby and samsung launcher, than i found out this script but... may you please give a description of most incomprehensible apps in the list?
Instructions
A big thanks to joaofl for getting this list together for us!!!
Here's some info that might help others...
- This article has info (it's further down in the page) on how to use the script (you copy and paste it into Windows command promt/cmd as admin and after installing ADB... link in the article below).
https://piunikaweb.com/2019/03/25/samsung-galaxy-s10-remove-bundled-bloatwares-without-root/
- There's a typo in the script... Lines 84 onwards on the code has a typo where it says 'pm' rather than 'adb'. Changing that before you paste it into cmd fixes it.
Charlie Cooper said:
A big thanks to joaofl for getting this list together for us!!!
Here's some info that might help others...
- This article has info (it's further down in the page) on how to use the script (you copy and paste it into Windows command promt/cmd as admin and after installing ADB... link in the article below).
https://piunikaweb.com/2019/03/25/samsung-galaxy-s10-remove-bundled-bloatwares-without-root/
- There's a typo in the script... Lines 84 onwards on the code has a typo where it says 'pm' rather than 'adb'. Changing that before you paste it into cmd fixes it.
Click to expand...
Click to collapse
Indeed, there were some errors there. I updated the script now, and it should work better now.
and NO, you dont need to be root to run it.
I prefer to remove stuff instead of disabling it, as it free up some space. Worst case, you need to restore the phone.
Yesterday I disabled a lot of unnecessary apps on my Galaxy A40. At a certain point the device was locked an a message said something about "not authorised removal of billing/paying apps". I had to do a hard recovery because I could not enable any of the apps. In fact I could do nothing with the phone
I mention this because on all the lists I found on the internet the billing/paying apps are listed as bloatware/unnecessary which was not true in my case. My A40 is customised by hutchison (drei) maybe this has something to do with it.
edit: the package name which is locking the phone is
com.samsung.android.kgclient
HTH and have a nice day!
Does anyone know if a factory reset from Settings will restore all the apps removed via this process?
EDIT: It does.
Can you say which apps cannot be removed OR disabled?
Weasler said:
Can you say which apps cannot be removed OR disabled?
Click to expand...
Click to collapse
Do not remove Samsung Payment Services (using root), if you do you will get a locked/unusable device, it will show 'Device locked because Payment services was uninstalled without authorization' and reflash will be needed.
Tony il Capo said:
Do not remove Samsung Payment Services (using root), if you do you will get a locked/unusable device, it will show 'Device locked because Payment services was uninstalled without authorization' and reflash will be needed.
Click to expand...
Click to collapse
Thanks, I'll just stick to disabling apps until I get to know this phone a bit better! The battery monitor doesn't say I have anything chewing up CPU and I'm only losing a few % overnight on idle (even with LED notification fix) so I must have optimized a good bit already.
hello,
good idea !!
i have done the same with luckypatcher (need root)
i forgot this way.... easy with adb
thank you.
Hi, just uninstalled apps using ADB and the script from Page 1. All is fine, even though I forgot to install G-board beforehands, I just sent it from laptop to install on A 40 afterwards.
Amazing job. phone feels lighter and smooth now.
Thank you !!! @joaofl @curiousrom and @costa11
I want remove all samsung on my new galaxy A40, but:
I need to be root.???
I can backup first my original firmware??? And then if there are problems restore this backup??
I need simple use to consume los battery.
Thanks
ruloes said:
I want remove all samsung on my new galaxy A40, but:
I need to be root.???
I can backup first my original firmware??? And then if there are problems restore this backup??
I need simple use to consume los battery.
Thanks
Click to expand...
Click to collapse
Adb doesn't need to be Rooted to be used
Just activate USB debugging(see tutorial about développer mode), and use cmd from your PC (and have adb.exe in a directory for sure)
Pay attention that the phone will Ask you to confirm the authentication as soon as you set "adb start-server"
For the backup, you have already asked it in another thread in which i answered you.
Envoyé de mon SM-A405FN en utilisant Tapatalk
I don’t understand the backup thread, where?
I did it with adb but now.... what else
ruloes said:
I don’t understand the backup thread, where?
I did it with adb but now.... what else
Click to expand...
Click to collapse
I just recover all my files from another Samsung Galaxy to new A40 with own Samsung account backup . There is also Google backup but it is not complete . Samsung backup satisfied me a lot . Just register , sign in Samsung account and from phone settings click on backup .
No need root , of course .
Regarding removing bloatware there are plenty of tutorials on this subject . Just look for it . It's all about adb shell cmd and activate debugging mode from phone . You need also an apk inspector from Google Play to know for sure name of apk you want to uninstall . Don't touch system apks , lists with bloatwares can be uninstalled you can find here on xda (galaxy phones) .
Personally I remarked besides their importance , apks like Calendar and Google Search eat a lot battery . I don't need these apks so I got rid of those and another and I can say battery was semnifically improved . I use also dark mode (from usb debugging) , native digital wellbeing for nights and all-in-one tools apk for some special android characteristics like boost , boot , clean etc
It's important to mention all apks uninstalled still remained in android backup image so they can be restored from phone factory reset .
Succes !
I clean my A40 from the bloatware with the script and I lost the recents app screen of One UI.
Now my recent list is the stock of Android 9. Moreover I totally lost the recents screen when navbar is in gesture mode.
Someone can help me to understand which apk are related with my issue?
Script:
https://gist.github.com/joaofl/7671...33d9#file-clean-samsung-galaxy-a40-bloatwares
Thank you for the efforts. I am a new buyer of A40 and I hope the community grow up!
mrmysterious said:
I clean my A40 from the bloatware with the script and I lost the recents app screen of One UI.
Now my recent list is the stock of Android 9. Moreover I totally lost the recents screen when navbar is in gesture mode.
Someone can help me to understand which apk are related with my issue?
Script:
https://gist.github.com/joaofl/7671...33d9#file-clean-samsung-galaxy-a40-bloatwares
Thank you for the efforts. I am a new buyer of A40 and I hope the community grow up!
Click to expand...
Click to collapse
I suggest factory reset then remove again certain bloatware . Don't touch system apks . Also try to backup your system to Samsung Cloud .