Boot on charge Samsung Tab Active 3 - Android Q&A, Help & Troubleshooting

Hi,
I've rooted a SMT575 (samsung tab active 3) by following this tutorial : https://www.reddit.com/user/mschust...ung_galaxy_tab_active_3_smt575_rooting_guide/
Magisk is installed, adb and applications have root access.
I'd like to patch the system in order to get the tablet to boot when the power cable is connected. I've already done that on the samsung tab active 2 by replacing the "/system/bin/lpm" program with a shell script that run "/bin/reboot".
I can't do that on the tab3, even as root I can't modify the /system/bin/lpm file. I tried to make a "magisk module" by putting the modified lpm file in "/data/adb/modules/startup/system/bin". When I reboot the /system/bin/lpm" file is my shell script as expected but when I connect the power cable, the tablet does not boot. I think this is because the mounting of the magisk modules is not done yet.
How can I acheive "boot on charge" on the SMT575 ?
Thank you,

teriblus said:
Hi,
I've rooted a SMT575 (samsung tab active 3) by following this tutorial : https://www.reddit.com/user/mschust...ung_galaxy_tab_active_3_smt575_rooting_guide/
Magisk is installed, adb and applications have root access.
I'd like to patch the system in order to get the tablet to boot when the power cable is connected. I've already done that on the samsung tab active 2 by replacing the "/system/bin/lpm" program with a shell script that run "/bin/reboot".
I can't do that on the tab3, even as root I can't modify the /system/bin/lpm file. I tried to make a "magisk module" by putting the modified lpm file in "/data/adb/modules/startup/system/bin". When I reboot the /system/bin/lpm" file is my shell script as expected but when I connect the power cable, the tablet does not boot. I think this is because the mounting of the magisk modules is not done yet.
How can I acheive "boot on charge" on the SMT575 ?
Thank you,
Click to expand...
Click to collapse
Hello and good afternoon, @teriblus
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Related

Getting files off of semi-bricked Note 9

After installing a Magisk module my OS just died, or rather, everything is black but unrelated things such as the widget I have on my lockscreen and the power menu are still visible, I still see me taking screenshots too. But the rest of the OS is black and doesnt seem to respond to gestures. Im able to boot into TWRP too. getting to the point, I want to get my stuff off of it and putting it into my new phone but Im unsure how to proceed. TWRP to PC backup doesnt help cuz, well, yknow. Neither does just dumping the files over a cable, although that seems to be Windows´ fault. Any ideas?
_Unknown? said:
After installing a Magisk module my OS just died, or rather, everything is black but unrelated things such as the widget I have on my lockscreen and the power menu are still visible, I still see me taking screenshots too. But the rest of the OS is black and doesnt seem to respond to gestures. Im able to boot into TWRP too. getting to the point, I want to get my stuff off of it and putting it into my new phone but Im unsure how to proceed. TWRP to PC backup doesnt help cuz, well, yknow. Neither does just dumping the files over a cable, although that seems to be Windows´ fault. Any ideas?
Click to expand...
Click to collapse
@_Unknown?
Please read the guidances that are stuck on top of every forum prior to your next posting like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Q&A.
Regards
Oswald Boelcke
Senior Moderator
Oswald Boelcke said:
@_Unknown?
Please read the guidances that are stuck on top of every forum prior to your next posting like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Q&A.
Regards
Oswald Boelcke
Senior Moderator
Click to expand...
Click to collapse
oh Im so sorry, thanks for doing that!
Serious hackers ensure that the door to Android OS always is open before they start hacking Android OS.
This is done by
either
enabling USB Debugging ( AKA ADB ) on Android device - take note that ADB always gets started by device's bootloader when device gets powered on
or
installing LAN Drive ( a SMB server & client ) on Android device what allows one turn the Android device into a Windows PC's network drive.
Both allows one to dump / transfer files located on Android device to Windows PC.
If Android device supports OTG then you also can access Android's user-data when connected by an USB-C-cable.

Chroot installation not finishing

Hey there!
I wanted to install chroot on my rooted phone [24gb available space + sdcard with 26gb available space]. It didn't work using the "Download latest" button so I downloaded the kalifs-full.tar.gz and put it in internal storage myself, which was working fine. When I got to select the metapackages I selected all of them because I wanted to install everything. After that, it just listed all the metapackages I selected in the Status menu, then it just kinda stops. I rebooted my phone but it says that chroot isn't installed. I also tried waiting for half an hour but nothing really changed. I have tried re-doing it cuppa times but again, nothing changed. The picture below shows the state where it has left off at. I installed the Kali NetHunter module using magisk v24.1
-Greetings
okok1 said:
Hey there!
I wanted to install chroot on my rooted phone [24gb available space + sdcard with 26gb available space]. It didn't work using the "Download latest" button so I downloaded the kalifs-full.tar.gz and put it in internal storage myself, which was working fine. When I got to select the metapackages I selected all of them because I wanted to install everything. After that, it just listed all the metapackages I selected in the Status menu, then it just kinda stops. I rebooted my phone but it says that chroot isn't installed. I also tried waiting for half an hour but nothing really changed. I have tried re-doing it cuppa times but again, nothing changed. The picture below shows the state where it has left off at. I installed the Kali NetHunter module using magisk v24.1
-Greetings
Click to expand...
Click to collapse
@okok1
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Android Q&A. Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator
I just found out myself.
1. Installing everything is about 55-60gb which my phone has not enough space for
2. The download I used didn't work, the official one from github worked

Open homeScreen or ADB

I have two question,
My first question is simple:
The device I have has a customized android rom and adb is not active. When the operating system wake up, it automatically launches an application. I can't go back to the home screen because the back button only works inside the app and won't let me go to the home screen.
Is there any way I can return to the home page or activate adb ?
My Second Question:
I pull the apk of the application that works on such devices, mod it and reupload it to these devices.
I think I have to use adb for this.
Is there any other way to pull an apk from custom and blocked android rom, change it and upload it again?
thank you.
roviend said:
I have two question,
My first question is simple:
The device I have has a customized android rom and adb is not active. When the operating system wake up, it automatically launches an application. I can't go back to the home screen because the back button only works inside the app and won't let me go to the home screen.
Is there any way I can return to the home page or activate adb ?
My Second Question:
I pull the apk of the application that works on such devices, mod it and reupload it to these devices.
I think I have to use adb for this.
Is there any other way to pull an apk from custom and blocked android rom, change it and upload it again?
thank you.
Click to expand...
Click to collapse
Hello and good afternoon, @roviend
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Genral.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
roviend said:
I have two question,
My first question is simple:
The device I have has a customized android rom and adb is not active. When the operating system wake up, it automatically launches an application. I can't go back to the home screen because the back button only works inside the app and won't let me go to the home screen.
Is there any way I can return to the home page or activate adb ?
My Second Question:
I pull the apk of the application that works on such devices, mod it and reupload it to these devices.
I think I have to use adb for this.
Is there any other way to pull an apk from custom and blocked android rom, change it and upload it again?
thank you.
Click to expand...
Click to collapse
Which customer recovery u use? Maybe the file manager in your recovery
joke19 said:
Which customer recovery u use? Maybe the file manager in your recovery
Click to expand...
Click to collapse
I didnt understand, i am beginner in that subjects If your question is which OS do you use ? I dont know. This device is second hand its navigation device. Just i want to take this apk of runnig app and modify and reupload this device.
Which phone?
joke19 said:
Which phone?
Click to expand...
Click to collapse
its not a phone its like tablet but not phone

How to navigate system image backup?

Hello. I've got a backup of
Code:
mmcblk0
It's probably encrypted, but I'm not sure. If it is, I do have the password, but then I wouldn't know where to insert it.
Is there any detailed tutorial on how to mount this file and work with it? If it's a Linux solution then preferably some guide or tutorial on how exactly to figure out this mess.
Thanks for any help.
RecoverVery said:
Hello. I've got a backup of
Code:
mmcblk0
It's probably encrypted, but I'm not sure. If it is, I do have the password, but then I wouldn't know where to insert it.
Is there any detailed tutorial on how to mount this file and work with it? If it's a Linux solution then preferably some guide or tutorial on how exactly to figure out this mess.
Thanks for any help.
Click to expand...
Click to collapse
Hello and good morning, @RecoverVery
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL
Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
I don't know what's the goal but you can extract the userdata partition from disk image with dd. the output of parted is in bytes, must divided by block size of your choice (bigger bs is faster)
Code:
parted mmcblk0 unit B print
dd if=mmcblk0 of=userdata.img skip=$off count=$len bs=$bs
another way is boot into TWRP from fastboot and pull the partition image directly.
Code:
fastboot devices
fastboot boot twrp-3.6.2_9-0-lavender.img
adb devices
adb pull /dev/block/bootdevice/by-name/userdata
Note: even if the partition image is mountable, the files are encrypted and manually decryption requires healthy keystore (not included in mmcblk0) and the device of origin itself.
Mate 9 - how to retrieve encrypted files from a broken system (userdata partition)
It's surprising that a bunch of people are interested in this article. But I have to say that some processes I mentioned in this article just happened to work. I don't necessarily understand why they work, which also means they probably cannot be...
forum.xda-developers.com

Help Root android 6 without TWRP

I have a HTC Desire 650 running android 6 and I am trying to root it and also keep the original recovery.
I have found this thread: https://forum.xda-developers.com/t/root-htc-desire-650.3713325/ and apparently someone built a twrp for it. Doesn't that need a root in the first place to extract the kernel source?
Anyway, are there any apps or known vulnerabilities that would allow me to root the phone or at least extract the recovery image?
The problem is that I couldn't find any stock rom images or anything else for this phone. I was only able to unlock the bootloader.
Dan Ti said:
I have a HTC Desire 650 running android 6 and I am trying to root it and also keep the original recovery.
I have found this thread: https://forum.xda-developers.com/t/root-htc-desire-650.3713325/ and apparently someone built a twrp for it. Doesn't that need a root in the first place to extract the kernel source?
Anyway, are there any apps or known vulnerabilities that would allow me to root the phone or at least extract the recovery image?
The problem is that I couldn't find any stock rom images or anything else for this phone. I was only able to unlock the bootloader.
Click to expand...
Click to collapse
Hello and good morning, @Dan Ti
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Only to clarify things:
1. Recovery is a small and independent operating system that is set up in its own partition in many Android smartphones and tablets.
The "Recovery mode" is useful for you if you want to access the Android system of your smartphone or tablet beyond the conventional settings.
Since the recovery system is on its own partition next to the actual operating system and is thus intact even after a virus attack, it is often used for system repair.
2. Android's bootloader is a program that is responsible forbooting Android device.
3. Rooting is how you get complete access to everything in the Android OS, and those elevated permissions allow you to change it all. Root, at least the way I'm understanding it, is the superuser.
When you root your Android, you're simply adding a standard Linux function that was removed by OEM. A small file called su is placed in the system and given permissions so that another user can run it. It stands for Switch User, and if you run the file without any other parameters, it switches your credentials and permissions from a normal user to that of the superuser. You are then in complete control and can add anything, remove anything, and access functions on your phone or tablet that you couldn't reach before. This is pretty important and something you should think about before you begin.
To root Android OS it's neither necessary to unlock devices bootloader nor to install TWRP: this is an obviously not eradicable old nurse's tale!

Categories

Resources