Search This thread

immortalneo

Senior Member
Jan 25, 2011
4,425
1,937
Malappuram, Kerala
There are a lot of people joining XDA on a daily basis, and there are a lot of repetitive questions being asked
which clutter up the Development and 'Q & A' threads. Point them here. Feel free to ask or answer questions.

The idea of this thread is to get users to help other users with their problems/questions. People are usually
ridiculed for asking questions that other people deem stupid even though it may be a legitimate question. This
leads to new users being afraid to ask questions!

Only provide well mannered help towards users in this thread. Please do not spoon feed, but rather point in
the direction where that user can find an answer
and educate himself. If you don't want to answer, at least
point out where to find the answer.



Before posting anything, I strongly advise you to read THIS thread.

Then, have a quick look at the names of threads in Post No. 2, you might find what you need right away.

Third. Even if you do get your question answered, please do come back and read threads in Post No. 2
(coming later as soon as we start getting the guides) to educate yourself. You'll be surprised how much time
and frustration it will save you in the future!



No abuse towards noobs tolerated here! That means:
NO TROLLING
NO NAME CALLING
NO RIDICULING
NO FLAMING


ASK ANY QUESTION HERE! No question is stupid or irrelevant in this thread. You will either get an answer or will get pointed in the right direction.


*A Special Thanks to mark manning for his help in creating this thread*


HALL OF FAME

People who contributed most to this thread and helped countless number of people with their
problems/questions. In no particular order.

Bruce Wayne
post-mortem
SilentStrider
Ghostfreak NB
mayank9856
sgs22012
Zatta
ADDICT.ANK



These people also have the right to use the banner below:
Newbie%20Thread%20Sign.gif


Just add this code to your signature:
HTML:
[URL="http://forum.xda-developers.com/showthread.php?t=2257421"][IMG]https://dl.dropboxusercontent.com/u/41066660/Newbie%20Thread%20Sign.gif[/IMG][/URL]
 
Last edited:

pyereciae2788

Member
Sep 10, 2020
13
1
Here is a good description on how it works https://betterprogramming.pub/custom-text-selection-with-action-process-text-9c1cd9b24027 some apps add extra options to the generic/limited actions implicit in Android manifest, it would better than try to modify every app instead of use something like this https://play.google.com/store/apps/details?id=com.wb.clipboard.pro&hl=es_PY&gl=US that can add extra actions without the need of an additional step to share it with whatever other app but right after to select a text. Of course the other way around would be just modifying somewhere the android manifest on a custom ROM.
Is there something I could use to open a manifest file? I'd like to try modifying one for an app.
 

SubwayChamp

Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    Is there something I could use to open a manifest file? I'd like to try modifying one for an app.
    There are some applications that can open an XML file; Notepad++, Sublime, etc and Android Studio also have this option, but it's not as simple as modifying just this file and it's all cause the apk needs to be signed and accept the changes. You'd need to use some apk editor, I didn't try it my self and I referred firstly to the android manifest in the custom ROM Itself instead of every app but you should look on this https://forum.xda-developers.com/t/...sh-free-apk-reverse-engineering-tool.3972529/
     
    • Like
    Reactions: mrrocketdog

    SubwayChamp

    Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    Question: how do I see SMS notifications on multiple user accounts? I created a new user account on my android device (lineageOS 17.1, android 10) but SMS notifications don't work at all. I can see new messages if I click on my default stock SMS app, but I don't get any sort of notification for it. I get the notification perfectly fine on the administration account but not on the second user. I have all sms notifications turned on. SMS enabled on the second user account and still no luck. What am I doing wrong, or has multiple users accounts have always been very limiting like this?
    Maybe I'm wrong but if you are referring to multiple accounts and not dual apps this is the whole idea of that; you shouldn't have access to the second (multiple) user app from a different user account (no matter is admin) till you enter to this second (multiple)account that is a separate space with a different user account.
     

    SubwayChamp

    Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    Instead of link to other link where you again linked to other site with a lot of reading stuff you should simply say here what you want to achieve.

    If you are in Android 10 system can't be mounted the suggested way, you also said that device is locked but is rooted (?). Orange Fox recovery has inbuilt an add-on feature that can do that.
     
    • Like
    Reactions: mrrocketdog

    sa1

    Member
  • Sep 14, 2017
    10
    0
    Asia
    @SubwayChamp I have rooted my android and had used it for a long time. Its running lineage OS 17.1 for J7
    nxt.
    Its just that somehow (I do not want to share) the password of my phone was changed and now I want to get that password.
    I know there are ways to remove the screen lock and then use new password etc., but to be precise I want to know the current password and unlock my phone without need to change the current password.
    The link I mentioned does exactly that, and so I want to do the same.
    I am a script kiddie( sorry, A lot of work for people like you) and so want a detailed guide on how to achieve that.

    You mentioned that orange fox can do such things.
    Can you please help.

    My thread: https://forum.xda-developers.com/t/cracking-android-passwords.4275715/
    Blog(what I want to do) : https://www.pentestpartners.com/security-blog/cracking-android-passwords-a-how-to/
     

    Startropic1

    Member
    Jan 13, 2016
    19
    1
    I have a Vankyo Matrixpad Z10 tablet running Android 9. I am trying to root it but first I guess I need to build a TWRP recovery.img. How can I backup my stock recovery (without being rooted since I guess I need to do this before I can root.)
    developer options is enabled, USB debugging and OEM unlocking are also enabled.
    I do have ADB installed on my laptop.
    Can anyone help me out here?
     

    SubwayChamp

    Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    I have a Vankyo Matrixpad Z10 tablet running Android 9. I am trying to root it but first I guess I need to build a TWRP recovery.img. How can I backup my stock recovery (without being rooted since I guess I need to do this before I can root.)
    developer options is enabled, USB debugging and OEM unlocking are also enabled.
    I do have ADB installed on my laptop.
    Can anyone help me out here?
    Not that you need to backup your stock recovery image or build a TWRP to root your device but you should need to get either the boot or the recovery stock image according which is needed if you think to use the Magisk method.
    If the original firmware is not available anywhere then you shouldn't use this method anyway take a look in this thread if this way you are able to pull it/them from your device https://forum.xda-developers.com/t/amazing-temp-root-for-mediatek-armv8-2020-08-24.3922213/
     

    Startropic1

    Member
    Jan 13, 2016
    19
    1
    Not that you need to backup your stock recovery image or build a TWRP to root your device but you should need to get either the boot or the recovery stock image according which is needed if you think to use the Magisk method.
    If the original firmware is not available anywhere then you shouldn't use this method anyway take a look in this thread if this way you are able to pull it/them from your device https://forum.xda-developers.com/t/amazing-temp-root-for-mediatek-armv8-2020-08-24.3922213/
    I've made a little progress in that I have unlocked my bootloader. The thread you linked to suggests it only works with older versions of Android. My tablet is running Android 9. I have not been able to find any stock roms, but I did e-mail Vankyo support.
    I have also identified the chipset as MT8163A
    If I could find a way to save my tablet's exisiting rom / recovery img I can build a TWRP from there.
    UPDATE:
    I was able to successfully use the temp root in the link. I have managed to save both boot.img and recovery.img on my internal storage. They are both 16.78 MB does that seem right for Android 9?
    What I can't figure out is this: How do I backup the entire ROM? I have determined that the ROM is /dev/block/platform/soc/####0000.mmc/by-name/
     
    Last edited:

    Banana_sam

    Member
    Mar 24, 2021
    26
    1
    Maybe I'm wrong but if you are referring to multiple accounts and not dual apps this is the whole idea of that; you shouldn't have access to the second (multiple) user app from a different user account (no matter is admin) till you enter to this second (multiple)account that is a separate space with a different user account.
    Afaik, in android 10 you have the ability to enable 'receive & send calls/sms' in the multiple user account configuration settings, and it does work. i get calls and the notifications for it, i also can receive and send texts (just no push/popup or text ringtone notifications for that) on the second user account.

    3rd party apps i dont have cross access to between accounts(as you mentioned and as it should be), but the stock apps are installed for both admin and 2nd user account and only the lineage stock phone and messaging share cross access between the two -- which i thought was how it was supposed to function, except i thought that i should be getting notifications for sms as well.

    does this mean i should get an alternative messaging app for the 2nd user account and set it as default sms app, and this way ill be able to receive sms notifications since now both sms apps for each account are unique?
    or is this a problem you think with my lineage build or some other reason ive yet to consider?

    also if anyone else reading this wants to chime in and share their experience with second user accounts & sms notifications, id love to hear about it
     

    SubwayChamp

    Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    I've made a little progress in that I have unlocked my bootloader. The thread you linked to suggests it only works with older versions of Android. My tablet is running Android 9. I have not been able to find any stock roms, but I did e-mail Vankyo support.
    I have also identified the chipset as MT8163A
    If I could find a way to save my tablet's exisiting rom / recovery img I can build a TWRP from there.
    UPDATE:
    I was able to successfully use the temp root in the link. I have managed to save both boot.img and recovery.img on my internal storage. They are both 16.78 MB does that seem right for Android 9?
    What I can't figure out is this: How do I backup the entire ROM? I have determined that the ROM is /dev/block/platform/soc/####0000.mmc/by-name/
    You should try it too with the other partitions the same way, just determine the path, something like this may help https://android.stackexchange.com/questions/24119/command-to-list-partitions also you can follow manually the same path you wrote above in the by-name directory.
     

    Startropic1

    Member
    Jan 13, 2016
    19
    1
    You should try it too with the other partitions the same way, just determine the path, something like this may help https://android.stackexchange.com/questions/24119/command-to-list-partitions also you can follow manually the same path you wrote above in the by-name directory.
    I was able to save stock boot.img and recovery.img files. However when trying to port a TWRP custom recovery to this device, I descovered that my stock recovery.img is missing

    • meta_init.rc
    • meta_init.project.rc
    • meta_init.modem.rc

    and the only fstab is fstab.enableswap

    so I think I have a problem, or I did something wrong somewhere...
     

    SubwayChamp

    Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    Afaik, in android 10 you have the ability to enable 'receive & send calls/sms' in the multiple user account configuration settings, and it does work. i get calls and the notifications for it, i also can receive and send texts (just no push/popup or text ringtone notifications for that) on the second user account.

    3rd party apps i dont have cross access to between accounts(as you mentioned and as it should be), but the stock apps are installed for both admin and 2nd user account and only the lineage stock phone and messaging share cross access between the two -- which i thought was how it was supposed to function, except i thought that i should be getting notifications for sms as well.

    does this mean i should get an alternative messaging app for the 2nd user account and set it as default sms app, and this way ill be able to receive sms notifications since now both sms apps for each account are unique?
    or is this a problem you think with my lineage build or some other reason ive yet to consider?

    also if anyone else reading this wants to chime in and share their experience with second user accounts & sms notifications, id love to hear about it
    I think you need a different SMS app for the second user but you should try with some third party app that can provide floating windows or quick replies or for some reason the stock app doesn't have full access to this feature.
     
    • Like
    Reactions: Banana_sam

    SubwayChamp

    Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    I was able to save stock boot.img and recovery.img files. However when trying to port a TWRP custom recovery to this device, I descovered that my stock recovery.img is missing

    • meta_init.rc
    • meta_init.project.rc
    • meta_init.modem.rc

    and the only fstab is fstab.enableswap

    so I think I have a problem, or I did something wrong somewhere...
    I don't know which method you are using to say you (if I could know) where you missed something anyway the fstab file and depending on the android version some of the other files you should find them in the boot image, you should use them from it but keep in mind that the porting process is not perfect and most of threads talk that if some files don't match with the recovery base skip them and follow.
     
    • Like
    Reactions: mrrocketdog

    Startropic1

    Member
    Jan 13, 2016
    19
    1
    I don't know which method you are using to say you (if I could know) where you missed something anyway the fstab file and depending on the android version some of the other files you should find them in the boot image, you should use them from it but keep in mind that the porting process is not perfect and most of threads talk that if some files don't match with the recovery base skip them and follow.
    Chipset is MT8163A.
    I used the temp root utility you linked to. Was able to identify the partitions, which were at /dev/block/platform/soc/####0000.mmc/by-name/
    From there I used CAT command to save a copy of recovery partition as recovery.img on /SDCARD/ (I also did the same for the boot partition, but have not done much with that one.)
    I also learned with these mediatek devices I need a scatter file as well.
    I also tried just patching the recovery.img I saved on /SDCARD/ (which of course I backed up before patching) with Magisk but it just got stuck in a boot loop when I tried flashing the patched recovery.img. I restored original so it's fine, but unsure how to proceed.
     

    SubwayChamp

    Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    Chipset is MT8163A.
    I used the temp root utility you linked to. Was able to identify the partitions, which were at /dev/block/platform/soc/####0000.mmc/by-name/
    From there I used CAT command to save a copy of recovery partition as recovery.img on /SDCARD/ (I also did the same for the boot partition, but have not done much with that one.)
    I also learned with these mediatek devices I need a scatter file as well.
    I also tried just patching the recovery.img I saved on /SDCARD/ (which of course I backed up before patching) with Magisk but it just got stuck in a boot loop when I tried flashing the patched recovery.img. I restored original so it's fine, but unsure how to proceed.
    I referred to the method to port TWRP.
    Regarding the root process I think preferably you should patch the boot image (after to unlock bootloader) and flash it through fastboot, after that you should find some blank vb meta image in case your device doesn't require a signed image your device should be able to boot to system again but in case it is required a signed vbmeta you should find a "method to patch/sign a vbmeta image".
    The scatter file is to use it through SP Flash tool.
     
    • Like
    Reactions: mrrocketdog

    Startropic1

    Member
    Jan 13, 2016
    19
    1
    I referred to the method to port TWRP.
    Regarding the root process I think preferably you should patch the boot image (after to unlock bootloader) and flash it through fastboot, after that you should find some blank vb meta image in case your device doesn't require a signed image your device should be able to boot to system again but in case it is required a signed vbmeta you should find a "method to patch/sign a vbmeta image".
    The scatter file is to use it through SP Flash tool.
    Magisk doesn't see a ramdrive with the boot image, suggesting I have to go the recovery route.
     

    SubwayChamp

    Senior Member
  • Aug 6, 2016
    2,678
    1
    1,232
    Magisk doesn't see a ramdrive with the boot image, suggesting I have to go the recovery route.
    OK, you mean your device doesn´t include a boot ramdisk, (there are other tools to inject Magisk anyway but I don´t remember now) then follow the recovery method, the first you have to do is inmediately after to flash it through fastboot reboot to it manually (so probably you can´t through command) and from there flash either Magisk (it will injects the binaries to bypass the avb restrictions or flash this https://forum.xda-developers.com/t/...ncrypt-disk-quota-disabler-11-2-2020.3817389/ if your device supports an external SD card copy both Magisk and DM verity zips to somewhere.

    If the above process doesn´t help to can boot to system again then as I said you before you should need to disable the vbmeta by flashing a blank image (not signed if your device allows it) or create a custom one according your model following this as reference https://forum.hovatek.com/thread-32664.html
     
    • Like
    Reactions: mrrocketdog
    Dec 4, 2020
    10
    0
    I have an old MTK6753 device. Can i build a ROM for it?
    Or atleast port a ROM for it? I prefer Corvus OS or RR.

    Device details- Gionee A1 lite. Kernel 3.18.35. Stock Android V. 7 [Nougat]

    pls help me. I m a bloody noob with no one to help.
     

    Top Liked Posts

    • 1
      Hello, i installed microg by using magisk (i saw it on modules list and thought that microg is for youtube venced) after installation my Google play services is gone, i uninstalled microg, but i don't know how to get google play services back again, can you help? (I am using redmi note 9 pro global edition, i guess joyuse?)
      search youtube vanced, you download a utility called vanced manager. from that you can install YouTube vanced, vanced micro g and ymusic. microg, from magisk, is an alternative to Google play services. given that you are in a pickle and running stock ROM, would suggest a hard reset. after that, perhaps try installing a custom recovery like twrp and doing a full backup before messing around with stuff you haven't searched online.
      1
      search youtube vanced, you download a utility called vanced manager. from that you can install YouTube vanced, vanced micro g and ymusic. microg, from magisk, is an alternative to Google play services. given that you are in a pickle and running stock ROM, would suggest a hard reset. after that, perhaps try installing a custom recovery like twrp and doing a full backup before messing around with stuff you haven't searched online.
      I don't think i will open magisk ever again, I just needed it for a game.
      Btw, I use eu rom, miui 12.0.3 and I have orange fox recovery.
      Isn't there any other option then hard reset? I downloaded google play services from apkpure. Before it I couldn't use youtube or any other app, now I can use, but can't login, I press add account in youtube, but nothing happens.
    • 2
      Makes sense. What's the general solution here?
      Contacting with the carrier and covering what the contract requires or there are some paid services that sell unlock codes I guess from the carrier itself.
      2
      Hi! Are there any Android firmware developers here? I'm new to this, may anyone recommend some books, etc. to improve my skills in Android firmware development like aosp ota updates, aosp qfil updates? I also cannot find any forums for Android firmware developers.
      By "firmware"you are talking about building ROMs?

      As android goes up a version every year with substantiual changes to the OS as well as to the build process, and books would normally take longer than 12 months to write,check/review, publish, print and distribute, I think you would be better served by reading online articles.

      One thread that may help is:

      I *personally* learnt by following the steps for a lineageOS build for my specific device (similar but I had to change the screen binaries). As part of the releases they also document how to build it yourself.

      Also, TWRP is a LOT less code, so may also be a better starting point.

      2
      Any attempt to root it or unlock it will trigger the Knox/security features and of course the warranty so if you want to stay in the safe side the most you can do by now to "get rid of" (not totally) is disable them using this method https://www.xda-developers.com/disable-system-app-bloatware-android/ be careful to not disable essential apps, also surprisingly there is a lot of real (that I should call them) bloatware that can be uninstalled too.
      Another possible method is to try removing the unwanted bloatware from the firmware file and then flash the modified firmware file, if the device will accept the modified firmware.
      2
      Sadly i am getting the same error.
      Also when I try to install ES file explorer

      [INSTALL_FAILED_INVALID_APK]
      "E/SecurityPermission( 971): Device Security- do not allow com.estrongs.android.pop to Install"
      OK, now it looks to be more clear, the device was owned previously for some company, and it has in-built some security measures that only allows to re-install the same known apps.
      2
      Which smarthphone should i choose Poco f3 or Black Shark 4?
      You can visit this thread https://forum.xda-developers.com/t/...martphone-what-should-i-buy.1620179/page-1009 and here you can compare them directly https://www.gsmarena.com/compare.php3?idPhone1=10714&idPhone2=10758 there are not remarkable differences, If in the world just exist these two devices I would go for the Poco F3.
      Also if you think to root it or tinker with you should take a look how the development is going or what you get from real reviews
      Poco F3 - Black Shark 4
    • 375
      There are a lot of people joining XDA on a daily basis, and there are a lot of repetitive questions being asked
      which clutter up the Development and 'Q & A' threads. Point them here. Feel free to ask or answer questions.

      The idea of this thread is to get users to help other users with their problems/questions. People are usually
      ridiculed for asking questions that other people deem stupid even though it may be a legitimate question. This
      leads to new users being afraid to ask questions!

      Only provide well mannered help towards users in this thread. Please do not spoon feed, but rather point in
      the direction where that user can find an answer
      and educate himself. If you don't want to answer, at least
      point out where to find the answer.



      Before posting anything, I strongly advise you to read THIS thread.

      Then, have a quick look at the names of threads in Post No. 2, you might find what you need right away.

      Third. Even if you do get your question answered, please do come back and read threads in Post No. 2
      (coming later as soon as we start getting the guides) to educate yourself. You'll be surprised how much time
      and frustration it will save you in the future!



      No abuse towards noobs tolerated here! That means:
      NO TROLLING
      NO NAME CALLING
      NO RIDICULING
      NO FLAMING


      ASK ANY QUESTION HERE! No question is stupid or irrelevant in this thread. You will either get an answer or will get pointed in the right direction.


      *A Special Thanks to mark manning for his help in creating this thread*


      HALL OF FAME

      People who contributed most to this thread and helped countless number of people with their
      problems/questions. In no particular order.

      Bruce Wayne
      post-mortem
      SilentStrider
      Ghostfreak NB
      mayank9856
      sgs22012
      Zatta
      ADDICT.ANK



      These people also have the right to use the banner below:
      Newbie%20Thread%20Sign.gif


      Just add this code to your signature:
      HTML:
      [URL="http://forum.xda-developers.com/showthread.php?t=2257421"][IMG]https://dl.dropboxusercontent.com/u/41066660/Newbie%20Thread%20Sign.gif[/IMG][/URL]
      110
      Reserved

      Just a few words of advice on keeping this thread clean of unnecessary clutter:

      1. Before posting a question, it is highly recommended to read this thread.

      2. Click the Thanks button on the posts that helped you, instead of posting "Thanks". This helps other members in finding out the best replies that get buried in the thread.

      3. Do not use this thread to increase your post count! The Off-Topic forum is the place for that.

      4. Do a simple search of this thread before asking to see if your question has been asked previously.

      5. If your question has not received an answer after a few hours, please be patient. Someone will answer you shortly. If you do not get an answer in 24 hours, you may BUMP your post. If you still have no answer after a week, do mention me in your post.

      Thank you for your cooperation!
      26
      Good job mate, hopefully lots of members will find this thread very helpful :cool::good:
      11
      ZTE V970 Brick?

      Hi,

      I've been trying to install Bruno's ROM for this phone (cam with all chinese apps). http://forum.xda-developers.com/showthread.php?t=1856578

      but have a big problem. I tried my best to follow the instructions but, really couldn't work out if I was doing things in the right order.. is there an actual step- by step for this procedure? I know I'm a noob and read this read that I am an idiot etc. etc. but I thought if I used to ROM on that page and the software recommended it would be easy.

      Here's what I did:

      Downloaded all the files as told.

      Tried to 'flash a custom recovery' as here http://bm-smartphone-reviews.blogspot.co.uk/2012/05/mt6575-flashing-tutorial.html

      but it did not mention how to use the ZTE custom recovery file http://d-h.st/Vgt

      I'm also not sure at all that the 'MediaTek drivers' were installed properly. The phone never appeared in the Device manager.

      I opened SP flash tool and followed this: http://bm-smartphone-reviews.blogspot.co.uk/2012/05/mt6575-flashing-tutorial.html

      and selected the 'scatter file' from the unzipped Bruno ROM (took a while to realise had to unzip it to get the file!!!)

      I noticed most of the boxes on the scatter file were unchecked but carried on and ignored a warning message about the phone may not be able to boot (the tutorial said to ignore it).

      I had to click 'download' then plug the phone in and eventually I got the red loading bar. This finished... then nothing else.. no purple bar.. nothing.

      So after waiting a few minutes I unplugged the phone.

      It now appears to be a total brick. What did I do wrong? Why no purple bar? Were the scatter items supposed to be unchecked? What was the 'custom recovery' file for? Because the SP flash prog never asked for it.

      Is there any point in trying it again or is the phone dead?

      Thanks for any help..

      Theo
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone