问:
I interrupted the flashing process while reflashing a ROM to an NVIDIA Shield Portable 2 and now its soft-bricked. Is it recoverable?
i am kinda killing myself over this rn, but TL;DR I just soft-bricked my NVIDIA Shield Portable 2 (possibly 3?). The current state of things:

The device turns on and is stuck at the NVIDIA splashscreen.
I can no longer access the device through adb or fastboot or see it all when connected to my computer.

This is a very niche product and I can't find any information on how to invoke the fastboot menu manually on the device. I've tried several combination of buttons but nothing seems to elude the splashscreen of death. Any and all advice is appreciated. I recently got my hands on this device at my workplace and never got to use it to its full potential :(

I tried copying the recovery image onto a microSD card and inserting it into the device in the desperate hope that it would try to boot from there, but no luck :(


问:
Other storage taking over
My other storage has taken over my phone. I have factory reset it and cleared cache, removed unneeded apps. But still the other storage keeps increasing. I don't know what to do anymore.
I have a OnePlus 8T no older than 2 years.

Please help i am desperate.

ContentLicense: CC BY-SA 4.0

Title: Other storage taking over


问:
What does SPU indicate on Samsung's Download mode?
I have a Samsung Galaxy S20 FE 5G (G718W). In download mode, it's written SPU 5 in red; what does it mean?

My friend has the same phone, but the download mode does not show SPU term. I saw on the internet for other phones with this term, but it was written SPU (valid) in blue or gray color, I don't remember.

I just found out on the internet that SPU is a remote app for university students.


问:
Is it normal to have "security.securehw.available" and "security.securevm.avaiable" false on Samsung Galaxy S20?
I have a Samsung Galaxy S20 FE 5G. I'm using Android System Info app to see how the system is running, and in the app, I see that I don't have HW and VM security policy.

It's written security.securehw.available(false) and security.securevm.avaiable(false), and I also have ro.build.keys(test key). I think this configuration is not normal and the phone has been modified

Is it normal?


问:
get cellInfo with adb
I want to get the information inside cellinfo using adb command, but tac, lac, ci and cid are hidden. How to get these?

for example:

mCi=9*****68 mTac=3****1

command:

```<code>adb shell dumpsys telephony.registry | grep -i mCellInfo
</code>```

output:

```<code>mCellInfo=[CellInfoWcdma:{mRegistered=YES mTimeStamp=34662470924740ns mCellConnectionStatus=0 CellIdentityWcdma:{ mLac=3***1 mCid=2*****20 mPsc=233 mUarfcn=3028 mMcc=432 mMnc=11 mAlphaLong=IR-MCI mAlphaShort=IR-MCI mAdditionalPlmns={} mCsgInfo=null} CellSignalStrengthWcdma: ss=2147483647 ber=0 rscp=-24 ecno=0 level=0}]
</code>```

device: samsung galaxy a32

android version: 12

Title: get cellInfo with adb


问:
'Starts With' Call blocking settings on my S9 Android 10
Is it necessary to use leading +1, 1, or is the 3-digit area code sufficient?  All versions are accepted. But does just 3-digit work? Thx.

Regards.


问:
Squid app for pdf annotation - erase button on Samsun S pen not working
I am using the squid app to annotate pdfs with my Samsung S Pen (I am on Samsung Tab S7 FE). If I am using Samsung notes, the erase button on my pen is working finely, but if I switch to the Squid app, the erase button is not working. Can the Samsung S Pen be controlled, or rather its buttons on the pen, in an app-specific way? I do not see any settings or options that would allow to reallocate some button features in the app itself. What can i do to fix this?</p>


问:
Is there a device log that shows the cause of call termination?
I'd like to find how many of the mystery terminations here are due to End Call press arising from the device failing to disable touch input, letting contact with cheek register a press on the hangup button.</p>


问:
dm-verity corruption and "your device is corrupt" on Alcatel device
A friend gave me an Alcatel phone to fix it, the phone updated automatically and when it starts up, this happens:

dm-verity corruption

Your device is corrupt.

It can't be trusted and may not work properly.

Press power button to continue.

Or, device will power of in 5s

5 seconds after the message is displayed, it restarts and displays the same message.

I tried putting it into fastboot to do what they tell me to do with this error, but the phone reboots by disconnecting from the PC. Even to put it in fastboot, I have to use the volume up arrow and the power button, I choose the fastboot option, and when I choose fastboot, the phone does not show a terminal like they do in the tutorial, it seems as if it was turned off. I connect it to the PC and the same thing happens, it restarts every 5 seconds and adb does not recognize it. I do not know what to do.


问:
Wifi and Bluetooth won't connect without reboot
I have a Pixel 3XL. Recently, Bluetooth will sometimes see devices, but won't be able to connect. Wifi get stuck searching for networks.

Turning WiFi or Bluetooth off and on does not solve the problems. A reboot will fix the problems. Is there a more permanent fix?

Android version 12
Build SP1A.210812.016.C2


问:
Access "data/tombstones/" dir from Android application
Trying to get access to "data/tombstones" directory from my rooted phone. I am implementing a crash collector application (system application) which would help to record the system's ANRs and tombstones crashes. I am able to access the "data/anr" but not "data/tombstones"

I have written required SELinux rules to access both "data/anr" and "data/tombstones" but still it does not work for tombstones.

I am trying to read them through below Lines of code:

```<code>File[] anrs = new File("/data/anr/").listFiles();
File[] tombstones = new File("/data/tombstones").listFiles();
</code>```

This way I can read the ANRs but not tombstones.

Any help to solve this will be appreciated.


问:
Allow Galaxy SmartTag relaying
I have a SmartTag which is paired with my device. When my wife goes hiking alone, she wants to take the SmartTag with her so that I can locate her in case of an emergency. Unfortunately, her device (a Samsung Galaxy S10) does not seem to relay the Smart Tag position.

What do we need to enable on her phone so that it participates in the "Samsung Galaxy network" that relays SmartTag locations?

Note that we (a) do not want to enable Find My Phone on her phone (she does not like to be tracked in general) and (b) we do not want to pair the SmartTag with her phone instead of mine (that would defeat the purpose stated above).

Title: Allow Galaxy SmartTag relaying


问:
Accessing Bug Reports and Termux storage in file explorer?
A lot of apps call Android's "Open file" dialog when they want the user to select any file on their phone - for example when attaching a file to an email, or when opening a file with an editor. This dialog shows the phone's "Internal storage", attached USB storage and SD card, as well as extra locations such as cloud storage (Google Drive, OneDrive, Dropbox), app-specific storage locations (e.g. Termux) and Android special locations like Bug Reports and System Traces. The extra locations highlighted in yellow in this screenshot are the subject of this question:

Is there a file manager that can access these special locations like the file dialog? Specifically, I want to access Bug Reports, but even seeing the Termux directory in any file browser is something I haven't been able to do.

My device is Samsung Galaxy S22+, so I tried Samsung's "My Files" app first, but I looked all over and there's no trace of these special directories:

Similarly, Files By Google doesn't show them anywhere:

I also tried various other file managers, both from F-Droid and the Play Store, but absolutely none of them can access these folders.

Why can't file managers go here? How can I copy files off of there, other than by emailing them to myself or some other convoluted method (which also exposes sensitive data to other parties)?


问:
Use keyboard as touchscreen input on Chromebook
I play Recharge RC on my Chromebook but I don't like using the touch screen. Is it possible to use my keyboard inputs and transfer them to touchscreen inputs?</p>


问:
Trying to convert Lenovo ThinkPad to Android
My college administrator gave me an old Lenovo ThinkPad. He wiped everything out. It used to be Windows 7 and he put Windows 10 on it. Since then, I have had problems with it, so I bought a flash drive for Windows 10 and installed Windows 10 Home.

I'm trying to convert it over to Android, and with everything I try, people tell me it won't work.

Can you please help?


问:
Prevent Autofill/Suggestion to overlay the keyboard
When I tap into a text input, suggested entries are shown from top to bottom, which covers my entire letters-keyboard. This is annoying because I want to type in something.

Tapping again in the text input shrinks the dropdown to the desired height.

Is there a setting to force the second behavior to be the default behavior?

EDIT

I quick-fixed it by passing a random value to attribute name, so that the browser never finds associated values. But it's not a satisfying final solution.

EDIT 2

Reproducible on simple HTML form example https://www.w3schools.com/html/html_forms.asp

Samsung Keyboard is the chosen input method. This happens on Edge and Chrome. Tried Gboard, yes it also happens then. I don't know why some entries are remembered and new ones not. Somehow they are remembered.


问:
network_selection_disabled_by_wrong_password
I run a debug because my phone did not wan't to connect to Hotspot 2.0 Wi-Fi network. I found it gives the following reason: network_selection_disabled_by_wrong_password.

What are possible reasons? User's credential are valid.


问:
How can I make my entire calendar accessible offline in the Google calendar Android application?
By default, the Google calendar Android application only caches part of my calendar on my phone's memory.  How can I make my entire calendar accessible offline in the Google calendar Android application?</p>


问:
Turn off / delete "Smooth Sliding Screen" function in UI 3.0 (Realme smartphone)
How can the "Smooth Sliding Screen" function be turned off or uninstalled from Realme smartphone UI 3.0? Is there an adb command to achieve that?

In UI 3.0 this function is forced enabled globally and not an option like in UI 2.0.


问:
How do I prevent my android app from constantly getting cached
Excuse the novice question.

I've got a website which has constantly changing content. I've had an android mobile app made for me (by web2application.com) which in theory should just open the website in a frame- pretty simple stuff.

However what seems to happen is the content doesn't actually update. Even when the website content changes, the mobile app still shows the same old content. If I clear the cache for the app it fixes it and the new content is shown.

Is there a way to force an android device to not use the cache for the app at all?

I'm using a Google Pixel 4a but I think there's a similar issue on other android devices.


问:
Samsung Tab S6 Lite saying "Not Enough Space" when I try to switch storage to SD card for apps in a non-administrator user account
To add to what the title says, I have no problem when I am in the user account on the Samsung Tab S6 Lite to switch apps that are coded for such to be on the SD card that I have installed in this tablet.  It works just fine.

But, when I log into one of the other user accounts on this tablet that is not the administrator, the system says "Not Enough Space" when I try to move one of the apps in that user account over to the SD card.

It is obviously some permissions issue but I cannot figure it out after spending time going through all sort of menu options.

Google search was not great for this.  One thing similar along this lane but different is this here:
How can I transfer apps from one profile to another on my tablet?

Any help with this would be greatly appreciated.


问:
Hotspot 2.0 / Passpoint - Realm name
I have a question regarding Passpoint realm name, and how the phone reads and saves it in the configured Wi-Fi networks.

By looking into the Android Passpoint Manager system dump, I have noticed that for certain Hotspot 2.0 networks, phone itself sets the realm name by adding numerical prefix to it, for example "1realm.com", despite the fact that the Passpoint profile contained only "realm.com". For other networks, the realm name is without numerical prefix.

What might be the reason for this?

Title: Hotspot 2.0 / Passpoint - Realm name


问:
Why screen changes to light black if I click using mouse? Bug? (Android Tablet)
Device: Alldocube iPlay 20 (Android 10)

Disabled screen filters (bluelight filter), issue still occurs.


问:
Stuck on logo during Android-x86 boot on PC using removable disk
I'm trying to install Android-x86 on the POS desktop using USB.

I am done with the installation, but after rebooting it stuck on the logo.


问:
Moving apps to SD Card on Samsung Galaxy S20 FE Android 12
I purchased 6 months before, Samsung Galaxy s20 Fe with android  12 with 128 GB internal memory and a 256 GB external Micro SD card. I am an IT freelancer professional, so I have a job is for testing 1000's of different apps, and my main work is to install some video photo editing and some technical official apps to do my job in an instant go while traveling.

In Android 12.0 of Samsung Galaxy S20 Fe There is an option of CHANGE option in Settings > App> Storage to change (move) location of app from internal to SD card in Android.

But its the same like as in Android 5.0, it only moves the main APK files, leaving data, cache, lib, and dex in internal memory thus occupying space in internal memory. I want to keep my internal memory free for output files of video editing to fast rendering of photo editing or video editing file on mobile.

MY QUERIES:-

Is there any option without rooting to move the complete apps (lib, dex, data, and cache) to an external micro SD card?

There was an option in Android 6.0 Marshmallow for adaptable storage to format an external SD card as internal memory and move complete application files. Can I do that in Android 12.0?

there any developer option in Android 12.0 to force or make default installation of apps in the external memory card so that all apps are installed automatically with apk,lib, dex,data file in the external memory card but it works with only 5 to 10 apps out of 100 it still leave some part in internal memory?

In Android 6.0, I tried to edit the app manifest through the APK editor to change the default install location of an app to external memory. Will it work in Android 12.0? But it's time-consuming to edit every application.

Can we root Samsung Galaxy S20 FE and use the Link2SD app or any script in boot.int or any other new application in Android 12.0 which with its script links all lib, dex files in a micro SD card?

Is there any other way or method or settings options  in developer options or any other 3rd part application in Android 12.0 Samsung Galaxy S20 FE so that I can move (dex lib apk data)  or install complete application directly to external micro SD card and  keep my internal memory free for working or output files rendering ?

The reason why I still want to move apps to sd Card while having internal memory of 128GB is for testing 1000's apps and editing and rendering short video and photo editing .

I know External micro sd card is slower than internal memory but the app I install for TESTING   on external memory will be rarely used may  2 or 3 times a year but for testing and reporting to companies i need to keep it  installed in mobile for year to give usage or some log reports and its useless to give them space in internal memory and make them full my internal memory  i cant uninstall or re-install them .


问:
Turn off / delete "Smooth Sliding Screen" function in UI 3.0 ( realme smartphone )
How can be turned off / uninstalled "Smooth Sliding Screen" function from realme smartphone? It is an adb command to achieve that?

In UI 3.0 this function is forced enabled globally and not an option like in UI 2.0.

OwnerDisplayName: Bogdan


问:
Custom init rc constantly failing/rebooting
I created a custom .rc file (/etc/init/nerding.rc) which initializes a custom "service" I made (/system/bin/listen) at boot, but after an hour or so my Android gets sluggish, isn't very responsive and when I check the dmesg, my nerding thing has failed and restarted thousands and thousands of times. Like once every 3 seconds.

The idea behind my file is that it listens for specific volume key and touchscreen taps whereupon it then hides or unhides some specific apps. Think 'Apex,' but with less evidence.
I'll post the code and see if anyone has any suggestions/ideas. Please keep in mind that I only have JavaScript experience, so my BASH (or whatever Android's version is called) coding is haphazard at best. I am guessing my issue is because I'm not running my service as a 'oneshot,' but if I don't then the listen tool only listens once and quits. It needs to run every...2-5 seconds?

code for /etc/init/nerding.rc *

```<code>service nerding /system/bin/listen
   class main
   priority 10
   user root
   #oneshot
   seclabel u:object_r:system_file:s0

</code>```

end of code

code for  /system/bin/listen *

```<code>#!/system/bin/sh
function checkQuickHide {
  ups=$( dmesg | grep '(released) HW keycode = 0' | wc -l )
  if [ $ups -gt 4 ]; then
    dmesg -C
    pm hide jackpal.androidterm
    hider
    exit
  else
    checkuptime
  fi
}
function checkuptime {
  #grab last 115 (volume up key)
  uptm=$(dmesg | grep 'keycode = 115' | tail -1 | tr -s ' ' | cut -d ' ' -f2 | cut -d ']' -f0 | cut -d "." -f0)
  if [[ $uptm -eq '' ]]; then
    dmesg -C
    exit
  else
    checkdowntime
  fi
}
function checkdowntime {
  #grab last 114 (volume down key)
  dntm=$(dmesg | grep 'keycode = 114' | tail -1 | tr -s ' ' | cut -d ' ' -f2 | cut -d ']' -f0 | cut -d "." -f0)
  if [[ $dntm -eq '' ]]; then
    dmesg -C
    exit
  else
    checkdiff
  fi
}
function checkdiff {
  daff=$(( $dntm-$uptm ))
  if [[ "$daff"  -gt 3 ]]; then
    dmesg -C
    exit
  fi
  if [[ "$daff" -lt 0 ]]; then
    dmesg -C
    exit
  fi
  fing1
}
#Screentouching
function fing1 {
  #first finger
  f1x=$( dmesg | grep 'tpd_down id: 0' | tail -1 | cut -d ':' -f4 | cut -d ',' -f0 )
  if [[ $f1x -eq '' ]]; then
    let f1x=1000
    exit
  fi
  f1y=$( dmesg | grep 'tpd_down id: 0' | tail -1 | cut -d ':' -f5 | cut -d '-' -f0 )
  if [[ $f1y -eq '' ]]; then
    let f1y=1000
    exit
  fi
  fing2
}
function fing2 {
  #2nd finger
  f2x=$( dmesg | grep 'tpd_down id: 1' | tail -1 | cut -d ':' -f4 | cut -d ',' -f0 )
  if [[ $f2x -eq '' ]]; then
    let f2x=1000
    exit
  fi
  f2y=$( dmesg | grep 'tpd_down id: 1' | tail -1 | cut -d ':' -f5 | cut -d '-' -f0 )
  if [[ $f2y -eq '' ]]; then
    let f2y=1000
    exit
  fi
  finglocs
}
function finglocs {
  if [[ $f1x -lt 740 ]]; then
    exit
  fi
  if [[ $f1y -gt 50 ]]; then
    exit
  fi
  if [[ $f2x -gt 50 ]]; then
    exit
  fi
  if [[ $f2y -lt 1200 ]]; then
    exit
  fi
  endgame
}
function endgame {
  dmesg -C
  app=$( pm list packages | grep jackpal.androidterm )
  if [[ $app != '' ]]; then
    pm hide jackpal.androidterm
    hider
    exit
  else
   # echo 'Reveal Hidden App'
    pm enable jackpal.androidterm
    pm unhide jackpal.androidterm
    exit
  fi
}
function hider {
  svc wifi disable
  appst=/data/data/jackpal.androidterm/app_HOME/apps.txt
  app=$( cat $appst )
  for x in `cat $appst`;
    do
      if [ -e /data/data/$x ]; then
        pm hide $x
      fi
    done
  exit
}
checkQuickHide
</code>```

end of code

I'm sure this could be more succinct and efficient, but everytime I tried to combine some steps I broke it!

The error I constantly get in dmesg is (with a higher pid each time):

```<code>[  277.585578] (3)[1:init]init: Service 'nerding' (pid 4073) exited with status 0
[  277.585621] (3)[1:init]init: Sending signal 9 to service 'nerding' (pid 4073) process group...
[  277.585871] (3)[1:init]init: PropSet [init.svc.nerding]=[restarting] Done
[  282.457675] (1)[1:init]init: starting service 'nerding'...
[  282.458615] (1)[1:init]init: PropSet [init.svc.nerding]=[running] Done
[  282.458687] (1)[1:init]init: property_set("ro.boottime.nerding", "282427639311") failed: property already set
</code>```

Please, any suggestions, revisions, or criticisms are greatly appreciated.


问:
How can I install SuperSu on a pre-rooted Android head unit?
I am working on a pre-rooted Android head unit. I can do "adb root" or "adb shell su" using wifi adb. So there is root access and Su binary on the device. But I can't use root applications because there is no app to grant root access. I have tried installing supersu or superuser on /system/app. I made it install the apps but they say "device not rooted" when I try to run them.

So how can I make supersu see my su binary?


问:
Telegram app does nor ring on incoming calls when in locked screen
My wife's Samsung phone does not ring when incoming calls come via Telegram while the screen is in locked state. We can see app icon and callers name at the top of the screen but no sound.

When the screen is unlocked everything works as expected. This behavior is not specific to any particular caller. It does not happen when a call is made through WhatsApp.

We checked both app and phone settings but did not find anything suspicions. We compared the settings with my (a bit older) Samsung phone and did not find anything obvious either. My phone does not have the same problem, however.

I have done some Googling but did not find the solution.

Phone: Galaxy S8+

Model number: SM-G995U

Android version: 8.0.0

Kernel version: 4.4.78


问:
Why is auto Backup failing to backup just SMS messages?
On this Alcatel 1 (Android Go), Backup auto-backs up Call History and Device Settings fine, but omits SMS messages.

Why?

Poor workaround: run a manual backup, which does backup SMS messages - as seen on Nov 5 above.


问:
Location icon/sound keeps popping about once an hour on Amazon Fire tablet, how to make it stop?
On my Amazon Fire tablet, I've never had an issue until last week.
This icon pops up random, maybe once or twice an hour with audible sound as well. (Verso is the title of sound it makes from ringers list)

It literally makes that sound at same time as the icon appears. I hear the sound, Verso, then I look up to right top corner to see the "Arrow" icon there then it goes away in 1 second.

The icon is the same arrow icon for "Location" in settings.
Due to Location arrow, I've gone down the list of app permissions & turned off Location in all 18 apps using "Location". It still happens with all turned off!

Would anyone know of this and how I can stop it or at least control it?


问:
Storage manager (SM) Partitioned Micro sd card but how to mount the extended partition and use it as internal storage.?
Question:- Storage manager (SM) Partitioned  Micro sd card but how to mount the extended partition and use it as internal storage.?

I purchased 6 months before, Samsung Galaxy s20 Fe with android 12 with 128 GB internal memory and a 128 GB external Micro SD card. I am an IT freelancer professional, so I have a job is for testing daily 1000's of different android apps some I have keep installed to create logged reports either monthly weekly or quarterly and my other work is to do some short video advertisements or photo editing and some other GPS technical official apps to do my job in an instant go while traveling.

I want to set default installation of apps location to micro sd card, i tried but it only moves the main APK files, leaving ODBB file like  data, cache, lib, and dex in internal memory thus occupying space in internal memory. I want to keep my internal memory free for output files of video editing to fast rendering of photo editing or video editing file on mobile.

I have tried Adoptable storage ( formatting external micro sd card as internal)  without rooting once in my android 6.0 Marshemellow and thought it may work in android 12.0.

i tried following commands in following sequence

```<code>adb devices
adb shell

r8q:/ $ sm list-disks adoptable
   Disk: 179,0 (output of list-disk adoptable command)
r8q:/ $ sm has-adoptable
      false
r8q:/ $ sm partition disk:179:0 mixed 40
r8q:/ $ sm set-force-adoptable true
r8q:/ $ sm list-volumes all
        private mounted null
        public:179,1 mounted 5C8A-85AC
        private:179,3 unmountable
        emulated;0 mounted null
r8q:/ $sm format private:179,3
r8q:/ $sm mount private:179,3
r8q:/ $ sm has-adoptable
      false
r8q:/ $ sm list-volumes all
        private mounted null
        public:179,1 mounted 5C8A-85AC
        private:179,3 unmountable
        emulated;0 mounted null
r8q:/ $ ls -al /dev/block/platform/soc/
total 0
drwxr-xr-x 4 root root   80 2022-11-07 13:12 .
drwxr-xr-x 3 root root   60 2019-02-11 06:25 ..
drwxr-xr-x 3 root root 1680 2019-02-11 06:25 1d84000.ufshc
drwxr-xr-x 3 root root  140 2022-11-07 13:12 8804000.sdhci
r8q:/ $ ls -al /dev/block/platform/soc/8804000.sdhci
total 0
drwxr-xr-x 3 root root 140 2022-11-07 13:12 .
drwxr-xr-x 4 root root  80 2022-11-07 13:12 ..
drwxr-xr-x 2 root root 100 2022-11-07 13:12 by-name
lrwxrwxrwx 1 root root  18 2022-11-07 13:12 mmcblk0 -> /dev/block/mmcblk0
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 mmcblk0p1 -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 mmcblk0p2 -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 mmcblk0p3 -> /dev/block/mmcblk0p3
r8q:/ $ ls -al /dev/block/platform/soc/8804000.sdhci/by-name/
total 0
drwxr-xr-x 2 root root 100 2022-11-07 13:12 .
drwxr-xr-x 3 root root 140 2022-11-07 13:12 ..
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 android_expand -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 android_meta -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 shared -> /dev/block/mmcblk0p1
</code>```

Result is fine with no errors, it partitioned the micro sd card and converted formatted and mounted my 128GB card to 2 parts ie.as in mobile phone settings>storage in android 12.0 its showing 47.63GB card after commands it means its mounted and the micro external card is parted 47.63 portable is showing. but second  partition is not showing in android and the  files apps moved is still saving in 47.63 gb public:179,1 mounted 5C8A-85AC not the other one which  is private:179,3 unmountable and not being used and remaining 80.37 GB is unallocated and not usable

I rebooted my  android phone twice still.

But internal its still showing 100GB remaining and its not added and why the remaining space partition of  80.37GB  is its not showing in android device how to mount or show in GUI of android and how to now 80.37GB partition as adoptable storage or format remaining  80.37GB as internal memory and extend my internal memory storage and how to use the partition in micro sd card and remaining

i tried $sm mount private:179,3 to  to mount 179,3 private  sd card second parition but still its hidden and showing invisible

on  command  ls -al /dev/block/platform/soc/8804000.sdhci/by-name/

```<code>lrwxrwxrwx 1 root root  18 2022-11-07 13:12 mmcblk0 -> /dev/block/mmcblk0
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 mmcblk0p1 -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 mmcblk0p2 -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root  20 2022-11-07 13:12 mmcblk0p3 -> /dev/block/mmcblk0p3
</code>```

it showed 3 partitions of  micro sd card  ie /dev/block/mmcblk0p1 & p2 & p3  but  how can we mount  the  undisplayed parition by
mount /dev/block/mmcblk0p3 /data/sdext2 will it  write in init.c  so that  its gets  every time i reboot restart  the  android phone. by which command i can show  the  micro sd card hidden partition so that  it can be  displayed in settings-storage and wordk as  adoptable internal storage

Thanks for giving time and reading my question and  i will be  obliged to get experts advice solution for  my problem . Thanks a lot in advance for  your precisous time advice and knowledge sharing and help.


问:
How can I get this former Lifeline phone working?
I have a UMX U683CL. My mom has had some of the worst luck with phones via Assurance Wireless; this was her third or fourth one in about three years, and they've all misbehaved terribly. They didn't even want this one back, and I found it again recently and thought I'd repurpose it as a much newer phone for me (my phone is a six-year-old Alcatel potato that's served me well running apps, but it's small and slow and old). I started down the road of rooting and got super overwhelmed and confused in a hurry, and ultimately gave up and just used Tiny ADB to uninstall all the bloatware on it that I didn't need. It seemed like it would be fine, so I went ahead and got set up with Tello and had them send me a new SIM card. It got here, I put it in the phone... and nothing. I ended up doing a factory reset to see if that helped, since it could just reinstall all my apps and things from the cloud easily, and still nothing. All of Tello's advice involves updating the system in various ways, and that's where the problem is.

This phone never succeeded at updating once, in the time my mom was using it. It would periodically try and fail, and was mostly an annoyance whenever it did. But if I do Settings > System > About phone > System update (Update OEM software), none of the options there succeed at anything. I do update profile, it makes a cursory attempt to do it and then I get a popup about "waiting for retry" (with five attempts). Each attempt takes a minute; if I let it muddle through all five, eventually I get a message that says "Your activation could not be completed. Please try again later. If the problem persists you may need to contact Customer Service."

I do update PRL, and the mU Software Update overlay just sits on "Checking for PRL update" infinitely.

If I go to system update,  I get a screen with info about wireless updating and how it works, and if I hit "checking for updates", it checks and then says no updates are available.

If I hit the last option under the system updates menu, UICC Unlock (important for this instance), I get a popup from mU Software Update that says "UICC unlock fail. Error Code: 23. Description: DM Auth failed with 407 status code".

Assurance Wireless isn't going to be able to help me with this. I don't even want to bother with calling them, because I'll end up with someone in a call center in Dubai or wherever, and they're not going to be able to do anything with the fact that it's not a current, active Lifeline phone. So. Is there a way to deal with this? Would rooting get me around these issues and let it work as a phone NOT on the Sprint network?

Edit: Since I've mostly struck out with this same post over on Tom's Guide, I'll clarify some things here as well. My primary wish is to get the update functions working so that I can progress with activating the Tello SIM. As far as I can tell the phone is already unlocked; Assurance Wireless will likely be of no help, and my mom never dealt with Sprint directly, because this is a former Lifeline phone, so they wouldn't be able to help either. And if the updating can't be fixed, I would like to know IF rooting would bypass the problem, and if it would then I have to find someone who can really hold my hand through it because my dip into rooting was super baffling and unsuccessful.


问:
how to make Samsung j3 with 8G rom usable
I have a Samsung j3 phone with 8g internal rom, 16g sd card and Android 5.1. It is in excellent condition.

Recently "storage is running out" errors started appearing, and even services stopped working because of this. There is nothing on the phone except the usual Google stuff (maps, googleplay etc).

Photos, videos, etc are of course stored on sd card.

I already disabled all samsung apps (bloatware).

I already configured apps to use sd card when possible (only a few apps offered this and even those store much of their data in internal storage).

Right now I can use the phone only if I empty the caches of applications and switch off networking. As soon as I enable networking, the caches start filling (googleplay, maps, etc) and in a few minutes storage run out.

Is it possible to make it usable with rooting and using a custom ROM? If yes, what ROM should I try?

"Usable" means to me:

calling,

texting,

browser,

photos,

some kind of navigation (maps)


问:
Opening iptables for initial Android setup blocks connectivity
I installed an AOSP Android 12 based ROM with root. I set up a simple custom stateful iptables firewall to block all connectivity except for a browser. I connect to WiFi and there is no internet. This setup does work after some initial network activity occurs on a freshly setup ROM with just the default firewall left in place for a little time (until browser able to access internet).

What sequence of events occurs behind the scenes on a freshly set up Android ROM for the internet connectivity to be enabled? What sort of things must occur for Android network connectivity to become available for apps after a fresh installation and after having established WiFi connection?

There's no internet if you just open up the firewall for one app on a new installation and having connected to a WiFi.


问:
How to pass clicks through display over apps?
There is a problem i want to solve

I have an app that clicks a certain point on screen when I click the volume up button. But it is drawing over a game i want to click. Its activating what i want but stops my movement joystick.

The app name is use is Button Remapper Pro

Game is Brawl Stars

Is there any way to bypass stoping real clicks when an app is doing a 'display over other apps' clicks?

Help is appreciated!


问:
How do I install/update the Trusted Certificate Store on a Lenovo IdeaTab?
Most of the tutorials I have found either allow you to open a file browser to browse to the cert(that button isn't visible on my device), or install from an SD card. I tried the install from SD card option, but it just presents a toast that no certificate was detected, even when I moved it into the root folder of the SD Card.

It isn't a special cert for an app that I am trying to install, I am just attempting to install the ISRG Root X1.der cert, which is required for modern sites using Let'sEncrypt(a sizeable part of the internet).

Or is there a way for me to force the device to pull all of the new/modern certs from Google?


问:
How to force Android 8 to connect WiFi without internet?
For some reason, I need to connect my Samsung phone (Android 8.1) to WiFi locally, no internet required.

However as soon as I send some data through it, the connection suddenly get terminated that I have to reconnect again, even when "no internet" prompt have been clicked "keep connection".

No luck in implementing answers from similar topics as well
Stay connected to specific Wifi which has no internet
neither forgetting entire other network.

Any suggestion? Or it's simply impossible for non-rooted device?


问:
Whatsapp notification bubble on app icon: change to look like Apple ios 15 i.e. RED and NUMBER of UNREAD MESSAGES ? So prominent
Android 12 Motorola.

Is it possible to display the number of unread messages in a prominent color - preferably a RED and the NUMBER of UNREAD messages ?

This would make it much more prominent once the phone is unlocked.

Also, when unlocked the message appears on the screen then intermediately disappears: on ios I can make it permanent - until dismissed.

Admittedly on the lock screen it does display the unread WhatsApp: this is for a user that is not so familiar with smart phones and does not use one enough to get used to it properly.


问:
When using "Scan documents with Google Drive" in andriod app does the image/pdf get stored on phone anywhwere?
I need to upload a sensitive documents to Drive. I am using Drive App scan feature. The idea is to not leave any trace on the phone used to upload. The file even if save locally by drive app and then deleted on upload can be an issue.
Doubt because of this thread:
Does Google Drive replicate files before uploading?</p>


问:
Recovering corrupted system files and apps without losing user data
I have an Android phone that partially stopped working:

During a video call, the phone suddenly rebooted. After rebooting, some major system features were missing, and I can't seem to get the back to working.

The catch: I cannot try the usual solution of doing a factory reset to try to restore system files and apps that may have been corrupted. I moved from my home country, and this phone is used for access to bank accounts and such, which I cannot easily just reinstall, as I can't re-verify my identity in the apps.

TL;DR: Apps still work, but can't update them, and lost core system functionality, like the home button and notification area. Is it possible to recover them without losing my app data linked to the device?

Details

What stopped working

General:

Home button and app switching (buttons do nothing)

Search bar on Settings app does not show up, only a blank gap

Motorola's Gestures (shake to open Camera or Flashlight)

Custom screenshot stuff

Home Screen:

Can't see notifications

Corner shortcut icons for Camera disappeared

Notification Area:

Cannot expand area for more icons or see settings

Lost settings customization

Cannot see notifications

Google Play Store

Cannot find apps in the system (no pending updates, can't see installed/uninstalled lists)

Cannot download new apps (stuck in "Pending")

What still works

General:

Wi-Fi, Bluetooth, Apps

Can access settings

Volume, brightness (including adaptive), Camera, Lock button

2-button navigation's dragging upwards (it's the only way that allows me to reach home screen, from app screen)

Back/Return button

Install apps from their APKs

Home Screen:

Fingerprint and password login

YouTube Music's play bar

Notifications:

Can see notifications inside the Settings app, in Notification history

Can still hear the notification sounds + vibration

Can open a very basic version of the notification area, with 6 default icons, which I can turn on or off

Settings app:

Can normally change settings back and forth

Move files between phone and SD

Clear app data and cache

Start/stop apps

Play Store:

Search apps and see ads

Google Play Protect

The store app is able to update itself

What I tried

Rebooting, multiple times

Rebooting into safe mode - Same system issues

Opening the bootloader's recovery mode and trying all options that weren't factory reset

Installing a new launcher app: it works, but no changes any errors

Resetting Google Play app to factory version and clearing all data

Google Play app was able to update itself, but it cannot find any app in the system

Clearing user data for multiple Google apps, like Google Play Services or App Customization

Uninstalling updates for Motorola's apps

Phone details

Model: Motorola One Vision (2019)

OS: Android One 11

Version: RSAS31.Q1-48-36-23

Latest patch: May 1, 2022. I believe support has ended.

Possible paths to a solution?

Reinstall system files without touching every other file

Can't perform a system update, as it seems to have no more support as of this year. But maybe rerun one, somehow?

Backup or transfer all app settings, with their accounts and verification status

to a new phone or Android VM; or

then hard reset the system on this phone, and safely restore the state

I realize this is possible with some backup apps, but I fear on the safety part, because I'd lose what I can still currently do in case it somehow fails

Verify integrity of storage of system files to restore safety, with a tool like Windows's sfc /scannow and chkdsk /r

Troubleshoot system dependencies

In case this is a corrupted app situation, find which service call is failing for the missing system functionality

Perhaps accessing logs from Play Store or when rebooting in safe mode? Or figuring out the external calls performed by the app for the installation process?

Anything else?

I'm open to suggestions for achieving these, or perhaps alternatives to recovering the functionality. Thank you in advance.


问:
Find phone number attached to data-only sim card
I have 2 data-only sim cards that I use with 4G routers (Huawei E5576-320), and I need to be able to differentiate them. The "phone numbers" attached to the cards should allow me to differentiate them since they are displayed in my contract. Unfortunately, I can't find this information anywhere. I can't think of another way to tell them apart because the bodies of the cards are identical and I don't know which card (of credit-card format) I detached them from.

I checked the router settings but can't find the information anywhere. I also tried to put the sim cards in my phone (Samsung Galaxy S20 FE 5G) but the sim card manager from the settings app tells me "unknown number".

Is there a way to find this information? Or is there another way I could differentiate them? Thanks in advance!


问:
Access cloned apps data in Android 12
I am trying to extract the image folder for the cloned Telegram app from my Redmi Note 10 Pro (Android 12, MIUI 13.0.15, no root), but with no success.

This folder is under /emulated/999/android/data, but no file explorer seem to be able to read its content and Google hasn't been able to give me a solution so far.

Is there a way to actually access that folder, either through the phone or with a Windows/Linux PC?

Title: Access cloned apps data in Android 12


问:
Camera on Allview A5 Ready does't have focus
The camera of Allview A5 Ready doesn't have focus, just makes blurry photos on small-medium text. This phone don't have any kind of focus (auto-focus or manual focus).

Is there a way to make sharp photos?

OwnerDisplayName: Danut Popa


问:
When did unlocking the bootloader become a requirement to root Android and why?
When did it become a requirement to unlock the bootloader before rooting your device or better yet, is it really a requirement to unlock it?

Before that, you could use those one-click rooting apps to root your device without unlocking your bootloader, but those don't work anymore.

Correct me if I'm wrong, but those rooting apps didn't require unlocking the bootloader, right?

So, is it necessary to unlock the bootloader before rooting or can you root without unlocking it? And this question is concerning Samsung devices with Exynos chips.


问:
Why would Android display "Security policy prevents use of unsecure networks" message?
When disconnecting an non-rooted stock Samsung Android Nougat (7.0) device from a WPA2 WiFi connection, Android briefly displayed the following message:

Security policy prevents use of unsecure networks.

An internet search found a thread with someone reporting the same issue, but no resolution.

Why would Android (or perhaps something in Samsung's ROM?) be presenting this message?


问:
How can an app detect ADB being used (e.g. with HttpToolkits)?
I have an app that stops working (at the login screen) when I have my device connected via ADB using HttpToolkits to get traffic. It seems odd; how does the app know that the phone is being used with ADB?</p>


问:
Given a contact in my Google Contact app, how can I see where it is stored? (which Google account? SIM card? phone internal memory? etc.)
Given a contact in my Google Contact app, how can I see where it is stored (which Google account? SIM card? phone internal memory? etc.)

I use a Pixel 6 and Android 12.


问:
Samsung XCover: can't turn SD external memory into internal memory, even with adb
I have a Samsung XCover 4s, android 11, and I can't find a way to turn a part (or even the entire card) of my sd card into internal memory. With ADB I tried to follow this tutorial:

```<code>$ sm list-disks adoptable
disk:179,32
$ sm partition disk:179,32 mixed 75 # 75% as external
</code>```

unfortunately when I restart my external storage is smaller… but my internal memory still has the same size. Any idea what I am missing?


问:
Is it possible to have android contacts with only a carddav sync
I use android contacts and have my contacts synced with carddav. at the moment I have a google account in which new contacts seem to go. I try to get away from using google.

Can I drop the google account?

Will new contacts then be stored in the carddav list, which will be synced.

Thanks for help!


问:
Vague confirmation message blocks me from any online purchase
I am from Romania, my phone is a Xiaomi Redmi Note 9, Android. Whenever I am trying to make an in-app purchase, I get this "verify that it's you" pop-up message with a text form for entering a code or password.

It was vague I thought. I put the password of my e-token account which is shown in the picture, no "wrong password", just puts me to the same screen meaning I got the thing wrong. I tried the Google account password, but nothing. The 4-digit PIN the providers gave me in SMS, no result.

Is there a code they should have given me? I got no notification, nor any pending transaction to this, and I got no idea what to put. At least it doesn't lead to worse things such as a blocked account due to the many attempted fails.


问:
If my LG phone got stuck (as in, did not react to hard reset) in download mode and I had to pull the battery, should I skip attempting to stock flash?
I factory reset my LG k7 phone to help with battery and storage issues, but upon reboot, I found that it was glitching up at the setup screen and says the 'Setup Wizard isn't responding. Would you like to close or wait?" on a black screen.

Due to this, I had planned to go ahead and stock flash it, as I was recommended to do. Before proceeding with this, I decided to test out putting my phone in the required download mode.
But when I tried disconnect it, which, for my phone model, means giving it a forced reset, it didn't respond no matter how long i held the buttons, which left me to assume it was frozen.
I then pulled the battery.

So my question is: should I take this reaction to being put in download mode as a bad sign and skip the stock flash? If the phone were to freeze up like this during the flashing, it would cause an interruption and a likely bricking. What should I do?


问:
Strange message after wiping data/factory resetting on Pixel 6 device
Last night, I flashed my Pixel 6 phone because I want to move to Pixel 7. After flashing, I turned on the phone for a while, and then I used the Recovery >Wipe data/factory reset option. Unfortunately, after finishing, a strange message appeared.

```<code>-- Wiping data --
E: Open failed: /metadata/ota: No such file or directory
Formatting /data...
Formatting /metadata...
Wiping Titan M...
Wiping keys...
E:gto_esehal SecureElement:t1_recv_window_append free = 261

E:gto_esehal SecureElement:t1_recv_window_append free = 261

E:gto_esehal SecureElement:t1_recv_window_append free = 261

E:gto_esehal SecureElement:t1_recv_window_append free = 261

Data wipe complete
</code>```

Is it something serious? Can I sell the phone in this condition or should I return it for a warranty? Isn't this some sort of security flaw? Other than that, everything works fine.


问:
Cannot delete a WhatsApp contact
Firstly, I tried to delete the contact in WhatsApp. It lagged a bit and it didn't ask me a prompt to delete the contact. (It's only for that specific contact, the rest works fine.) Then, I went to my contacts app and delete it there but the same thing, it won't delete at all.

What am I doing wrong?

Title: Cannot delete a WhatsApp contact


问:
Cannot set up Android tablet with Family Link
I bought 2 HUAWEI Mediapad M5 Lite (Android 8) devices for my children, one year apart (both the children ages, and the purchases of the devices). I managed to set up my son's device first with Family Link so that I can control it from my Android 11 phone and other Android devices that I use. However, I cannot get the 2nd one to be "seen" by Family Link. I don't remember exactly how I set them up, doing it one year apart, but I can see that they're both linked to different e-mail addresses that I created for my kids and even the one that cannot be recognized has parental controls enabled (with a warning to "Get more controls" with the Google Family Link app). When I go to the Family Link app and try to add a device for my daughter, I get a message to go to the kid's device ➡ settings ➡ account ➡ parental controls and there I don't see anything else I can do to add the device.

So, other than resetting the device and trying to add the account from scratch, is there anything else I can do?


问:
How can I configure my Pixel 6 to start video recording at a given time?
How can I configure my Pixel 6 to start video recording at a given time? (e.g., video record from 6 am while I am asleep)</p>


问:
Reboot Loop after logging from the block screen, Redmi Note 11
I have a problem but since I'm not an expert I need your help. I don't know if this is the right place but I'll try to reach for help anyway.

It's been 3 days since this smartphone (not mine) started behaving like this. I power it up, I type the PIN and after 15/20 seconds a little spinner starts rotating with a black screen in his back, shutting down the phone in 5 seconds (if I don't login with the PIN it doesn't shut down!! is this an indication that the problem is on the software side??). When I power it up, it goes in to the "main menu" where I got 4 options: reboot, wipe data, safe mode and MIassistence.
I would like to find a way to solve this issue without wiping the data.

What I tried:

Deleting trash apps from the home page (my mom's fault, didn't know she played 20 games)

Using the cleaner ( I got time to clean, but this didn't solve)

Set the smartphone to developer mode -> set the usb connection type to: file transfer->
wait for the reboot, plug the usb in pc, wait in blockscreen, wait... wait... Nope I got to type the PIN in order to access data! So I have to type it and the smartphone shuts down leaving me another time. When I go back I'm not able to access data because I have to login...

Tried to log, put the smartphone on stand by, wait... it shuts down!

Tried to update (now it's android 13.0.10, it says stable but there are available updates..) but obviously I got no time.

Tried to go in Safe Mode, there is no "safe mode" label at the bottom-left and it feels the same as "normal mode"...

Tried to massage the screen, front and behind (idk if the video suggesting this was a troll, I tried but probably he doesn't care about massages.)

Tried to spam power button

Tried to smash it on the ground, it works now! Thankk you guys for the attention :)
No just kidding it does not work (and I did not smash it on the ground)

Tried to find running processes, I was not able to find those.

Tried to do a "security scan".. it gets to 6% and the smartphone shuts down (there is a payment environment issue anyway, and a green tick on the privacy & security, a spinner loading for the virus check, which I'll never be able to check since Redmi NOTE 11 shuts down!!!!).

I've also tried all of this without the sim card on, nothing changed.

I read this could be a firmware issue, but I'm not this much into android stuff, and I feel overwhelmed by all of these things.

Questions:

Anything else to try in this basic level

What could be the problem? (I'll try to look by myself but I don't have ideas on what to look for atm... I would like to know if having a way to update the firmware from pc would solve this.)

Is there a way to access data even though I'm not logged in?

Sorry for the ignorance on the topic, hope this doesn't resembles other questions on this forum, hope I'll get help, thank you for your time.


问:
Enabling NFC on vivo V2205
So, vivo Y35 (V2205) has an NFC hardware inside.

but apps (and settings) ways that 'NFC is not supported'

[
[

I am looking for a way to enable NFC (preferably without root, but rooting is fine)

Specs:

vivo V2205

Android 12 (1 October 2022 update)

PD2225KF_EX_A_12.0.8.7.W20

Title: Enabling NFC on vivo V2205


问:
Will "Apply update from SD card" delete my data?
Will I lose my data when using Recovery's Apply update from SD card option? And, if so, will I lose data on the phone, on the memory card or everywhere else?

Phone: Samsung SM-A107F/DS (Galaxy A10s)

System: Android 11, One UI Core 3.1

Bootloader version: U8

Recovery: stock

Root: NO


问:
How to control the phone with on screen touchpad?
In Windows 10 and above there is an option like in the below screenshot to control the current device using a virtual touchpad. I'm looking for something similar in Android. To be more precise I'm not looking for an App to control another device but to control the current device.

Use Case

I have Galaxy Tab S7 which has fairly a large screen almost comparable to an office laptop. I often use Evernote, but there is no option to resize images in its native Android App. On the other hand web version of Evernote has the option to resize images, and also the web version works perfectly fine in Chrome for Android. But the issue is that the image can be resized only using a mouse click event, even the official keyboard cover of the Tab sends only a touch event instead mouse click event.


问:
OEM Vulkan support on Itel A48 (L6006s) unavailable despite Android's and Arm's specification
I have Itel A48 (L6006s). I've confirmed that it has a Mali-T820 GPU, which supports OpenGL®ES 1.1, 2.0, 3.1, 3.2, Vulkan 1.0, OpenCL™ 1.1, 1.2 Full Profile, RenderScript™.

However, as I was coding a Vulkan app, putting a call to vkEnumeratePhysicalDevices(instance, &deviceCount, nullptr) informs me that no devices are available. vulkaninfo on Termux gives "ERROR at vector".

Does Itel A48 (L6006s) support Vulkan?


问:
Android Calendar - event snooze poor functionality - any settings?
I have been struggling with Android Calendar event reminders for quite some time, leading to missing events and reminders.
The snooze function is very poor. If you miss the event (don't press snooze or dismiss), it doesn't remind again, just stays in the "notifications" but no new sound etc. at any point. Even if you snooze it, often the event does not appear again, or it appears only once.
The problem is, when the event appears, it goes away quickly, if you don't notice it, there is no other reminder coming automatically.

I have found 0 settings (Samsung S8 phone) to change the behaviour. I recall the functionality was much better on Windows Phones, and hell, even in old Nokia phones with Symbian.

I use the calendar a lot, but to be honest it makes me miss many reminders, noticing those late - not very useful.

Is there really any settings for these?
Are those any better in newer smartphone models or same **it in different package?


问:
MSM Download tool with bootloader locked
Can MSM Download tool be used to flash stock firmware/rom without unlocked bootloader?

The device is realme 8 5g


问:
How do I specify which calendar to read appts from in a Google Assistant Routine?
I use the Google Assistant Routine in the Alarm to read my calendar appointments from in the morning, but it defaults to (only uses?) my "main" personal account/calendar.

I've added a work account with its own calendar, but I'm at a loss to get the Alarm app to be able to specify which calendar to read from to tell me the first 3 appointments of the day.

Is there a way to do this?  I don't see how to open the Alarm "in" an account.


问:
Matching a kernel's config for compatible kernel modules
I'm trying to compile a kernel module for an Android device for which I don't have the source for.

I have:

Downloaded the exact kernel version running on my device from an AOSP mirror (4.9.170) (https://github.com/aosp-mirror/kernel_common.git)

Downloaded the exact compiler used to compile the kernel from my device:

Ran cat /proc/version, which returns "Linaro GCC 5.3-2016.05", which I downloaded from https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/aarch64-linux-gnu/

Took the kernel configuration from /proc/config.gz, copied it to the kernel source directory kernel_common as .config

Ran make ARCH=arm64 CROSS_COMPILE=xxx oldconfig

What I'm seeing:

First, the downloaded kernel source for 4.9.170 seems to think that my config is incomplete, since it will prompt me to answer ~15 extra configuration questions.

Second, this old Linaro compiled doesn't appear to support -fstack-protector-strong despite it being explicitly enabled in the /proc/config.gz file. So I end up disabling it with ./scripts/config --disable CONFIG_CC_STACKPROTECTOR_STRONG

Finally, after successfully compiling, I take net/ipv4/tcp_westwood.ko, just as a test module, and try to load it on my Android device, and it fails:

insmod: failed to load tcp_westwood_5.ko: Exec format error
And in dmesg output: tcp_westwood: disagrees about version of symbol module_layout

My questions:

Can I assume that the /proc/config.gz file is not the actual file used to compile the running kernel, considering it doesn't completely configure the 4.9.170 kernel?

Am I on the right path to getting a kernel module that my kernel will load?

Background information:
I'm hoping this isn't very relevant, but just to head off some questions

This is a T95 Android TV device running what appears to be, to this newbie's eyes, a very Frankenstein'd Android 10 install (See https://www.cnx-software.com/2020/0...-comes-with-mali-g31-gpu-supports-android-10/)
I can't find any official - or unofficial - source for this device, which is why I'm going to all the trouble above.

I really appreciate any help, thank you!


问:
how do I make bixby have a default command, for e.g. take screenshot
How do I have a default bixby take screenshot command.  Android 12/13</p>


问:
How to enter download mode on T-Mobile's Samsung Galaxy S20 FE?
Whenever I try accessing download mode on Samsung Galaxy S20 FE, I click on reboot to bootloader but it takes me to a bootloader menu, where I get options like recovery mode, start, boot to FFBM, etc... yet, all of these options lead me into the main recovery mode menu.

The phone is locked by T-Mobile and I think it may have something to do with it, I'm trying to flash the modem to unlock the phone.

Any advice on how to get it unlocked?


问:
Which filesystem should I use on my SD Card?
I have a 1 TB SD Card in a Fairphone 3 running the latest Lineage.
Recently I had issues with random reboots and now found out that my SD Card is formatted with FAT32, which might cause troubles on such a disk size.

I tested a bit, and unlike lots of info on the internet, both exFAT and ext4 seem to be recognised just fine. And there is also F2FS which is touted as a good choice.

So, which FS should I use? I use Linux everywhere so desktop OS compatibility is not a problem.


问:
How do I delete the default images when I plug my USB thumb drive into my FireTV?
I have a Kingston USB thumb drive and every time I plug it into my FireTV there is like 100 images that show up that I don't know what file folder or where they are. How do I get rid of them? I tried deleting the "Android" and "LOST.DIR" files and making a new file with those names to block them. I just want my images and ONLY my images to show up when I plug my external storage devices into my TV. Can someone help me?


问:
/sys/class/net on Android 12
Recently, I bought a new phone with Android 12. This command worked on Android 10 (just Termux, no ADB, no root):

```<code>cat /sys/class/net/wlan0/statistics/rx_bytes
</code>```

but failed on Android 12.

Any work arounds without root? Only shell commands are accepted, not Java/Kotlin and such.

Title: /sys/class/net on Android 12


问:
WhatsApp "something when wrong with your chat history" and msgstore.db got automatically deleted
I have this problem since updated my Whatsapp to latest version where at random time it will crash and display a notification saying:

It happens so many times throughout the day.
I have a rooted phone. And when that happens I can see that my msgstore.db from /data/data/com.whatsapp/databases is completely gone others like wa.db,etc are left untouched.

I have backed up my msgstore.db somewhere in my phone and I can just copy that to the /data/data/com.whatsapp/databases no problem, but sure enough sometime in the day same error pop up and my msgstore.db got wiped.

The easiest way to trigger this error by simply back up my chat in the settings and enable google drive upload, when the local backup complete and the backup showing "preparing google drive backup..." The Whatsapp just simply crash.

I have tried reinstalling whatsapp and setting the chown like in Restore Whatsapp but that doesn't work. I even tried setting SELinux to permissive and have no luck.

Here's the logcat just in case: https://pastebin.pl/view/b8fe76fb

Owh ya, I forgot to mention that my msgstore.db is sized 3.58gb :)

Any help will be appreciated. Thanks in advance.


问:
Can `rm -rf` reset rooting phone’s system partition?
As far as I know, a factory reset cannot make the phone unrooted. Then what about system partition?

In rooted Android, apps can have root permission so they can do everything. I want to know if an app performs a factory reset by the command rm -rf, will it reset everything including the system partition? Because in a rooted phone, we can change system partitions like controlling the battery and making the click sound disappear when taking photos, etc. I want to know whether factory reset and rm -rf can wipe the modified system partition too.

Btw, if I use custom ROM before performing the system partition, will the modified system partition be reset?


问:
Bug in chrome app with notification slider, starts search on page
So I have this bug, I already reported it to OnePlus but didn't get any feedback.

I have a OnePlus 8T, which has a physical notification slider above the lock button on the side of the phone. This slider will put the phone in silent, vibrate, or sound-on mode. The bug is that whenever I do this when I'm in the google chrome app, it will start a search on page.

Is this a bug that people know about? Is it a feature? Any ideas what it could be?

I provided a screenshot below to show what I mean. Sorry for the dutch, but as you can see it started a "search on page" when on the right you see that it also switched to vibration mode


问:
Android camera access
I mean if when one app is using camera in background , is using another camera app at the same time possible??

Some people say it depends on how the applications is coded.

Also the app “sound assistant” makes 2 music apps using speaker at the same time.
And there are apps that use front and back camera simultaneously.
Then, access to camera by 2apps at the sametime can be possible??

Any way thanks for reading and I want to know if the phone is rooted or an app has root permission , there would be a change in answer:)

I wonder in rooted android phone, this can be possbile .

Btw i am talking in android version 5.0-6.0 which was released 2015-2016.

OwnerDisplayName: Jamy

Title: Android camera access


问:
Does using two SIM cards in a smartphone drain the battery more?
Does using two SIM cards in a smartphone drain the battery more? If yes, what does the phone do differently to cause a higher energy consumption?

If take out one SIM card, is it true that the phone still transmit microwaves towards cell towers for this free slot?

Does phone trasmit more EM per unit of time when use two SIM cards?


问:
Rooting android phone
In rooted android , apps can have root permission so they can do everything.
I want to know if an app perform factory reset of command rm-rf,
Will it reset everything including system partition?
Cuz in rooted phone, we can change system partition like controlling battery and making click sound disappear when taking photo etc.

i want to know whether factory resest and rm-rf can wipe modified system partion too.

Title: Rooting android phone


问:
Can virus (spy) apps install custom firmware (custom ROM) in a rooted Android phone?
I heard spy apps can root Android phones. If the phone is rooted and spy apps are installed, can spy apps install a custom ROM in that Android phone?</p>


问:
When you're looking at your google activity and it says viewed next to it, does that mean you actually viewed that topic in your cards?
When you're looking at your google activity in your iPhone. Next to some of my cards it says viewed but I didn't actually view that topic. So what does that mean?</p>


问:
Turn on/off usb gadgets via adb?
Is it possible to enable USB gadgets functions via ADB? Especially in a Release build device.

i can use setprop but in Release build devices it wont work. Also how do i use the gadgets after enabling it since /dev is read only.

Title: Turn on/off usb gadgets via adb?


问:
Disable this keyboard shortcut
I got a hardware keyboard and when I long press Windows key on my Samsung phone, it shows a page with "Default Digital Assistant" (translated to English). This is really annoying and I trigger it countless times a day. How to disable it?</p>

Title: Disable this keyboard shortcut


问:
How can I stop some calendar entries from disappearing
For some reason. most of the appointments I make for my massage therapist, disappear. But only if I  make them at the clinic.

When I am there, I enter the next appointment.I then check to see if it is in the calendar. And it always is. However, every one of them (except once) disappear a few days later.

I am not deleting them. even accidentally because all other entries are always good.

Is there a way I  can stop this from happening?

Note - the mobile reception there is dicey.  I have Samsung Note 20 and Business Calendar


问:
Battery low triggering by ringtones and voice in Android phones
Is it technically feasible to have this feature of Battery low triggering by ringtones and voice to the end user say when battery has reached level of 10% or 5% in android os phone devices?

This feature if feasible is also applicable to ios apple phone devices.


问:
Does cellphone radiate when browsing web?
Does phone radiate when browisng web,download or only at upload?
When radiate the most, during call ?</p>


问:
Contact won't ring through vibrate mode when set as "Allow during Do not disturb"
As the title says. I have a contact who will call with 1 of 24 different phone numbers. I have set that contact as Allow during Do not disturb in the sound and vibrate settings. When they call it does not ring through but instead vibrates only.

I am on a Samsung S22 updated to Android 13 recently. (worst decision of my life, I have never had so many issues with an Android before 13.)


问:
What's this app icon?

Hi I hope anyone can help figure out this app icon on the notification bar. I can't for the life of me know what it is. lol

Title: What's this app icon?


问:
Why doesn't my Motorola G 5g 2022 camera focus
When I try taking a video, my camera does not focus on the subject. Although it is perfectly fine when taking pictures. Why is this and is it able to be fixed?</p>


问:
Recovery mod volume buttons not working
I'm stuck on boot loop, so I tried to enter recovery mode to wipe cache partition, but when I'm in recovery mode, I can't use volume buttons to select anything. My device is Galaxy A51 with Android 12.

Any solutions?

Title: Recovery mod volume buttons not working


问:
Compared to APK file, are apps installed from AAB (Android App Bundle) impacting their performance?
I'm just a normal Android user. My phone is Samsung Galaxy S10 (Qualcomm S855 variant). I'm satisfied with this phone, but I always felt that the Android version of some Apps are laggy when using, like: Twitter, YouTube, Google Maps, and even the Google Play Store. You will feel the scrolling stutter and lag in many scene. Although it's three years old phone, I don't think it doesn't have enough performance to running these apps. I've tested on another phones (Galaxy Note10) and the situation is same.  So I think the application itself has optimization problems, or the latest version has bug.

I have tried Clear App Cache and Re-install again from Play Store. The problem is remains, so I turn off autoupdate in Play Store and install previous version through APK (Download from APK Mirror), all the problems are solved, it's working well and feel smooth when you scrolling or do any operation, and then I tried install the latest version of APK, it's still not have any problem, working perfectly too.

I know that the apps installed from Google Play Store are distributed in the Android App Bundle (AAB) format. So here is the question: will the AAB make Android apps laggy?


问:
Can I enable some kind of "precision pen mode" on my android tablets?

The Background

I want to annotate PDFs on my tablet, which I tried several apps for. All of them had the same problem: my fingers are too big to write smallish characters on the screen.

Telling this to a friend, she gave me a pen of hers (so unfortunately I don't know the brand), it is an active one (needs to be switched on) and works well when drawing longer lines. However, the problem with drawing small letters or digits remained, they mostly wouldn't show up, or only some of the strokes.

To debug this, I installed an app called "mobile screen and display tools" which can detect display touches and displays a crosshair where it detects a touch. This revealed some very annoying behaviour:

Touching the screen with the pen, then moving the pen in a small circle (5 pixels?) around the original touch point will not update the touch position.

Touching the screen, moving the pen by a cm or two, then doing the same circular motion will update the touch position.

So it seems to me that the display is perfectly able to detect single pixel movements, but it decides to ignore them directly after a touch. It won't ignore them after a decisive pen move.

Which explains the problem I had with drawing smallish letters/digits: larger strokes will be recognized - small ones won't. I assume this is a "usability feature" on android so people using their finger (inadvertantly wiggling the finger a bit) won't trigger a "move" when they want to trigger a "touch".

This happens on a new BlackView Tab 10 Pro tablet (Android 11), an older Lenovo Yoga Yt-X703L tablet (Android 7.1.1) and a Huawei P20 phone with EMUI 12, so it doesn't seem to be related to the hardware, vendor, or android version.

The question

Is there a way to tell android devices "I'm using a pen; if I move it after touching the display, even by just one pixel, treat that as a move and not as an accidential finger wriggle"?


问:
How to view these no file extension files exist in the android>data>xyz app>files folder?
I have installed an app from play store, which contains pdf files. When I click on download button the app download them in such way that these files are only able to be opened in that app. (Like how youtube saved videos offline)

I cannot share these files to my PC. When I went to Android/Data/XYZAPP/Files, I get to see these files. But I cannot open them directly. They have no file extension (e.g. 234828173)

I tried to open them with bin file viewer. They contains a lot of binary or hex code.

Those are the pdf files (because if I download 2 pdf there shows 2 files if I download +1 there gets a +1 file, except them there are no files in that specific app data folder), how can I open them like I open other normal pdf files.

Thanks


问:
Disable location icon in status bar for single app
I'm using /e/OS 15 (Android 12, a privacy-focused fork of LineageOS) on my Fairphone 4.

After upgrading to Android 12, one of the changes I noticed is that every couple of seconds, the location icon appears in the status bar and stays there for a moment as a blue dot.

I know that is related to exactly one app that regularly checks for my location and Android wants to inform me about this.

Although I consider this useful in most cases, for this app it is pretty annoying.

Is there any way to disable the notification only for this app in the status bar? I already discovered the setting to completely hide the location notification, but that's not what I am looking for.

Thanks in advance!


问:
Can you create a profile on an Android phone without rooting?
Can you create a profile on an Android phone without rooting? Since the phone I want can't be rooted, is there a way you can create a separate profile like almost any tablet lets you do?</p>


问:
How do I disable all Wifi Hotspot features on Galaxy S20 through ADB permanently?
I have a Samsung Galaxy S20. I would like to disable all hotspot features on it through ADB platform. I saw another post on removing permissions from hostapd. I am not sure I understand how to get there. Is there any set of packages, or any kind of command that completely and permanently blocks the hotspot feature from even being enabled?</p>


问:
Locking setting in ADB
I got this setting which reverts itself after a while. I set it using ADB:

```<code>adb shell settings put [scope] [key] [value]
</code>```

It works.

But after a while, it resets. Any way to lock it using a flag in the command (should survive reboots)? Using Android 12 rootless.

Title: Locking setting in ADB


问:
Trying to download software TouchDaw says not compatible?
Is there a way to update drivers or firmware or something to get my Samsung Galaxy Tablet (SM-T520) to be compatible with Play Store App "Touchdaw"? It allows me to turn a tablet into a MIDI controller to control my Mac desktop within Logic Pro 10 x.</p>


问:
Launch app in splitscreen mode from command line
How to launch activity in splitscreen mode with the am command in Android terminal or Termux?

Say I want to launch the "Material Files" explorer, I run:

```<code>am start -n me.zhanghai.android.files/.filelist.FileListActivity
</code>```

but it launches in fullscreen.

How to make it splitscreen? Also, it would be best if I can customize launching on top/bottom half.


问:
Can I change the source code of a basic Android application?
I already know how to build applications using Android Studio.

I would like to know if there is a way to access and modify the source code of an Android application. For instance, can I add some features in the Calculator modifying its source code ?


问:
How find large files with QDirStat on Android 11 with root?
I want to list all files in my phones /data volume using QDirStat, or something simular.

On my phone, I've used DiskUsage (com.google.android.diskusage) before, but I find the visualization lacking.

I want to apply the steps described in this guide with my phone as the remote server:
https://github.com/shundhammer/qdirstat/blob/master/doc/QDirStat-for-Servers.md

Technical details

OnePlus phone running Android 11

Root via Magisk

SSH server with key-files

GNU/Linux desktop PC

Working SFTP mount of my phones / (FS root) on my  PC

Goals

Create a reading on-device using the QDirStat server script

Run the script (folder & file indexer) on-device

Don't index from the PC via an SFTP mount

The script is headless: it does not contain a GUI

Index every file & folder in /data (as root)

Import the index-dump into QDirStat on my PC

Analyze the index on PC

Manually delete some files using Nautilus' SFTP

Questions

The script seems to require Perl

How can Perl be installed on Android?

If it's installed in Termux, can it index everything?

What would be the (most-)proper way of doing this be?

Can I run QDirStat on an ARM arch?

Will cross-compilation be required?

Will cross-compiling the Qt framework be required?

How do I provide the required libs for QDirStat?

Thanks for reading


问:
How to add a Google Docs heading shortcut to home screen?
Google Docs shortcuts that lead you directly to a particular heading of the document instead of just the beginning of the document.</p>


问:
Need to lock Genymotion SaaS appliance to run only 1 app in restricted user by default and prevent install 3rd party apps and access to settings
(solved)

I need to run an app in Genymotion that is used for data entry and upload of the entered data into 3rd party sites. The logins to 3rd party sites are stored in this application (probably encrypted). The application will store multiple logins for my different customers of who need to have the data uploaded into the 3rd party sites. The data into the app will then be entered by other people to whom I outsource the data entry.

So I created Genymotion appliance, installed the app and in this application I entered logins for sites such as ebay. I am looking for suggestions on what can I do to secure the appliance to prevent the data being copied out from it.

I want to prevent the person to whom I outsource data entry to be able to install and load 3rd party other apps, modify system settings, install other apps, copy the system directory, copy the login and password information saved by the application.

Let's assume the worst possible case here when application is well written but the passwords mentioned above (for the ecommerce sites like ebay) is saved in plain text in this application in the internal application directory. What I know about the application is it doesn't support access to SD Card, only can read and write data to the internal memory.

What can I do in Gennymotion to improve the security of my appliance. Genymotion virtual machines are rooted. So I looked at following steps already:

Setup restricted user on Android

Set restriction for the restricted user to only be able to use the one application. Disable anything else (including disabled browser, email, youtube etc..)

Try to get the restricted user loading on boot of Android. When Android restarts, however, it doesn't allow choice to login into the restricted user or the admin user, sort of like a Windows or MacOS login menu. To get the appliance to always start with restricted user by default, I need to add a script and the scripted will need to start using Tasker or MacroDroid.

However, how do I prevent the user from installing 3rd party apps? Is it good enough to disable all user apps (except that one used for data entry) from the restricted user? Is there any other way the user could abuse the access to the virtual appliance and load something there? Are there any system android apps I need to disable for the restricted user to prevent the user to be able to do anything bad with it?

The application used for data entry can not download any application or data, however, I believe it does use the webview because it loads sites like ebay and fills the forms on those sites. It only interacts with select websites only like Ebay to enter data into Ebay forms..

Is there anything I can do to secure Genymotion appliance any other than what I already mentioned. I would like to send the link to the Genymotion SaaS Android to people who will do data entry for me into Ebay and other sites. So I need to make sure the virtual appliance is secured as much as possible from tinkering with it. I need to make sure somebody doesn't get hand on the stored login details.

Just to clarify for the login credentials:

I am not sure how the user credentials are stored and I will find it out, however, for now, I go from the worst case scenario when the credentials are stored in plain text in the app settings. The user name and password is stored in the application with exception for Ebay because the many other sites do not have API key or any webservices interface, so the application would access those sites simply via a webview, and when it goes to login there it will do that by filling in the login information on the login form (simulates keystrokes). The user name and password is entered into the login form for the site. That's why the login info is stored in the application itself.

This question is not about how to secure the specific application I will be using, but how to secure the actual whole Android appliance from tinkering with.

I am aware I will the risks here, just want to do as much due diligence as I can.

Update:

Done some digging so this cannot be done. Neither Genymobile or Appetize or other online Android emulators can offer fine-tuning in terms of user access. The closest is Genymobile because at least allows adding and removing access of users to individual appliances. That is however not resolving the issue with Android and in particular rooted Android, since all online emulators run rooted Android and I am not sure how that is secured against potentially malicious actors who receive access link.

The only easy way to solve it, kind of in a mickey-mousy way is to install Kiosk mode application. That kiosk app will run at every boot and it only shows the specific application. There is always risk of course the malicious user would do something to crash the application and the Kiosk app, but if the application is not a web browser or email client or similar it should be relatively safe.

There are plenty of Kiosk mode apps for Android but none of them is free (don't try to look, no chance to find one), the cheapest cost about 7 USD one-time purchase, the more expensive ones cost 20 per month per device or more and come with remote control etc... Not cheap but kiosk mode apps are almost exlusively used by businesses so that's why there is lack of free apps.

Anyhow I believe this is the closest as I could get to deal with this.

Sources for Genymotion restricted user setup ..

How to set restricted user as default user on reboot?

https://docs.genymotion.com/paas/10_Using_root_access/


问:
How to enable full screen mode in Chrome on Android 12
I was looking for a way to enable  full screen mode in Chrome browser on Android 12 OS?</p>


问:
Forward option is missing from the "message application" after it updated
My phone is MIUI Global 12.0.8, Android version 10 (QP1A.190711.020).

After the "messages" app updated, the "forward" option disappeared. As a result, I can no more forward messages. I tried to downgrade "messages", and this worked a short time, but then the app updated again, and there seems to be no way to prevent it to update.
What can I do?


问:
Deleting default phone number
How can I delete my default phone number from my contacts on my Samsung A20e.  Somehow this particular number is at the top of my list of contacts and I can find no way of getting rid of it.</p>

Title: Deleting default phone number


问:
How do I save and export Google's and Chrome's suggested articles?
Besides Google News' articles (which I've set to another language), I often get a lot of article suggestions both in Google Chrome's new tab and the Google pane (Google Discover?) that appears by swiping left on the home screen, and sometimes there are notifications for each article.

I want to be able to save and export those suggested articles, perhaps in a list or something like an RSS feed. The "left-swiping" Google pane only has a heart button which seems to be designed for adjusting the recommendation algorithm. Google Chrome has an option to add an article to the "Reading List", but when there are many interesting articles it becomes tedious to open the menu for each article and tap on the option to add to the Reading List.

So far, my method has been opening the article in Chrome and later syncing the opened tabs to Chrome on desktop and from there I would use an extension like OneTab. This method is also very cumbersome.

Is there any efficient way to save and export the suggested articles?


问:
Forgot PIN. Is there a way to reset PIN code with root and unlocked bootloader? OnePlus 7T
My phone is a OnePlus 7T with a root and unlocked bootloader. I was adding face unlocking and I've also set up a new PIN code. Everything was working great until the periodic prompt with the need to enter a PIN. Unfortunately, I don't remember it and I've got a big problem right now.

I don't know if it helps but my biometric unlocking methods should also work (fingerprint and face). I just need to pass that prompt for PIN and then reset it somehow. I've access to all Google accounts logged in the phone, but I don't see the option to reset the PIN code on https://www.google.com/android/find.

Is there a way to reset the PIN code somehow?


问:
Android phone as security camera; needs to disable safe mode
Summary:

I want to take pictures with the screen locked, as in the former Android. (Useful for using a phone as a security camera or a timelapse cam. Urgent need.)

I want to disable safe mode (without using a screen lock, using an app lock instead), since this is a huge security hole allowing a person to take control of the phone. (Also, useful for employee phones and child phones.)

I carry one phone, but use 3 phones for the house as security cameras, and 4 or more out in the field for the business as security cameras and supervision.

I just upgraded the phones, and realized after many hours that the makers of Android destroyed my number one use.  Which is to say: Android no longer allows photos to be taken with the screen locked.

Solutions:

I failed to find a rear camera way to take photos, which needs to be integrated into Tasker that I use for the best customization.

I failed to find a screen lock replacement.

I was able to use app locking programs to lock down my phone, but was unable to use it in safe mode, which is stupidly easy for anyone to figure out how to boot into, even for a child.  Safe mode cannot be locked with a different security level than the main mode, thus is a huge security nightmare for kids, employees, or security camera phones (now, in need of disabling the PIN pattern).  I also cannot remove my main account, since several of the key programs are paid by my main account, also, I want a paperweight for anyone stealing the phones or messing with them.

This is very short-sighted of the Android developers.


问:
Recover pending WhatsApp messages sent to old phone number
I have WhatsApp on my Android phone. I changed from number A to number B and did not notify contacts. Later, some contacts told me that they had sent me messages on WhatsApp to phone number A, and I did not receive them. They see the messages as having only one tick, which means that they are on WhatsApp's servers. I would like to recover those pending messages, especially from the other contacts who didn't tell me that they had sent messages.

I changed the number on the WhatsApp app back to number A, but still, those messages do not appear on the phone.

Does the encryption key change when I change numbers? If so, those messages are indecipherable, even if the WhatsApp server does send them.

If not, has anyone managed to recover pending messages?

Note: this question is different from Will I receive pending messages after I reactivate my account on new phone? because the action is reversible (I can change phone numbers) and I know that the top answer does not work (I have pending messages that I did not receive).


问:
Is FBE + Metadata Encryption secure if pin/password not set
My device is based on Android 11 and does not have a security lock screen. By default it has FBE and Metadata encryption enabled. How secure this encryption is without setting the Pin/password.
How is the default key generated.

Can anyone share any commit details which gives us the key generation and storage mechanisms on AOSP


问:
I want to transfer all my recordings done AND KEEP the date of creation with my huawei P30 lite to my Oppo Reno7 5G/Find X5 Lite
I transfered all my data from my Huawei to my oppo without any trouble, except my recordings. I was able to transfere them but the date of creation was reset. I really want to keep this information, but I haven't found a way. I already transfered my recordings from my Huawei P20 lite to my huawei P30 lite in April, and when I look in the file, all my recordings older than April 2021 has their date set to 13.04.21, but the date is the good one in the recordings app. It makes me really wonder where this information is stored.
I hope this is clear, don't hesitate to ask for more information.
Good day and thank you for taking the time to read this.


问:
How can I stop Android putting an app in Battery Optimization mode?
I have an app (Calendar Alarm) that gives me an an alarm when an appointment is about to start.

I have put this app into "non-battery optimization" mode several times now.
After I do this it works for several days.
But every now and then (Android) is putting this app back into optimized mode, making me miss appointments.

How can I stop Android put an app in Battery Optimization mode?

I have a Mi 9T
MIUI version 12.0.5
Android version: 10 QkQ1.190825.002


问:
Using LADB: "sm partition" does not show any differnce in internal storage
Using LADB (Local ADB Shell App) i tried turning my SD card into expandable internal storage (or adoptable storage, which isnt availabe on my samsung).
I am unfortunatly not able to connect my phone to a computer, but it should work the same through the local shell.

The command sm partition disk:179,32 private or even sm partition disk:179,32 mixed 50 should expand my current internal storage. The "mixed" option even shows half of the original cards storage as a secondary sd card in my file system, but there is no change in internal storage at all. sm partition disk:179,32 public is not effecitve as well.

Maybe it just doesnt show any difference, but i want to be sure that this worked, and if not - why?


问:
OnePlus 7t - Device unauthorized in recovery mode (but authorized when turned on)
I would like to install a clean Android 11 with adb sideload, but I've encountered a problem. When I rebooted to recovery and tried adb sideload rom.zip it gives me this error:

```<code>adb: sideload connection failed: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
</code>```

Same output goes for adb shell

I have also tried to see what adb devices returns when in recovery and it shows my devices as unauthorized, although when my phone is normally turned on "adb devices" shows my device as authorized. I have tried some solutions found online, but any didn't work (for e.g.: revoking usb debbuging keys).
I don't know if that matters, but my phone is/have:

rooted (but right now I don't have Magisk installed)

unlocked bootloader,

stock recovery.

Any help will be appreciated.


问:
Forward wifi thru p2p
sharing wifi internet via p2p
My android can connect to wifi at the same time it is operating p2p (wifi-direct) as a GO.
How can I go about sharing/forwarding internet connections (from wifi "wlan0") to the clients on my p2p group (interface "p2p0") ?
I have terrible wifi in the apartment, so I would like to set this Android up as a kind of makeshift repeater.

I feel like this is an iptables type of thing, but I am not sure.

Thanks for the info!

Title: Forward wifi thru p2p


问:
How can I backup my photos via ADB on non-rooted phone?
I forgot my unlock pattern on Android 12 (Xiaomi Redmi Note 10S - MIUI13). Before the reset, I want to save the photos to Google Photos or to my computer. The phone is non-rooted. Is there a way to start syncing/saving photos via adb in my situation?


问:
How do I print background colors on webpages in Android?
I'm trying to print a page from my work web app, and table cell colors are pretty critical. I know it's not available on Chrome or Android's native WebView app component (at least not in my work app).

How do I print background colors on webpages in Android? Does ANY Android browser allow this option?


问:
Samsung A50's navigation bar hidden when it is inside a case
I apologize if this is a dumb question. I don't actually own an Android phone, just asking for a family member.

The navigation bar in a Samsung A50 disappears when the phone is inside a wallet-type case. The only way I found to make it reappear, is by removing the phone from the case.

It seems there is a magnet that triggers the navigation bar to be hidden. The owner of the phone told me that this started happening when she updated the OS. I don't have version information at this moment, but will add the info as soon as I get it from the phone owner.

Thank you!


问:
TWRP stuck on splash screen, odin not recognizing phone
I have a Galaxy S5 (T-Mobile).

I recently booted into TWRP (flashed with odin,) and attempted to flash Resurrection Remix with NikGapps using an SD card. Upon reboot RR was stuck on the loading screen, and on reboot it tried to boot to TWRP but that got stuck on the splash screen too.

I tried to reflash with odin, but even in Download Mode the phone is not recognized by odin.

I've tried:

Countless reboots

Unplugging and replugging, trying different cables

Trying to get Fastboot to work (Unsuccessful)

Letting TWRP load for an hour (Unsuccessful)

Extra info: Every reboot redirects to the broken TWRP install, and Download Mode is still accessible from the phone.

If someone could help me, that would be nice because I'm scared this phone might be bricked.


问:
decrypt Android app TCP traffic using mitmproxy, frida, and wireshark
I am trying to inspect traffic from a production Android app, which I don't control, on a rooted Android phone. I'm following the guide here, which basically uses mitmproxy and frida running on a Linux container on the Android device.

The app doesn't use HTTP/S, so I am trying to use Wireshark to inspect the raw TCP traffic. My Android device and my Mac laptop are connected to the same WiFi network.

I started mitmproxy (on the Android linux container) with the --rawtcp flag. (latest verison 5.3.0 of mitmproxy)

I also specified a SSLKEYLOGFILE in order to export SSL/TLS master keys

command: SSLKEYLOGFILE="$PWD/sslkeylogfile.txt" mitmproxy --mode transparent --rawtcp

Then I start the app under investigation using the Frida dynamic instrumentation tools, and the frida universal android ssl repinning bypass script:

frida -H 127.0.0.1 -f com.example.app -l frida-android-repinning.js

Then I cat the sslkeylogfile.txt to terminal and copy it over to my Mac laptop. The file looks like this:

```<code>CLIENT_RANDOM 1234567890abcdef...2f
CLIENT_RANDOM f43c7a7b0c96b1b2...74
</code>```

Then on my Mac laptop computer, I start the Wireshark GUI app, go to Preferences > Protocols > TLS, and set the (Pre)-Master-Secret log filename to the sslkeylog.txt file I just created.

Then in Wireshark I set a filter ip.addr = 192.168.1.242, corresponding to my Android phone's local IP, and start Wireshark.

Unfortunately when I click on any packets with the Source or Destination corresponding to my filter, the packets are still encrypted. I expected that they would have been decrypted into plaintext because I specified the sslkeylog.txt file.

How can I decrypt the traffic?

OwnerDisplayName: mark