Hi Everyone,
I have few questions regarding Android.
Currently, I don't have an Android and I consider getting one.
Kindly, please answer my following questions [Related to hacking]:
1- Does Android Support Chroot-ing? (Assuming it is been rooted)
2- If it does, is it possible to start/run Xorg/Xserver (Natively)?
3- If Chroot-ing is not possible nor starting an X-server. How easy to dual boot Debian/Fedora/Etc ... in Android phones?
I'm considering to buy Android to chroot or booting a linux in it (ARM Type).
I have already wasted a lots of time trying get my an answer for my questions, the only thing I found is about using VNC on android, but nothing about X11 Forwarding.
If you don't recommend doing any of the above, could you tell me why not [RAM/Technical reason]?
Thanks in advance | You will get thanks after answering me
I guess, I shouldn't scratch "Thanks in advance". Otherwise I might had a better luck.
Hi, may be is too late, i find your post searching info on chrooting.
It's possible installing busybox and like you may had find : on nexus ubuntu can be used.
You can use it from terminal or from vnc so you will have X.
I installed busybox but the bootubuntu script don't find chroot, i installed it from GOT's OpenRecovery (first option)
Xorg does run, I tested it, but the screen becomes garbled, because of Android and Xorg tries to write to screen simultaneously.. I'm trying to find a solution for that lately.
@theGanymedes you run xorg without vnc ? you havn't display error ?
screenshot ?
thanks
New X server written as app for Android
Somebody has written an xserver for android:
my20percent.wordpress.com/2012/02/27/android-x-server/
It is open source:
code.google.com/p/android-xserver/
And is on the market (search for 'x server').
Needs some work but could be the answer to running all gui apps from a chroot inside android!
Hello guys, I purposely put that title above. The actual problem is I can't drag and drop to flash the Gapps, when I try to drag and drop, the icon changes to no-entry icon(see in attachment). Recently I've downloaded Genymotion and started using it, but I can't find those Gapps, so I browsed and I found that we need to flash them ourselves. Now ! Everywhere, the tutorial talking about this flashing always uses "DRAG & DROP" wth ! I can't do it. I've found some similar case and thread outside there. But maybe it's only a rare case, I still can't found an absolute solution for it.
I've came to stackoverflow threads with titles :
Genymotion 2.0 “drag and drop”
How to install google play service in the genymotion (ubuntu 13.04) .Currently it doesn't have drag and drop suport
(I can't post links yet). So I've tried all of them. But nothing work. One of them said that the problem is I've not installed Android SDK ("If you can't Drag&Drop that means you don't have the Android SDK installed on your PC") .I don't really understand that one. As I know, Android SDK doesn't have any connection to genymotion and they are not being installed instead only extracted. But somehow, I've edited my genymotion ADB setting to the Android SDK directory. I HAVE ANDROID SDK. Guys once again, appreciated that you're reading this till here. I've been working on this for hours and there's no solution. Please some experts help troubleshooting this trouble together with me. I'm sure there is someone out there who is facing the same problem too
The normal tablets name is "Telekom Puls" and is from a German ISP. When I turn Developer Mode and Debug Mode on, it identifies itself as "MT65XX Android Phone" in the Windows 10 Device Manager.
Hardware ID:
Code:
USB\VID_1BBB&PID_201D&REV_????&MI_01
USB\VID_1BBB&PID_201D&MI_01
Compatible ID:
Code:
USB\Class_ff&SubClass_42&Prot_01
USB\Class_ff&SubClass_42
USB\Class_ff
Device Instance Path:
Code:
USB\VID_1BBB&PID_201D&MI_01\6&3A3241C5&0&0001
I was looking at different websites on how to make universal adb drivers, but it won't work, Windows 10 64 bit is complaining then that the .inf file has been tampered with and refuses to install it.
I looked into multiple similar posts (also here on XDA), but none of them was conclusive. Does anyone have pointers or advice on how to make this thing work?
Also tried the ADBDriverInstaller by Koush, it says incompatible with Windows 64 bit when I try to download the driver.
I also tried various other prebuilt drivers from around the net, but none helped.
Is there any way to get this Tablet installed so I can start making apps?
I would appreciate any help.
ps.: I hope this is the right place, I am new to these forums but I read a lot here and you guys rock. Neither Reddit nor Stack Exchange could help me, so here is my hope for you guys .
pps: Can't include links to the stuff I tried
You need to disable Windows 10's drive signature check, then the usb driver will work. See this german howto.
Hello all,
I don't know where to post this problem. It's been 4 days I'm trying to install Android studio on my 12.04 linux box. I'm desparate with this. I must have loaded all web pages in the world on this problem so far and still not able to have this to work properly.
The errors I get is :
Unable to locate adb within SDK
Error running app: Unable to obtain debug bridge
My system is 32 bit and I reverted to the previous platform-tools.
If I do this:
[email protected]:~/android-sdk-linux/android-sdk-linux/platform-tools/platform-tools$ sudo adb devices
I get this:
List of devices attached
09630e71021fbc89 device
I really don't know what to do please someone help.
Marc.
Hi,
Thanks for using XDA Assist.
Please post your question in the dedicated forum: Android Studio
Good luck!
It looks like following the official instructions on wiki.lineageos . org/devices/I01WD/install can brick your device if you're unlucky - at least for me, the bootloader seems to have vanished; trying to boot will just return a black screen. So, I looked for unbricking instructions. Unfortunately, the only two I found were getdroidtips . com/unbrick-zenfone-6-asus-6z-qdloader-9008-mode/ and piunikaweb . com/2019/10/24/unbrick-asus-zenfone-6-asus-6z/, which both use BAT scripts. I only use Linux, which doesn't support such scripts, and I'm not familiar with the Windows shell. I wondered whether anyone here could convert the instructions for Linux? The driver installation shouldn't be a problem, as Linux is monolithic and lsusb shows the Qualcomm modem being in QDL mode (I suppose that's the same as QDLoader 9008/EDL?). (remove the spaces from the links)
FantasyCookie17 said:
It looks like following the official instructions on wiki.lineageos . org/devices/I01WD/install can brick your device if you're unlucky - at least for me, the bootloader seems to have vanished; trying to boot will just return a black screen. So, I looked for unbricking instructions. Unfortunately, the only two I found were getdroidtips . com/unbrick-zenfone-6-asus-6z-qdloader-9008-mode/ and piunikaweb . com/2019/10/24/unbrick-asus-zenfone-6-asus-6z/, which both use BAT scripts. I only use Linux, which doesn't support such scripts, and I'm not familiar with the Windows shell. I wondered whether anyone here could convert the instructions for Linux? The driver installation shouldn't be a problem, as Linux is monolithic and lsusb shows the Qualcomm modem being in QDL mode (I suppose that's the same as QDLoader 9008/EDL?). (remove the spaces from the links)
Click to expand...
Click to collapse
Would this help you?
https://forum.xda-developers.com/zenfone-6-2019/how-to/guide-unbricking-zs630kl-t3998767
Or this:
https://forum.xda-developers.com/zenfone-6-2019/how-to/qdloader-brick-t3980165
I am sure you can easily read windows batch and convert them to your favorite shell language. I suppose it is simply a list of adb and fastboot commands. I don't know if I actually can help, but I'll be available for discussion, if you have any problems during your try with either of the two options above.
abprie said:
Would this help you?
https://forum.xda-developers.com/zenfone-6-2019/how-to/guide-unbricking-zs630kl-t3998767
Or this:
https://forum.xda-developers.com/zenfone-6-2019/how-to/qdloader-brick-t3980165
I am sure you can easily read windows batch and convert them to your favorite shell language. I suppose it is simply a list of adb and fastboot commands. I don't know if I actually can help, but I'll be available for discussion, if you have any problems during your try with either of the two options above.
Click to expand...
Click to collapse
The first links seems to be basically the same as what I found. The last one only works if the bootloader is still there, which is not the case. That's also the reason why I think, while not actually had looked into them, that it's not just adb and fastboot commands (those won't work anymore with my device). ADB only works in Android, and fastboot only in the bootloader. But yes, I'll look into it and see if I can do anything.
So, after looking into it, I noticed I basically understand even less of that script than I do understand Unix shells. I guess I'll probably ask in that thread however, as this seems to be the original developer of the script(s). (actually, there's several scripts, XMLs and so on there)
I had a quick look at the update_image_EDL.bat file and noticed that the file itself calls an executable in Windows format. I guess this won't be easy to convert.
But did you try to run this in wine?
I believe the best solution to your problem would be a VM with Windows 10 installation and USB support.
aleksander002 said:
I believe the best solution to your problem would be a VM with Windows 10 installation and USB support.
Click to expand...
Click to collapse
This would require the OP to own a win10 version and if that was the case, (s)he could also boot from a installation disk and run the scripts on a live boot. But still, maybe a true Windows version is required.
As far as I know, Windows 10 is free to install without key and it will be legal as a short-period evaluation copy.
aleksander002 said:
As far as I know, Windows 10 is free to install without key and it will be legal as a short-period evaluation copy.
Click to expand...
Click to collapse
True, might work...
So, while QFIL.exe would start with wine and Mono (apparently it's a .NET application) installed, it wasn't actually able to connect to the phone (I think direct hardware access is one of the things WINE cannot really do anyway). Thus I tried the suggestion with Windows in a VM and USB redirection, however, I got `ERROR: function: sahara_rx_data:277 Unable to read packet header. Only read 0 bytes.` and some other errors after this which were apparently caused by the first error when executing the `update_img_EDL` script. I found another solution that may possibly work: Using https://www.96boards.org/documentation/consumer/guides/qdl.md.html, however I don't really know which partitions I need, and which XML files I should use from the many that are present in the zip file. The signed ELF programmer is apparently `prog_firehose_ddr.elf`, at least that's what the script seemed to use.
EDIT: Looks like some people in the original thread are having the same issue as I do.
FantasyCookie17 said:
So, while QFIL.exe would start with wine and Mono (apparently it's a .NET application) installed, it wasn't actually able to connect to the phone (I think direct hardware access is one of the things WINE cannot really do anyway). Thus I tried the suggestion with Windows in a VM and USB redirection, however, I got `ERROR: function: sahara_rx_data:277 Unable to read packet header. Only read 0 bytes.` and some other errors after this which were apparently caused by the first error when executing the `update_img_EDL` script. I found another solution that may possibly work: Using https://www.96boards.org/documentation/consumer/guides/qdl.md.html, however I don't really know which partitions I need, and which XML files I should use from the many that are present in the zip file. The signed ELF programmer is apparently `prog_firehose_ddr.elf`, at least that's what the script seemed to use.
EDIT: Looks like some people in the original thread are having the same issue as I do.
Click to expand...
Click to collapse
Sorry for the late reply. Could you find out what kind of dragonboard the zenfone 6 has? I guess that will give you a clue through the manual linked at the end of you referenced threat.
Oh, and did you try to just install a win10 version as suggested before?
abprie said:
Sorry for the late reply. Could you find out what kind of dragonboard the zenfone 6 has? I guess that will give you a clue through the manual linked at the end of you referenced threat.
Oh, and did you try to just install a win10 version as suggested before?
Click to expand...
Click to collapse
Afaik Dragonboard is just the name of that line of SBCs which also uses Qualcomm SoCs. So while the Zenfone very likely doesn't use a Dragonboard as PCB, the SoC modes and such should be similar. The device-specific instructions most likely won't work, however the software should work on all Qualcomm-based boards.
I didn't try to install Windows 10 on my PC, however I also tried it at a friend's PC with W10, where I got the same error.
FantasyCookie17 said:
I didn't try to install Windows 10 on my PC, however I also tried it at a friend's PC with W10, where I got the same error.
Click to expand...
Click to collapse
Meaning that even the Windows scripts that reflash the bootloader did not work?
Interesting. Looks like the issue was the cable; it worked with a different one (though both cables had both data and power lanes).
I'm in the same situation, with a dead Zenfone6 and only a Linux desktop.
Was there a way to bring it back to life?
Marlin79 said:
I'm in the same situation, with a dead Zenfone6 and only a Linux desktop.
Was there a way to bring it back to life?
Click to expand...
Click to collapse
See the original thread which was linked here. (the cable I originally used did not work, however it wasn't the original one that came with it) The only way I see is downloading the Windows installer and starting that in a VM with USB redirection (e.g. use QEMU/KVM and virt-manager). Then install Windows in that VM (if you don't want to create a Microsoft account, disconnect from the internet before it asks you to do so), and then follow all the instructions in the original thread.
FantasyCookie17 said:
See the original thread which was linked here. (the cable I originally used did not work, however it wasn't the original one that came with it) The only way I see is downloading the Windows installer and starting that in a VM with USB redirection (e.g. use QEMU/KVM and virt-manager). Then install Windows in that VM (if you don't want to create a Microsoft account, disconnect from the internet before it asks you to do so), and then follow all the instructions in the original thread.
Click to expand...
Click to collapse
My Asus brick has been lying in my drawer for a while but I had a bit of spare time so I thought to see what I could do with it. I have a bit of spare parts so I put together a bare bone computer and installed Windows 10 on it (the windows installer iso-file from microsoft.com)
I then tried to follow this guide https://forum.xda-developers.com/zenfone-6-2019/how-to/qdloader-brick-t3980165
But when running the update_image_EDL.bat script I get "Environment variable _COM not defined". The USB cable I'm using is the one that came with the phone.
I know next to nothing about Windows. Somebody who has an idea what to do about that error message?
Marlin79 said:
My Asus brick has been lying in my drawer for a while but I had a bit of spare time so I thought to see what I could do with it. I have a bit of spare parts so I put together a bare bone computer and installed Windows 10 on it (the windows installer iso-file from microsoft.com)
I then tried to follow this guide https://forum.xda-developers.com/zenfone-6-2019/how-to/qdloader-brick-t3980165
But when running the update_image_EDL.bat script I get "Environment variable _COM not defined". The USB cable I'm using is the one that came with the phone.
I know next to nothing about Windows. Somebody who has an idea what to do about that error message?
Click to expand...
Click to collapse
Yes. Happened to me, too. The problem was that the phone is not recognized as a Qualcomm device in Windows. I had to open it and bridge two points on the board. See this: https://forum.xda-developers.com/showpost.php?p=82965385&postcount=66
I finally got to the stage where i could execute update_image_EDL.bat script
It ran for a minute or so but then terminated in an error.
Code:
13: E:\firmware\prog_firehose_ddr.elf
06:28:01: ERROR: function: sahara_rx_data:277 Unable to read packet header. Only read 0 bytes.
06:28:01: ERROR: function: sahara_main:983 Sahara protocol error
06:28:01: ERROR: function: main:320 Uploading Image using Sahara protocol failed
Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
Finish Download
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'QMSL_MSVC10R.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at QC.QMSLPhone.Phone.QLIB_DisconnectAllServers()
at QC.QMSLPhone.Phone.DisconnectAllServers()
at QC.QMSLPhone.Phone.Finalize()
2020-07-11 06:28:02.931 Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
press any key to continue . . .
Any ideas what that is about? The file it mentions QMSL_MSVC10R.dll does exist in the firmware directory