[Q] I can't find /data/logs on CM10.1 - Galaxy Ace S5830 Q&A, Help & Troubleshooting

I'm looking for /data/logs for dumpstate/logs purpose. I'm currently on cm10.1.6 modded by mardon. But there is no such file in the directory. i tried google search and they say to get rid off "Storage Space Running Out" notification is by dial this code *#9900# but nothings happen. Is there a way to delete dumpstate using Terminal Emulator? And lastly, is it safe to delete dumpstate files/logs? Will there be a bug/error on data connection or radio stuff?
P.S. Sorry for a lot of questions i have. I'll appreciate your help.

daehyunjae said:
I'm looking for /data/logs for dumpstate/logs purpose. I'm currently on cm10.1.6 modded by mardon. But there is no such file in the directory. i tried google search and they say to get rid off "Storage Space Running Out" notification is by dial this code *#9900# but nothings happen. Is there a way to delete dumpstate using Terminal Emulator? And lastly, is it safe to delete dumpstate files/logs? Will there be a bug/error on data connection or radio stuff?
P.S. Sorry for a lot of questions i have. I'll appreciate your help.
Click to expand...
Click to collapse
Its actually in /data/log. Yes, it is safe to delete dumpstate logs. You can delete the dumpstate log from Terminal Emulator using the following commands,
Code:
su
cd /data/log
rm dumpstate*
exit
Do post the result. Hope I Helped

mahithm said:
Its actually in /data/log. Yes, it is safe to delete dumpstate logs. You can delete the dumpstate log from Terminal Emulator using the following commands,
Code:
su
cd /data/log
rm dumpstate*
exit
Do post the result. Hope I Helped
Click to expand...
Click to collapse
See this first command.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

daehyunjae said:
See this first command.
Click to expand...
Click to collapse
Can you show me the contents of /data? Use the following command,
Code:
su
cd /data
ls
Do post the result.

mahithm said:
Can you show me the contents of /data? Use the following command,
Code:
su
cd /data
ls
Do post the result.
Click to expand...
Click to collapse
Here's the result. maybe link2sd related?

daehyunjae said:
Here's the result. maybe link2sd related?
Click to expand...
Click to collapse
Its not a link2sd problem that I can guarantee. What's odd is CM 10.1 doesn't have a log folder in /data. What this means is no dumpstate logs on your device.

mahithm said:
Its not a link2sd problem that I can guarantee. What's odd is CM 10.1 doesn't have a log folder in /data. What this means is no dumpstate logs on your device.
Click to expand...
Click to collapse
weird and I'm curious where the error logs file goes? (fc's,wait,report,call logs) anyway thanks for helping.

daehyunjae said:
weird and I'm curious where the error logs file goes? (fc's,wait,report,call logs) anyway thanks for helping.
Click to expand...
Click to collapse
No problem. You should better ask about this in the Developer's thread

thanks! i will.

daehyunjae said:
thanks! i will.
Click to expand...
Click to collapse
@Mardon please help @daehyunjae. Thanks

Related

[Bootscreen] Android Supernova for Hero

Ported apoth's Supernova bootscreen for G1 to G2/Hero format simply because I liked it, and it's a cinch to do as it turns out. The file attached to this post is a signed update zip.
Graphics used with permission from apoth - see this thread for the original G1 version.
adb push bootscreen_Supernova_noSound_signed.zip /sdcard or manually copy to root of SDcard
Flash zip through recovery rom
(alternatively flash zip through DroidExplorer - never tried that myself though)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Enjoy.
looks so cool
WOW!
I actually really like that boot.
Could I flash this onto the CDMA Port Villain 5.02 rom?
jusumgeezer said:
WOW!
I actually really like that boot.
Could I flash this onto the CDMA Port Villain 5.02 rom?
Click to expand...
Click to collapse
Only one way to find out
edit: It works on Villain 5.02, thanks phaelox.
damooman said:
Only one way to find out
edit: It works on Villain 5.02, thanks phaelox.
Click to expand...
Click to collapse
Yep Works for me too
Just wanted to say thanks,flashed this over Fresh2.0d on my CDMA sprint hero,works perfect and looks great
I've tested flashing it on 2.1 Defiance ROM, but it didn't work =="
did someone try it on 2.1Defiance ?
Aquarixz said:
I've tested flashing it on 2.1 Defiance ROM, but it didn't work =="
did someone try it on 2.1Defiance ?
Click to expand...
Click to collapse
yeah i did but no luck, trying it on NeoRom in a moment.
looks cool but a bit too fast for the 'nova'
Morak75 said:
looks cool but a bit too fast for the 'nova'
Click to expand...
Click to collapse
I initially tried with a higher frame delay (slower moving "supernova"), but to me, it just looked, for lack of a better word, "stuttery".
Its not working on Villain 4.0 beta2
look great... will try it
Not working on the New legendary rom 1.3.5
thanks its pretty cool
The Best!
This is my favorite bootscreen and believe me, I've tried them all!
This is my favorite bootscreen and believe me, I've tried them all!
Click to expand...
Click to collapse
I agree ! It's really nice and it works for me !
Thanks a lot !
not working
Tried this on Aloysuis 2.1 and it didn't work :-( any ideas y?
Hey Everyone
I was having the same problem with the bootimage not loading. A member (papa smurf) was able to help me out. Here is his email (the bootimage is now loading fine):
yeah man thats an easy fix.
if you know how to use adb inside of command promt then hook up phone to computer and make sure it is on sync and debug is on then type this in the comand promt of your computer. to get to command promt go to the start button and type in cmd.
cd C:\android-sdk-windows\tools
adb remount
adb shell rm -r /system/media/bootanimation.zip
adb shell rm -r /system/media/bootscreen
then you can restart your phone.​
Note you could just do:
adb remount
adb shell
su (not sure if you need the su command here or not I usually just enter it any ways all the time)
rm -r /system/media/bootanimation.zip
rm -r /system/media/bootscreen
After those two files have been removed make copy the new bootimage zip file to the flash drive, reboot into revovery menu, flash from zip

Anybody has this issue with root browser?

i like root browser. and i decided to buy this app for support developer.
but after that i surprised.
- it cant show /data folder on cm9, cm10. when i enter this folder, it shows an emtpty folder.
- it can show /data folder on cm7 but file sizes 0kb and when i want to edit stg it says file not found.
- it works well on stock or stock based roms
i tooke some screenshots from cm7.
i want to know this issue for only me?
because i am talking with developer and this issue is very strange.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
P
agritux said:
i like root browser. and i decided to buy this app for support developer.
but after that i surprised.
- it cant show /data folder on cm9, cm10. when i enter this folder, it shows an emtpty folder.
- it can show /data folder on cm7 but file sizes 0kb and when i want to edit stg it says file not found.
- it works well on stock or stock based roms
i tooke some screenshots from cm7.
i want to know this issue for only me?
because i am talking with developer and this issue is very strange.
Click to expand...
Click to collapse
Report the bug to developer of Root Browser.
EDIT: saw you are already talking. I use ES File Explorer and it works.
EDIT2: Does Root Browser Lite work?
EDIT3: In terminal emulator with root I can look into data folder and see file sizes with ls -l data. There's something wrong with how the develeper reads the file info or how he handles root.
EDIT4: In terminal Emulator can you type su then ls -l data. If that gives filesizes then it's problem with the app else it's problem with your phone.
Sent from my LG-P970
es file exploerer and other root permission needed browsers are working well
i have this issues with only root browser.
lite version too. and rom toolbox too..
agritux said:
es file exploerer and other root permission needed browsers are working well
i have this issues with only root browser.
lite version too. and rom toolbox too..
Click to expand...
Click to collapse
If you say lite version too. Is it working or not working?
Sent from my LG-P970
i mean not working.
i think his method is wrong?
agritux said:
i mean not working.
i think his method is wrong?
Click to expand...
Click to collapse
Jip. He made a mistake somewhere or used a API function that changed with the newer API.
Sent from my LG-P970
agritux said:
i like root browser. and i decided to buy this app for support developer.
but after that i surprised.
- it cant show /data folder on cm9, cm10. when i enter this folder, it shows an emtpty folder.
- it can show /data folder on cm7 but file sizes 0kb and when i want to edit stg it says file not found.
- it works well on stock or stock based roms
i tooke some screenshots from cm7.
i want to know this issue for only me?
because i am talking with developer and this issue is very strange.
Click to expand...
Click to collapse
Hey agritux this is what i'm telling you the last time we talked. This is the reason why i can't solve my problem in wifi on CM9 and CM10. I already checked the show hidden files in the settings but still i can't see the MISC folder.

Need help with device blocks

Uhh... I kinda messed something very much up when compiling CM10.1 for I8190. I have no RIL but everything else is fine, IMEI, IMEISV, Serial number and all that jazz.
I've accidentally overwritten 4 device blocks while mistyping something in source code. Now I need some help here
I need you to pull a few device blocks from your phone for me.
Here is what I need from you:
Open your Terminal Emulator and type in these commands one by one. Once done please upload them for me from you external sd card and paste the links here. You can also zip them if you wish.
Thank you very much, Benz.
Code:
su
dd if=/dev/block/mmcblk0p1 of=/storage/extSdCard/mmcblk0p1.bin
dd if=/dev/block/mmcblk0p2 of=/storage/extSdCard/mmcblk0p2.bin
dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/mmcblk0p3.bin
dd if=/dev/block/mmcblk0p4 of=/storage/extSdCard/mmcblk0p4.bin
dd if=/dev/block/mmcblk0p7 of=/storage/extSdCard/mmcblk0p7.bin
Hey,
Here's the link, hope it's right:
http://db.tt/ZgNg06Me
Best regards
Edit: I've always wondered what's stored in these blocks, sadly can't find any proper documentation
Sent from my GT-I8190
Thanks a lot, but it didn't work, can you try again with .img please and also include mmcblk0p19 ?
Code:
su
dd if=/dev/block/mmcblk0p1 of=/storage/extSdCard/mmcblk0p1.img
dd if=/dev/block/mmcblk0p2 of=/storage/extSdCard/mmcblk0p2.img
dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/mmcblk0p3.img
dd if=/dev/block/mmcblk0p4 of=/storage/extSdCard/mmcblk0p4.img
dd if=/dev/block/mmcblk0p7 of=/storage/extSdCard/mmcblk0p7.img
[B]dd if=/dev/block/mmcblk0p4 of=/storage/extSdCard/mmcblk0p19.img[/B]
Here:
http://db.tt/Sp4hJ3SA
Sent from my GT-I8190
adamess said:
Edit: I've always wondered what's stored in these blocks, sadly can't find any proper documentation
Sent from my GT-I8190
Click to expand...
Click to collapse
It's this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Oh crap I messed that one up, it should be
dd if=/dev/block/mmcblk0p19 of=/storage/extSdCard/mmcblk0p19.img
Benzonat0r said:
Oh crap I messed that one up, it should be
dd if=/dev/block/mmcblk0p19 of=/storage/extSdCard/mmcblk0p19.img
Click to expand...
Click to collapse
Oops..
Thank you all for your help, but still no go. I don't understand it should've worked, that's all the partition that have been affected.
Never mind I'm taking it to Sammy tomorrow.
Benzonat0r said:
Thank you all for your help, but still no go. I don't understand it should've worked, that's all the partition that have been affected.
Never mind I'm taking it to Sammy tomorrow.
Click to expand...
Click to collapse
Sorry to hear it didn't work. Anyway, good luck bro.
Thanks. Anyway yeah I've found a problem, the damn thing doesn't wanna mount /efs or /modemfs. I know that because it was supposed to create PERM/PROT and PERM/PLAIN directories on the first boot. Gonna take it to Sammy tomorrow they'll call it emmc bug.
Oh ok, but it does boot? Guess you have tried to restore those blocks as well.
Had problem with mmcblk0p11 & mmcblk0p12 blocks yesterday after a bad flash but I managed to restore them at last.
It does boot yes, but after persistent messing around with it, now I can't see my IMEI anymore.
I've rebooted to recovery, chmod 775 /efs and /modemfs cause they were read only, they actually have to be -rw (read+write) otherwise it won't work. But for some weird reason that happened.
R: Need help with device blocks
Sorry for this question... have you tried to restore an EFS backup and flash a stock rom?
Sent from my GT-P5100 using xda app-developers app

Ram usage problem?

So I was browsing 9Gag (which shouldn't have taken much ram). When I exited the app, I keep seeing that the Xperia Launcher being blank and the icons slowly appearing (as if it has restarted). So I decided to check my ram usage (check image). Any ideas how I can prevent or fix this? It also happens when I use Skype for about an hour.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my C6903 using Tapatalk
This is related to JB 4.3 bug, the bug is system_server will spawn another pid, which make device getting slower because lack of memory. If your device isn't rooted you can simply restart your phone. If your device is rooted, simply run this command via terminal emulator (root access is needed)
Code:
for pids in $(busybox ps | grep system_server | grep Thread | busybox awk '{print $1}' | xargs); do kill -9 $pids; echo 3 > /proc/sys/vm/drop_caches; done
Sent from my C6903 using Tapatalk
I input the command in terminal and entered it. Does it suppose to have a reply or not?
Sent from my C6903 using Tapatalk
same problem here,how to use terminal emulator
Hey i also have the same problem.
Hw to use terminal emulator? Im new in this pls help me, how do i put the line in the terminal emulator? Copy whole line into the terminal emulator?
carllegendx said:
Hey i also have the same problem.
Hw to use terminal emulator? Im new in this pls help me, how do i put the line in the terminal emulator? Copy whole line into the terminal emulator?
Click to expand...
Click to collapse
Yup
Sent from my C6903 using Tapatalk
i ran the code but its like nothing happends ?
i paste the code and this came back , is it supposed to be like this ? no reply or anything ?
carllegendx said:
i paste the code and this came back , is it supposed to be like this ? no reply or anything ?View attachment 2625959
Click to expand...
Click to collapse
Yes no reply... It should just kill some zombie processes or clones... To check if the command had some effect go check your RAM again in settings->app
Riyal said:
Yes no reply... It should just kill some zombie processes or clones... To check if the command had some effect go check your RAM again in settings->app
Click to expand...
Click to collapse
seems to be working now , 5hours now and ram seems to be okay , thanks everyone
nah its not working , still same problem ... but not after like 5 hours , after a longer use......
carllegendx said:
nah its not working , still same problem ... but not after like 5 hours , after a longer use......
Click to expand...
Click to collapse
It just kills the process but not fix the bug... You need to execute the script everytime you have low RAM. That's how it is suppose to be used.
carllegendx said:
nah its not working , still same problem ... but not after like 5 hours , after a longer use......
Click to expand...
Click to collapse
It's bug from JB. It's about ROM itself. I think there's no solution to avoid this memory leak, unless we get an update from SONY. Anyway, I'll try to make automatic script which can control this bug by kill zombie process as soon as they spawned.
omegahanggara said:
It's bug from JB. It's about ROM itself. I think there's no solution to avoid this memory leak, unless we get an update from SONY. Anyway, I'll try to make automatic script which can control this bug by kill zombie process as soon as they spawned.
Click to expand...
Click to collapse
oh now i get it, you have to run the script everytime oohh!! thanks everyone .
AND YES PLS , if u can make a automatic script for it , it would be awasome , so i dont have to run it everytime

Module in post-fs mode?

Hi there.
I'm trying to write a "cache module" (which runs in post-fs stage, after the system has been mounted but before data).
Why do I need it?
Because I want to execute an "iptables -P OUTPUT DROP" to block every outgoing connection until afwall+ kicks in (in post-fs-data) and establishes the proper rules for the apps.
I can't find a proper "module template" on github.
moreover...Is there a way to "print to magisk_debug.log" from the script?
I would like to "iptables -L" pre-script execution and post-script execution so I can check that everything has gone ok.
Is there a function to do that or should I "iptables -L > /tmp/iptables.log"
Any hint?
Thank you.
In post-fs, Magisk only does a simple mount of any files found in /cache/magisk_mount/system. No scripts are run... That's not until post-fs-data.
See here for more details (if you haven't already):
https://github.com/topjohnwu/Magisk/blob/master/docs/details.md
Didgeridoohan said:
In post-fs, Magisk only does a simple mount of any files found in /cache/magisk_mount/system. No scripts are run... That's not until post-fs-data.
See here for more details (if you haven't already):
https://github.com/topjohnwu/Magisk/blob/master/docs/details.md
Click to expand...
Click to collapse
Thanks Didgeridoohan, I already read that but if you read carefully
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
He says he can run script in different stages. That "simple mount thing" sounds to me like "hey, look...don't ask me to do mounts different than simple mounts."
Moreover I found this on another script...
so it must be possible...(or it was possible with previous versions of magisk)
LinoX said:
Thanks Didgeridoohan, I already read that but if you read carefully
He says he can run script in different stages. That "simple mount thing" sounds to me like "hey, look...don't ask me to do mounts different than simple mounts."
Moreover I found this on another script...
so it must be possible...(or it was possible with previous versions of magisk)
Click to expand...
Click to collapse
"Simple mounts" means that it doesn't add anything new, only replaces already existing files/folders. But you've read the docs, you know that...
Here's some reading on cache modules:
https://forum.xda-developers.com/showpost.php?p=69621730&postcount=7
It might be possible to run scripts in post-fs in the future (that's up to @topjohnwu). Right now it isn't...
Didgeridoohan said:
Here's some reading on cache modules:
https://forum.xda-developers.com/showpost.php?p=69621730&postcount=7
Click to expand...
Click to collapse
Thank you very much for that.
Yeah I didn't read that specific post (even if I searched for it a lot) and it replies my question: Cache modules aren't supported anymore.
I guess I'll have to deal with post-fs-data mode then...
Even if I don't need the data partition and even if, once data is mounted, it could be too late to block the network (some services might have already accessed it..yet not the apps themselves)
Thank you again, man.
LinoX said:
Thank you very much for that.
Yeah I didn't read that specific post (even if I searched for it a lot) and it replies my question: Cache modules aren't supported anymore.
I guess I'll have to deal with post-fs-data mode then...
Even if I don't need the data partition and even if, once data is mounted, it could be too late to block the network (some services might have already accessed it..yet not the apps themselves)
Thank you again, man.
Click to expand...
Click to collapse
No worries...
Just in case you haven't thought about it: if you want to run the script as early as possible, place it in /magisk/.core/post-fs-data.d rather than in the post-fs-data.sh file of a module.
I am using Magisk 16.7 on Android 8.1
On my phone there is no /magisk folder
For using a boot script should i just create the folder structure or where do i have to place my files?
m45k said:
I am using Magisk 16.7 on Android 8.1
On my phone there is no /magisk folder
For using a boot script should i just create the folder structure or where do i have to place my files?
Click to expand...
Click to collapse
Boot scripts should be placed on /sbin/.core/img/.core/post-fs-data.d
Sent from my LGE w5 using XDA Labs

Categories

Resources