problems with freshly installed ubuntu 17.10.1 - General Questions and Answers

problem #1: i literally installed ubuntu just 2 hours ago and i've already lost root permissions? how and why? i can't edit .profile. and i NEED to edit the file as the sole purpose of installing ubuntu is to learn to build roms. the lineage OS building instructions say i need to add a few lines of code to it.
problem #2: my WIFI is too slow. it only supports WPA personal and my router says that encryption is only 54mbps. speed tests show anywhere from 8mbps to 60mbps. meanwhile, my windows computers' speed tests are where they're suppose to be...around 100mbps. i was using the latest version of linux mint for about a week. same issue.
any help would be greatly appreciated.

i got problem #1 fixed. i had to make a root password.

Related

[Q] usb tethering

I have android wifi tether installed and running, so I know I'm rooted. Although the wireless works great on my laptop...my main pc runs Ubuntu with no way to receive.
I was wondering if there is a way to tether the same connection via USB....just as free, and easy. Thanks.
Yes, if you se the TBH NVRAM method with RadioComm to change the tethered NAI strings you can USB tether in Linux with no problems.
http://www.mydroidworld.com/forums/android-hacks/5156-tbh-droid-3g-hotspot-nvram-hack.html
There are screenshots later in that thread and discussion about the RadioComm method with the D2G or Pro using the MDM6600 chipset MA either manually or using the NVM table posted there.
User name is [email protected] and Password is vzw and number to dial is #777.
cellzealot said:
Yes, if you se the TBH NVRAM method with RadioComm to change the tethered NAI strings you can USB tether in Linux with no problems.
http://www.mydroidworld.com/forums/android-hacks/5156-tbh-droid-3g-hotspot-nvram-hack.html
There are screenshots later in that thread and discussion about the RadioComm method with the D2G or Pro using the MDM6600 chipset MA either manually or using the NVM table posted there.
User name is [email protected] and Password is vzw and number to dial is #777.
Click to expand...
Click to collapse
I did quite a bit of reading but I'm still slightly confused. I've got both the patch and unpatch zip files downloaded. I'm already rooted with gummyjar flashed, so using bootstrap and getting the zip files installed shouldn't be a problem.
What I'm not clear on is after I install the patch and reboot...what am I looking for? An actual app? More configuration? Just plug in to pc? I'm also not sure where this login information comes in. I'm somewhat new to any modding so many thanks.
You can't use the tether patch zip files on D2G. You have to use the RadioComm method I referred to later in the thread.

[Q] Wireless with Ubuntu

Hello,
I recently installed Ubuntu in a dual-boot, and most things are working well. However, one of the biggest problems is with wireless. I have injected the firmware from the android kernel, and am able to connect using wpa_supplicant or a basic 'sudo iwconfig essid [network ssid]'. However, I have read on the Dev forum that some users have been able to flash a kernel onto their device that provides wifi via a GUI. I have not been able to, and am wondering if anyone would be able to help me out.
The links to the patches are here http://forum.xda-developers.com/showthread.php?t=1191141&page=76. Post #753. Dev posted on building the patches. Does anyone know how to build these patches and get a GUI for network manager working?
Thanks,
kiambogo

[Q] Debian in chroot: KDE software etc. not working

Hi,
I am running a rooted stock JB. I have a Debian (tried also Ubuntu) in a chroot environment running, and I am using a vncserver to run X applications. Some things like lxde and gedit are running fine. Others, in particular all KDE applications (but also others) are not running at all or look completely chaotic (most GUI elements missing, black and/or in the wrong place) and are unusable. I tried some time ago the same thing on my phone (HTC Desire Z with CyanogenMod - unfortunately recently bricked so I cannot try anything anymore), there everything ran just fine (despite very slow).
Is this maybe due to missing features in the kernel of the stock firmware? Are there any ticks to get around these limitations without flashing another ROM? (I would rather not void my warrenty...)
Thanks for any insight,
Martin
No ideas? Is anyone running some Linux in chroot on the original firmware?
mhier said:
No ideas? Is anyone running some Linux in chroot on the original firmware?
Click to expand...
Click to collapse
I run Ubuntu in chroot everyday but I've never messed with vnc.
Sent from whatever device I happened to pick up.
My guess is that the number of people using Ubuntu on the tf700 is quite small, so you might not be able to get the answer to your question here. However, there is a support thread for Ubuntu on the tf700, you might want to ask your question there:
http://forum.xda-developers.com/showthread.php?t=2014759

Rooting with Mac OSX? Heimdall?

Hi there,
I finally decided to root my Note Pro (P900), which is just 10 Days old (refurbished tho, so no warranty issues).
My Backstory (only read if you are bored
The main Reason for me is privacy. Coming from a Xiaomi Android Device with its excellent Permission Manager I was shocked at the Permissions some Apps require, that cannot be changed.
I did my research and tried a relatively unknown option named "Appguard". (Google actually removed it from the PlayStore after a short period of time, still available from their Website). This app was developed by a IT Professor at a german university with the help of his students. It allows to manage app permissions on the fly for installed apps and doesn't require root. However, this requires to reinstall the apps you want to monitor (no big deal) and it also allows apps to get PlayStore upgrades (great!). However as it functions without requiring root, there is no way to monitor system apps (including all the Samsung bloatware!).
I did further research and am now opting for the xPrivacy Plugin for the Xposed Framework.
This of course requires root to function. So here I am.
My device is a stock, unrooted P900 Wifi (32 GB) currently running 4.4.2 (KOT49H.P900XXUANI1). And, I'm on a Mac!
Bummer!
I understand that the current setup to gain easy root is using Odin on a windows machine (wich i dont have!)
I did some more research and found Heimdall. Its a multi platform tool that allows flashing Samsung devices.
Did anyone already try Heimdall and can maybe give me a hand on setting it up?
Does it even work with the P900?
Any other Methods rooting the P900 on Mac OSX?
Thanks a lot in advance!
For times when I need to use Odin I use windows in a VMWare virtual machine on my macbook. The VM image takes up precious SSD space on my rig though so when not in use I'll copy over the image to removable storage to free up space and then copy it back to the macbook when I need it.
Thank you for your reply.
Ive done some tinkering in the Meantime and it seems like at the moment there is no possibility for the P900 using Mac OSX.
There are actually two options (or one technique used by two programs). Both of them are open source, available for Windows, Linux and Mac and can be found on github.
One is Heimdall, which seems to work fine for older Samsung devices and actually uses a special kext to replace the samsung drivers on Mac OSX. It comes with a command line tool as well as a straight forward user interface.
The other one is JOdin3, a Java/Casual based program that can be used directly in the browser or downloaded and run as a java program. It also uses the Heimdall drivers, but offers a user Interface that looks and functions exactly like Odin, plus it inludes a "noob friendly" step by step process in the UI.
The problem is that the heimdall drivers are still having issues with newer samsung devices (including the note pro) preventing it to fetch the PIT file from the device.
As of now, April 23rd 2015 there is currently no way to root your device using Mac OSX
I'm currently downloading a virtual windows machine in virtualbox and will try to root that way.
I have no Windows license, but thanks to the Internet Explorer Team from Microsoft you can download already complete virtual Windows Enviroment for both OSX and Linux directly from the windows servers. For free!
Will report back once I rooted my device.
I successfully rooted my P900!
For those Mac Users out there interested:
I tried Virtualbox first, but it didn't work. I installed the exact same windows image (Win7 Enterprise) with VmWare Fusion and was able to detect my device using Odin with the latest official Samsung drivers.
I used Odin (v. 3.10.6) to flash TWRP Recovery (v. 2.8.6.0). You have to boot directly into recovery after flashing, otherwise the OS will revoke the custom recovery at the first boot.
I then used TWRP recovery to flash SuperSU (v. 2.46) from a USB Drive and made a full backup to the ext. SD card.
Currently downloading the Hyperdrive custom rom. Really looking forward to it.
Did you end up tripping KNOX?
Keep us posted on your progress.
KNOX will be tripped when you install a custom recovery via Odin.
So yes, my KN0X has been tripped.
I'm currently running the Hyper drive Rom with different kernels. Performance seems good and customization Options excellent. l have a problem with random shutdowns (not reboots), no matter what kernel l use.
Pretty sure It's related to the Rom setting/ Setup rather than root method. Some users of the Hyper drive Rom reported similar issues,' however l have to figure this out before university starts again on monday and i absolutely need the tablet for lecture.
If I dont find a solution for the shutdowns until sunday i might have to consider flashing stock + .Xposed

Emulator Kernel Version Missing (Pic Provided)

Trying to build my own AOSP ROM and I keep getting stuck on emulator unable to find the kernel version, though the file is there.
I am using Hyper-V VM with Ubuntu V20 installed and the VHD is exactly that, a .vhd file extension for the virtual hard drive.
I just can not seem to resolve the problem on the missing kernel, also have supplied a pic showing exactly what it says after the build is finished and then I try and run emulator.
Any help or info, links on the matter would be much appreciated and thank you for taking the time to help out.
I have also noticed I can not use "emulator -list-avds" nothing happens. Just exits and terminal is ready for user input again.
So far I did a repo sync again and then a m -checkbuild and just waiting for it to finish to try emulator again
Update: Decided to start from scratch
Changes that I have made.
Using Ubuntu 18.04 for O.S
Switched from M.S Hyper-V to Oracle Virtual-Box (V.B has more features then Hyper-V and is better in performance because of it.).
Virtual HDD is set to .VHD but is on Sata and not IDE now (Virtual-Box only allows it).
Made the VHD a fixed drive instead of dynamic for better performance (Max size of 512GB)
Dedicated 32GB of ram to VM.
Allowed up to 6 cores on a 12 core processor.
might experiment getting Oracle JDK installed instead of using openjdk, due to having issues with it.
UPDATE_1
Fresh build on 18.04 same issues as old build. emulator, avd and android. all not working.
I might have missed a package to download or something or maybe java still is not working. Using openjdk 11 at the moment. I am running out of ideas as to why i can not get it working.
Update_2
Looks like the reason emulator is not working is due to me not installing SDK, I am not using the IDE so I think I need the command-line & Platform tools installed. got to work out how to install it now.
UPDATE_3
SDK from what I know is installed. Now I am getting an output file is missing, but build completed with no issues. Please help, new image also supplied.

Categories

Resources