[Q] Android - Custom "Market" app vs Unknown Sources DISABLED - General Questions and Answers

Hi All!
Let's say I would like ( or rather I'm forced to ) build a customized Android ROM. Among all related things that are well described there is a one "black hole" to me..
I need to replace Android Market with a custom market application and block unknown sources setting ( to always disabled ). Root access must also be disabled.
For me it seems that not having root access along with Unknown Sources disabled excludes writing a custom market application, because as far as i know custom market app will need to invoke Package Installer.
Did anyone came across such problem ?
For now i only need to estimate the complexity of this task so i would appreciate ANY clues on this one..
regards

Also interested in the solution, have a similar problem.

First, you should leave Unknown sources always on enabled. If you're worried that you might suck in a malware app, install an antivirus.
Second, I installed several custom ROMs so far, and the only problem I noticed with market is that it does not show the phone model (GT-i5800) anymore, but just "phone". Other than that, apps install fine, payed apps can be purchased and this is the stock Vending.apk, not modded.
Third, don't even consider not rooting your phone if you make a custom ROM (even this sentence is a contradicition...), coz if you don't have root, you can't dump the factoryfs.rfs, making it impossible to create a Custom ROM in layman's terms...
Got any questions, just ask!

Related

Barclays Mobile Banking root detection

I have been looking at the Barclays apps for a while (on and off). I wanted to get them working on my handset, an Atrix with CM7, and my tablet, a Momo9 clone running CM9. Even hiding root and fully unrooting (by various methods) did not help me.
So I decided to do some proper digging and downloaded dex2jar and jd-gui. After decompiling with these tools, I think I found the root detection routines, and this led me to a simple discovery. Part of the detection routine is to check the Build values (Build.FINGERPRINT and Build.TAGS).
It is my belief, therefore, that they are either checking that the ROM is a known stock firmware, or checking for known rooted ROMs (like CM). This is also suggested by the fact that some people have got it working by hiding root on rooted stock (or stock-based) ROMs.
I am posting this info purely for information to anyone who wants to take this investigation/development further. It is in NRegSplashActivity, which also contains some file existence checks.
I am not bothering to do any more with this. For myself, I feel that if the app is not secure with root (which is the reason I have been told for disallowing root) then it is inherently insecure (as rooting is trivial).

I need a little bit of info.

So ever since I heard about rooting Android devices I innediately done some research on how to do it and I did it. I have had this root on my Samsung Grand Duos for a while now and all I have done is have a few apps (Lucky patcher, Freedom, and Exposed with 1 plugin or w.e) and I am pretty sure I can do far more than just that, so that's why I made this thread. I have a few questions I would like to be answered if you know anything about it.
1) What are customs ROMs and what can I use them for?
2) I am a developer and I have helped make some apps for both iOS and Android, would my root be useful in any way?
3) When I tried to upgrade my version of Android it told me that my version was modified, is there any way I can upgrade to the latest version? And would it remove my root?
4) Is root only compitable with specific versions? Like when a new version comes out, can you root it immediately or do you have to wait for something to do the root process again?
5)My device storage is pretty small and it makes it a pain in the ass to install apps, is there any way that I can edit that? (I am probably going crazy with this. lol)
Thank you.
Bump, would still like some help.
1) 3) 4) a custom Rom is a modified android, mostly based on clean aosp. The example CyanogenMod: you can choose between different Android versions. And with a custom ROM you have great efforts such like theming engine, overclocking or other nice features that are really useful but uncommon in stock ROMs. So I recommended anyone who decides to root his phone to flash a custom ROM neither a stock root
A lot of the info is available on XDA forums, tutorials, and on Google so I suggest you start doing some research as it will help you understand wholly much better...
1 - Custom roms are what nico331999 explained. Modified android firmware made for each specific phone model by developers. Its their take on android and most come with many extra features, themes, launchers, based on different android versions, etc. Cyanogenmod is one the popular ones, but there are a lot more. You would have to search the forums for your specific phone. In order to install a custom rom, root is not enough there are other things you would have to do which you will again need to find out for your phone. Generally speaking you have to unlock the bootloader, install a custom recovery, then flash a custom rom along with gapps.
2 - If you develop apps which utilise root access you can allow them sort of 'admin' access to everything on your phone, so you can perform any task with the app which requires such access. One example is replacing system level apps.
3- If you install a custom rom it will have its own version of Android, usually they are updated versions. You can download the FTF file for the most updated firmware version for your phone and then flash it on your phone. You'll be able to search online for instructions and downloads. A new firmware will remove your root and you will need to root it again. You can search for pre rooted firmwares though to avoid that step.
4 - Yes, you have to search for a rooting method for each firmware version of each phone. Developers (great guys) figure out these methods and post them online for the world!
5 - If your device has SD card support you can install many apps on the SD card to save some space using apps such as Apps2SD or Links2SD. You can move all your media to your SD card. If your device doesn't support SD cards I suggest you move as much data as possible to your computer, and maybe use cloud storage at the same time. Also, since you have rooted your phone, you can use an app like Titanium to uninstall bloatware (unused apps which you cannot usually uninstall).
All of this stuff seems like a handful when you first get into it, but you need to get out there and start researching these topics for it to all fall together in place...
I have to add something with apps to SD: some manufacturers (especially Samsung) have a very weird external storage handling (called emulated storage) which doesn't allow you to move your whole apks. It only saves user data.
ishaang said:
A lot of the info is available on XDA forums, tutorials, and on Google so I suggest you start doing some research as it will help you understand wholly much better...
1 - Custom roms are what nico331999 explained. Modified android firmware made for each specific phone model by developers. Its their take on android and most come with many extra features, themes, launchers, based on different android versions, etc. Cyanogenmod is one the popular ones, but there are a lot more. You would have to search the forums for your specific phone. In order to install a custom rom, root is not enough there are other things you would have to do which you will again need to find out for your phone. Generally speaking you have to unlock the bootloader, install a custom recovery, then flash a custom rom along with gapps.
2 - If you develop apps which utilise root access you can allow them sort of 'admin' access to everything on your phone, so you can perform any task with the app which requires such access. One example is replacing system level apps.
3- If you install a custom rom it will have its own version of Android, usually they are updated versions. You can download the FTF file for the most updated firmware version for your phone and then flash it on your phone. You'll be able to search online for instructions and downloads. A new firmware will remove your root and you will need to root it again. You can search for pre rooted firmwares though to avoid that step.
4 - Yes, you have to search for a rooting method for each firmware version of each phone. Developers (great guys) figure out these methods and post them online for the world!
5 - If your device has SD card support you can install many apps on the SD card to save some space using apps such as Apps2SD or Links2SD. You can move all your media to your SD card. If your device doesn't support SD cards I suggest you move as much data as possible to your computer, and maybe use cloud storage at the same time. Also, since you have rooted your phone, you can use an app like Titanium to uninstall bloatware (unused apps which you cannot usually uninstall).
All of this stuff seems like a handful when you first get into it, but you need to get out there and start researching these topics for it to all fall together in place...
Click to expand...
Click to collapse
Thanks a lot, ishaang, you were a lot of help to me.

Nugat rom with no need for ROOT? Plausible?

Hi,
I'm fond of my non-root software, just because there is a number of apps that I use on regular basis that do not allow root.
Is it going to be at all possible to build a "custom rom" that will be able to run those applications that typically just FAIL when root is detected, by simply not forcing root on the device?
Look forward to hearing from you.
mikber18 said:
Hi,
I'm fond of my non-root software, just because there is a number of apps that I use on regular basis that do not allow root.
Is it going to be at all possible to build a "custom rom" that will be able to run those applications that typically just FAIL when root is detected, by simply not forcing root on the device?
Look forward to hearing from you.
Click to expand...
Click to collapse
Well, it depends on a couple things:
First, there are different ways that apps can detect root. Some apps simply try to gain access to root. But more advanced apps, a notable one being Android Pay, also check if the firmware running on the device has passed Google's CTS tests, which only original 100% stock firmware can pass.
So is your device 100% stock non-modified, or is it a custom ROM with no root access? This will help determine if the apps you use are of the more simple kind, or of the advanced kind.
At this present moment I'm running the Sony Concept software and realistically I would love to continue to be running the latest OS, but unless something like Sony Concept continue to exist the only way to run 7.0 in the future will be a custom Rom. Almost all custom Roms require Root, is there hope that one gets developed that will run similarly to the Concept Software project, I.e. No need for root or nada and thereby allowing me to use my apps (banking etc) that do a scan against root + custom software

My devices have been hijacked...Im just getting up to speed and need help ANDROID!1!

Hey folks. I've a pickle. Several of my friends and associates, all from different walks of life, here in OKC, Ok, are the victim of software exploitation...let me explain...
I'm a computer - I.T. guy.. have a history involving Unix and LInux Distro's and have avoided Android until recently.
Currently my devices have been hijacked. Running processes include:
Google Framekework
Wi-Fi Direct
Sim contacts
Launcher 3
QcrilMessageTunnelService
Ive a cheap pre-paid verizon Alcatel 5905s Due to my Premium Devices being hacked
It has
Android 8.1.0 I cant update
Kernal 3.18.71
3d5xufx1
Baseband 7Genns Pack1.201905.1.236923.1
My other devices will run 15 or more services within Googleplayservices.... The Apk versions of these packages like: GoogleplayServices, Android Auto, Facebook Manager (I dont use it btw), etc..all ridiculous permissions include root access and such....
My bluetooth, cameras, wi-fi - are all being turned on by the apps permissions and need help. Again I'm familiar with the Android System a bit - having a I.T. and Unix/Linux background I can come up to speed quickly....
Technology - especially opensource technology should never EVER be used like this. I have encountered a problem which effects a lot of good people. Regardless of their goodness badness or whatever - no one should ever use technology in this way....
My questions are:
Some of my friends and their devices have custom roms === How can I remove them? J3 x2 J7, A10. A11, Alcatel 5095s, LG 322DL and AQT 100 tablet to start....
Each of the above programs utilize Googleplayservices to have extremely stupid permissions and their corrosponding related aps....
Im even giving numbers for anyone to call: 4zerofive921sixfour49 Wade and 405eighthtreeefour30sevenzero chris
if you can help...please do....
Why not simply on hijacked devices re-flash their Stock ROM to get rid off of the installed Custom ROM?
Although Android is based on a modified Linux kernel, it has nothing in common with Linux: the Android Framework, which is based on Java APIs, is the interesting part.
And: Nobody is forced to make use of Google Play Services / Google Services Framework: Custom ROMs like LineageOS don't have them built-in.
jwoegerbauer said:
Why not simply on hijacked devices re-flash their Stock ROM to get rid off of the installed Custom ROM?
Although Android is based on a modified Linux kernel, it has nothing in common with Linux: the Android Framework, which is based on Java APIs, is the interesting part.
And: Nobody is forced to make use of Google Play Services / Google Services Framework: Custom ROMs like LineageOS don't have them built-in.
Click to expand...
Click to collapse
Ok. Please let me in on this. It's intriguing. First I know little of Java but have started to begin learning development basics...so my questions are...
So I have an LG322dl....there seems to be no good info on ROMS my way...but then again these "apps' prevent me from looking at things that counter their functions....
I have ADB /Fastboot - and run Ubuntu 20.04. Theres a J7 that I tried to Flash but Heidall didnt work and dont know where else to turn... Theres also the Alcatel 5059s
I have 2 J3's the J7 an LG 322Dl and a Sam A11...i have read what is on here on each of the items. Basically I am told the LG no one can flash...(i dont believe it) the Alcatel is a headcache because I cant get any solid info...the A11 is now Google LOcked , and the Samsungs the original Flahing with Heidall doesnt do squat.....
Now all I understand are probably basics to you... If you got an issue you can flash your phone with the MF's Factory Build...but if your bootloader is locked, say - like on my A11 - I cant bypass for ****. I tried every which way 30 plus hours.... nothing... and it had my original fingerprint!
Also, the methods for each of my devices listed by users here and elsewhere just dont seem to work...
Can you please....explain to me the process to flash and or install a custom rom please?
thanks
Can't guide you: never have flashed a Custom ROM, because it never was necessary to do it.

What are red lines in device tweaking? Or how to avoid bricking by mistake

Hi All!
I've recently got P40 Pro and I like it very much. Now I need some software to be installed - maps, chats, banking etc.
However almost all of these apps need Google services or HMS. I'll try to avoid using these frameworks by using MicroG and Aurora store.
My goal is to have some set of required apps and don't have bloatware (like Huawei AI apps).
So I also going to find browser, phone, file manager and others on F-droid and use them instead of pre-installed apps. And disable those via ADB.
There are tons of information I need to read to do that, and I'll surely will read.
BUT, most manuals have big disclaimer which says "Do everything on your own risk, you can brick the phone!". And that's what I definitely don't want to.
So my questions are - what is the set of safe operations? What predefined applications can be safely removed via ADB? How to make backup that will restore phone if something goes wrong?
I believe there should be some thread with same concerns, but I could not find it. If somebody could point me to it, I'll be very grateful! Thank you in advance!
The first and main thing is "Everything Do at your Own RISK" if you want to go through android modding or making changes in the system you should not fear from resetting or formatting the system first and other thing is that installation of any unstable or unsupported mod can brick your device to get recover from these situations you should have knowledge about adb and fastboot,oem unlock and bootloader,custom recovery,root,magisk and custom roms to get the full back of your android in current state needs root for root you have to unlock your bootloader and for unlocking bootloader you need fastboot tool or your device oficial bootloader unlocker tool then you can backup you droid by the most common tool titanium backup or simply by backu option in your custom recovery
I think having a fully capable ROM bootloader (EDL mode, MTK, Allwinner, RockChip...) is most important.
There are still times that your system is wedged and you'll need either ROM mode test points or flash disable.
That's when the boot chain is broken enough to not work, but not broken enough to be recognized as broken.
If things are totally broken it will go to ROM bootloader mode all by itself.
Thank you for your advises!
I could not find P40Pro in TWRP devices list, and AFAIK, to unlock bootloader it needs to be disassembled. Is that correct?
To get used to rooting, custom ROMs, flashing and things I'll better get some cheap used phone - this one is way pricey for savage experiments, especially when you're completely noob. So rooting isn't an option for me for now.
At the moment I 'm debloating phone with "adb shell pm disable-user" and following lists:
[GUIDE] EMUI 11 Complete Debloating Guide & Bloatware List
This de-bloating guide will help you start using EMUI 11 as clean as possible. Please list packages in the comments section that you know is a bloatware and I didn't include in the spreadsheet. This guide assumes that you're using Windows 10 as...
forum.xda-developers.com
P40 Pro debloating guide
Hey everyone, I've spent the last couples days going through all the installed packages, cross-referencing different debloating guides and testing my changes. I'm running the latest EMUI 10.1.0.158 (C636). RECOMMENDATIONS: if you can, follow...
forum.xda-developers.com
[GUIDE] List of bloatware on EMUI safe to remove
Hi all, i was working on a guide on the vast amount of packages that we find already installed on EMUI by default and safe to remove because i'm sure that it would be useful for users like me, users that doesn't like to have space occupied on...
forum.xda-developers.com
Next step - involve Android profiles to isolate spying apps, which I still need, from each other and from contact list
I also looking for decent replacement for buit-in file-management, phone, messaging and contacts apps. And, maybe, launcher, I don't know if it's needed and secure. So far I found:
Emerald Dialer | F-Droid - Free and Open Source Android App Repository
Make calls, view call log
f-droid.org
Silence | F-Droid - Free and Open Source Android App Repository
Encrypted SMS/MMS conversations made easy!
f-droid.org
Koler | F-Droid - Free and Open Source Android App Repository
uniquely stylized phone app with customizable features
f-droid.org
But haven't installed or tried yet. I'd gratefully accept recomendations for those app categories.
Dont waste your time. On this phones you cannot unlock the bootloader and definitely you cannot have access to the root. Also debloating is a non-sense: you can do more bad things than good things. The phone is powerful enough to not need debloating. It is not a Galaxy S2.

Categories

Resources