Ubuntu on Galaxy Tab (WIP) - Galaxy Tab 2 Themes and Apps

I tried loading Ubuntu using one of the market Ubuntu installers on the 4.0.3 install and convinced my self the kernel did not have loop support. Now I'm not so sure. I tried again with 4.0.4 and realized that the kernel had support, but the mount and umount tools did not. But busybox's commands support loop!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'll update as I figure out more, but the basic drill was:
Download "Complete Linux Installer (NEW)" from Market. You don't really have to do this, it just is a "guide" and has a nice launcher which (so far) does not work because we need some hacks. You could probably download the image off sourceforge and be as well off, but I was trying to get this to work. You download a 3.5MB zip file and then use a zip program (ES choked on it but Astro did ok) to extract ubunutu.img into /sdcard/ubuntu
Since the launcher crashed, I went here http://forum.xda-developers.com/showthread.php?t=962023&page=2
I followed the script by hand in an adb terminal. I suppose you could use a local terminal too. I didn't do the redirects and things I knew I didn't need. All worked except for the pts which I am still investigating. (oops a typo). Also this line:
Code:
busybox mount -o bind /sdcard/external_sd /data/local/mnt/external_sd > /dev/null 2>&1
Should be (for us):
Code:
busybox mount -o bind /mnt/extSdCard /data/local/mnt/external_sd > /dev/null 2>&1
The script will ask you the size (1280x800 although probably should use 1280 x 720 or something to handle the bar at the bottom of the screen.
Then you pick LXDE or Gnome. I picked LXDE.
Off you go. You can connect with an X server, a VNC client, or keep using the shell. Awesome!
I'll update if I fix the pts.
UPDATE: My bad. A typo on the pts line. That script actually works fine as-is except for the difference in the sdcard.
Now need to find a good onscreen keyboard although a real keyboard should work pretty well. The ones I have tried have trouble sending <ENTER> and want to dismiss the keyboard instead.
A few other notes. The init from the app has some output, so you need to NOT redirect the chroot. Also, has to run as root for the chroot to work (unless I have wonked some permission).
There are a few other issues with the image I used.
1) Need to update emacs23 for it to work (from a Ubuntu terminal: apt-get update; apt-get install emacs emacs23)
2) /etc/bash.bashrc needs to have the sudo hinting taken out or you get annoying error messages
3) The scripts attached do not clean up all processes. This may not be a problem if we can get the launcher to work, I'm not sure if it cleans up better or not.
I will post my modified/customized scripts in just a minute. The directory structure is such that /system is all on the android side and everything in /data/local/mnt should be at the ROOT of the Ubuntu files (that is, put them in while running Ubuntu or at least mount Ubuntu and then put everything in the mounted place).
I pulled these off my sdcard so you will need to patch the permissions for the scripts:
For example:
chmod 755 /system/xbin/ubuntu
Here are the files in tar format (use tar xzvf ubuntu-files.z.tar to extract):
View attachment ubuntu-files.z.tar Version 2, 15 July 2012 (fixed bad path in loop mount)
Once you have everything installed, start a terminal and execute:
su -c ubuntu
I have tried making a BTEP shortcut but with no luck yet.
Enjoy!
There is a thread about this including the image links etc (thanks to zacthepack for pointing me to it, now I've got to read it ;-) ).
http://forum.xda-developers.com/showthread.php?t=1585009
P.S. Of the VNC apps I tried that were free Jump (https://play.google.com/store/apps/...GwsMSwxLDEsImNvbS5wNXN5cy5hbmRyb2lkLmp1bXAiXQ..) seemed to work the best. The free version only lets you have one connection.
PocketCloud wasn't bad but you can't get the onscreen mouse all the way to the bottom (it tries to shrink it, but I think it doesn't know about the "permanent" ICS bar down there. If you have a real keyboard/mouse then the AndroidVNC team version works well, but it is a pain to use without a keyboard.

Please post your scripts.
Whats with backtrack? Any idea if the gtab2 support the system with all his funtions?

exebreez said:
Please post your scripts.
Whats with backtrack? Any idea if the gtab2 support the system with all his funtions?
Click to expand...
Click to collapse
There you go. Don't know a thing about backtrack other than I saw it was an option.

wd5gnr said:
There you go. Don't know a thing about backtrack other than I saw it was an option.
Click to expand...
Click to collapse
Had a small bug in the ubuntu script that didn't show up until I rebooted. Updated to v2.

Hello wd5gnr,
Would it be possible that a newbie like me can get a step by step for getting this done?
I have a P5113 with CyanogenMod 9 working great and I would really like to have Ubuntu with Gnome if possible.
Thanks in advance!
Best regards,
galcv2

galcv2 said:
Hello wd5gnr,
Would it be possible that a newbie like me can get a step by step for getting this done?
I have a P5113 with CyanogenMod 9 working great and I would really like to have Ubuntu with Gnome if possible.
Thanks in advance!
Best regards,
galcv2
Click to expand...
Click to collapse
Maybe this weekend. I can tell you that the performance especially with Gnome leaves something to be desired.
You might have better luck with this approach: http://forum.xda-developers.com/showthread.php?t=1782383

THANK YOU!

Related

Install APKs on your device by double clicking on your PC with installAPK [Beta 1]

Android is really great, but there a few points of Android ownership that are a bit of a pain... one of which is installing APKs on your device. Enter installAPK!
The current release is Beta 1 - usual Beta caveats apply!
What it does
installAPK is currently for Windows only. After installation on your machine, you can double click APK files to install them on your USB attached android device. Simple as that!
Where do I get it?
Download the install EXE and USB drivers if required here at MoDaCo - http://shortun.com/3o
Anything else I should know?
This is the first Beta, tested on XP, Vista and Windows 7, but please post here with any issues!
P
PS Android SDK download / install is NOT required!
PPS More APK related fun coming from me soon!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Wow, this has a LOT of potential, it'll make reinstalling apps after a wipe a breeze. Thanks!
Related - repack APKs to EXE:
http://forum.xda-developers.com/showthread.php?p=3878743#post3878743
P
i dont think the link is working...sounds like a great idea
Links fine here...
P
Hi paul
nice to see you on here
your CAB file to phone app was great
will test this next time I need to install an app to install to my G1 from my pc
Regards
David
OMFG! You rock! <3
Nothing magic here...
It just runs 'adb install whatever.apk'.
Just as easy to simply associate "apk" files with the command "adb install".
Of course!
It does mean you don't have to manually download the SDK and grab ADB however... and just running this setup is easier than doing that, installing and associating.
It also puts a nicer GUI on it, a GUI that will be updated as development progresses, things like 'Save a copy of the APK on your storage card?' and much much more.
P
Wow will have to try it later
Might I suggest a Start Menu shortcut option, I created mine manually, but it'd be nice to leave the option to the user in the install process.
A start menu shortcut to do what?
P
To launch the program. I had to browse into the Program Files folder to launch it, and figured if it just automatically adds to the start menu, it's a tad bit easier.
Great app, but if your going to install a lot of apps after a wipe I find it better to setup a .bat file and just run it. After all the Hero roms I have installed it makes it 20 times faster. Here is the example on my batch file.
Code:
adb install apps\art.wild.gdocs.apk
adb install apps\at.abraxas.mountusb.apk
adb install apps\com.a0soft.gphone.aTrackDog.apk
adb install apps\com.androidapps.widget.battery.apk
adb install apps\com.ap.AppDock.apk
TimSykes said:
Great app, but if your going to install a lot of apps after a wipe I find it better to setup a .bat file and just run it. After all the Hero roms I have installed it makes it 20 times faster. Here is the example on my batch file.
Code:
adb install apps\art.wild.gdocs.apk
adb install apps\at.abraxas.mountusb.apk
adb install apps\com.a0soft.gphone.aTrackDog.apk
adb install apps\com.androidapps.widget.battery.apk
adb install apps\com.ap.AppDock.apk
Click to expand...
Click to collapse
This idea intrigues me... are you running the .bat file from the tools folder or have you set up an environmental variable?
yeah I have the batch file in mt tools folder, and a apps folder that hold all my .apk in that tools folder as well.
TimSykes said:
yeah I have the batch file in mt tools folder, and a apps folder that hold all my .apk in that tools folder as well.
Click to expand...
Click to collapse
Wonderful, thanks!
glad to help
it would be nice if it had option of reinstalling when app is installed (adb install -r)
Huge thanks goes to the author of this. Speaking for the masses, I really want to thank you for making this.

Howto Fix install issues specifiacally apps that fail with error code -18

NOTE: Root is required
When an application fails to install - even side loads - an error message is logged.
First thing to check is the logcat -> it will point to a secure file issue.
for error -18 it is
smdl2tmp1.asec
this file, and all other *.asec files are in the /mnt/secure/ directory.
If this file cannot be removed by the installing application a failure message results.
to manually remove this file you need a terminal application
android terminal emulator works just fine.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 1.
launch the terminal application of choice
Step 2.
SU
Step 3.
At the # command prompt type
cd /mnt/secure/asec/
Step 4.
type
ls
This will locate the file causing the issue.
Step 5.
type
rm smdl2tmp1.asec
Step 6.
close the terminal application
Step 7.
enjoy the fruits of your labor by installing the application that initially failed.
Thanks, manikin13!
Do you know any other error codes?
joe75 said:
Thanks, manikin13!
Do you know any other error codes?
Click to expand...
Click to collapse
I believe this fix works on most install error codes.
Interesting. Been getting the Error code 18 when attempting to install VitalPlayer. (Vegan Beta1) Folowed your steps to the letter (miss DOS at times) but that folder appears empty. Actually there is no asec folder on either sdcard or sdcard2. Did I miss something? thanks
skeeterpro said:
Interesting. Been getting the Error code 18 when attempting to install VitalPlayer. (Vegan Beta1) Folowed your steps to the letter (miss DOS at times) but that folder appears empty. Actually there is no asec folder on either sdcard or sdcard2. Did I miss something? thanks
Click to expand...
Click to collapse
Are you using a terminal app on the tablet?
this folder does not show up without using a terminal app on the tablet.
once in the terminal app
cd to /mnt/secure/ to see the files. There is no asec folder. The file extension is asec as in *.asec
You bet. Android terminal emulator from the market. At /mnt (via FileManager) there are folders named secure and asec. Both are empty. Notice that when I cd to even mnt/secure I get same message "not found" Verrrrrrrry interesting!
skeeterpro said:
You bet. Android terminal emulator from the market. At /mnt (via FileManager) there are folders named secure and asec. Both are empty. Notice that when I cd to even mnt/secure I get same message "not found" Verrrrrrrry interesting!
Click to expand...
Click to collapse
I saw the samething that nothing shows up in any file manager. only in the terminal ls do the files show up.
you should definitely get a not found for mnt/secure as the actual path is
/mnt/secure/asec/
the initial / is the root of the OS. (linux or unix)
so you are looking for a dir under root called mnt -> /mnt
so if you are having difficulty finding the full path break it down into each step, and do a ls to find the next step
ie
cd /
ls
cd mnt
ls
cd secure
ls
cd asec
ls
etc
hope that helps
Permission denied in Terminal
How do I get terminal permissions?
JackedNY said:
How do I get terminal permissions?
Click to expand...
Click to collapse
Typically typing su at the $ prompt should bring up the superuser prompt (allow / deny) as seen on screen 3. If not you should be able to go into the superuser app, and specifically add terminal.
once you allow the su request the prompt should change to the
# symbol
That did it. Only difference this time was I added the ls step you suggested (ls same as dir in DOS?) Got to where I needed to be and deleted the *.asec. Thanks.
skeeterpro said:
That did it. Only difference this time was I added the ls step you suggested (ls same as dir in DOS?) Got to where I needed to be and deleted the *.asec. Thanks.
Click to expand...
Click to collapse
Exactly
Dos = Dir
Linux, Unix, OsX, Android = ls (small letters)
Awesome little tut
Was having the same issue - but not receiving an error when attempting to install - walked straight through - had to stop in the dir and see the filename to rm but worked like a champ - thanks!
Thanks for this great walk through. I followed it and was able to correct the problem I was having with some installs. I knew intellectually that Android was similar to Linux, but I did not realize how close it is. It is good to see that my Linux knowledge, I know enough to get me into and sometimes out of trouble (Linux Abuser) , can be applied somewhere else.
Thanks again!
linesma said:
Thanks for this great walk through. I followed it and was able to correct the problem I was having with some installs. I knew intellectually that Android was similar to Linux, but I did not realize how close it is. It is good to see that my Linux knowledge, I know enough to get me into and sometimes out of trouble (Linux Abuser) , can be applied somewhere else.
Thanks again!
Click to expand...
Click to collapse
Android is actually very close to OsX in the respect that it is gui first, with the BSD base doing the heavy lifting.
Android is linux in the background with a gui first to allow the ordinary user some familiarity. The reason linux on the phone is not popular and linux on the desktop is not mainstream is because the command line gets equal or higher billing.
Google was smart with Android (basically a linux port with java framework) by promoting it as a gui just like iOS even though to truely see all the potential you need to get to the command line.

[Q] Rooting A Kindle Fire HD On Something Other Than Windows

Hi all,
I was wondering if anyone has had any luck rooting a Kindle Fire HD 7" on a Mac or Linux? I don't have access to a Windows PC at the moment so all these automated tools aren't much help at the moment. I've been attempting to follow the following steps:
Code:
adb shell
rm -r /data/local/tmp
ln -s /data/ /data/local/tmp
exit
adb reboot
adb shell
echo 'ro.kernel.qemu=1' > /data/local.prop
exit
(I couldn't post an outside URL so those are the start of the steps)
And I followed the connect to ADB instructions from developer.amazon.com to get my Mac connecting to my Kindle correctly (yet again, not allowed to post links yet)
I believe I have everything I need installed and have followed instructions for Mac but when I attempt to follow the steps, the first set all fail as I don't have access to /data/. Any clues on what I'm missing? I've seen lots of "try this" answers of here but they are often Windows specific.
ADB Communication Issues
LTheobald said:
Hi all,
I was wondering if anyone has had any luck rooting a Kindle Fire HD 7" on a Mac or Linux? I don't have access to a Windows PC at the moment so all these automated tools aren't much help at the moment. I've been attempting to follow the following steps:
Code:
adb shell
rm -r /data/local/tmp
ln -s /data/ /data/local/tmp
exit
adb reboot
adb shell
echo 'ro.kernel.qemu=1' > /data/local.prop
exit
(I couldn't post an outside URL so those are the start of the steps)
And I followed the connect to ADB instructions from developer.amazon.com to get my Mac connecting to my Kindle correctly (yet again, not allowed to post links yet)
I believe I have everything I need installed and have followed instructions for Mac but when I attempt to follow the steps, the first set all fail as I don't have access to /data/. Any clues on what I'm missing? I've seen lots of "try this" answers of here but they are often Windows specific.
Click to expand...
Click to collapse
Yes we Root Kindles on both SuSe Linux and MAC OS X.
The key is to get the correct driver installed. Have you downloaded the
Android SDK for your platform? You can obtain a copy for your
platform here: http://developer.android.com/sdk/index.html
Once you have completed a successful Android SDK install and upgrade,
Then you install the driver under the "Extras" folder. If you
need more help PM us, we offer free support to anyone in the
XDA Community.
prokennexusa said:
The key is to get the correct driver installed.
Click to expand...
Click to collapse
I think you're right there. I've tried to install the Kindle USB driver but the Android SDK manager tells me it's not compatible with OSX (I'm running Mountain Lion):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've seen a couple of posts saying that you shouldn't need a driver on OSX & Linux (and I do seem to be able to install apps to my Kindle via ADB) but maybe those are wrong. I'll have a look around and see what I can find. Otherwise, I'll ask for a bit more help!
Hmmm... Still no luck. I can connect to the KFHD fine. I can reboot it, push files etc. But I don't have access to /data/. So when following the steps for the various exploits, they all fail. At somepoint they all try to do something like:
adb shell "echo ro.kernel.qemu=1 > /data/local.prop"
And that has never worked for me (permissions denied). The only points before this are creating the symlink to /data/ at /data/local/tmp (which went fine) but that doesn't seem to help at all Time to find & load up a Windows VM and see if I can do it via Windows.
Finally got the thing working Will post up how I did it via my Mac later today for anyone else struggling.
Root and Google Play for Amazon 7" Kindle Fire HD Software Version 7.2.3
LTheobald said:
Finally got the thing working Will post up how I did it via my Mac later today for anyone else struggling.
Click to expand...
Click to collapse
Good Job!
We will be adding How to Root the Kindle Fire HD 7" from MAC and Linux Noob (Simple) Edition
today. When you see the post, do you mind looking at it and letting us know if it makes sense?
Thanks!

How to dual boot on me176cx part 1

This is only first part. In this part, I will NOT mention any OSes. I will teach you how to run rEFInd on this device.
In other parts, I will edit rEFInd's config file to make it really "work". BUT, after this tutorial, you may fell happy that dual boot will most likely work on the device you just hod in your hands.
This guide is for me176cx only. Steps for other devices may be similar, only try to do this on other devices if you are sure you know where the differences are and how to change the commands!
So let's begin!
My tablet before doing anything
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
on http://www.rodsbooks.com/refind/getting.html , click on get binary zip file
Extract the downloaded zip
look for the folder "refind" inside the extracted folder
////////////////////////////////////////////////////////////////////////////
Now, we need to move it to Efi System Partition.
Istall busybox. Then, install Android Terminal Emulator.
Using some file browser with root rights, make a folder in the root of your device's memory called "esp"
Then, mount Efi System Partition on it:
Run the Android Terminal Emulator, type su, and confirm the SuperUser dialog.
Then, type: busybox mount /dev/block/mmcblk0p3 /esp
it should have no output.
Then, copy the "refind" folder to file system root.
Then (using terminal emulator) copy the refind folder to the ESP.
Then, make sure it is really there
Then write: busybox umount /esp
///////////////////////////////////////////////////////////////////////
Now, add rEFInd's binary to bootorder and set the bootorder to !!!NOT!!! boot it first, becouse you have to test it first (and you do not want to run and buy the first powered hub to be able to get back in android some complicated way)
Download this file and move it to some location where you will execute it from:
http://forum.xda-developers.com/showpost.php?p=62429430&postcount=2740
(Thanks to social-design-concepts for compiling this to work on android)
Issue this command (the paste function does not work in terminal emulator so you have to rewrite it by hand)
Then, make sure the path is set well:
Then, set the boot order to boot Android first by ./efibootmgr64 -o 0001,0000
Then, set the next boot (only next boot) to rEFInd
////////////////////////////////////////////////////////////////////
Now, just power off the tablet, (do not restart) and power it on again. You will see rEFInd, but you cannot do much without powered hub.
So if you have one, look around with keyboard. If you do not have one (like me), just power off the tablet by holding the power button, power it on again and wait for the next part of this tutorial
EDIT:
tuxic001 edited rEFInd binary so you can select what to boot.
http://forum.xda-developers.com/showpost.php?p=62463032&postcount=60
\\\_///
P.S If you use nandroid backup to update, you only update kernel and ROM (or recovery, fastboot, esp partition and whatever the other partitions are), depends on what you backup. And I don't think UEFI is stored on EMMC, so if UEFI update (or bootloader, recovery, etc. update) is present, you are totally ignoring it. On the other hand, UEFI update is a risk of not being able to access it..
Is refind working with touch or volume\power keys?
A powered hub is non-optional. OTG power is super finicky on this tablet, especially if you're adding a flash drive on top of mouse and KB
t68kv said:
Is refind working with touch or volume\power keys?
Click to expand...
Click to collapse
Voume keys work, but power key doesn't. But tuxic001 is working on editing the source code so it will. Maybe tomorrow this time it will work
Good And Bad news
Which you want to hear first?
Look fo EDIT in the main post.
I also got my tablet down, it boots only to UEFI as there's no efi bootloader to load anymore.... I'll run and get a powered usb hub to try to use the UEFI, cause the vol keys don't cut it.
Awesome guide @Mis012. I got it working on my Lenovo Tab S8-50F.
Did you have a chance to try dual booting anything yet?
EDIT: Making progress
Shump said:
Awesome guide @Mis012. I got it working on my Lenovo Tab S8-50F.
Did you have a chance to try dual booting anything yet?
EDIT: Making progress
Click to expand...
Click to collapse
Yeah I have run grub 2, it was nice. I got stuck somewhere in kali linux booting process, and then ubuntu-based dostros said bad kernel magic number blah blah. So I tried abother grub. First I found was nice, but still not working with ubuntu. So I tried to use ununtu's grub. It didn't show up in rEFInd. Now I can't find the good grub again What about your progress? Did you need to use powered OTG cable?
EDIT: found working grub again, kali linux stuck at this error: http://unix.stackexchange.com/quest...o-find-a-medium-containing-a-live-file-system
Any new?? This tutorial works on Lollipop?? If do this tutorial exist any risk for example brick??
Can you do a tutorial and upload to youtube??
or someone explain me the process?
Thanks in advance.:good:
I get invalid argument on the first command lenovo tab s8
Somewhat more wrong the error invalid argument to execute the first command and at least a thousand times but nothing works I have root and I do everything to the letter I tried on the asus tablet of the same model and my Lenovo Yoga Tab 3 and same error
jet_98 said:
Somewhat more wrong the error invalid argument to execute the first command and at least a thousand times but nothing works I have root and I do everything to the letter I tried on the asus tablet of the same model and my Lenovo Yoga Tab 3 and same error
Click to expand...
Click to collapse
have you installed busybox? as simple as that.

Probably A Simple Question

Hi I am trying to learn Linux better so I can dump my android boot.img. I was able to figure out the unpackbootimg tool and the dump part, but I am caught up on something that will probably be simple for you guys, how do I access the Documents folder in CLI?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I couldn't figure it out so I typed a . to see if the unpack tool would get past the segmentation fault and it did, but idk where it put the kernel and ramdisk.. so if someone could help me at all I'd appreciate it.
Edit I remembered the sudo nautilus command and was able to locate the root directory and find my kernel and ramdisk
But if someone is able to help me with the exact pathing to Documents that would help me a lot
Well I figured it out before anyone woke up I guess XD
Spoiler: show
The trouble is that is too long for what I was trying to do and since the . period works for root like it does android I just built in the root folder. Is this bad? I am trying to make the steps easy for other users to recreate.
bootimg.zip
drive.google.com
For instance, if user takes these tools and unzips them. The instructions go like this:
Add your boot.img to the bootimg folder
Open terminal, run this code:
sudo nautilus
paste bootimg in the root folder
Open the bootimg folder. Right click and open terminal.
Run this code to install 32 bit binary support:
sudo apt-get install gcc-multilib -y
Then Run this code to extract the kernel and ramdisk from boot.img
sudo ./unpackbootimg -i boot.img -o /bootimg/bootmod
The kernel and ramdisk files will be in bootmod
Ref:
How to extract boot.img?
I am trying to see the content in a boot.img file from an Android image. I googled and found this article to extract system.img, but it doesn't work for boot.img. When trying to do this for boot.i...
unix.stackexchange.com
Spoiler: visual
TBH I am going to use a tool that Miss Renate shared for windows since it will be easier to walk others through.
BUT Just So I stand a better chance of having my one linux question I have left, answered, I will re-ask here so no one has to read through my mess.
Is it bad to build a toolset in the root directory on linux, or What Exactly is the root file system on linux in comparison to a windows system?
Why do windows users not have that or is that like the hidden files and folders on windows? Like this example?
Spoiler: SHOW
the slightly faded hidden folders like app
I appreciate anyone that can answer the question in this context. I am trying to understand file systems specifically, and since I take things to literally, it really makes it hard to just google this.
Plus google is more of a rabbit hole these days without dorks and dorks involve time.. maybe someone can just explain it in a way that makes sense. Thank you...
So two months later and I figured out how to answer my original question.
Adding a "~" to the beginning of a home folder name will allow you to access the Documents, Downloads, and other Home folders without having to type in the entirety of the home path (/home/x0110/Downloads)
cd ~/Downloads
mkdir ~/Documents/Blahblahblah
"~" allows you to execute commands outside of the folder too
example:
mkdir ~/android/system_dump/
cd ~/android/system_dump/
unzip ~/Downloads/lineage-17.1-20220202-nightly-mdarcy-signed.zip
The code above was able to change into the android/system_dump folder and then take the contents of the lineage zip in downloads and paste it into system_dump.
I don't quite understand much of anything well enough to answer the root file system question but will come back to it when it is understood if no one else does
jenneh said:
So two months later and I figured out how to answer my original question.
Adding a "~" to the beginning of a home folder name will allow you to access the Documents, Downloads, and other Home folders without having to type in the entirety of the home path (/home/x0110/Downloads)
cd ~/Downloads
mkdir ~/Documents/Blahblahblah
"~" allows you to execute commands outside of the folder too
example:
mkdir ~/android/system_dump/
cd ~/android/system_dump/
unzip ~/Downloads/lineage-17.1-20220202-nightly-mdarcy-signed.zip
The code above was able to change into the android/system_dump folder and then take the contents of the lineage zip in downloads and paste it into system_dump.
I don't quite understand much of anything well enough to answer the root file system question but will come back to it when it is understood if no one else does
Click to expand...
Click to collapse
you can use cd Downloads as long as the "Downloads" folder at your HOME Directory
and any folder of that like a Music, Documents
I am using Ubuntu 22.04.02 with X11 Desktop Environment

Categories

Resources