linux in kitkat - Galaxy Tab 2 Q&A, Help & Troubleshooting

is it possible to run any linux images in kitkat or say particularly in our tab?
ive tried everything from easy setup using linux installer but it wont mount
i tried to use packaged images with scripts it mounts in terminal but got a grey screen only in vnc
but everything works in my other device running jellybean....ubuntu and backtrack5

rap0307 said:
is it possible to run any linux images in kitkat or say particularly in our tab?
ive tried everything from easy setup using linux installer but it wont mount
i tried to use packaged images with scripts it mounts in terminal but got a grey screen only in vnc
but everything works in my other device running jellybean....ubuntu and backtrack5
Click to expand...
Click to collapse
may be its fault of rom

sharingan said:
may be its fault of rom
Click to expand...
Click to collapse
ok well i will try asking in the rom thread if they had something to say about this

rap0307 said:
ok well i will try asking in the rom thread if they had something to say about this
Click to expand...
Click to collapse
yeah you can try that

Related

[Q] Run Exe in Android ...

Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Biswajyoti said:
Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Click to expand...
Click to collapse
Search before you make a thread - looks quite complicated, probably not worth it.
Xda Thread
Here is a way! According to what I know!
Biswajyoti said:
Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Click to expand...
Click to collapse
What you can do is this, to run Ubuntu image on your android using any custom ROM kernel as the base i-e Cyanogen Mod! To have this you need to get the required Ubuntu image and also Busy box installed, Go to Google Play and search for ubuntu installer or something like this, there will be a free installed for android by XDA member, Grab that! Install that! Get Busy Box installer too from market! and install busy Box tools using that! After that open ubuntu installer read the instructions and using them you will be able to run ubuntu on your android phone using same base kernel.
Simply after having ubuntu on your screen go back to command application in your android phone Terminal Emulator and install wine using command sudo apt-get install wine amm! I don't remember the name exactly you need wine and wine trick both lol! Well Google this command and try this method it will help you! Best Of luck!
Don't forget to hit thanks after this valuable information! LOL
Great idea.....Thanks a lot....i will try this ...
Did it Worked???
Biswajyoti said:
Great idea.....Thanks a lot....i will try this ...
Click to expand...
Click to collapse
Hey could you tell me if that worked.
why do you want to run exe on android????
you have all the required apps in google play
Make sure it doen't ruin your phone/tablet
Biswajyoti said:
Great idea.....Thanks a lot....i will try this ...
Click to expand...
Click to collapse
Be careful not to damage ur phone/tablet bcuz running an .exe file on Linux (well in my case I don't wanna say about the others) created some stinky file that corrupted my Linux distribution (ubuntu) so I had to go to recovery everytime to restore it... On the other hand u have everything u need on the market or on google if the market banned it or something. Just be careful.
74274265j said:
Hey could you tell me if that worked.
Click to expand...
Click to collapse
illuminatic said:
why do you want to run exe on android????
you have all the required apps in google play
Click to expand...
Click to collapse
Do you have to have the custom kernal. Also how do you do this? (Noob).
Jf someone was to just make an app that let you run exe files they could probobly charge so much since its like impossible to do it.

CIFS

Probably a long shot, given that the Infinity hasn't been out long yet, but does anyone have a cifs.ko kernel module that can be used with CIFS manager?
I've tried a few I've found for kernel 2.6.39.4. So far, they either fail or cause reboot.
Currently using the latest OTA 9.4.5.22 with kernel 2.6.39.4-00003
Thanks!
hi!
same same TF700T behaviour.
Also looking for mk4.ko and cifs.ko files for Infinity.
Currently version I have: (not very optymistic
1. Terminal Emulator
2. su -
3. insmod /system/lib/modules/cifs.ko (or mk4.lp) = reboot :/
-------EDIT, solution found:
http://forum.xda-developers.com/showthread.php?p=32450851#post32450851
I put instructions in the CROMI thread
sbdags said:
I put instructions in the CROMI thread
Click to expand...
Click to collapse
With CROMI and my kernel, you don't need to load any modules at all.
_that said:
With CROMI and my kernel, you don't need to load any modules at all.
Click to expand...
Click to collapse
I know it's an old thread but accutally I'm on CROMI-X (last version) and with your kernel v2 or v3 cifsmanager seems to works well but the mount point folder are "empty" . Before on CROMI all was ok. I tried different manager and application.
oM4Uo said:
I know it's an old thread but accutally I'm on CROMI-X (last version) and with your kernel v2 or v3 cifsmanager seems to works well but the mount point folder are "empty" . Before on CROMI all was ok. I tried different manager and application.
Click to expand...
Click to collapse
Android 4.2 has per-app mounts. It still works fine if you mount via adb shell.
_that said:
Android 4.2 has per-app mounts. It still works fine if you mount via adb shell.
Click to expand...
Click to collapse
Yes but that requires a separate machine. There is a method of doing this but it requires some further kernel edits. I will see if I can dig up the post.
sbdags said:
Yes but that requires a separate machine.
Click to expand...
Click to collapse
We're talking about a network filesystem, you have a separate machine anyway.
_that said:
We're talking about a network filesystem, you have a separate machine anyway.
Click to expand...
Click to collapse
Not necessarily I have a net drive that is standalone that I access

[Q] Ubuntu SBKv2 & Asus Stock Apps.

First does anyone have a .zip for the Asus stock apps? I had an older copy of the revolver removed apps file and I accidentally deleted it, the one that is currently linked on the revolver ROM shows as corrupted.
Has anyone been able to successfully Dual-boot Ubuntu on sbkv2 devices? What is your current method to doing so?
I tried the modified version of OLiFE with wheelie but ended up in an APX boot loop and had to flash back to stock.
I tried to use my own ROM (revolver) and the net-install version of ubuntu so perhaps I 'injected' them incorrectly.
Could not find much of a guide to do this...
Was interested in trying franks tools because that seems to be the easiest option (My main OS is windows but I have Ubuntu installed on an flash drive)
I tried the method here http://forum.xda-developers.com/showthread.php?p=23428126 but I didnt add or copy the .lib modules and my recovery was internal sd access only (working on updating that)
Plus the whole pseudo dual boot thing seems like a pain in the ass...
Any thoughts on the net install version of ubuntu?
How do you go about flashing or updating Roms when you are dual booting?
Thanks!
Wanna try my tutorial?
Well its bit messy, but i am lookign for osme fixes in ubuntu.
The Part where I get confused is the boot image and system image I may have messed up there?
Where do you place/name the net-install img?
Also as far as the rom and kernel go do you have to get that set up and then do a backup and use that or do you still have access to android recovery to flash zips?
Thanks!
fauxsoul said:
The Part where I get confused is the boot image and system image I may have messed up there?
Where do you place/name the net-install img?
Also as far as the rom and kernel go do you have to get that set up and then do a backup and use that or do you still have access to android recovery to flash zips?
Thanks!
Click to expand...
Click to collapse
OH SHOOT! i didn t say where to paste >.<
Ok paste in the image folder.
its inside he olife folder.
Yeah you have set up roms and kernel.
I dont recommend to go stock, but AR HD. In find its only proper working stock ICS and a working usb.
Further I had some difficulties installing ... Libre if oyu want to use as office.
vietchinh said:
OH SHOOT! i didn t say where to paste >.<
Ok paste in the image folder.
its inside he olife folder.
Yeah you have set up roms and kernel.
I dont recommend to go stock, but AR HD. In find its only proper working stock ICS and a working usb.
Further I had some difficulties installing ... Libre if oyu want to use as office.
Click to expand...
Click to collapse
So install the rom and kernel you want to use, do a backup then copy the system & boot imgs from the backup.
From what i understood you have to rename the net-install img to ubuntu.img? Is that correct?
Yeah definitely planning on using it for word editing etc (for school)
Right now I'm using team EOS nightlys for the rom and the kat kernel.
It's running very well so i might stick with that.
So you are not able to flash updates for android once you go dual boot?
Thanks I will probably try this out again when I get home later.
fauxsoul said:
So install the rom and kernel you want to use, do a backup then copy the system & boot imgs from the backup.
From what i understood you have to rename the net-install img to ubuntu.img? Is that correct?
Yeah definitely planning on using it for word editing etc (for school)
Right now I'm using team EOS nightlys for the rom and the kat kernel.
It's running very well so i might stick with that.
So you are not able to flash updates for android once you go dual boot?
Thanks I will probably try this out again when I get home later.
Click to expand...
Click to collapse
You mean recovery? If you want recovery u need to wait for Franktools SBk2v, but it cause apx bootloop so its removed.
Backup ur data to with recovery or titanium backup.
I recommend to use normal ubuntu ( with GDM) and then install enlightment.
Why i recommend normal ubuntu, becasue it was only working libre office, but you can try something else
So far no luck still isn't working.
Maybe it's the net-installer I'm having issues with I might just try the regular ubuntu.img if franks tools aren't back up soon (I just wanted to try the easier way.)
I tried just installing linux by itself and got some penguins and scripts running but it was in apx boot loop after that.
Had to flash to stock and rebuild.
I think I might wait for kenshin to fix franks tools (which might take a while from the looks of it)
fauxsoul said:
So far no luck still isn't working.
Maybe it's the net-installer I'm having issues with I might just try the regular ubuntu.img if franks tools aren't back up soon (I just wanted to try the easier way.)
I tried just installing linux by itself and got some penguins and scripts running but it was in apx boot loop after that.
Had to flash to stock and rebuild.
I think I might wait for kenshin to fix franks tools (which might take a while from the looks of it)
Click to expand...
Click to collapse
U got teamviewer and skype or somesort?
I can help u with that if you dont understand any thing of the tutorial.
IF you add me at skype (naruto.fbi any one can add me ) i can help u :].
Did you have any errors?
I had error thatkernel was to big ( 9.4 mb) i change some code adn i could flash it.
Maybe u have the same?
I hear form u soon
No errors, Have had my rom and kernel installed. Did the android backup using olife. Copied the olife backup files and renamed them (boot and system IMG files) to the images folder.
Then flashed device with dual boot tried both android and linux as the default and neither way worked.
Tried installing linux only and it doesnt work.
I just keep getting apx boot loops.
I dont have team viewer or skype so I was wondering if you might share your olife folder that you used to install (in case I was doing something wrong)
but if you have personal info in the backups i understand.
I think I might take you up on that offer and hit you up on skype or with team viewer, but maybe later this week because I'm going to be very busy with work/school for a few days.
Thanks for your help
fauxsoul said:
No errors, Have had my rom and kernel installed. Did the android backup using olife. Copied the olife backup files and renamed them (boot and system IMG files) to the images folder.
Then flashed device with dual boot tried both android and linux as the default and neither way worked.
Tried installing linux only and it doesnt work.
I just keep getting apx boot loops.
I dont have team viewer or skype so I was wondering if you might share your olife folder that you used to install (in case I was doing something wrong)
but if you have personal info in the backups i understand.
I think I might take you up on that offer and hit you up on skype or with team viewer, but maybe later this week because I'm going to be very busy with work/school for a few days.
Thanks for your help
Click to expand...
Click to collapse
Well i can send u my olife folder.
It contain the 2.1 gb ubuntu (11.10) and the net installer. Also android system are: AR HD( ICS) with gevour kernel if you dont mind.
It also contin a jhinta kernel which you can flash over it. Flash it with chromeOS ( in update and then advance)
Also i change some size for the kernel.
Kernel size was to big.
All fixed :3.
I will send u the folder as soon as i can ^^.
Few backdraws at the moment with ubuntu:
No flash support anymore by adobe (few alternetives like gapps( to slow and laggy) and lightspark(need to be tested)
Libre has some difficulties installin in gnome classic install of net installer and englightment.
At the moment libre works in ubunu with gdm.
Even linux for tegra installed it seems like it cant see the processor ( currenly in net-installer, it does show in livistie ubuntu.),
Google chrome cant be installed :\ ( no arm packages).
Net-installer can have some frustation on the wifi configuration.
fauxsoul said:
Any thoughts on the net install version of ubuntu?
Click to expand...
Click to collapse
Have you compared the pros & cons using my version of Debian/Ubuntu Android integration?
http://forum.xda-developers.com/showthread.php?t=1780378
I'm running it on my TF101 with flying colours.
kuisma said:
Have you compared the pros & cons using my version of Debian/Ubuntu Android integration?
http://forum.xda-developers.com/showthread.php?t=1780378
I'm running it on my TF101 with flying colours.
Click to expand...
Click to collapse
I think its slow ?
becasue its chroot.
I dont know.
At the moment i am trying allot of things ^^.
vietchinh said:
I think its slow ?
becasue its chroot.
.
Click to expand...
Click to collapse
Slow? You tell me.
kuisma said:
Have you compared the pros & cons using my version of Debian/Ubuntu Android integration?
http://forum.xda-developers.com/showthread.php?t=1780378
I'm running it on my TF101 with flying colours.
Click to expand...
Click to collapse
That actually looks pretty cool, I really wanted ubuntu for a more powerful text editor and maybe a few other things.
Might be more convenient.
I'm going to try it.
fauxsoul said:
That actually looks pretty cool, I really wanted ubuntu for a more powerful text editor and maybe a few other things.
Might be more convenient.
I'm going to try it.
Click to expand...
Click to collapse
If a powerful text editor is all you need, I'd say this solution is way overkill.
kuisma said:
If a powerful text editor is all you need, I'd say this solution is way overkill.
Click to expand...
Click to collapse
Plus I just want to play around with it in general.
I'm sure you can understand that feeling.
fauxsoul said:
Plus I just want to play around with it in general.
I'm sure you can understand that feeling.
Click to expand...
Click to collapse
Yes indeed.
If you are skilled, this is quite a neat solution giving you lots of power over the Android device. But since it can be somewhat tricky for the beginner to implement, if only a GNU/Linux environment is needed, and not the control over the Android environment, it is much easier to run the GNU/Linux environment jailed, instead of Android jailed as here.
But this is of course way much cooler.
kuisma said:
Slow? You tell me.
Click to expand...
Click to collapse
I take my words back ._.

Porting CWM how to Extract stock Recovery image?

Hello Xda, i own a ZTE midnight and just a few hours ago rooted it and would like to help port CWM to my device, i was looking at this https://www.facebook.com/ClockworkMod/posts/480999728601013 and wanted to start from there but i dont know how to extract the stock recovery, any help? like i said its already rooted and i think that All ZTE devices have unlocked bootloaders so this is possible. yes i have googled it please dont bark at me.
Hi trozzul,
I too want to port it to cwm but am also not able to extract my stock recovery.
Have you tried flashify? There is an option for backup boot.img and recovery.img . I tried it but doesn't seems to work.
It does create a 0 byte file named recovery.img . Maybe it isn't working on my phone.You try it on yours.
Thankx
Yuvraj
Sent from my iris 406Q using XDA Free mobile app
coder32 said:
Hi trozzul,
I too want to port it to cwm but am also not able to extract my stock recovery.
Have you tried flashify? There is an option for backup boot.img and recovery.img . I tried it but doesn't seems to work.
It does create a 0 byte file named recovery.img . Maybe it isn't working on my phone.You try it on yours.
Thankx
Yuvraj
Sent from my iris 406Q using XDA Free mobile app
Click to expand...
Click to collapse
i sorta found out myself with playing around in a terminal emulator. would you happen to know what partition your phone is? BML or MTD? i dont know what todo if your device is BML but if you think its MTD you can try in the terminal emulator app (from play market) type in
Code:
cat /proc/mtd
enter this in and you will see around 20 MTD files. find the MTD file with "Recovery" at the end, type this in for instance (DO NOT use this code, its what my device showed the Recovery MTD for.)
Code:
dd if=/dev/mtd/mtd12 of=/sdcard/recovery.img
and it will push your recovery to your SD card (in .img format), Pretty much say your recovery was MTD9 just put in that code but replace mtd12 with MTD9 mine was about 5MB i didn't know they were that small.
Trozzul said:
Hello Xda, i own a ZTE midnight and just a few hours ago rooted it and would like to help port CWM to my device, i was looking at this https://www.facebook.com/ClockworkMod/posts/480999728601013 and wanted to start from there but i dont know how to extract the stock recovery, any help? like i said its already rooted and i think that All ZTE devices have unlocked bootloaders so this is possible. yes i have googled it please dont bark at me.
Click to expand...
Click to collapse
To extract your stock recovery what you can do is the following to determine which partition is the recovery partition. From terminal emulator or adb shell, go to the /cache/recovery directory and look for a file called log or last_log if you cd into the /cache/recovery directory you can read the log file with the cat command: cat last_log. In the log file you will see a list of the partitions on your device. One of these will be your recovery partition, remember which partition block is your recovery partition and then run the command:
Code:
cat /dev/block/yourrecoveryblock > /mnt/sdcard/recovery.img
Let me know if you still have questions.
I had already tried it .it's BML :/
Congrates to you
Sent from my iris 406Q using XDA Free mobile app
shimp208 said:
To extract your stock recovery what you can do is the following to determine which partition is the recovery partition. From terminal emulator or adb shell, go to the /cache/recovery directory and look for a file called log or last_log if you cd into the /cache/recovery directory you can read the log file with the cat command: cat last_log. In the log file you will see a list of the partitions on your device. One of these will be your recovery partition, remember which partition block is your recovery partition and then run the command:
Code:
cat /dev/block/yourrecoveryblock > /mnt/sdcard/recovery.img
Let me know if you still have questions.
Click to expand...
Click to collapse
thanks for the info! i got the Recovery.img but would you happen to know if this site is not in use anymore? http://builder.clockworkmod.com/ i get 404s after i have uploaded it and i try to see mine in the que.
Trozzul said:
thanks for the info! i got the Recovery.img but would you happen to know if this site is not in use anymore? http://builder.clockworkmod.com/ i get 404s after i have uploaded it and i try to see mine in the que.
Click to expand...
Click to collapse
Clockworkmod recovery builder website has been hit and miss recently. Overall I would strongly recommend taking a look at this guide here that will teach you the basics of porting Clockworkmod Recovery to a new device, you will also learn a lot more doing it this way, as well as it being easier to fix any issues.
shimp208 said:
Clockworkmod recovery builder website has been hit and miss recently. Overall I would strongly recommend taking a look at this guide here that will teach you the basics of porting Clockworkmod Recovery to a new device, you will also learn a lot more doing it this way, as well as it being easier to fix any issues.
Click to expand...
Click to collapse
i have to use Ubuntu? could i not use the command prompt since the codes looks like you can use them there. Could i format one of my old computers and setup Ubuntu there?
Trozzul said:
i have to use Ubuntu? could i not use the command prompt since the codes looks like you can use them there. Could i format one of my old computers and setup Ubuntu there?
Click to expand...
Click to collapse
You have to use Linux or OSX but Ubuntu is highly recommended. You can't use command prompt as the Windows architecture isn't designed to build and cross compile for the architecture Android is based on. Yes, you could format your old computer and install Ubuntu on that and proceed from there.
Sent from my SCH-I535 using XDA Premium 4 mobile app
shimp208 said:
You have to use Linux or OSX but Ubuntu is highly recommended. You can't use command prompt as the Windows architecture isn't designed to build and cross compile for the architecture Android is based on. Yes, you could format your old computer and install Ubuntu on that and proceed from there.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Cool, i will try my best to figure out how to get Ubuntu on this old thing, from looking it up looks like a simple process. could you recommend a good way to learn some basic commands like that guide asks for? i am using codecademy right now for some basic java and html stuff i know you need to know some of that stuff. its a single core 512mb of ram old XP computer, i dont know the system requirements for Ubuntu.
Trozzul said:
Cool, i will try my best to figure out how to get Ubuntu on this old thing, from looking it up looks like a simple process. could you recommend a good way to learn some basic commands like that guide asks for? i am using codecademy right now for some basic java and html stuff i know you need to know some of that stuff. its a single core 512mb of ram old XP computer, i dont know the system requirements for Ubuntu.
Click to expand...
Click to collapse
Your machine meets the minimum specs for Ubuntu (Barley) you could also check out Xbuntu or Lubuntu as well, make sure you use a 64-bit version as Android building requires that. Keep in mind with those specs you should be able to build it will just take a while to compile. For learning the basics of the Linux command line, this is a great guide just ignore the parts about Windows Power Shell (Or don't ignore them and learn twice as much!). The system requirements for Ubuntu can be found here as well for your reference. Android building does't really deal with HTML, it does deal with Java but as always the more you know the better because it just makes it easier to learn from there.
shimp208 said:
Your machine meets the minimum specs for Ubuntu (Barley) you could also check out Xbuntu or Lubuntu as well, make sure you use a 64-bit version as Android building requires that. Keep in mind with those specs you should be able to build it will just take a while to compile. For learning the basics of the Linux command line, this is a great guide just ignore the parts about Windows Power Shell (Or don't ignore them and learn twice as much!). The system requirements for Ubuntu can be found here as well for your reference. Android building does't really deal with HTML, it does deal with Java but as always the more you know the better because it just makes it easier to learn from there.
Click to expand...
Click to collapse
im pretty sure that computer i have is 32bit, so im screwed?
Trozzul said:
im pretty sure that computer i have is 32bit, so im screwed?
Click to expand...
Click to collapse
Is the operating system installed 32-bit or is the the CPU itself in your computer a 32-bit processor because if it's just a 32 -bit operating system you can still install the 64-bit version. But if it's a 32-bit processor then I'm afraid your out of luck. What you can do however is setup Ubuntu in a virtual machine on your main computer using Virtualbox.
shimp208 said:
Is the operating system installed 32-bit or is the the CPU itself in your computer a 32-bit processor because if it's just a 32 -bit operating system you can still install the 64-bit version. But if it's a 32-bit processor then I'm afraid your out of luck. What you can do however is setup Ubuntu in a virtual machine on your main computer using Virtualbox.
Click to expand...
Click to collapse
i was aware of the virtual machine ( still dont know how to do it lol) and i sorta didnt want to use it on my main computer i feel like to me it would be easier to just start linux on another computer. uh how would i tell if the processor on it is 32bit?
Trozzul said:
i was aware of the virtual machine ( still dont know how to do it lol) and i sorta didnt want to use it on my main computer i feel like to me it would be easier to just start linux on another computer. uh how would i tell if the processor on it is 32bit?
Click to expand...
Click to collapse
With Virtualbox you can setup Windows and Linux side-by-side and the good thing is if you mess something up in Virtualbox you regular windows installation is unaffected, I would highly recommend checking out this video walk though guide on how to install Ubuntu 14.04 LTS in Virtualbox. You can find out if you have a 32-bit processor or 64-bit processor by going to Accessories -> System Tools -> System Information (Or just search for System Information), then look at the System Type entry if it says x64-based PC you have a 64-bit processor if it says x86-based PC you have a 32-bit processor.
shimp208 said:
With Virtualbox you can setup Windows and Linux side-by-side and the good thing is if you mess something up in Virtualbox you regular windows installation is unaffected, I would highly recommend checking out this video walk though guide on how to install Ubuntu 14.04 LTS in Virtualbox. You can find out if you have a 32-bit processor or 64-bit processor by going to Accessories -> System Tools -> System Information (Or just search for System Information), then look at the System Type entry if it says x64-based PC you have a 64-bit processor if it says x86-based PC you have a 32-bit processor.
Click to expand...
Click to collapse
ill try to post back soon, i will try out virtualbox but im going to try to still get ubuntu on another computer i own, the other one ended up being x86 based. im sure the new one is 64-bit but it needs some work on it. thanks for the help so far!
Trozzul said:
ill try to post back soon, i will try out virtualbox but im going to try to still get ubuntu on another computer i own, the other one ended up being x86 based. im sure the new one is 64-bit but it needs some work on it. thanks for the help so far!
Click to expand...
Click to collapse
No problem buddy happy to help out, let me know how it goes!
shimp208 said:
No problem buddy happy to help out, let me know how it goes!
Click to expand...
Click to collapse
alright installed Ubuntu on one of my many computers, gonna try to build a setup a build environment, i have 75 gigs free on my hard drive, i heard the android source needs 100GB? could i put another hard drive in my computer thats 80gigs and would work?
Trozzul said:
alright installed Ubuntu on one of my many computers, gonna try to build a setup a build environment, i have 75 gigs free on my hard drive, i heard the android source needs 100GB? could i put another hard drive in my computer thats 80gigs and would work?
Click to expand...
Click to collapse
My apologizes for getting back to you so late @Trozzul I just finished with my finals the other day and didn't get home till much latter then anticipated hence the delay. While you could put in another 80 GB hard drive I would recommend picking up at least a 250 GB Hard Drive (They can be found online for about $30-$40), as that way you can be sure you won't run out of room and can have your main build environment all on one drive. But you can try it with the setup you have now and you can probably get away with it. As always let me know of any questions you have happy to help :highfive:.

Battery Status on computer

IGNORE THIS, NEWER VERSION(S) ARE HERE: http://forum.xda-developers.com/android/development/phone-s-battery-status-computer-screen-t3070549
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
wilk.gr76 said:
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
Click to expand...
Click to collapse
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
LS.xD said:
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
Click to expand...
Click to collapse
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
wilk.gr76 said:
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
Click to expand...
Click to collapse
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Sure!
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
If it helps, please press thanks.
wilk.gr76 said:
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
Click to expand...
Click to collapse
BASH?! Never heard about it...
Manjaro Linux should be fine for it
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
It is nice to get feedback so quicly! I expected to have no replies by Sunday, yet I get one in the first 5 mins! "Vielen Dank!" (I saw the german flag by your name...)
LS.xD said:
BASH?! Never heard about it...
Manjaro Linux should be fine for it
Click to expand...
Click to collapse
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
wilk.gr76 said:
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
Click to expand...
Click to collapse
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
LS.xD said:
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
Click to expand...
Click to collapse
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
wilk.gr76 said:
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
Click to expand...
Click to collapse
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
LS.xD said:
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
Click to expand...
Click to collapse
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
wilk.gr76 said:
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
Click to expand...
Click to collapse
Its really weird as the libs "missing" are all installed. I use KDE.
LS.xD said:
Its really weird as the libs "missing" are all installed. I use KDE.
Click to expand...
Click to collapse
It's pretty strange that it used "can't" instead of "cannot". Maybe try using gnome. I dunno, it works on mine.
I'm moving this to a DevDB now.
Has been moved to http://forum.xda-developers.com/and...ter-screen-t3070549/post59841376#post59841376

Categories

Resources