[Q] [Request] Charging/Accessory Overide - Galaxy Tab 10.1 Q&A, Help & Troubleshooting

pokey9000 found in the kernel, drivers/accessory/30pin_con.c:
if (acc_adc != false) {
if ((2600 < acc_adc) && (2800 > acc_adc)) {
env_ptr = "ACCESSORY=OTG";
acc->current_accessory = ACCESSORY_OTG;
Which he used to figure out what was needed to put the unit into Host mode and through his help and testing I figured out that you needed a 3:1 split on the power to get the unit to think it was charging from an OEM charger.
Is it possible to change the above code and whatever the other code is that senses power on the data lines so that we can force the tablet into whatever mode we want?
I don't have the proper setup to code myself so I hope there might be a Dev out there up for the challenge.

This works, it not only allows usb charging from a computer/laptop, but it enables it to be charged from any (In my case my Kindle's wall plug.) wall plug.
Hope that helps!
FillTheVoid said:
I am having trouble with command
adb shell
echo 1 > /sys/class/power_supply/battery/force_usb_charging
Works fine from my Laptop, but when in a terminal on the tab I get
adb shell
error: device not found
I did give the terminal su permission. Anything special I have to do when running this script from the tab itself. I would like to be able to do this "on the go" since it is not persistent after reboot. Thanks.
Click to expand...
Click to collapse
Mullicious said:
You can make it persistent, slap it in a bog standard text editor, then by using script manager, create it as a script to run as root and at boot. Confirmed it to work myself, very handy.
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
Edit:
I see this doesn't answer your question, I'm sorry; misread.

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A

Could someone put this into a package or give detailed instructions for a noob like me to get this running? I really hate that the Tab doesnt just recognize car usb power like my galaxy phone does...Thanks!

Mullicious said:
This works, it not only allows usb charging from a computer/laptop, but it enables it to be charged from any (In my case my Kindle's wall plug.) wall plug.
Hope that helps!
Edit:
I see this doesn't answer your question, I'm sorry; misread.
Click to expand...
Click to collapse
D you mean this command works:
adb shell
echo 1 > /sys/class/power_supply/battery/force_usb_charging
Did you get it to work from terminal eventually?
Can you share the script you created please?

Szadzik said:
D you mean this command works:
adb shell
echo 1 > /sys/class/power_supply/battery/force_usb_charging
Did you get it to work from terminal eventually?
Can you share the script you created please?
Click to expand...
Click to collapse
This shell command works if you are running pershoot's kernel, it is not persistent after reboot though. This doesnt bother me cause if I really need to charge it in the car I just open a terminal emulator and type in in. Takes 30 sec.

FillTheVoid said:
This shell command works if you are running pershoot's kernel, it is not persistent after reboot though. This doesnt bother me cause if I really need to charge it in the car I just open a terminal emulator and type in in. Takes 30 sec.
Click to expand...
Click to collapse
SO it does not work on stock kernel?

Szadzik said:
SO it does not work on stock kernel?
Click to expand...
Click to collapse
That is correct. Pershoot built it into his kernel.

FillTheVoid said:
That is correct. Pershoot built it into his kernel.
Click to expand...
Click to collapse
Any idea if Pershoot's kernel is available for P7500?

Szadzik said:
Any idea if Pershoot's kernel is available for P7500?
Click to expand...
Click to collapse
It is available. That's the 3G model right?

FillTheVoid said:
It is available. That's the 3G model right?
Click to expand...
Click to collapse
Yes, it is 3G. I have to look for the right thread. LEt me know if you have any pointers.

Szadzik said:
Yes, it is 3G. I have to look for the right thread. LEt me know if you have any pointers.
Click to expand...
Click to collapse
See forum.xda-developers.com/showthread.php?t=1138167

Related

[Q] Stupid but how to you access ADB Shell or Terminal on the phone?

I have an rooted Vibrant w/ Build ECLAIR.UVJI5 Baseband T959UVJI6
I want to flash back to JI4 and need to disable the voodoo
Please Help.
Zenophobe
Bionix 1.5 w/JACs OC/UV/VOODOO Kernel
adb is threw computer and you have to have the phone USB plugged in and in debug mode.
And to use terminal you download a terminal program off the market there are free ones
If you're asking to check if its disabled just use terminal.
with adb you have to download android SDK on PC ...ect too much of a process.
when with terminal all you do is type "mount" to check if disabled
Zeno78 said:
I have an rooted Vibrant w/ Build ECLAIR.UVJI5 Baseband T959UVJI6
I want to flash back to JI4 and need to disable the voodoo
Please Help.
Zenophobe
Bionix 1.5 w/JACs OC/UV/VOODOO Kernel
Click to expand...
Click to collapse
You don't need ADB or Terminal to disable Voodoo. Use your desired file manager or mount it via USB. Go into /sdcard/Voodoo and make a file named "disable-lagfix" (no extensions) and then restart.
- ADB: In order to use it, you must have the proper environment set up to use ADB. My tip is to download: http://de.codeplex.com/ and it'll setup the SDK environment for you the easiest.
http://forum.xda-developers.com/showthread.php?t=532719 this is the guide you want to use to get ADB working
Terminal: Search for "Terminal Emulator" on the market and there you go.
zephiK said:
You don't need ADB or Terminal to disable Voodoo. Use your desired file manager or mount it via USB. Go into /sdcard/Voodoo and make a file named "disable-lagfix" (no extensions) and then restart.
- ADB: In order to use it, you must have the proper environment set up to use ADB. My tip is to download: http://de.codeplex.com/ and it'll setup the SDK environment for you the easiest.
http://forum.xda-developers.com/showthread.php?t=532719 this is the guide you want to use to get ADB working
Terminal: Search for "Terminal Emulator" on the market and there you go.
Click to expand...
Click to collapse
i changed my whole post because i think he wants to check if he disabled voodoo correctly and yes you need terminal for this
demo23019 said:
i changed my whole post because i think he wants to check if he disabled voodoo correctly and yes you need terminal for this
Click to expand...
Click to collapse
I want to flash back to JI4 and need to disable the voodoo
Click to expand...
Click to collapse
Need and see are two different things.
zephiK said:
Need and see are two different things.
Click to expand...
Click to collapse
really im not going to go into a pissing contest with you
everything you said is on Bionix 1.5 thread, that's why I removed
demo23019 said:
really im not going to go into a pissing contest with you
everything you said is on Bionix 1.5 thread, that's why I removed
Click to expand...
Click to collapse
k... ill just stop responding since you have such a ego that you don't want to be wrong.
the OP obviously doesn't know how to use the Search feature so INSTEAD of being the "typical xda user" (like yourself) i decided to be nice to the OP and give the information he needs in his thread rather than telling him to use the search feature
now, stop trying to get attention. it's not cute. just trying to help another member
zephiK said:
k... ill just stop responding since you have such a ego that you don't want to be wrong.
Click to expand...
Click to collapse
zephiK said:
the OP obviously doesn't know how to use the Search feature so INSTEAD of being the "typical xda user" (like yourself) i decided to be nice to the OP and give the information he needs in his thread rather than telling him to use the search feature
Click to expand...
Click to collapse
yea and its members like you that are the reason these guys dont use search function
zephiK said:
now, stop trying to get attention.
Click to expand...
Click to collapse
take a look in the mirror
Its ok i figured it out MOD YOU CAN LOCK THIS PLEASE
demo23019 said:
yea and its members like you that are the reason these guys dont use search function they wait for suckers like yourself
take a look in the mirror
Click to expand...
Click to collapse
okay, go ahead and flame me for being a nice person. so i guess you must be those "guys" who dont use the edit button and decides to double post to up their post count?
and agreed with OP, lock this thread before this guy starts flaming me for whatever reason. im sorry if anything is bothering you to make you such a cranky person in the morning but dont take it upon other people, thanks.
I think its more than not using search
He posted in general and should be asking in Q&A or even better the developers thread with other bionx 1.5 users
And his answer is right on the first page of that thread... which shows his lazyness
and OP didn't even bother thanking you guys for the help
I did say nevermind that i found the answers. It was prior to the answer being posted. I am sorry for not thanking anyone. So thanks for all that helped.
MOD'S PLEASE LOCK THIS THREAD!!!!!!

Java on webtop confirmed!

This guide was taken and revamped with files included from here http://forum.xda-developers.com/showthread.php?t=1067662
I do not take any credit for anything besides revamping the codes to fit new filenames and making the guide a bit easier.
I finally managed to get java to work with firefox. I test out runescape and it works great on minimum graphics setting may be able set higher.
This is a guide to run Java on webtop on any firmware version and more than likely (but untested) any hdmi hacks/mods.
Prerequisites: Rooted phone and minor knowledge of how to run terminals
webtop2sd (http://forum.xda-developers.com/showthread.php?t=1119555) installed would be a major help simply because lxterminal is so much easier to use!
If you refuse to use webtop2sd, terminal emulator on the market will work just fine.
Download this http://www.megaupload.com/?d=PF56FTWD
Extract the ejre1.6.0_27 folder and move to phone
Copy the ejre1.6.0_27 folder to
/usr/lib/
Ingore this code if you are running from lxterminal
Code:
su
/usr/bin/sudo -u adas bash
Click to expand...
Click to collapse
In lxterminal or whatever terminal
Code:
sudo ln -s /usr/lib/ejre1.6.0_27/lib/arm/libnpjp2.so /usr/lib/firefox-addons/plugins/libnpjp2.so
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/java
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/java_vm
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/javaws
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/keytool
Click to expand...
Click to collapse
If you get "link failed File exists" run this. then run the ln command
Code:
sudo rm /usr/lib/firefox-addons/plugins/libnpjp2.so
Click to expand...
Click to collapse
You can also use root explorer to set permission for the files
Set to this:
read write execute
X --- X----- X
X ---------- X
X ---------- X
I will try to make updates to this whenever possible.
If anyone could tell me an easy way to take a screenshot from the weptop I would gladly take some and upload.
Someone test Runescape >.>
Mossys said:
Someone test Runescape >.>
Click to expand...
Click to collapse
I have it running flawlessly. Autosetup actually asks for high but I use safemode.
I have no idea how to post screenshots of webtop but I know its possible.
Also I'd like to add that if you do his method and download the current version... Java runs very very slow. This version is much better.
Minecraft?!?!?! I don't have a TVs with HDMI right now or I'd try this myself!
Sent from my MB860 using xda premium
jerrygooch said:
Minecraft?!?!?! I don't have a TVs with HDMI right now or I'd try this myself!
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
hell yeah!! im with you on this lol. i dont have a hd tv xd
Quite possible, I'm not a Minecrafter so I wouldnt know. But feel free to try, I dont see why it wouldn't work.
I'll try to get my hands on some screenshots later after doing some digging on how-to's and update this a little bit.
You could try imagemagick. Not sure if it's in the repos though. I'm about to head off to work or I'd try it.
If it's installable just type in a terminal window.
Code:
import -window root whatever.png
xfce4-screen-shooter
Stephen Who said:
If anyone could tell me an easy way to take a screenshot from the weptop I would gladly take some and upload.
Click to expand...
Click to collapse
if you use xfce you can use xfce4-screen-shooter
dubyajaysmith said:
if you use xfce you can use xfce4-screen-shooter
Click to expand...
Click to collapse
Could you post a link to the exact download for this? I could include it in my post.
I dont own a laptop dock anymore by I thought there was a screenshot function built into webtop. (Printscreen key or ctrl+alt+c).
Also I dont think minecraft will work cause it has native libraries for x86.
Very correct, ctrl+alt+c works.
There is no printscreen key though.
Yeah, no luck with Minecraft. It starts to load then just displays a white screen.
REAVER117 said:
Yeah, no luck with Minecraft. It starts to load then just displays a white screen.
Click to expand...
Click to collapse
I'll see what I can come up with right now.
Edit: I get a blackscreen when trying to run the Minecraft Classic, so it seems thats a no go on Minecraft on this release.
Mossys said:
Someone test Runescape >.>
Click to expand...
Click to collapse
Uploaded screens of Runescape and Minecraft(not working)
Yep, imagemagick works, once you install it.
Works
Thxs
No problem man.
can anyone give me a setup towards this?
I've currently have xterm working, I've installed synaptic. Iceweasel...
There is a major step im missing. I cant launch firefox off the tab, but I can launch Iceweasel via xterm.
Mossys said:
can anyone give me a setup towards this?
I've currently have xterm working, I've installed synaptic. Iceweasel...
There is a major step im missing. I cant launch firefox off the tab, but I can launch Iceweasel via xterm.
Click to expand...
Click to collapse
I dont quite know much about the modded versions of Firefox, but I would assume it acts and functions the same as Firefox itself? Ie, there is an addon folder?
That or get your firefox back working by backtracking your Iceweasel.

[krn.modules] xpad.ko for XBOX 360 gamepad

As title says, only tested on rooted stock Samsung ROM - built from update3 sources.
Unpack the bz2, then copy the .ko file to your SD card or internal storage. Use a terminal app, SSH or ADB shell to insmod xpad.ko and you're winning.
Seems to emulate a keyboard, works on Snes9xEX at least. Controller LEDs keep flashing - if anyone knows what option to pass to fix that I'd be appreciative.
Your other option is the BT/USB Controller app from the market.
voltagex said:
As title says, only tested on rooted stock Samsung ROM - built from update3 sources.
insmod xpad.ko and you're winning.
Seems to emulate a keyboard, works on Snes9xEX at least. Controller LEDs keep flashing - if anyone knows what option to pass to fix that I'd be appreciative.
Your other option is the BT/USB Controller app from the market.
Click to expand...
Click to collapse
How do you know that the module is loaded?
cba1986 said:
How do you know that the module is loaded?
Click to expand...
Click to collapse
Pair the controller with the wireless dongle, and move the sticks - it should make the funny water droplet noise.
Edit: lsmod will show it too
Sent from my GT-I9300 using xda premium
doesn't work with siyah kernel,exec format error.....
freakonaleash said:
doesn't work with siyah kernel,exec format error.....
Click to expand...
Click to collapse
That doesn't surprise me, it'll have to be rebuilt at some stage for Siyah specifically.
sorry im a complete NOOB but can you explain "Use a terminal app, SSH or ADB shell to insmod xpad.ko"
leon_notts said:
sorry im a complete NOOB but can you explain "Use a terminal app, SSH or ADB shell to insmod xpad.ko"
Click to expand...
Click to collapse
type terminal emulator on market download the one you like then,put the file from here after you extract it of course in a folder you will create and name plugin on your internal sd card and finally type insmod /sdcard/plugin/xpad.ko in the app you downloaded and you're all set!
(you must be rooted i think and if you want to have the plugin running each time you reboot your phone you will need to write this line in a file with no extension and place the file on system/etc/init.d directory supposing you have a root browser file manager ex. root explorer installed!)
This wont pair a xbox 360 wirelessly with the S3 will it?
Are you talking about using the controller via usb?
webup said:
This wont pair a xbox 360 wirelessly with the S3 will it?
Are you talking about using the controller via usb?
Click to expand...
Click to collapse
Yes only with usb!
Dunno maybe it could work if you have the wirelless adapter for the controller though...
Its working perfect on Checkrom V5
Thanks!
freakonaleash said:
doesn't work with siyah kernel,exec format error.....
Click to expand...
Click to collapse
+1
Well, it's not working with speedmod kernel too, same respond as siyah. I did try to flash fully rooted stock kernel by ficeto, and it worked great (yeah, the controller lights kept blinkin' like crazy ). Spent some times spraying bullet in Dead Trigger on it Nice work, dude!:good:
Hi all is there a tutorial on how to cross compile and create modules with source?
I remember doing this with my Tab 10.1, and you have to insmod another module called "ff-memless.ko" (get it from droidbasement.com(creditsershoot)) BEFORE you insmod xpad.ko. I ordered my otg cable yesterday from DX for my SGS3 so i wont bother testing it today. Hope it works!
EDIT: WARNING: doing these modifications can/will damage your device. If I'm not mistaken, kernel modules are made specificly for devices/kernels/rom's. I'll await hardcore dev input on this before testing, with perhaps a "spoonfed" step-by-step guide for noobs, like myself, with all/correct files attached and more info on wich kernels/roms are supported. Make a nandroid backup just in case if you're itching to test
hey man, nice thread here, but unfortunately your plugin just wont work on my kernel (3.0.31).
Could you please provide the xpad.ko file for my kernel or just tell me how to compile correctly?
I've searched a lot but hadnt much luck on finding good results -.-
Stock rom rooted, not working here, buddy !
Even with Boeffla kernel not working.
For Perseus 26.1. The LED works fine. If you set the parameter triggers_to_buttons to 1, LT will take the place of LB and RT the place of RB and vice versa.
Someone please continue this i really would love to play with my xbox 360 controller. Im on stock rooted jellybean it says exec format error?
qwerty12 said:
For Perseus 26.1. The LED works fine. If you set the parameter triggers_to_buttons to 1, LT will take the place of LB and RT the place of RB and vice versa.
Click to expand...
Click to collapse
Thanks but in alpha 28 dont works can you update please!!??

[Q] Help with Enabling USB Debugging

HI, I have an S3 9300 which was damaged by water. I finally managed to revive it by using Isopropyl Alcohol and cleaning it. The piece worked perfectly fine except for the display screen which kept blurring out. Unfortunately, the S3 display gave up and i cannot see anything or even use the touch. I tried opening the display to clean out any moisture, but again unfortunately even after carefully removing the display it wont work. Now the S3 is working with no display or Touch. repairing it here in India is costing me more than a second hand unit available. so i decided to not repair it. But since the motherboard and the rest are working fine, i thought i could use it for something else like a security IP camera.
Now i have a problem, the USB debugging was not enabled before the display konked off. the S3 is not rooted either. Can anyone help me how can i get the USB debugging enabled somehow so i can operate the phone from the desktop PC using MyPhoneExplorer. this way i can install apps, use the phone for SMS, calls and use the camera too.
I just need the USB debugging on so i can do the needful.
Anybody has any ideas? how can you help me here?
i have tried putting it in download mode and flashing a rooted stock firmware. this will at least have USB debugging on by default (i think).
Please help. what can i do?
If anyone has a working display with a busted motherboard, can i buy it? how much? i live in mumbai - India
Please reply in the thread or PM me
Thanks guys.
try connecting s3 to tv via hdmi and goto settings>developer option>enabled usb debugging ?
MoonBlade said:
try connecting s3 to tv via hdmi and goto settings>developer option>enabled usb debugging ?
Click to expand...
Click to collapse
would have tried it. but the digitizer does not work either. cannot use the display or touch. secondly i dont have the MHL HDMI connector too.
francisdsa said:
would have tried it. but the digitizer does not work either. cannot use the display or touch. secondly i dont have the MHL HDMI connector too.
Click to expand...
Click to collapse
looks like you are in a bit of a trouble.. i would have suggested flashing any other rom with usb debugging already enabled like cm10.1 . but with screen not working accessing recovery to flash rom will be tricky.
MoonBlade said:
looks like you are in a bit of a trouble.. i would have suggested flashing any other rom with usb debugging already enabled like cm10.1 . but with screen not working accessing recovery to flash rom will be tricky.
Click to expand...
Click to collapse
Ha ha ha. Actually the issue is that USB debugging is not enabled. that is the reason i am jumping around trying stuff. in fact i am on ODIN FU##ng around and now the device just wont go off the download mode. still fooling around.
i think i may brick the phone... anyways, the piece was a lab rat for me...
can i salvage anything from it? can i use the camera elsewhere? anything???
do let me know
francisdsa said:
Ha ha ha. Actually the issue is that USB debugging is not enabled. that is the reason i am jumping around trying stuff. in fact i am on ODIN FU##ng around and now the device just wont go off the download mode. still fooling around.
i think i may brick the phone... anyways, the piece was a lab rat for me...
can i salvage anything from it? can i use the camera elsewhere? anything???
do let me know
Click to expand...
Click to collapse
i heard somewhere that you can use usb keyboard with your s3. but then i am not sure whether u need usb debugging to be ON for this to work. if its not needed then i think you can use the keyboard to navigate to settings to enable usb debugging.
i have never tried this though try searching a bit in google. might find a solution.
http://forum.xda-developers.com/showthread.php?t=1749902
You cannot use input device and video output simultaneously. This means you cannot change any settings. Only bet is to try to find an adaptor that allows MHL and usb simultaneously.
Sent from my GT-I9300 using Tapatalk 4
rootSU said:
You cannot use input device and video output simultaneously. This means you cannot change any settings. Only bet is to try to find an adaptor that allows MHL and usb simultaneously.
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
You are right.
Well, please let me know if there is any other method to control the phone from the PC and enable the USB debugging settings.......I would be delighted and thankful
any ADB command mode to start USB vai command prompt
francisdsa said:
You are right.
Well, please let me know if there is any other method to control the phone from the PC and enable the USB debugging settings.......I would be delighted and thankful
Click to expand...
Click to collapse
There's no other method.
Heres a thread about MHL and OTG : http://forum.xda-developers.com/showthread.php?t=1741583
rootSU said:
There's no other method.
Heres a thread about MHL and OTG : http://forum.xda-developers.com/showthread.php?t=1741583
Click to expand...
Click to collapse
Need to know something.
What if i flash a pre-rooted ROM from ODIN? USB debugging should be enabled on it by default.
but will i get a rooted custom ROM in odin flashable format?
will i be able to flash the ROM if the device is not rooted and USB debugging disabled?
have never tried this method and hence asking a nooby question
Please help
francisdsa said:
Need to know something.
What if i flash a pre-rooted ROM from ODIN? USB debugging should be enabled on it by default.
but will i get a rooted custom ROM in odin flashable format?
will i be able to flash the ROM if the device is not rooted and USB debugging disabled?
have never tried this method and hence asking a nooby question
Please help
Click to expand...
Click to collapse
i was just googling around . i found something interesting. i think you can enable usb debugging via adb in CWM if u have proper knowledge of adb commnads. just do a search for enabling usb debugging by changing value of a property in the settings.db file located in data/data/com.android.providers.settings/databases/settings.db
rootSU said:
There's no other method.
Heres a thread about MHL and OTG : http://forum.xda-developers.com/showthread.php?t=1741583
Click to expand...
Click to collapse
MoonBlade said:
i was just googling around . i found something interesting. i think you can enable usb debugging via adb in CWM if u have proper knowledge of adb commnads. just do a search for enabling usb debugging by changing value of a property in the settings.db file located in data/data/com.android.providers.settings/databases/settings.db
Click to expand...
Click to collapse
Thanks dude, but the issue is i dont have root or CWM installed. With no display this is will be even painful as i will blindly be shooting around and possibly brick the device.
i have spoken to a few friends if they can arrange an S3 and maybe with the USB keyboard over OTG i can enable the developer settings. Secondly have also spoken around with a few service centers and mobile repair shops if they can temporarily swap a working display from a repair piece and enable the mode for me. no one has a piece at present. fingers crossed...
by the way, you are from india.. Where are you from? which city? I am from Mumbai
francisdsa said:
Thanks dude, but the issue is i dont have root or CWM installed. With no display this is will be even painful as i will blindly be shooting around and possibly brick the device.
i have spoken to a few friends if they can arrange an S3 and maybe with the USB keyboard over OTG i can enable the developer settings. Secondly have also spoken around with a few service centers and mobile repair shops if they can temporarily swap a working display from a repair piece and enable the mode for me. no one has a piece at present. fingers crossed...
by the way, you are from india.. Where are you from? which city? I am from Mumbai
Click to expand...
Click to collapse
Flashing CWM is easy. You just need to be in download mode which is easy enough to bet into blind.
ADB is done from a computer. If the settings.db has the answer, all you do is adb pull it, make the change and adb push it. Seems simple enough to me.
rootSU said:
Flashing CWM is easy. You just need to be in download mode which is easy enough to bet into blind.
ADB is done from a computer. If the settings.db has the answer, all you do is adb pull it, make the change and adb push it. Seems simple enough to me.
Click to expand...
Click to collapse
could try that. but i read elsewhere that the settings change will not affect ti as the boot.img file also needs to be stripped and modified to work with it.
francisdsa said:
could try that. but i read elsewhere that the settings change will not affect ti as the boot.img file also needs to be stripped and modified to work with it.
Click to expand...
Click to collapse
Can't you just flash a supported custom kernel then? That's all boot image is. A kernel available in .tar? Siyah 1.9.1 tar flashed from Odin.
Then boot into recovery:
Code:
adb shell
mount system
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
SELECT * FROM global;
update global set value=1 where name='adb_enabled';
SELECT * FROM global;
CTRL + C
adb shell
mount system
echo "persist.service.adb.enable=1" >> /system/build.prop
This should work. Yes, adb_enabled is the value set as 0 or 1 when turning usb debugging on or off, I tested it all
Note SELECT * FROM global; shows all the values in the global table which is where adb_enabled is. It should say 0. Then you run the update command and then SELECT again to witness the change. I noticed that this did not persist after booting into android, which is why we need to put persist in the build prop. Hope this helps.
rootSU said:
Can't you just flash a supported custom kernel then? That's all boot image is. A kernel available in .tar? Siyah 1.9.1 tar flashed from Odin.
Then boot into recovery:
Code:
adb shell
mount system
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
SELECT * FROM global;
update global set value=1 where name='adb_enabled';
SELECT * FROM global;
CTRL + C
adb shell
mount system
echo "persist.service.adb.enable=1" >> /system/build.prop
This should work. Yes, adb_enabled is the value set as 0 or 1 when turning usb debugging on or off, I tested it all
Note SELECT * FROM global; shows all the values in the global table which is where adb_enabled is. It should say 0. Then you run the update command and then SELECT again to witness the change. I noticed that this did not persist after booting into android, which is why we need to put persist in the build prop. Hope this helps.
Click to expand...
Click to collapse
Huh. That's seeming a bit tough fer me especially after I left linux almost 10 years ago. But am eager to try it out. Will try so and check. yhanks fot the great info. Will revert
francisdsa said:
Huh. That's seeming a bit tough fer me especially after I left linux almost 10 years ago. But am eager to try it out. Will try so and check. yhanks fot the great info. Will revert
Click to expand...
Click to collapse
You can literally copy and paste that (line by line) into windows cmd prompt, once you have adb.exe dropped in c:\windows\system32
But yeah let me know please. I did test successfully so works for me
rootSU said:
You can literally copy and paste that (line by line) into windows cmd prompt, once you have adb.exe dropped in c:\windows\system32
But yeah let me know please. I did test successfully so works for me
Click to expand...
Click to collapse
Yea yea. Surely. I shall try tomorrow itself.
francisdsa said:
Yea yea. Surely. I shall try tomorrow itself.
Click to expand...
Click to collapse
Did not work. Flashes the Siyah kernel via odin, the phone went into a boot loop.
went into recovery mode
started ADB
here is the output
====================
C:\>adb devices
List of devices attached
4df7dfa9572f3051 recovery
C:\>adb shell
[email protected]:/ $ mount system
mount system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
1|[email protected]:/ $
=============================
here are the mount paths
================
C:\>adb shell
[email protected]:/ $ mount
mount
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk0p9 /system ext4 rw,nodev,noatime,nodiratime,barrier=1,data=ord
ered 0 0
[email protected]:/ $
=========================
Am stuck please help

LG G8X Thinq(Sprint) adb shell

So i got the new G8X and have been trying desperatey to just access the system files to remove some bloatware.
Problem is it only gives me access from \User\0 and on. I tried to delete them through adb on windows but everytime i try and run adb shell the phone automatically disconnects.
I know i have all the updated drivers cause it recognizes the phone through windows and adb when i type adb devices
but as soon as i execute adb shell it disconnects. Does anyone have a solution for this?
Any sort of feedback would be greatly appreciated. i Have a 30 day return policy in effect if i cant gain access to any of that i plan on returning the phone.
Thanks for reading
Edit: Im dumb switching ports and usb cable resolved issue.
If anyone hears anything about root access please advise. Thanks all
I have had my phone on ADB and sending and reading data from it two nights in a row, I have not seen this problem at all. I can run adb shell no problem. Sorry! I know it's a stupid suggestion, but can you try a different USB cable/port on your PC?
SirataXero said:
I have had my phone on ADB and sending and reading data from it two nights in a row, I have not seen this problem at all. I can run adb shell no problem. Sorry! I know it's a stupid suggestion, but can you try a different USB cable/port on your PC?
Click to expand...
Click to collapse
Its not dumb, i appreciate the input i hve not tried a diff port or cable. I'm going to do that right now.
What provider are you using?
abraham3991 said:
Its not dumb, i appreciate the input i hve not tried a diff port or cable. I'm going to do that right now.
What provider are you using?
Click to expand...
Click to collapse
The problem might be that if you run from power shell command, first type cmd and press enter.
abraham3991 said:
Its not dumb, i appreciate the input i hve not tried a diff port or cable. I'm going to do that right now.
What provider are you using?
Click to expand...
Click to collapse
I bought unlocked but i'm using it with T-Mobile and its getting WiFi calling and HD Voice and everything. Works really well and am getting good service/signal with it on T-Mobile.
Yeah, as suggested, I also used it in CMD and not in powershell…
SirataXero said:
I bought unlocked but i'm using it with T-Mobile and its getting WiFi calling and HD Voice and everything. Works really well and am getting good service/signal with it on T-Mobile.
Yeah, as suggested, I also used it in CMD and not in powershell…
Click to expand...
Click to collapse
As simple as your suggestion was it lets me command it through cmd now., switching the cable worked.
Still through the phone itself i cant access system directories. and its not like i cant change things it just flat out wont let me view them at all.
The end goal is to get root/custom recoveries so i can install magisk and xposed, if you hear anything let me know.And thanks again!
abraham3991 said:
As simple as your suggestion was it lets me command it through cmd now., switching the cable worked.
Still through the phone itself i cant access system directories. and its not like i cant change things it just flat out wont let me view them at all.
The end goal is to get root/custom recoveries so i can install magisk and xposed, if you hear anything let me know.And thanks again!
Click to expand...
Click to collapse
No problem! Glad that worked.
I can view system directories, and I read them as well. However, I definitely can't change anything and don't have write access either.
Will be open to suggestions/attempts in the future!
SirataXero said:
No problem! Glad that worked.
I can view system directories, and I read them as well. However, I definitely can't change anything and don't have write access either.
Will be open to suggestions/attempts in the future!
Click to expand...
Click to collapse
Sorry or the constant questions I downloaded a file explorer and im able to see more than before but i still have some files telling me i lack access.
What file explorer are you using?
abraham3991 said:
Sorry or the constant questions I downloaded a file explorer and im able to see more than before but i still have some files telling me i lack access.
What file explorer are you using?
Click to expand...
Click to collapse
I use Solid Explorer. So, some of the files you can physically see in the explorer, but if you try to open it, the text is garbled. It was only after I started doing adb pull that I could actually see/read the files themselves.

Categories

Resources