LEDs Hack app...adb help - EVO Shift 4G Q&A, Help & Troubleshooting

i recently found the LEDs Off app for root users, it doesnt support the shift but the author said if i can find some files he can do it.
he gave me the code:
'adb shell find /sys -iname brightness'
but cmd keeps telling me find: permission denied, any ideas
im new to android development, but wanna learn it all, thanks in advance!

Moved to general

gbL420 said:
i recently found the LEDs Off app for root users, it doesnt support the shift but the author said if i can find some files he can do it.
he gave me the code:
'adb shell find /sys -iname brightness'
but cmd keeps telling me find: permission denied, any ideas
im new to android development, but wanna learn it all, thanks in advance!
Click to expand...
Click to collapse
Try
Code:
adb shell
su
find /sys -iname brightness

cloverdale said:
Try
Code:
adb shell
so
find /sys -iname brightness
Click to expand...
Click to collapse
So or su? Cuz I tried su got # and still get the same thing.
I just tried it thru connect bot:
Su
Find /sys -iname brightness
Got find: not found
perm#rooted shi(f)t via XDA app...gbL

gbL420 said:
So or su? Cuz I tried su got # and still get the same thing.
I just tried it thru connect bot:
Su
Find /sys -iname brightness
Got find: not found
perm#rooted shi(f)t via XDA app...gbL
Click to expand...
Click to collapse
Try it again in connectbot, but replace find with busybox find.

wrks with busybox thanks a lot!

Related

[Q] how to edit GPS.conf in system folder ?

I would like to set my phone to europe.pool.ntp.org becouse it's default northamerica.pool.ntp.org
How can I edit this file ? When I try to type adb shell to terminal it gives me an error message.
Thanks
Not development related moved to General
At first U must root R phone and then install Root Explorer. After that go to SYSTEM/ETC/
Here u need to edit GPS.CONF file and change NTP Server from northamerica.pool.ntp.org to europe.pool.ntp.org.
I hope that I help U m8.
Get write acces in system folder
I used the post I've quoted down here. After you have gained write acces in the system folder you can edit gps.conf!
octy said:
By default the /system is mounted in read-only mode.
With 'root' access you can change this.
First 'root' your phone with tutorial 'slumpolo' has provided at
the begining of this thread.
Then open a shell on your phone with adb
Code:
adb shell
Grant 'root' access with 'su' command and have a look of memory partitions
Code:
su
mount
In 'mount' command output, identify the partition on which /system was mounted.
In my phone it was '/dev/block/stl6'
Finally you can remount it to get read-write permissions on it.
But before be sure to be outside /system in the shell (by typing 'cd /' for example).
Code:
mount -o remount,rw /dev/block/stl6 /system
Do the modification you want..... BECAREFUL of want you do, you can damage your phone.
Set read-only mode again
Code:
mount -o remount,ro /dev/block/stl6 /system
Sorry I cannot made any snapshot for the moment, I can't use my phone.
Hope it can help you.
Click to expand...
Click to collapse
By the way, for Slovakia I think you can better change to sk.pool.ntp.org
Complete list of European NTP servers:
http://www.pool.ntp.org/zone/europe
Other area's:
http://support.ntp.org/bin/view/Servers/NTPPoolServers
LeoApollo said:
By the way, for Slovakia I think you can better change to sk.pool.ntp.org
Complete list of European NTP servers:
http://www.pool.ntp.org/zone/europe
Other area's:
http://support.ntp.org/bin/view/Servers/NTPPoolServers
Click to expand...
Click to collapse
I see, probably I can use also CZ, HU, AT, DE or SK or EU .. I've red that the best is with more sites.
"After you have gained write acces " How can I gain write access ? I have rooted - but Adb shell doesn't work, did I missed something ? Thaks
nastyba said:
"After you have gained write acces " How can I gain write access ? I have rooted - but Adb shell doesn't work, did I missed something ? Thaks
Click to expand...
Click to collapse
i think yes adb is for the PC. it is part of the android sdk tools.
i did that on my desire (it should be same) but i have problem i edit and save file and now i cant see it
i can see that backup file but how do i restore it?
i tried create new file it wont work i cant see it (it says file created sucessfuly)
aantdesign said:
At first U must root R phone and then install Root Explorer. After that go to SYSTEM/ETC/
Here u need to edit GPS.CONF file and change NTP Server from northamerica.pool.ntp.org to europe.pool.ntp.org.
I hope that I help U m8.
Click to expand...
Click to collapse
U can use adb on Win or linux or qtadb.
Give these commands on adb shell..
su
mount -o remount,rw /dev/block/stl6 /system
exit
exit
adb pull /system/etc/gps.conf
Edit the gps.conf the way u like.
Then mount again in rw mode.
adb push gps.conf /system/etc/gps.conf
adb reboot
Done.
moved
new post @sgs2
nastyba said:
I would like to set my phone to europe.pool.ntp.org becouse it's default northamerica.pool.ntp.org
How can I edit this file ? When I try to type adb shell to terminal it gives me an error message.
Thanks
Not development related moved to General
Click to expand...
Click to collapse
U can use the apo "FasterFix" from market.
arunmcops said:
U can use the apo "FasterFix" from market.
Click to expand...
Click to collapse
Thanks for the tip much easier to change with this application done in seconds

ADB question

I have read many posts about ADB push/remount permission issues, etc. But unfortunately I still have not figured out what's wrong with my situation. First of all, I don't have a micro SD card, so I have to push files directly to the phone memory.
I firstly tried "adb push" but seems it doesn't work for me
$ adb push email.apk /system/app
failed to copy 'email.apk' to '/system/app/email.apk': Read-only file system
Click to expand...
Click to collapse
Then I searched online and people said you need to remount first. Then I got the infamous permission problem
$ adb remount
remount failed: Operation not permitted
Click to expand...
Click to collapse
Then I tried open shell first. no go
$ adb shell
$ mount -o remount rw system/app
mount: Operation not permitted
Click to expand...
Click to collapse
I searched more and found it can get su permission so to make things work. But when I hit "su(enter)" after open adb shell, I don't see the "#" showing up but still got an error message after waiting for a while
$ adb shell
$ su
Permission denied
Click to expand...
Click to collapse
Any one can please tell what's wrong with my operation? I rooted my G2x but didn't flash it. I installed the ROM manager and installed CWM but didn't proceed to reboot into recovery mode.
tangyoulei said:
I have read many posts about ADB push/remount permission issues, etc. But unfortunately I still have not figured out what's wrong with my situation. First of all, I don't have a micro SD card, so I have to push files directly to the phone memory.
I firstly tried "adb push" but seems it doesn't work for me
Then I searched online and people said you need to remount first. Then I got the infamous permission problem
Then I tried open shell first. no go
I searched more and found it can get su permission so to make things work. But when I hit "su(enter)" after open adb shell, I don't see the "#" showing up but still got an error message after waiting for a while
Any one can please tell what's wrong with my operation? I rooted my G2x but didn't flash it. I installed the ROM manager and installed CWM but didn't proceed to reboot into recovery mode.
Click to expand...
Click to collapse
you need to look at your phone and allow superuser app to grant permission
crazythunder said:
you need to look at your phone and allow superuser app to grant permission
Click to expand...
Click to collapse
su app? how should I set it? I didn't see anyone mentioned that. Do you care to give a bit more details? Thanks.
I think I figured out. I have to manually run the superuser app and let it say in active. Then when I type in "adb shell" the app on the handset will ask my permission. Thanks for the reminder.
Plus I am doing the following as the following that I read from another thread
adb shell
$ su
# mkdir /data/yourname
# chmod 777 /data/yourname
# exit
$ exit
adb push gps.conf /data/yourname
adb shell
$ su
# mount -o remount,rw /dev/block/mtdblock6 /system (copy biggrin.gif)
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock6 /system (copy biggrin.gif)
# mv /data/yourname/gps.conf /system/etc
Click to expand...
Click to collapse

[Q] Rooting the motorola atrix 2

i tried a few ways to root my atrix 2 but i cant. I tried super one click, lazy one click (or however its called) and i cant root it i have a mac someone help! is there another way to root the atrix 2?
I heard there was an app that can do it too. Its in this forum somewhere.
I used the manual method on my Mac with no issues, did it twice actually.
What error messages are you getting?
I'll be home in about 15 mins and I can help further
Sent from my MB865 using Tapatalk
If all else fails, you could always reflash the fkz's, than try to root again, but the problem here is that you have a mac. Perhaps borrow a friends pc, or install Windows through bootcamp. (I wouldn't recommend a Virtual Machine though).
OK so if you used a root tool in the first place then I assume that-
-You have adb set up
-You have the necessary files to push (zerg, su, superuser.apk)
If you have no idea of what I'm talking about then just look around the folders of the root tools and you'll find them.
OK, here's what you have to do:
1. Open up a terminal.
2. CD (change directory) to where you have the necessary files located, ex. "cd ~/Desktop/" if they're on the desktop
3. Enter the following commands (one line at a time):
Code:
adb shell
cd /data/local
rm ./temp/*
exit
This removes temporary files created by the root exploit.
4. Now enter these commands (again, one at a time)
Code:
adb push zerg /data/local
adb push su /data/local
adb push Superuser.apk /data/local
adb shell
cd /data/local
chmod 777 zerg
./zerg
adb shell
mount -o rw,remount /dev/null /system
cat /data/local/su > /system/bin/su
cat /data/local/Superuser.apk > /system/app/Superuser.apk
chmod 4755 /system/bin/su
chmod 4755 /system/app/Superuser.apk
reboot
I hope you understand this... good luck getting complete root.
thread moved to general forum
If you find a specific android app that can do this for you and you can post it in the OP, I will gladly move it down to its original location. Until there, it doesnt belong in the app and themes forums.
What's your android version ?
Deliberate said:
I heard there was an app that can do it too. Its in this forum somewhere.
Click to expand...
Click to collapse
Unfortunately that app seems to have only been in the market and was recently removed... I tried looking for it today. Please correct me if I'm wrong!
jpumford said:
Unfortunately that app seems to have only been in the market and was recently removed... I tried looking for it today. Please correct me if I'm wrong!
Click to expand...
Click to collapse
You're correct, the app was written by an author who made it just to make money... he never even tested it. He took it down because it didn't work.
Most important question of all here: What OS are you running on your Mac?
If you're running 2.3.6 you can't root yet. You need to downgrade to 2.3.5

Smartphone Pomp P8

Hi everybody!
I'm looking for a cheap phone and I have just found this: Pomp P8
http://www.aliexpress.com/store/pro...-TV-entertainment-Cheap/101027_812064010.html
I have been searching for rooting this phone and I haven't found anything!!
I would like to know if it's possible to root this phone.
Thank you very much.
Edit: How to root it, solve problems with Google Play, GPS, dictionary...
Here
vAlmaraz said:
Hi everybody!
I'm looking for a cheap phone and I have just found this: Pomp P8
http://www.aliexpress.com/store/pro...-TV-entertainment-Cheap/101027_812064010.html
I have been searching for rooting this phone and I haven't found anything!!
I would like to know if it's possible to root this phone.
Thank you very much.
Click to expand...
Click to collapse
I'm also looking for this phone, have you found a root way? You have it right now?
Brokn.Down said:
I'm also looking for this phone, have you found a root way? You have it right now?
Click to expand...
Click to collapse
Yes, I have wrotten a thread in HTCManía, an important forum in Spain:
http://www.htcmania.com/showthread.php?p=8312819#post8312819
We are investigating more ways and improvements for this phone.
Now, we have a root method and a gps solution.
Also check this forum:
http://www.forocoches.com/foro/showthread.php?t=3212170
Sorry for my english.
vAlmaraz said:
Yes, I have wrotten a thread in HTCManía, an important forum in Spain:
http://www.htcmania.com/showthread.php?p=8312819#post8312819
We are investigating more ways and improvements for this phone.
Now, we have a root method and a gps solution.
Also check this forum:
http://www.forocoches.com/foro/showthread.php?t=3212170
Sorry for my english.
Click to expand...
Click to collapse
Yep, i view it, is good you speak spanish as i'm also speak spanish, wait for my pm
Already have the phone, myself and there is no need to root the phone. It's already rooted and comes with 'su' installed.
As as said 'su' is there, but you should update 'su' to a newer version as Superuser.apk doesn't work well with the version included in the phone.
Go to androidsu.com/superuser (download latest su and Superuser.apk)
run:
# adb push su /sdcard/
# adb push Superuser.apk /sdcard/
# adb shell
in the shell:
# su
# mount -o rw,remount /system
# cat /sdcard/su /system/bin/su
# chmod 06755 /system/bin/su
# cat /sdcard/Superuser.apk /system/app/Superuser.apk
# logout
# adb reboot
As for the recovery mode, using Power Btn and Volume Down Btn, you can go into recovery mode, no need to re-flash recovery, but you can if you wanna
thejinx said:
Already have the phone, myself and there is no need to root the phone. It's already rooted and comes with 'su' installed.
As as said 'su' is there, but you should update 'su' to a newer version as Superuser.apk doesn't work well with the version included in the phone.
Go to androidsu.com/superuser (download latest su and Superuser.apk)
run:
# adb push su /sdcard/
# adb push Superuser.apk /sdcard/
# adb shell
in the shell:
# su
# mount -o rw,remount /system
# cat /sdcard/su /system/bin/su
# chmod 06755 /system/bin/su
# cat /sdcard/Superuser.apk /system/app/Superuser.apk
# logout
# adb reboot
As for the recovery mode, using Power Btn and Volume Down Btn, you can go into recovery mode, no need to re-flash recovery, but you can if you wanna
Click to expand...
Click to collapse
Thank you very much!
I'll try it!
thejinx said:
Already have the phone, myself and there is no need to root the phone. It's already rooted and comes with 'su' installed.
As as said 'su' is there, but you should update 'su' to a newer version as Superuser.apk doesn't work well with the version included in the phone.
Go to androidsu.com/superuser (download latest su and Superuser.apk)
run:
# adb push su /sdcard/
# adb push Superuser.apk /sdcard/
# adb shell
in the shell:
# su
# mount -o rw,remount /system
# cat /sdcard/su /system/bin/su
# chmod 06755 /system/bin/su
# cat /sdcard/Superuser.apk /system/app/Superuser.apk
# logout
# adb reboot
As for the recovery mode, using Power Btn and Volume Down Btn, you can go into recovery mode, no need to re-flash recovery, but you can if you wanna
Click to expand...
Click to collapse
Thanks, when mine arrive i'll try it
Also wait for a new clean cm9.1 rom for this phone that i'll make
cypress maptur
Sorry, I made a mistake. When using 'cat' you need to use the redirect:
cat /sdcard/su > /system/bin/su
cat /sdcard/Superuser.apk > /system/app/Superuser.apk
Brokn.Down said:
Thanks, when mine arrive i'll try it
Also wait for a new clean cm9.1 rom for this phone that i'll make
Click to expand...
Click to collapse
I prefer a cm10.1 rom
vAlmaraz said:
I prefer a cm10.1 rom
Click to expand...
Click to collapse
Some links for some custom ROMs?
thejinx said:
Some links for some custom ROMs?
Click to expand...
Click to collapse
Unfortunately, I don't know how to build a custom rom, for now.
I can help posting the nexus 4 System dump:
http://dl.atftas.us/OEM/Nexus/Nexus_4/Nexus4_System_Dump.zip
vAlmaraz said:
I prefer a cm10.1 rom
Click to expand...
Click to collapse
Me too but there is not sources for the kernel and is hard to port it
Brokn.Down said:
Me too but there is not sources for the kernel and is hard to port it
Click to expand...
Click to collapse
I don't believe that using CM will work on this phone.
thejinx said:
I don't believe that using CM will work on this phone.
Click to expand...
Click to collapse
Is the best way as the aosp source are incomplete for compile cm10.1 for a generic kernel
BTW, does anybody have problem with the GPS? I've tried Sygic and Google Maps and not getting any satellites, or at least no very fast.
I've tried the how-to for the GPS from htcmania.com, but doesn't really help. Also tried FasterGPS app and nothing.
Please let me know if you know a good fix.
Also, does anybody know how to unlock the bootloader? Recovery can't be re-written if the bootloader is not unlocked (or at least thats what I believe).
Hello.
Sent from my SCH-I605 using Xparent BlueTapatalk 2
thejinx said:
BTW, does anybody have problem with the GPS? I've tried Sygic and Google Maps and not getting any satellites, or at least no very fast.
I've tried the how-to for the GPS from htcmania.com, but doesn't really help. Also tried FasterGPS app and nothing.
Please let me know if you know a good fix.
Also, does anybody know how to unlock the bootloader? Recovery can't be re-written if the bootloader is not unlocked (or at least thats what I believe).
Click to expand...
Click to collapse
Recovery: maybe this could help:
http://bm-smartphone-reviews.blogspot.com.es/2012/05/mt6575-flashing-tutorial.html
http://bm-smartphone-reviews.blogspot.com.es/2012/02/complete-guide-to-clockworkmod-recovery.html
vAlmaraz said:
Recovery: maybe this could help:
http://bm-smartphone-reviews.blogspot.com.es/2012/05/mt6575-flashing-tutorial.html
http://bm-smartphone-reviews.blogspot.com.es/2012/02/complete-guide-to-clockworkmod-recovery.html
Click to expand...
Click to collapse
Yeah, I knew this, but what about the GPS? Can't get it to work.
thejinx said:
Yeah, I knew this, but what about the GPS? Can't get it to work.
Click to expand...
Click to collapse
Sorry, I haven't tried GPS yet. Maybe this week I could have some free time and I can try it.
vAlmaraz said:
Sorry, I haven't tried GPS yet. Maybe this week I could have some free time and I can try it.
Click to expand...
Click to collapse
Would it be possible to dump the ROM from your phone and uploaded someplace? I'm thinking is the ROM, but don't have the original one.

[Q] How to remove custom tones from gear 2??

Hello every one... I rooted the gear 2 and installed a custom tone... now question is, how do i remove them??
jlopez1286 said:
Hello every one... I rooted the gear 2 and installed a custom tone... now question is, how do i remove them??
Click to expand...
Click to collapse
Use the rm path/filename command to delete, just like DOS.
JimSmith94 said:
Use the rm path/filename command to delete, just like DOS.
Click to expand...
Click to collapse
I tried this command.
sdb root on
sdb shell mount -o remount,rw /
sdb rm /opt/share/settings/Alerts/stock_sound.ogg
sdb shell mount -o remount,ro /
is that correct??
.
jlopez1286 said:
I tried this command.
sdb root on
sdb shell mount -o remount,rw /
sdb rm /opt/share/settings/Alerts/stock_sound.ogg
sdb shell mount -o remount,ro /
is that correct??
.
Click to expand...
Click to collapse
Looks good to me, but I haven't tried to delete anything.
JimSmith94 said:
Looks good to me, but I haven't tried to delete anything.
Click to expand...
Click to collapse
I need to figure this out cuz i tried it again and no go...
jlopez1286 said:
I need to figure this out cuz i tried it again and no go...
Click to expand...
Click to collapse
"sdb ls /opt/share/settings/Alerts/stock_sound.ogg" should do a DIR of the file to be sure the file exists. You might have missed or added a capitalized letter. Unix/Linux are case sensitive.
"sdb ls /opt/share/settings/Alerts/" should give you a DIR of the whole directory so you can double check the spelling.
JimSmith94 said:
"sdb ls /opt/share/settings/Alerts/stock_sound.ogg" should do a DIR of the file to be sure the file exists. You might have missed or added a capitalized letter. Unix/Linux are case sensitive.
"sdb ls /opt/share/settings/Alerts/" should give you a DIR of the whole directory so you can double check the spelling.
Click to expand...
Click to collapse
what if the terminal tells you "unsupported command: rm"
jlopez1286 said:
what if the terminal tells you "unsupported command: rm"
Click to expand...
Click to collapse
Sorry, I'm only guessing now. Try "sdb shell rm /opt/share/settings/Alerts/stock_sound.ogg" Same with the ls commands.
that worked!!! thanks!!

Categories

Resources