I understand now that logcat requires root for Android 4.1+ is that right?
I would like some way to debug my app on someone's phone remotely, in the past I have got them to install alogcat and send me the output, but since I've upgraded to 4.1 I've never got it to work.
Whats the best technique to obtain syslog logcat data when my app fails, the data which I see on the play store isn't enough detail for me to resolve or identify the problem.
1 user is getting this error:
Caused by: java.lang.NoClassDefFoundError: com.google.android.maps.GeoPoint
Click to expand...
Click to collapse
as far as I know no-one else is seeing this issue,
They have google maps installed but I don't know what else to check other that get access to the logcat from there phone.
thanks
They can still download the Android SDK and then type
Code:
adb shell
logcat
I was hoping an easier method would be available.
you can ask them to mail you dumpstate_app_error.txt.gz from /data/log/ .I think astro can copy that to sdcard.Or else you could run
Code:
pull /data/log/dumpstate_app_error.txt.gz /sdcard
from any terminal app to copy that to sdcard.
vijai2011 said:
you can ask them to mail you dumpstate_app_error.txt.gz from /data/log/ .I think astro can copy that to sdcard.Or else you could run
Code:
pull /data/log/dumpstate_app_error.txt.gz /sdcard
from any terminal app to copy that to sdcard.
Click to expand...
Click to collapse
Isn't root required for that?
nikwen said:
Isn't root required for that?
Click to expand...
Click to collapse
Nope...data is mounted as RW by default and more over you need root only to write to a partition mounted as R(users should also be considered).You can even copy system files with astro without root. But Its been so long since I did that and don't know how it has changed with 4.1 and 4.2.But no harm in trying
vijai2011 said:
Nope...data is mounted as RW by default and more over you need root only to write to a partition mounted as R(users should also be considered).You can even copy system files with astro without root. But Its been so long since I did that and don't know how it has changed with 4.1 and 4.2.But no harm in trying
Click to expand...
Click to collapse
In 4.x you need root to access the logs from an app so I do not think that this is possible.
On 2.3 when my phone was not rooted I was not able to access /data at all.
nikwen said:
In 4.x you need root to access the logs from an app so I do not think that this is possible.
On 2.3 when my phone was not rooted I was not able to access /data at all.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.delta.Info .This app targets 4.0-4.2 and it mails the same file without root.So it will work.
vijai2011 said:
https://play.google.com/store/apps/details?id=com.delta.Info .This app targets 4.0-4.2 and it mails the same file without root.So it will work.
Click to expand...
Click to collapse
The description says that it does only work with DeltaROM.
nikwen said:
The description says that it does only work with DeltaROM.
Click to expand...
Click to collapse
Of course it is...But the fact I wanted to say is, the app doesn't need root for that
vijai2011 said:
Of course it is...But the fact I wanted to say is, the app doesn't need root for that
Click to expand...
Click to collapse
It does need root. Well, every app can get logs the old way and they will get logs, but just those logs with the user id of the app. No more logs.
Just one more thing I could think of: Maybe the developer of the ROM changed that code in the Android sources of his ROM.
Or when the app is installed, the ROM automatically runs that command:
Code:
pm grant com.delta.Info android.permission.READ_LOGS
I will test it on my phone and tell you the result. If it does not work, it is a feature of the ROM.
nikwen said:
It does need root. Well, every app can get logs the old way and they will get logs, but just those logs with the user id of the app. No more logs.
Just one more thing I could think of: Maybe the developer of the ROM changed that code in the Android sources of his ROM.
Or when the app is installed, the ROM automatically runs that command:
Code:
pm grant com.delta.Info android.permission.READ_LOGS
I will test it on my phone and tell you the result. If it does not work, it is a feature of the ROM.
Click to expand...
Click to collapse
FYI I'm the dev of the app .And there is no root,no extra permissions,Rom is not modded (except for a file which needs for the app to work.But it doesnt have any relation with logs).
If you still have doubt,Just create an email indent with the log file in /data/log as an extra data in Async task and try
vijai2011 said:
FYI I'm the dev of the app .And there is no root,no extra permissions,Rom is not modded (except for a file which needs for the app to work.But it doesnt have any relation with logs).
If you still have doubt,Just create an email indent with the log file in /data/log as an extra data in Async task and try
Click to expand...
Click to collapse
Ok. I did not see that.
I will try that.
---------- Post added at 03:03 PM ---------- Previous post was at 02:44 PM ----------
nikwen said:
Ok. I did not see that.
I will try that.
Click to expand...
Click to collapse
For me it said "Could not send attachment."
My code:
Code:
Intent mailIntent = new Intent(android.content.Intent.ACTION_SENDTO);
mailIntent.setType("text/plain");
mailIntent.setData(Uri.parse("mailto:[email protected]"));
mailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "test");
mailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "hi");
mailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File("/data/log/dumpstate_app_error.txt.gz")));
mailIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
startActivity(Intent.createChooser(mailIntent, "Send via"));
(Of course, I changed the mail address.)
nikwen said:
Ok. I did not see that.
I will try that.
---------- Post added at 03:03 PM ---------- Previous post was at 02:44 PM ----------
For me it said "Could not send attachment."
My code:
Code:
Intent mailIntent = new Intent(android.content.Intent.ACTION_SENDTO);
mailIntent.setType("text/plain");
mailIntent.setData(Uri.parse("mailto:[email protected]"));
mailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "test");
mailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "hi");
mailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File("/data/log/dumpstate_app_error.txt.gz")));
mailIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
startActivity(Intent.createChooser(mailIntent, "Send via"));
(Of course, I changed the mail address.)
Click to expand...
Click to collapse
Seriously?I just now tried on my sony xperia miro running 4.0.4 and it works just flawlessly...But I didnt use email indent...I use a external mail api...(Doesnt make difference if its blocked in core android I suppose)
vijai2011 said:
Seriously?I just now tried on my sony xperia miro running 4.0.4 and it works just flawlessly...But I didnt use email indent...I use a external mail api...(Doesnt make difference if its blocked in core android I suppose)
Click to expand...
Click to collapse
Yeah, seriously.
Ah. You run it on 4.0.4. They removed it in JellyBean.
Check this: https://groups.google.com/d/msg/android-developers/6U4A5irWang/AvZsrTdfICIJ
---------- Post added at 03:14 PM ---------- Previous post was at 03:11 PM ----------
@mtrax: Check the answer here: http://stackoverflow.com/questions/11499636/so-how-can-i-see-the-logs-in-jelly-bean
That's how to create reports and send them via email.
nikwen said:
Yeah, seriously.
Ah. You run it on 4.0.4. They removed it in JellyBean.
Check this: https://groups.google.com/d/msg/android-developers/6U4A5irWang/AvZsrTdfICIJ
---------- Post added at 03:14 PM ---------- Previous post was at 03:11 PM ----------
@mtrax: Check the answer here: http://stackoverflow.com/questions/11499636/so-how-can-i-see-the-logs-in-jelly-bean
That's how to create reports and send them via email.
Click to expand...
Click to collapse
Its min api is 4.0.4 and I even run it on 4.2.2 on my friends s3 and it works fine .Think I should make the class open source
vijai2011 said:
Its min api is 4.0.4 and I even run it on 4.2.2 on my friends s3 and it works fine .Think I should make the class open source
Click to expand...
Click to collapse
Interesting. I will test it if you opensource it.
nikwen said:
Interesting. I will test it if you opensource it.
Click to expand...
Click to collapse
Will do that part alone soon
Sent from my GT-N7000 using xda app-developers app
I tried this from my rooted SG2
ie
pull /data/log/dumpstate_app_error.txt.gz /sdcard
and I got pull command not found
mtrax said:
I tried this from my rooted SG2
ie
pull /data/log/dumpstate_app_error.txt.gz /sdcard
and I got pull command not found
Click to expand...
Click to collapse
If you do in computer, it will be
Code:
adb pull /data/log/dumpstate_app_error.txt.gz /sdcard
Sent from my GT-N7000 using xda app-developers app
Related
how do u use files from my phone to build a complete rom
katypeaceperry said:
how do u use files from my phone to build a complete rom
Click to expand...
Click to collapse
Are you trying to pull the system folder?
And the easy simple way to start is delete bloat, add stuff here and there, theme stuff in the framework-res.apk file, add scripts, turn it into Optimus Prime
what exactly are you trying to do?
---------- Post added at 07:57 PM ---------- Previous post was at 07:53 PM ----------
if your in windows, cd into the folder with adb and run the line "adb pull /system" to pull the system folder.
katypeaceperry said:
how do u use files from my phone to build a complete rom
Click to expand...
Click to collapse
Google 'how to make custom odin images'... Worked for me.
help please
Ok, i adb pull the framework and cannot find where on my computer the files are.....ive tried several times with several different files with no success.....any ideas?
timmythanoob said:
Ok, i adb pull the framework and cannot find where on my computer the files are.....ive tried several times with several different files with no success.....any ideas?
Click to expand...
Click to collapse
It pulls it to the directory you are in, when you do the pull.
For example, if you are in desktop, (c:\users\comp_name\desktop) it will put the file there. If you are on the root of your c drive, it'll put it there.
So, look for the directory you are in, in command prompt, and look there for the file.
Sent from my SCH-I400 using Tapatalk 2
abby_nitewolf said:
Are you trying to pull the system folder?
And the easy simple way to start is delete bloat, add stuff here and there, theme stuff in the framework-res.apk file, add scripts, turn it into Optimus Prime
Click to expand...
Click to collapse
All I'm interested in is that last step. That's what I want!
Umadbro?
Sent from my ADR6425LVW using Tapatalk 2
so as you may noticed catlog /logcat/ alogcat and such are not working properly or at all.
that is because google added a new permission request from apps which they don't usually request.
but alas, there is fix, if you're working with one of the latest versions of JB (quarx or epsylon3 it doesn't matter) you can fix it by simply by following the next steps:
1. make sure your'e phone is rooted and has superuser or any other permission manager app (superuser zip flashable can be downloaded here)
2. enter the app drawer and enter the "terminal emulator"
3. gain root permissions by typing :
$su
wait for the notification about permission allow/deny, and allow it.
4. now you give permission to the program you want by writing the following line:
pm grant [programs name] android.permission.READ_LOGS
(the upper case /lower case is important)
I.E for catlog you should type:
Code:
su
pm grant com.nolanlawson.logcat android.permission.READ_LOGS
now your logging app should work fine, enjoy!
Thanks! ill try it, i need logcat a lot
Great It works for me im on JB Quarx 22Aug12
ksrao_iete said:
Great It works for me im on JB Quarx 22Aug12
Click to expand...
Click to collapse
Good. if i helped please press the thank you button.
also moderators if you can see this, you'd might want to add this to the wiki or something.
Works on CM10 for S3.
Hrm.
Sent from my SCH-I535 using Tapatalk 2
It worked! Thanks a lot. For alogcat it's
Code:
su
pm grant org.jtb.alogcat android.permission.READ_LOGS
Here's a way to make all log reader apps work instead of going one by one:
su: "chmod 04755 /system/bin/logcat"
or open root explorer, navigate /system/bin/logcat, long press logcat and select "permissions", then check the box "Set UID".
Both ways require a reboot after!
Hope this helps, thanks to ChainsDD for this!
Working on LC's Ice Cold Jelly on the One X.
Thanks so much for this
Sent from my HTC One X using xda premium
Thanks, really thanks.
I use aLogcat and the code that I used was
Code:
pm grant org.jtb.alogcat android.permission.READ_LOGS
You can find your logger program accessing with any root explorer the folder "data>data" and look for the name of the folder that contains the name of your app within. I looked for it because I'm not using the same app that you used, so I opened the "Root Explorer>Search" and searched for "logcat". So I found the folder "Data>data" and tried using the name of the folder that was "org.jtb.alogcat" and worked.
Thanks very much, nice job.
alienhead13 said:
It worked! Thanks a lot. For alogcat it's
Code:
su
pm grant org.jtb.alogcat android.permission.READ_LOGS
Click to expand...
Click to collapse
For the donate version it's:
Code:
pm grant org.jtb.alogcat.donate android.permission.READ_LOGS
shag_on_e said:
Here's a way to make all log reader apps work instead of going one by one:
su: "chmod 04755 /system/bin/logcat"
or open root explorer, navigate /system/bin/logcat, long press logcat and select "permissions", then check the box "Set UID".
Both ways require a reboot after!
Hope this helps, thanks to ChainsDD for this!
Click to expand...
Click to collapse
Thanks for the alternative way to do it. Though considering the information the logs contain, I would rather grant a specific app than have everyone see it.
I'm on Sky-JB T11.4 and while I can grant the permissions successfully, there is no content in either alogcat or catlog, even after a reboot. Catlog just shows a spinning busy circle forever, and alogcat just shows a blank screen.
Tried running an app I know crashes (WMUR 9 News app), but the same behavior continues...
Any ideas where to look to resolve this?
NoSpamDan said:
I'm on Sky-JB T11.4 and while I can grant the permissions successfully, there is no content in either alogcat or catlog, even after a reboot. Catlog just shows a spinning busy circle forever, and alogcat just shows a blank screen.
Tried running an app I know crashes (WMUR 9 News app), but the same behavior continues...
Any ideas where to look to resolve this?
Click to expand...
Click to collapse
Check your ROM's kernel doesn't disable logging. Semaphore for my SGS does this but there's an app by the dev to renable it.
Thanks
..thank you, I was having a hard time getting logcat, you really helped me a lot!
One of the latest versions of JB
rtk217 said:
so as you may noticed catlog /logcat/ alogcat and such are not working properly or at all.
that is because google added a new permission request from apps which they don't usually request.
but alas, there is fix, if you're working with one of the latest versions of JB (quarx or epsylon3 it doesn't matter) you can fix it by simply by following the next steps:
Not clear : what do you mean with "latest versions". I have JB 4.1.2, quarx or epsylon doesn't mean anything comprehensible for an ordinary android smartphone user like me..
Click to expand...
Click to collapse
With the release of the kernel sources, it seems that the 3 AndroidOne devices all share the same kernel and internals,
with only the rom branding and chassis they're in being different.
If this is the case, then the roms themselves are built by goog and thusly OTAs handled directly by them.
What it also implies is that the 3 devices might be able to share roms and kernels as they already appear to share kernel sources.
What I need:
Dump of /system Edit: Done
If the rom prompted for an OTA at initial setup
Dump of /oem
Bootloader version
Baseband version
Hi all) Make please dump or backup in CWM recovery and lay out it here.
rock12345 said:
Hi all) Make please dump or backup in CWM recovery and lay out it here.
Click to expand...
Click to collapse
What is it and how to do that...???
I have the phone
TheManii said:
With the release of the kernel sources, it seems that the 3 AndroidOne devices all share the same kernel and internals,
with only the rom branding and chassis they're in being different.
If this is the case, then the roms themselves are built by goog and thusly OTAs handled directly by them.
What it also implies is that the 3 devices might be able to share roms and kernels as they already appear to share kernel sources.
What I need:
Dump of /system
If the rom prompted for an OTA at initial setup
Bootloader version
Baseband version
Click to expand...
Click to collapse
I doubt there is a custom recovery already prepared,
the simplest way to dump /system is
enable ADB
do a "adb pull /system"
upload the system folder
TheManii said:
I doubt there is a custom recovery already prepared,
the simplest way to dump /system is
enable ADB
do a "adb pull /system"
upload the system folder
Click to expand...
Click to collapse
what r u going to do with it?
Am new to this...
Tell me in detail so that I can try it
sukhith said:
What is it and how to do that...???
I have the phone
Click to expand...
Click to collapse
please do backup and throw off here.I need your system and boot.It is possible to make through ADB or CWM recovery.
---------- Post added at 07:07 AM ---------- Previous post was at 06:56 AM ----------
Recognized Noob said:
what r u going to do with it?
Click to expand...
Click to collapse
We want to port your ROM
i cud have done it but my net speed wont allow.
TheManii said:
I doubt there is a custom recovery already prepared,
the simplest way to dump /system is
enable ADB
do a "adb pull /system"
upload the system folder
Click to expand...
Click to collapse
No root bro. How can anyone dump anything?
Sent from my GT-I9082 using Tapatalk
---------- Post added at 09:10 AM ---------- Previous post was at 09:10 AM ----------
No root, how can anyone dump anything?
Sent from my GT-I9082 using Tapatalk
##W4TCH0UT## said:
No root bro. How can anyone dump anything?
Sent from my GT-I9082 using Tapatalk
---------- Post added at 09:10 AM ---------- Previous post was at 09:10 AM ----------
No root, how can anyone dump anything?
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
Apropos rue: from the first move of rues I received through http://www.kingoapp.com. But if already tried to receive others ON, my council, we put an insertion from scratch, and everything turns out.
It is possible to eat one subtlety (and coincidence is possible, simple), when receiving a rue in process, it is necessary to come mtk tools/engineer mode/engineer mode MTK/Log and Debugging/user2roor/root
To take down a poroshivka that I wouldn't will be to check.
If it didn't help, try and here it is http://software.techas…ng-quirky_7403136.html
And then we scratch on Habrahabr and ispravly not justice with a SD card that Yandex there would climb http://habrahabr.ru/post/214431/
There will be time will paint in more detail, while so
System dump
Find system dump here http://dropjar.com/#YazLGa6
##W4TCH0UT## said:
No root bro. How can anyone dump anything?
Sent from my GT-I9082 using Tapatalk
---------- Post added at 09:10 AM ---------- Previous post was at 09:10 AM ----------
No root, how can anyone dump anything?
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
sheldroid said:
Find system dump here http://dropjar.com/#YazLGa6
Click to expand...
Click to collapse
Thanks a lot)
##W4TCH0UT## said:
No root bro. How can anyone dump anything?
Sent from my GT-I9082 using Tapatalk
---------- Post added at 09:10 AM ---------- Previous post was at 09:10 AM ----------
No root, how can anyone dump anything?
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
delete
sheldroid said:
Find system dump here http://dropjar.com/#YazLGa6
Click to expand...
Click to collapse
Lay out please still boot.img
Guys Do We Have The Stock ROM Image of the Device
Kunal.Kene.1797 said:
Guys Do We Have The Stock ROM Image of the Device
Click to expand...
Click to collapse
Factory images will be released by Google soon
Sent from my GT-I9082 using Tapatalk
##W4TCH0UT## said:
Factory images will be released by Google soon
Click to expand...
Click to collapse
Do you have any proof of this?
AndroidOne isnt nexus, and Android Wear has nothing but the kernels released as they're legally required to release those.
Code:
import /oem/oem.prop ro.product.model
I need a dump of /oem too, as apparently androidone does things differently now
Dump
Make dump via sp flash tools
Through flashtool can not only flash. You can read the firmware, in whole or in a specific section.
Run SP Flash Tool and click on Readback
Select scatter file (the name depends on the platform Your smarth) MT6589_Android_scatter_emmc.txt from firmware (or received via MTK Droid Tools)
If You have already read the data in this way, the tab displays read block settings, otherwise click "Add".
Double click with the left mouse button opens a file save dialog with the read memory block.
The file name can be left at default ROM_ or append the name used to identify, for example, ROM_S920, and click "Save".
In the next dialog box enter the start address and the length of the read block:
The length can be obtained from the scatter file (in the scatter of the old type next __NODL_FAT or FATстоит the starting address of the built-in flash, for example 0x5c780000 - indication of such length we consider the contents of memory to a partition of the built-in flash; scattered new type, look for the line partition_name: BMTPOOL and below it will be the start address linear_start_addr: 0xFFFF00a8) and click "OK".
Click "Read Back" and connect powered off phone to the computer.
Time backup for about 10-20 minutes. The blue bar at the bottom must pass 100%. Then the phone disconnected from the computer and turn as usual.
Via MTK Droid Tool to cut the dump firmware: connect the smartphone with the included USB debugging to PC, run MTK Droid Tool, tab, root, backup, recovery, press the button to Make a backup of ROM_ of fistula and specify the read memory block, then MTK Droid Tool in your folder backups will create a subfolder species Lenovo-S920_ROW_131217_ForFlashtoolFromreadback_140206-163344 and it will parse the read data block, creating drilled by cable full backup.
Attached files
The attached file instructions for preparation of the image memory and writing it in телефон.pdf 711,29K 3532 Number of downloads:
Message was edited by Stanner: 15 September 2014 - 15:32
javum, serega_83, linerty and 7 others liked this message
I'm not a magician - I am just learning....
As not to violate the rule 4.12 (citation) | How to remove the text under the spoiler (small text)
#2 how to create a full dump Telefonica to this message #2 steaven
Admin
Administrator
27 000 messages
7 477
Divine reputation
EXT. information [+]
Sent On 06 January 2014 - 12:13
Through flashtool can not only flash. You can read the firmware, in whole or in a specific section.
Run SP Flash Tool and click on Readback
post-833-0-04438700-1388998531 .png
Select scatter file (the name depends on the platform Your smarth) MT6589_Android_scatter_emmc.txt from firmware (or received via MTK Droid Tools)
If You have already read the data in this way, the tab displays read block settings, otherwise click "Add".
Double click with the left mouse button opens a file save dialog with the read memory block.
The file name can be left at default ROM_ or append the name used to identify, for example, ROM_S920, and click "Save".
In the next dialog box enter the start address and the length of the read block:
The length can be obtained from the scatter file (in the scatter of the old type next __NODL_FAT or FATстоит the starting address of the built-in flash, for example 0x5c780000 - indication of such length we consider the contents of memory to a partition of the built-in flash; scattered new type, look for the line partition_name: BMTPOOL and below it will be the start address linear_start_addr: 0xFFFF00a8) and click "OK".
Click "Read Back" and connect powered off phone to the computer.
Time backup for about 10-20 minutes. The blue bar at the bottom must pass 100%. Then the phone disconnected from the computer and turn as usual.
Via MTK Droid Tool to cut the dump firmware: connect the smartphone with the included USB debugging to PC, run MTK Droid Tool, tab, root, backup, recovery, press the button to Make a backup of ROM_ of fistula and specify the read memory block, then MTK Droid Tool in your folder backups will create a subfolder species Lenovo-S920_ROW_131217_ForFlashtoolFromreadback_140206-163344 and it will parse the read data block, creating drilled by cable the full backup.
Driver preloader: https://yadi.sk/d/G092mk0Rbb3P2
Original post taken from where the instruction: http://lenovo-forums.ru/topic/2560-как-и-чем-создать-полный-дамп-телефона/
TheManii said:
Code:
import /oem/oem.prop ro.product.model
I need a dump of /oem too, as apparently androidone does things differently now
Click to expand...
Click to collapse
oem contains only junk oem apps and their libs and below is oem prop
Code:
ro.product.device=Mi-498_sprout
ro.product.name=Mi-498
ro.product.manufacturer=Spice
ro.product.model=Spice Mi-498
ro.product.locale.language=en
ro.product.locale.region=IN
ro.config.wallpaper=/oem/media/Default.jpg
I want to change the bootlogo (NOT BOOT ANIMATION).
I couldn't find the logo.bin anywhere. But there are few pngs in /system/media/images about charging.
If anybody come up with a solution for this, please let me know.
Thanks
Yes you can use this tool:http://www.daxiaamu.com/3605,use menu 8,then menu i,and drag png 1080p into it
Error:404 said:
I want to change the bootlogo (NOT BOOT ANIMATION).
I couldn't find the logo.bin anywhere. But there are few pngs in /system/media/images about charging.
If anybody come up with a solution for this, please let me know.
Thanks
Click to expand...
Click to collapse
This is the method I've been using, pretty straight forward.
https://forum.xda-developers.com/oneplus-5/themes/mod-splashinjector-t3650374
---------- Post added at 12:34 AM ---------- Previous post was at 12:33 AM ----------
https://forum.xda-developers.com/oneplus-5/themes/mod-splashinjector-t3650374
Piplup702 said:
This is the method I've been using, pretty straight forward.
https://forum.xda-developers.com/oneplus-5/themes/mod-splashinjector-t3650374
---------- Post added at 12:34 AM ---------- Previous post was at 12:33 AM ----------
https://forum.xda-developers.com/oneplus-5/themes/mod-splashinjector-t3650374
Click to expand...
Click to collapse
Hi!
Thanks mate. Can you assist me through the entire process?
I'm using Windows. Tell me what do I need to download and can't I do this in Android terminal?
Error:404 said:
Hi!
Thanks mate. Can you assist me through the entire process?
I'm using Windows. Tell me what do I need to download and can't I do this in Android terminal?
Click to expand...
Click to collapse
Since you're using Windows (like me) it's a little different than what it says in the link. You have to download and install Git bash. https://github.com/ethanbanker2428/SplashInjector/blob/1.5/README.md
Go to above link and read instructions (that page has a link for Git) Go to install directory, which should be C:/ProgramFiles/Git and run Git bash. That link will tell you how to install the Splash Injector tool once you install Git. Pretty straight forward after that but feel free to ask questions if you get stuck anywhere
Piplup702 said:
Since you're using Windows (like me) it's a little different than what it says in the link. You have to download and install Git bash. https://github.com/ethanbanker2428/SplashInjector/blob/1.5/README.md
Go to above link and read instructions (that page has a link for Git) Go to install directory, which should be C:/ProgramFiles/Git and run Git bash. That link will tell you how to install the Splash Injector tool once you install Git. Pretty straight forward after that but feel free to ask questions if you get stuck anywhere
Click to expand...
Click to collapse
I'm wondering if I can do this all in the Android shell itself?
Because my Windows has permission issues, I f***d it up real bad lol. I can't run git shell.
It is analogous to say I don't have a PC...
Error:404 said:
I'm wondering if I can do this all in the Android shell itself?
Because my Windows has permission issues, I f***d it up real bad lol. I can't run git shell.
It is analogous to say I don't have a PC...
Click to expand...
Click to collapse
Not really sure if that's possible.
Use a root browser and go to Dev/block/platform/soc/1da4000.ufshc/by-name and you will see a file named LOGO that is your logo.bin file. Copy and paste somewhere else. From there I have no idea lol Though I will do some research in the AM to see if it is at all possible
Piplup702 said:
Not really sure if that's possible.
Use a root browser and go to Dev/block/platform/soc/1da4000.ufshc/by-name and you will see a file named LOGO that is your logo.bin file. Copy and paste somewhere else. From there I have no idea lol Though I will do some research in the AM to see if it is at all possible
Click to expand...
Click to collapse
Lol okay!
I am using PE+ 11 on Moto G6, when I run command "su" and then "systemize" it does not list any apps. Can someone help?
I am using module "App Systemizer v17.3.1 by veez221" and "Busybox 1.31.1".
24INVINCIBLE24 said:
I am using PE+ 11 on Moto G6, when I run command "su" and then "systemize" it does not list any apps. Can someone help?
I am using module "App Systemizer v17.3.1 by veez221" and "Busybox 1.31.1".
Click to expand...
Click to collapse
I know your issue has already been solved. But what's the advantage of changing a user app to a system app? The next update installs the APK to /data again, which is the same as an user installed app...
An alternative is to use lucky patcher
Did
24INVINCIBLE24 said:
I am using PE+ 11 on Moto G6, when I run command "su" and then "systemize" it does not list any apps. Can someone help?
I am using module "App Systemizer v17.3.1 by veez221" and "Busybox 1.31.1".
Click to expand...
Click to collapse
Did you find a solution yet? I'm having the same issue on a Samsung S20 running Android 12 - same configuration as yours otherwise.
nacos said:
Did
Did you find a solution yet? I'm having the same issue on a Samsung S20 running Android 12 - same configuration as yours otherwise.
Click to expand...
Click to collapse
We need logs to find an error. It's explained in the thread for app systemizer:
veez21 said:
** Uploading logs
Go to the menu and type `logs`, this will upload the log files of this module and will generate a link.
Click to expand...
Click to collapse
Hi
WoKoschekk said:
We need logs to find an error. It's explained in the thread for app systemizer:
Click to expand...
Click to collapse
Hi, Thanks for the reply. I followed your directions and a file called "bash_history" seemed to have been created under /data/data/com.termux.com/home. Would you like me to post this file here?
Thanks!
nacos said:
Hi
Hi, Thanks for the reply. I followed your directions and a file called "bash_history" seemed to have been created under /data/data/com.termux.com/home. Would you like me to post this file here?
Thanks!
Click to expand...
Click to collapse
yes
Hi
WoKoschekk said:
We need logs to find an error. It's explained in the thread for app systemizer:
Click to expand...
Click to collapse
Hi, Thanks for the reply. I followed your directions and a file called "bash_history" seemed to have been created under /data/data/com.termux.com/home. Would you like me to post this file here?
Thanks!
WoKoschekk said:
yes
Click to expand...
Click to collapse
I had to archive (zip) the file to attach it here. Thanks!
nacos said:
I had to archive (zip) the file to attach it here. Thanks!
Click to expand...
Click to collapse
the file is only 8 bytes in size... not very helpful.
Above I've linked the instructions on how to create logs. Please follow it and post the links you'll create.
WoKoschekk said:
the file is only 8 bytes in size... not very helpful.
Above I've linked the instructions on how to create logs. Please follow it and post the links you'll create.
Click to expand...
Click to collapse
Unfortunately, none of the two suggested methods worked:
1. The generated link indicates ":/data/data/com.termux/files/home" however, there is no data in this folder other than the file I've already uploaded.
2. The alternative path, as suggested in the original thread doesn't contain such folder: "/cache/terminal_debloater-verbose.log".
I believe the reason is the access restriction on /data/data on Android 11 and above. I'm on Android 12 (Samsung S20). MiXPlore appears to be the only root file explorer, I have installed, that can access and read these folders.
Attached screenshots.
nacos said:
Unfortunately, none of the two suggested methods worked:
1. The generated link indicates ":/data/data/com.termux/files/home" however, there is no data in this folder other than the file I've already uploaded.
2. The alternative path, as suggested in the original thread doesn't contain such folder: "/cache/terminal_debloater-verbose.log".
I believe the reason is the access restriction on /data/data on Android 11 and above. I'm on Android 12 (Samsung S20). MiXPlore appears to be the only root file explorer, I have installed, that can access and read these folders.
Attached screenshots.
Click to expand...
Click to collapse
Screenshot #3:
Code:
[CHOICE]: logs
Testing internet connection - OK
Uploading logs
Link: :/data/data/com.termux/files/home #
Last line: After "Link:" there should appear a link like "https://termbin.com/XXX" where you can see the uploaded logs. That's an easy way to provide/share the logs for the dev.
Unfortunately the tool does not create any link for you and I don't know why.
The command "logs" exits the tool. So, you'll get back to your local shell and Termux shows the current directory you are in: /data/data/...
It does not mean you'll find the logs there. It should look like this:
On my device systemizer also stores logs in
/data/local/tmp. Maybe you'll find your logs there.
nacos said:
I believe the reason is the access restriction on /data/data on Android 11 and above.c
Click to expand...
Click to collapse
You are logged in as root. You have no restrictions as root.
nacos said:
I believe the reason is the access restriction on /data/data on Android 11 and above. I'm on Android 12 (Samsung S20). MiXPlore appears to be the only root file explorer, I have installed, that can access and read these folders.
Click to expand...
Click to collapse
Google restricted access for Android 10+ to the directory /storage/emulated/0/Android/data/*. The real path is /data/media/0/Android/data/*. The path /data/data/* is restricted since many years and contains all data of all your apps. Don't mix up the two paths as they are completely different!
What puzzles me is that I have two identical Samsung S20 phones running identical configurations with the exception of OS. One runs Android 10, the other one Android 12. Again, under the *exact same configuration the App Systemizer runs perfectly fine on Android 10 but not on Android 12.
* When I say exact same configuration I mean settings, apps, restrictions, etc. Obviously I do realize that the OS itself constitutes a significant difference.
Also, maybe it's also worth noting that Debloater runs fine on both phones.
nacos said:
What puzzles me is that I have two identical Samsung S20 phones running identical configurations with the exception of OS. One runs Android 10, the other one Android 12. Again, under the *exact same configuration the App Systemizer runs perfectly fine on Android 10 but not on Android 12.
* When I say exact same configuration I mean settings, apps, restrictions, etc. Obviously I do realize that the OS itself constitutes a significant difference.
Also, maybe it's also worth noting that Debloater runs fine on both phones.
Click to expand...
Click to collapse
Did you find the logs in /data/local/tmp? This will answer your questions.
WoKoschekk said:
Did you find the logs in /data/local/tmp? This will answer your questions.
Click to expand...
Click to collapse
Yes, I did! Thanks for suggesting the logs path.
"mount: can't find /data/adb/modules in /proc/mounts"
See attached log.
Finally I solved it. I needed to uninstall the 17.3.1 version and then install the 17.4.1 version through Magisk from here.
I would normally install/update all my modules through Fox Magisk Modules Manager however:
their repository shows version 17.3.1 as the latest one (the one that I've been experiencing problems with) plus,
the downloaded zip file saved from Androidacy repository appears to install only through their own Fox module. I tried installing it both through Magisk and TWRP but it fails.
Once I've installed the version 17.4.1 through Magisk everything works just fine.
Thank you for your support, I do appreciate it!