help with nethunter and mulitrom - ONE Q&A, Help & Troubleshooting

So I got twrp 3.0.2_2016-04-17 p1 multirom working. I installed a few roms in primary and have moved to secondary but can only boot while in primary slot (kexec issue I assume) Really trying to get kali up and running and not so much kexec (will move back and forth for now) . found a lots of readme which looked good but diddn't quite work out. when kali would boot the nethunter terninal app would fail saying it couldn't find bootkali_login and I could never really uninstall changeroot. from twrp file manager I deleted /data/local/nhunter* and did complete reinstalls and still same results. I installed nh-op1-kali3.0 over cm13 and also found all in one 7.1 lineageos vers 14.0-20170101-unoffical and same results. I cannot find a cm11 or cm12 compatible with kali3.0 should I step down to kali2.0? any help or direction is greatly appreciated.

@seanwlk

Why dual boot? What do you need multirom for?
You can flash LineageOS 14.1 root it, and install busybox.
Then you need the nethunter apk and install chroot from there. (Chose either minimal or full doesn't matter)
The "issue" comes now basically I've tried multiple times to make the nethunter terminal work but it doesn't connect to Kali. So I managed to find a workaround which is basically using Kali over SSH and I suggest you JuiceSSH (but every SSH client will work) just connect to 127.0.0.1 (which is localhost, where Kali runs) but since the SSH service doesn't start on boot you will need to start it manually on each reboot through the nethunter app by creating a custom command that will be sent to Kali
Code:
service ssh start
Now you'll be able to connect and use Kali terminal.
It may not be perfect but I use it on daily bases.
I do this since COS 13 days.

Here I add some useful material.

Thanks for the responses. I found flashing the cm 13.1.2 original image when my phone would keep failing installs helped when I kept getting failed installs. got it and running on cm12 5.1.1 works great.... except for when it suddenly and randomly freezes the whole system with the screen on. I ran the Y-cable service and tried it out and it worked great. wifite as normal. I will give lineage14.1 a try. thanks for the heads up. as far as using multirom..... I found it copies the files from secondary to primary faster than a nandroid restore. I think its because the partitions are not zipped. 64gb is more than enough space that speed vs disk space wins. I have been using an lg g3 for years now and I really do like opo. got my tempered screen and tpu case yesterday so it's now traveling safely with me . My only concerns with lineage14.1 is that it might not support the wifi adapters in the kernel for external wifi adapters.

seanwlk said:
Why dual boot? What do you need multirom for?
You can flash LineageOS 14.1 root it, and install busybox.
Then you need the nethunter apk and install chroot from there. (Chose either minimal or full doesn't matter)
The "issue" comes now basically I've tried multiple times to make the nethunter terminal work but it doesn't connect to Kali. So I managed to find a workaround which is basically using Kali over SSH and I suggest you JuiceSSH (but every SSH client will work) just connect to 127.0.0.1 (which is localhost, where Kali runs) but since the SSH service doesn't start on boot you will need to start it manually on each reboot through the nethunter app by creating a custom command that will be sent to Kali
Code:
service ssh start
Now you'll be able to connect and use Kali terminal.
It may not be perfect but I use it on daily bases.
I do this since COS 13 days.
Click to expand...
Click to collapse
Nice!
I was having the same issue when I was running it on cm13. every time I tried to run android terminal in chroot kali it would fail cause it couldn't find bootkali. I thought it was just a chroot issue but if it works through ssh than that works for me! come to think of it. I never even tried vnc'ing cause I assumed it was not working. ssh much better than vnc for cpu overhead for sure.

rp201 said:
Nice!
I was having the same issue when I was running it on cm13. every time I tried to run android terminal in chroot kali it would fail cause it couldn't find bootkali. I thought it was just a chroot issue but if it works through ssh than that works for me! come to think of it. I never even tried vnc'ing cause I assumed it was not working. ssh much better than vnc for cpu overhead for sure.
Click to expand...
Click to collapse
I've tried VNC for the sake of curiosity. I installed xrdp but I can't login for some reason it gets stuck on the login form. But no big deal I don't need UI.
I hope I helped somebody, not sure if this method I use got ever published on the Internet ?

I installed latest nightly of lineage14.1 5/29/2017. Debug is enable and allowed over adb. (root priv for apps not built into lineage) then after inital boot twrp install of superSUv2.82 then your busybox and your nethunter. its not working for me. ssh service wont start. chroot is installed but not working. I'm obviously doing something wrong here. I can SU in terminal but cannot run "bootkali" or "bootkali_login" which is the error nethunter app is giving me.

rp201 said:
I installed latest nightly of lineage14.1 5/29/2017. Debug is enable and allowed over adb. (root priv for apps not built into lineage) then after inital boot twrp install of superSUv2.82 then your busybox and your nethunter. its not working for me. ssh service wont start. chroot is installed but not working. I'm obviously doing something wrong here. I can SU in terminal but cannot run "bootkali" or "bootkali_login" which is the error nethunter app is giving me.
Click to expand...
Click to collapse
Are you sure that the chroot is correctly installed?
Should be mounted here
Code:
/data/local/nhsystem/kali-armhf
Also when you boot the phone does the nethunter notification popup saying the boot went all OK?
How are you starting the SSH service?
Here check these screenshots: https://imgur.com/a/TYqoc
Also remember that Kali has an user and password so connect to SSH with the following credentials:
Code:
Host: 127.0.0.1
User: root
Pass: toor

seanwik,
yes to all of that I got everything the same. I was connecting as root to 127.0.0.1 but I was also thinking sshd.conf needed to be set to allow for root access possibly? but I never had to before so I have to guess sshd did not launch at start up. are you using a thrid party kernel?

rp201 said:
seanwik,
yes to all of that I got everything the same. I was connecting as root to 127.0.0.1 but I was also thinking sshd.conf needed to be set to allow for root access possibly? but I never had to before so I have to guess sshd did not launch at start up. are you using a thrid party kernel?
Click to expand...
Click to collapse
None of those commands start at startup, for the same reason nethunter terminal doesn't work, to have to run that custom command from within the app, only that way works. Also I don't use SuperSU but the root enabler for LineageOS so I used privacy guard as root manager. Don't think that's the issue, was just saying.
I'm currently running LineageOS kernel, but this method worked even with Boeffla
Look:
(sorry for my ****ty voice ? )
I fully clean reinstalled my ROM like 2 days ago and did this as usual and works.

thanks for the video and your time. did a new install. stilll same results. ssh service wont start.
thanks!

rp201 said:
thanks for the video and your time. did a new install. stilll same results. ssh service wont start. is privacy guard an app or settings in lineageOS?
thanks!
Click to expand...
Click to collapse
Developer options > manage root access. (Screenshot attached)
But it doesn't matter, I used Kali with SuperSU and magisk and it worked.
Does it tell you something when you tap on RUN on the custom command ?
Quick recap:
1-Flash Lineage
2-root
3-boot and install BusyBox and nethunter app
3-through nethunter app install Kali chroot (it will download the image and mount it in /data/local/nhsystem)
4-Reboot
5-Create custom command to start SSH service
6-Run SSH service
7-Connect to SSH with a client
I also just remembered you can see if the service is up from the nethunter app, check attachments.
LineageOS just updated to 5th june I updated and the chroot still works.

okay so I reinstalled and enabled the use of privacy guard in lineageOS first boot setup. when I go under privacy I dont see any settings to give busybox installer root access. dev-options only has settings to give root access to "enable root adb only" it does not have the usual "enable root adb and apps" any help would be great.

in my previous installs nethunter full not miniimal is installed. I have the ablility to install chroot and remove it. after reboot I would get status bar message like you saying nh service system is up and running. created entry like you the same. Thank you for helping. trying to figure out how to enable root without installing supersu in twrp like you.

rp201 said:
okay so I reinstalled and enabled the use of privacy guard in lineageOS first boot setup. when I go under privacy I dont see any settings to give busybox installer root access. dev-options only has settings to give root access to "enable root adb only" it does not have the usual "enable root adb and apps" any help would be great.
Click to expand...
Click to collapse
Because you didn't root with the LineageOS root zip
But as I said I don't think that's the issue.
I attach you the needed zips, the installer and the remover. Just flash through TWRP instead of using SuperSU.
Then go to developer options and in that menu it will appear more options select apps and ADB (check screenshot in the attachments)
This is just to put you in my same conditions but I don't believe it will fix the issue.

After much help from seanwik and 24 nhinstall.logs...its up and running connecting over ssh. I didn't stop there. After a little playing I got nhterm to work with Kali term instead of suandroid. Found a setting in dev options. Still does not launch within nethunter but I'm working on it.

I remember reading you have to uninstall nhterm.apk nh.apk vnc.apk and install nhterm vnc then nh in that order. Some of my playing included manually installing all the nh.apks from the nh.zip using xplore .

Nhterm

rp201 said:
Nhterm
Click to expand...
Click to collapse
Glad it works, but I'll stick to JuiceSSH because I love the interface and it's features. And since I use for remote accessing my servers it's much easier for me to have everything in the same library ?

Related

[Q] [510] AndroidVNC and Terminal Emulator

Hi everyone,
my A510 is driving me crazy.
Here is what I’m trying to do:
I want to run Ubuntu and connect to it with AndroidVNC.
I emulate the Ubuntu with Terminal Emulator and it is running fine without any errors.
I go back to the Homescreen and open AndroidVNC. I fill in the necessary fields and hit connect.
And instantly I get this error message:
Code:
Error!
VNC connection failed!
Failed to connect to /127.0.0.1 (port 5900): connect
Failed: ECONNREFUSED (Connection refused)
I tried to connect with Jump and basically the same result. I tried different ports or “localhost” instead of I.P. I used a different emulator and no success.
I also tried different ways to run Linux but none of them solved my Problem.
The androidVNC itself is running fine. I can connect to my Laptop (TightVNC Server running on it) via WLAN and control it.
The only thing it won’t do is connect to the Linux running on the Terminal Emulator.
Do you have any ideas or hints on how to solve the problem?
Android Version: 4.0.3
Kernel: 2.6.39.4+ (stock)
Tablet is rooted – Busybox and Superuser installed
Regards
Rix
Found this interesting and tested it on my A700.
The vnc password is "ubuntu" even if you set a different one on first start.
In the terminal window must show up the line "New 'X' desktop is localhosr:0" after you entered the screen size.
Now I can connect via VNC. I use "ubuntu" as nick, password and username. IP is "localhost".
Hope these few hinty may help.
Sent from my A700 using xda app-developers app
Thanks for your reply.
I have reset my Tablet to factory settings and rooted it again.
Installed Terminal Server and AndroidVNC. Emulated Linux and again the same result.
I don't know why it does not want to connect to the localhost.
My settings are exactly as in the description(s).
Did you use the image provided by this app: https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid ?
This worked for me, even if the result is not very usable. Must figure out, how to use a different window manager, the default one is missing some graphics and has problems with the launchbar icons.
Tried this one as well. No success.
I just don't get it. The device is properly rooted with the "one click" version. Root check tells me it is rooted.
Busybox is succesfully installed. The Linux is running in the emulator but i just can't connect to it.
The strange thing is:
The error message is the same, whether I fill in the fields in AndroidVNC or not.
It absolutely refuses to connect to 127.0.0.1 or localhost.
Really frustrating....
Did you check if the vnc server is really running?
"ps -a" should show a "Xtightvnc" process.
Sent from my A700 using xda app-developers app
OK. I don't know why, but all over sudden it works.
The only thing I need to do know is install a VPN Client using IPSec. Challenge accepted.
Rixar said:
OK. I don't know why, but all over sudden it works.
The only thing I need to do know is install a VPN Client using IPSec. Challenge accepted.
Click to expand...
Click to collapse
hey buddy, i am having the exact problem with my VNC and TF201, the terminal is running though can NOT connec to the GUI mod, could u help me out ?
Amir
AmirJamez said:
hey buddy, i am having the exact problem with my VNC and TF201, the terminal is running though can NOT connec to the GUI mod, could u help me out ?
Amir
Click to expand...
Click to collapse
did you ever solve this? i have everything setup but the vnc wont let me connect
DЯΦ[email protected]П said:
Found this interesting and tested it on my A700.
The vnc password is "ubuntu" even if you set a different one on first start.
In the terminal window must show up the line "New 'X' desktop is localhosr:0" after you entered the screen size.
Now I can connect via VNC. I use "ubuntu" as nick, password and username. IP is "localhost".
Hope these few hinty may help.
Sent from my A700 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much man!!! i knew it was a simple thing. IP "localhost" PW "changeme".
I killed myself looking for this answers. Kali installed and running on VNC.

[Q] Login on lilstevie's Ubuntu 11.10 not possible, no superuser rights

Hey guys,
I searched the forum and did not really find an answer, it is probably even a Linux question, but even in the Linux forums i havent found a fix yet;
I installed lilstevies OLife Premium Dualboot on my TF101, everything went well. At the Login screen I can only log on with the "Guest Session" option though, since I never created an user during the installation.
Since I cant do sudo operations with the guest user ("sudo: unable to change sudoers gid: Operation not permitted") I cannot use Ubuntu, since i don't have the root password (because Ubuntu has none?). I already tried a lot of "standard" username/password combinations. What am I doing wrong?
Thank you all in advance!
greg388 said:
Hey guys,
I searched the forum and did not really find an answer, it is probably even a Linux question, but even in the Linux forums i havent found a fix yet;
I installed lilstevies OLife Premium Dualboot on my TF101, everything went well. At the Login screen I can only log on with the "Guest Session" option though, since I never created an user during the installation.
Since I cant do sudo operations with the guest user ("sudo: unable to change sudoers gid: Operation not permitted") I cannot use Ubuntu, since i don't have the root password (because Ubuntu has none?). I already tried a lot of "standard" username/password combinations. What am I doing wrong?
Thank you all in advance!
Click to expand...
Click to collapse
during the install when you set up you
Someone with a bit more experience with ubuntu might be able to help more but without root permissions/ access to the recovery console, i dont think your able to create an admin user(might be an exploit or something but i would doubt it). might have to bite the bullet and reinstall(as a last resort)
I'm 99% sure there's no single user mode but there are dirty ways of doing it though... You can try to mount the ubuntu partition in android (mmcblk0p8 if I remember correctly), and manually edit the passwd/shadow (make sure to back up first). I'm not that familiar with ubuntu's way of handling users through sudo but you should be able to chroot to your ubuntu partition then adduser/usermod/whatever or just modify sudoers directly from android to allow guests, boot into it, login, add a normal user etc.. then remove guest from sudoers.
I'm sure there's other ways to do it, just nothing "clean" per say like a single user mode or a rescue mode.

[Completed] [Q] Linux Deploy Help

Hi, I have successfully installed Kali Linux on my LG G3 using Linux Deploy and VNC viewer. I am successfully able to use everything, but I am relatively new to Linux. Still, I was able to switch to root in the terminal. I also tried creating a new account, giving it root access, and then switching to it, which I was able to do, again only in the terminal. However, even if I had root access in the terminal (confirmed by "whoami"), it seemed that I did not have any other root privileges. For example, everything, including the desktop, was read only. I tried switching users using the gui and that did not work at all. I also tried to open the root folder under computer and I wasn't able to do that either. I have tried changing the preferences in linux deploy to log me in as username "root," but I think even then I am logged in as a user that is named root... not the actual root administrator. If anyone could offer some guidance with this situation that would be great. I have spent a lot of time searching google and more to find the solution to this problem, but I haven't had any success. Thanks in advance.
I'd also like to add that some normal commands were not accessible in the terminal even though it said that I had root privileges. Therefore, I could not get done what I would like to even if I were to do everything in the terminal .
jackfitz5 said:
Hi, I have successfully installed Kali Linux on my LG G3 using Linux Deploy and VNC viewer. I am successfully able to use everything, but I am relatively new to Linux. Still, I was able to switch to root in the terminal. I also tried creating a new account, giving it root access, and then switching to it, which I was able to do, again only in the terminal. However, even if I had root access in the terminal (confirmed by "whoami"), it seemed that I did not have any other root privileges. For example, everything, including the desktop, was read only. I tried switching users using the gui and that did not work at all. I also tried to open the root folder under computer and I wasn't able to do that either. I have tried changing the preferences in linux deploy to log me in as username "root," but I think even then I am logged in as a user that is named root... not the actual root administrator. If anyone could offer some guidance with this situation that would be great. I have spent a lot of time searching google and more to find the solution to this problem, but I haven't had any success. Thanks in advance.
Click to expand...
Click to collapse
There is not a specific XDA forum for Kali Linux.
You might find some help in Ubuntu Touch General
or [APP] Linux Deploy by AbuYahya
Which S3? SGH-I747 or I9300, I9305 ...

Bugjaeger Mobile ADB App Running Directly on Android Phone - What Features?

I'm working on an ADB port which allows ADB(client/server) to run directly on Android device.
The app allows you to connect your phone to another Android device via USB OTG and perform some tasks that you normally perform from your PC(that has ADB installed).
For example
- take screenshots
- check logs
- install/remove packages
- check running processes
- push/pull files (also from locations that are not available to regular apps)
- run shell scripts executed as privileged ADB user
- create ADB backups and inspect backup files
- copy apps/APKs between phones
It's still work in progress(even though it's published), and I'm not even sure what features of ADB I should make available through the UI.
I was hoping to get some feedback here.
What are the main issues with UI? (because adb has so many features, I found it extremely hard to pack it into UI that would be intuitive)
What features would you expect from this kind of app?
Should I also embed fastboot, so that users would be able to flash Android from phone to phone?
Is it even worth to work on another one of these apps? (Maybe most people just prefer to always use ADB features directly from PC)
Bugjaeger Mobile ADB - Develop & Debug via USB OTG
Google play link: https://play.google.com/store/apps/details?id=eu.sisik.hackendebug
Update
I also ported Fastboot - user should be able to execute fastboot commands
Thanks
Correct me if I'm wrong, but can't you use a local terminal to execute certain commands?
SaadatM said:
Correct me if I'm wrong, but can't you use a local terminal to execute certain commands?
Click to expand...
Click to collapse
Not sure if I understand what you mean with "local terminal". .. Do you mean a shell spawned from regular app running on your phone?
The point of the app is to perform some privileged tasks that cannot be performed by regular apps on non-rooted phone.
You should be able to perform these tasks without the need to install ADB on your PC, or even without having a pc currently at your hands(e.g., if you're on-the-go).
Additionally, you should be able to perform a lot of these tasks with a couple of taps (instead of typing shell commands).
Is it possible to connect to localhost (127.0.0.1), and issue adb commands to the device running this app?
crunchybutternut said:
Is it possible to connect to localhost (127.0.0.1), and issue adb commands to the device running this app?
Click to expand...
Click to collapse
It's actually doing the opposite.
You issue commands from app to the connected device. The app is running the adb components you are running on your pc.
You connect one device that runs the app to another device that you want to debug. You can connect the devices via Wi-Fi or USB OTG.
bugjaeger said:
It's actually doing the opposite.
You issue commands from app to the connected device. The app is running the adb components you are running on your pc.
You connect one device that runs the app to another device that you want to debug. You can connect the devices via Wi-Fi or USB OTG.
Click to expand...
Click to collapse
I get that is the purpose, I was just curious if it was possible to point at the same device. It would make ADB stuff much simpler when no other devices are available.
I get that is the purpose, I was just curious if it was possible to point at the same device. It would make ADB stuff much simpler when no other devices are available.
Click to expand...
Click to collapse
If you made adbd listen on specific port before(adb tcpip 5555), then yes, you can issue adb commands from the app to the same device running the app.
bugjaeger said:
If you made adbd listen on specific port before(adb tcpip 5555), than yes, you can issue adb commands from the app to the same device running the app.
Click to expand...
Click to collapse
I believe you'd need root to do that though, right?
crunchybutternut said:
I believe you'd need root to do that though, right?
Click to expand...
Click to collapse
No, I don't think you need root. I used it a lot on my non-rooted Nexus 5x and once on an old Asus Zenfone during testing and it was working as expected.
That's great . I was just wondering if there was something like this already out there. Thanks for your efforts and I hope you are prosperous.
bugjaeger said:
I'm working on an ADB port which allows ADB(client/server) to run directly on Android device.
The app allows you to connect your phone to another Android device via USB OTG and perform some tasks that you normally perform from your PC(that has ADB installed).
For example
- take screenshots
- check logs
- install/remove packages
- check running processes
- push/pull files (also from locations that are not available to regular apps)
- run shell scripts executed as privileged ADB user
- create ADB backups and inspect backup files
It's still work in progress(even though it's published), and I'm not even sure what features of ADB I should make available through the UI.
I was hoping to get some feedback here.
What are the main issues with UI? (because adb has so many features, I found it extremely hard to pack it into UI that would be intuitive)
What features would you expect from this kind of app?
Should I also embed fastboot, so that users would be able to flash Android from phone to phone?
Is it even worth to work on another one of these apps? (Maybe most people just prefer to always use ADB features directly from PC)
Bugjaeger Mobile ADB - Develop & Debug via USB OTG
Google play link: play.google.com/store/apps/details?id=eu.sisik.hackendebug
Update
I've added the possibility to copy apps/APKs between phones
Thanks
Click to expand...
Click to collapse
I have a question about this app. I have installed it and find a few over internet connections (android box, fire tv) but when i connect my wifes non rooted S9 snapdragon. It asks what i want to use visa otg cable. (Smartswitch ect..)
Maybe the best way to put this is to tell you want i want to do.
I have a rooted note 5 and my wife has a new non rooted S9 from T mobile. The bloatware sucks as i am sure you can imagine. I have read how to remove the bloat with package disabler without root. My issues is i need to make PIP a sister app for package disabler a device owner app. This is done through adb and a few simple commands. My problem to solve my issue is i have no PC in order to use ADB on. I have looked for way to use phone to phone ADB with OTG but never been able to put ADB on my note 5 to use the terminal like from a PC.
Any help would be great thanks.
lodk said:
I have a question about this app. I have installed it and find a few over internet connections (android box, fire tv) but when i connect my wifes non rooted S9 snapdragon. It asks what i want to use visa otg cable. (Smartswitch ect..)
Maybe the best way to put this is to tell you want i want to do.
I have a rooted note 5 and my wife has a new non rooted S9 from T mobile. The bloatware sucks as i am sure you can imagine. I have read how to remove the bloat with package disabler without root. My issues is i need to make PIP a sister app for package disabler a device owner app. This is done through adb and a few simple commands. My problem to solve my issue is i have no PC in order to use ADB on. I have looked for way to use phone to phone ADB with OTG but never been able to put ADB on my note 5 to use the terminal like from a PC.
Any help would be great thanks.
Click to expand...
Click to collapse
So you tried to connect your phone (with Bugjaeger installed) to you wife's phone via USB OTG cable? And the phone with Bugjaeger app doesn't detect any ADB device connection (or other dialogs pop up)? Did I understand this correctly?
You might need to temporarily disable the other protocols that Android offers via USB so that there are no other dialogs popping up (on your wife's phone). On my Nexus with Android 8, I can go to Connected devices -> USB and switch it to only "Charge this device" (so PTP or the other stuff is disabled).
In case there is some other app doing stuff with ADB USB devices, you might also need to change your defaults so that Bugjaeger can handle ADB USB devices.
Then you also need to make sure that Developer options are enabled on your wife's phone (and USB debugging of course).
Once you successfully connected and authorized the phone, you should do the following
- In Bugjaeger app switch to Packages tab and click on Add button top right (the button with the plus sign). Then you should pick the package disabler APK. This should install the package to your wife's phone
- Switch back to Commands tab (first tab) and either click on plus button in top right or shell into the device with the floating action button ("<>").
You can then activate the device owner with something like this
Code:
dpm set-device-owner disabler.package.name/.DisablerAdminReceiver
*Note that I don't prefix the command with "adb shell" here
When activating device owner you also need to make sure that there are no other accounts configured on your wifes phone (e.g. google account) because otherwise it probably won't work.
You can also check my blog post where I describe how to activate device owner with Bugjaeger in more detail (at the end of the blog post)
https://sisik.eu/blog/android/dev-admin/set-dev-owner
Hope that helps
going to give this a try thanks will post later with results,
Hi, I have a problem and I hope your app can help me.
I am without a PC and I have a tablet without root where I installed the application and a Samsung mobile phone that starts only in download mode, otherwise it gives me the message: Custom Binary blocked by FRP lock
Can I install a rom or a custom recovery with the app? I tried to connect them with the cable but it does not find the device.
Crisal said:
Hi, I have a problem and I hope your app can help me.
I am without a PC and I have a tablet without root where I installed the application and a Samsung mobile phone that starts only in download mode, otherwise it gives me the message: Custom Binary blocked by FRP lock
Can I install a rom or a custom recovery with the app? I tried to connect them with the cable but it does not find the device.
Click to expand...
Click to collapse
Hi,
Unfortunately, I don't think my app can help you in this case.
Hi, thanks for the reply. Do you know a way to help me?
please help me!!
will this app install an apk ive downloaded onto my phone onto my wear os watch? i have them both connected and wifi debugging. not sure how to go about installing the apk though. any help would be appreciated. thank you
lindsay
bugjaeger said:
I'm working on an ADB port which allows ADB(client/server) to run directly on Android device.
The app allows you to connect your phone to another Android device via USB OTG and perform some tasks that you normally perform from your PC(that has ADB installed).
For example
- take screenshots
- check logs
- install/remove packages
- check running processes
- push/pull files (also from locations that are not available to regular apps)
- run shell scripts executed as privileged ADB user
- create ADB backups and inspect backup files
- copy apps/APKs between phones
It's still work in progress(even though it's published), and I'm not even sure what features of ADB I should make available through the UI.
I was hoping to get some feedback here.
What are the main issues with UI? (because adb has so many features, I found it extremely hard to pack it into UI that would be intuitive)
What features would you expect from this kind of app?
Should I also embed fastboot, so that users would be able to flash Android from phone to phone?
Is it even worth to work on another one of these apps? (Maybe most people just prefer to always use ADB features directly from PC)
Bugjaeger Mobile ADB - Develop & Debug via USB OTG
Google play link: play.google.com/store/apps/details?id=eu.sisik.hackendebug
Update
I also ported Fastboot - for now the user can dump bootloader info
Thanks
Click to expand...
Click to collapse
lindser112 said:
will this app install an apk ive downloaded onto my phone onto my wear os watch? i have them both connected and wifi debugging. not sure how to go about installing the apk though. any help would be appreciated. thank you
lindsay
Click to expand...
Click to collapse
I don't have any wear os watch at my hands right now and I can't test it at the moment. Is the APK compatible with the watch? If you're able to establish an adb connection between Bugjaeger and the watch, try to check the "Packages" tab in Bugjaeger app. There's a "+" button in the top toolbar, which allows you to select apk for installing on the target device.
The official docs are showing how to establish ADB connection with the watch - https://developer.android.com/training/wearables/apps/debugging
In Bugjaeger you then need to tap the connect button (plug with a plus sign in top toolbar), type in the IP address of the device, and tap on connect button. Both devices should be connected to the same WiFi network to make this work.
i figured it out!!!! go to packages, press the plus button, install from apps installed on phone. it was soooo easy. i couldnt get adb to work on my pc!! i am so thankful to you for this app!!!!!
lindser112 said:
will this app install an apk ive downloaded onto my phone onto my wear os watch? i have them both connected and wifi debugging. not sure how to go about installing the apk though. any help would be appreciated. thank you
lindsay
Click to expand...
Click to collapse
lindser112 said:
i figured it out!!!! go to packages, press the plus button, install from apps installed on phone. it was soooo easy. i couldnt get adb to work on my pc!! i am so thankful to you for this app!!!!!
Click to expand...
Click to collapse
Perfect :laugh:

[Solved] Control App (jp.pioneer.avsoft.android.controlapp)

Hi,
I'm still using CD Receiver XC-HM82. There is a dedicated, quite old, application Control App which Pioneer released some time ago. After installing the app, when a CD receiver is discovered the app unfortunately downloads some data needed for managing this particular model.
Recently I reinstalled android system and when I try downloading those data it says "download failed". The reason might be that there are some issues on Pioneer server side or they've simply stopped supporting this device.
I have still one phone where this application is fully installed and working fine. I think that the data (downloaded from Pioneer servers to manage XC-HM82) are being store at: /data/user/0. However, I haven't rooted this phone.
The question. How can I retrieve data from /data/user/0 and what's maybe even more important can I create APK which will include all data needed for managing XC-HM-82 so I could still use this application to manage my CD receiver?
Thanks for any tips
I'll answer to my own post for users who might use it.
1.Turn on Developers option in your phone
2. If you use Lineage OS allow Debugging as Root or Root via ADB
3. Check all aps you have installed
adb shell pm list packages -f -3
4. To backup base apk (in my case)
adb pull /data/app/jp.pioneer.avsoft.android.controlapp-PIpLM2ikeE7WRs7X2TlOFg==/base.apk pioneer.apk
5. To backup data of the application (including packet for controlling particular model)
adb backup -f pioneer.adb -apk jp.pioneer.avsoft.android.controlapp
Please note: you'll have to accept this action in Android
6. You should received two files: pioneer.apk and pioneer.adb
7. To restore base apk (in my case)
adb install pioneer.apk
8. To restore data of your app (in my case)
adb restore pioneer.adb
Please note: you'll have to accept this action in Android
Eventually, you should have a feel backup of you app with data folder.
This procedure has been created based on this source page:
https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1 \
Thanks to "@AnatomicJC"
gregory_cooky said:
I'll answer to my own post for users who might use it.
1.Turn on Developers option in your phone
2. If you use Lineage OS allow Debugging as Root or Root via ADB
3. Check all aps you have installed
adb shell pm list packages -f -3
4. To backup base apk (in my case)
/data/app/jp.pioneer.avsoft.android.controlapp-PIpLM2ikeE7WRs7X2TlOFg==/base.apk pioneer.apk
5. To backup data of the application (including packet for controlling particular model)
adb backup -f pioneer.adb -apk jp.pioneer.avsoft.android.controlapp
Please note: you'll have to accept this action in Android
6. You should received two files: pioneer.apk and pioneer.adb
7. To restore base apk (in my case)
adb install pioneer.apk
8. To restore data of your app (in my case)
adb restore pioneer.adb
Please note: you'll have to accept this action in Android
Eventually, you should have a feel backup of you app with data folder.
This procedure has been created based on this source page:
https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1 \
Thanks to "@AnatomicJC"
Click to expand...
Click to collapse
Gregory, thank you very much for your post!
First of all, I learned that I could stop checking my home network/router/settings etc.. to find the cause of the failing download.
I have the bluray player Pioneer MCS-FS232, with the controlapp working on my tablet.
I want to transfer the app to my phone.
I followed your steps:
Pulled the apk and backed up the data
I re-installed the app with adb install, and I restored the data with the commands above. Device report success after restoring data.
Unfortunately the app persists in asking for a download (also after restarting device). I tried also on another device, same result.
Could it be that the data restore command do need more specifications?
Thanks in advance for your reply...
Ptr
PS: the full command for step 4 would be (in my case)
adb pull /data/app/jp.pioneer.avsoft.android.controlapp-HjWUmVnui7FpTk0qKpQ3Ow==/base.apk pioneer.apk
you might want to add
adb pull
to your text in step 4
Thanks PtKt for your post and correction regarding "adb pull" missing.
There's no problem with base apk:
Pioneer ControlApp for Android - APK Download
Download Pioneer ControlApp apk 4.1.0 for Android. ControlApp is an application for corresponding Pioneer Products control.
apkpure.com
The thing is the data files (downloaded from Pioneer servers when it was still possible). What's the version of system: on a tablet and phone?
Recently, I realized that this method works on Android 9-11 but not on Android 7 cause there's a different folder structure. It recognized CD receiver but crashes when trying to connect to it.
Hello Gregory,
1. first tried it on my phone (where I had the app, but deleted it ( ). Android 11. This is the taarget-device. Not rooted. APK file installed with adb succesfully
2. when this did not work I tried on a tablet (rooted Asus transformer tf701t with timduru android 7). installed APK, date reports succes, but no working app.
3. device where the app works is Huawei tablet with android 10 (not rooted)
4. My computer is an old IMAC with Ununtu 20.4 lts
I tried to open the pioneer adb file, only partly accessible and only 5 lines.
I checked Androi/data/jp.pioneer.avsoft (etc), on my android 7 tablet, there is a map ' files' but without files.
tbc, Ptr
I'm not so advanced in this matter, but up to Android Version it's about folder /data/data/jp.pioneer... (and so on). You can't access it without root. Maybe you can do that via TWRP on Android 7 on later version it's an issue in easy way. Other solution is to use Magisk to manually copy needed files.
I'm not sure if referring to the system version different files were downloaded from Pioneer's serves. Unfortunately, I don't know.
gregory_cooky said:
I'm not so advanced in this matter, but up to Android Version it's about folder /data/data/jp.pioneer... (and so on). You can't access it without root. Maybe you can do that via TWRP on Android 7 on later version it's an issue in easy way. Other solution is to use Magisk to manually copy needed files.
I'm not sure if referring to the system version different files were downloaded from Pioneer's serves. Unfortunately, I don't know.
Click to expand...
Click to collapse
Aiai.... after a few days of efforts my conclusion was that you need root access to your source device.
And then I re-read your solution and I saw that I overlooked the last part of point 2 of your solution....
"2. If you use Lineage OS allow Debugging or Root via ADB." I did allow USB debugging but I missed 'as Root or Root via ADB'
OK, it is a pity, I'm not going to root my Android 10 tablet where the working app lives. Meanwhile I learned a lot and that's always fun....
Thank you very much for your work, if I come across another solution I will report here.
Ptr
Great. You're very welcome.
Hi guys. I have problem with this Control App from Pioneer too.
On my Android 11 phone is after starting the app visible only the loading screen or a black screen and nothing happend more.
On the old tablet with Android 5 run this app, but it want to download more files from the server, but that is not possible yet beacuse of severs shutdown? (it works well two months ago).
Can you please give me a advice how to run this app on Android 11 and share the downloaded files for my Android 5 tablet.
Because of this is using of my XC-HM72 very limited.
Thank your for every advice (My devices are not rootet).
Rdbc26 said:
Hi guys. I have problem with this Control App from Pioneer too.
On my Android 11 phone is after starting the app visible only the loading screen or a black screen and nothing happend more.
On the old tablet with Android 5 run this app, but it want to download more files from the server, but that is not possible yet beacuse of severs shutdown? (it works well two months ago).
Can you please give me a advice how to run this app on Android 11 and share the downloaded files for my Android 5 tablet.
Because of this is using of my XC-HM72 very limited.
Thank your for every advice (My devices are not rootet).
Click to expand...
Click to collapse
Hiya,
You won't download needed files (graphics or some scripts customized particularly for your XC- HM72) because there are no files on Pioneer's servers, anymore. If you don't have any device with fully working app you have to ask anyone who has it still working to export needed files (usually as "adb" file) for you then you just import it by a command:
adb restore exported_file_name.adb
Click to expand...
Click to collapse
and that's all.
Nevertheless, since Android 8 I think that the folder with user data files has a different location, so mentioned method should work for Android 8 - 11 (I haven't tested it on 12). That's all what I can suggest you.
gregory_cooky could you please share you date with adb file?​Thank you​
Rdbc26 said:
gregory_cooky could you please share you date with adb file?​Thank you​
Click to expand...
Click to collapse
There you go. Please unzip it and good luck!
Thank you for the file, but still without success. I tried adb restore pioneer.adb and on my android 5 tablet and still want to download files from innactive servers. The same I have done on my phone with android 12 and there is still the freeze or black screen :-( What now? Thanks
Rdbc26 said:
Thank you for the file, but still without success. I tried adb restore pioneer.adb and on my android 5 tablet and still want to download files from innactive servers. The same I have done on my phone with android 12 and there is still the freeze or black screen :-( What now? Thanks
Click to expand...
Click to collapse
I'm not much surprised about Android 5 cause it mightn't work. Unfortunately, I don't have any other news for you. I'm not even sure if my files were suitable for the model of yours. Further steps you should do by yourself. Maybe you'll find a solution and provide it for someone else who has the same CD Receiver as yours.
I've spend a lot of time trying to run the app for my old, but still well performing XC-HM71.
Luckily I've found old Titanium Backup (playstore) backups from 2015 and 2017. I successfully restored the app and settings on my forgotten redmi note 3 pro as root and old android were needed. If anyone is interested and want to try again, both backups are attached. Older app version is 3.5.0, never is 4.1.0. I'll recommend to start with older version, then restore just the newer app without data. It worked for me. Good luck.
But I've remembered the app a bit differently. Seems to be a bit useless, same can be done with remote itself.
Its just a bit faster to add internet radio stations, as browsing on unit itself is a bit pain in the backside.
XC-HM71 is a base version, no Bluetooth, Spotify or other currently standard addons, so really the Pioneer app do not have any real advantages.
Btw, I've had no luck with adb files from @gregory_cooky.
How to control my vsx 527 with control app? Can someone please help
Hi
I need files for Pioneer XC-HM81.
Can someone please help.
Good news!
I finally managed to transfer the needed Pioneer ControlApp data from my -non rooted- tablet (Huawei M5, android 10) to my -also non rooted- telephone (Samsung Galaxy A40, Android 11), based on gregory_cooky’s procedure in post 2 of this thread.
I tried it half a year ago (see above, my post 3) and gave up.
But a renewed attempt this week, learned me that I overlooked a crucial element: both devices need to have “USB debugging enabled” to operate the adb commands from my computer successfully.
Obviously, I misinterpreted step 2 in gregory_cooky’s procedure.
After enabling ‘developers option’ on both devices, you need to go to enable USB debuging . Without that, your devices are only partly accessible from your computer and adb commands will give error messages.
In detail: go to settings, scroll down towards about tablet or info telephone, look for software and then ‘buildnumber . Tap 7 times on buildnumber. this activates developers option. Go back to settings, you can now find developers option as the last point under settings. Tap developers option, enable it, look then for USB debugging and enable it. Do this on both devices.
Connect your source device (=device with a working ControlApp) to your computer. Open a terminal screen on your computer and type adb devices.
[email protected]:~$ adb devices
List of devices attached
P15YC3E10080000000007FC1881C0 device
Then proceed as described by gregory_cooky in post 2.
Be sure to have your source files (ControlApp apk and data) in the root of your home directory, otherwise adb cannot find it. Be aware this type of commands is capital sensitive, so if you ask for Pioneer.adb but the name of the file is pioneer.adb the computer comes with No such file or directory.
I use the ControlApp for my Pioneer MCS-FS232, which I can now easily operate from my arm chair. Volume, switch from CD to Aux or FM, etc.
Peter
It appears ControlApp has finally given up.
Looking if anyone has perhaps a copy of the source files.
ControlApp downloads the files from the following URL: http://www.pioneer.eu/files/support/Wr5Ch9makajA/smartphone_app/common/controlapp/sma/SmaHtml_14.zip
Note that this is a HTTP URL, so can easily be faked for the device, however need the ZIP. Used to have it, now it's gone
hello,
would anyone have a working adb for Pioneer X-HM72 please?

Categories

Resources