Added Kindle Unbrick V0.1 to Kindle Fire Utility - Kindle Fire Android Development

I'n new to XDA. So I decided to show some support in the Forums.
I take no Credit for Kindle Fire Utility or Kindle Unbrick V 0.1
Good Day!
Download - Here
Warning! Now in BETA!!
Feed back would be appreciated.
If you would Like me to add a program to this Project please message me.
{
"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"
}
Update - 09-26-2012
Finished the coding and re-updated link.
I do need somebody to test it if you don't mind.
Also, can a admin please move this thread back to the Developmental Forum.
Update - 10-14-2012
Fixed my Kindle! Yay!
Now testing software and should be finished very soon!

Chat_Ghosty said:
I'n new to XDA. So I decided to show some support in the Forums.
I take no Credit for Kindle Fire Utility or Kindle Unbrick V 0.1
Just adding then together.
Due to my current Kindle Problem. (I will not go into details)
I thought this would be helpful.
I would suggest somebody more skilled then me check the code and make sure no Kindles Explode due to this.
U will find Kindle Unbrick under Extras. Option 8.
Good Day!
Download - Here
If wanted. I can try and Make a GUI With C#. But no Promise.
Feed back would be appreciated.
Click to expand...
Click to collapse
I don't recall you asking me for usage of my code. Also, version 0.1 of my unbrick utility is old (Not that it matters). To go along with that, I highly doubt you obtained approval for this from the Kindle Fire Utility creator. Please take down this thread, and the download link immediately.

If you open Kindle Fire Utility and look at the Third and Forth line of coding you will find the Following.
::You are free to tweak or modify this as you see fit,
::Just please be respectful is all I ask
And you are correct. I did not ask, but then I did give all credit to the KFU and KU Developers.
If you don't mind, may you please Message me personally to resolve this Issue.

I am cool with it as long as credit remains.
Just don't call what you did your own, and I'm fine.
I had plans for a GUI and got halfway there or so however, it reached a point where the Kindle is slowing down in terms of people needing something like this so I just focus on keeping it running if there are problems.
If amazon releases a new kindle and a gap needs to be filled, I'm sure ill step into making something for it.

I would like to see a gui! Very cool
Sent from my MB870 using xda premium

If you did not make it, it does not belong in the development forum.
Moving to General

s.d.oconnor said:
If you did not make it, it does not belong in the development forum.
Moving to General
Click to expand...
Click to collapse
I understand where your coming from but he made the GUI for combining both programs. In my opinion, it should stay in dev section because he developed the program to combine the two. Im not trying to be bossy or mean or anything, but I just believe it should be in dev section. Sorry for sounding mean.

Zombiepiratez said:
I don't recall you asking me for usage of my code. Also, version 0.1 of my unbrick utility is old (Not that it matters). To go along with that, I highly doubt you obtained approval for this from the Kindle Fire Utility creator. Please take down this thread, and the download link immediately.
Click to expand...
Click to collapse
I don't think you asked Amazon to mess around with the bootloader.
Anyway, has anyone tried this? This looks like a good app.

Are you just taking the original code and just adding a GUI with VisualBasic? Because you may need some major tweeks to get a CMD based code to work with VB'S GUI. Just sayin'
Sent from my Kindle Fire

shravbits said:
Are you just taking the original code and just adding a GUI with VisualBasic? Because you may need some major tweeks to get a CMD based code to work with VB'S GUI. Just sayin'
Sent from my Kindle Fire
Click to expand...
Click to collapse
Your are correct. But I'm a Bit stuck on the developmental stage. I'm using C# because that what I'm better at. I used the command
Code:
System.Diagnostics.Process.Start(@" File ");
Ill be honest. I could use some help with the Command Lines for ADB.
I programmed it so that if it needed to be updated so you did not need to know any C#. Ironic, No.
I just updated the File and it should work perfect once the Batch files are programmed.

x10knight said:
I don't think you asked Amazon to mess around with the bootloader.
Anyway, has anyone tried this? This looks like a good app.
Click to expand...
Click to collapse
I no longer dissaprove of this application, but I just have to say something to you.
I did not modify Amazon's code in anyway, nor did I redistribute it.
Even if I did, the Kindle Fire's source code was released for anyone to use, mine was NOT.
I prefer if people ask me before they redistribute my code, that's all.

Chat_Ghosty said:
Your are correct. But I'm a Bit stuck on the developmental stage. I'm using C# because that what I'm better at. I used the command
Code:
System.Diagnostics.Process.Start(@" File ");
Ill be honest. I could use some help with the Command Lines for ADB.
I programmed it so that if it needed to be updated so you did not need to know any C#. Ironic, No.
I just updated the File and it should work perfect once the Batch files are programmed.
Click to expand...
Click to collapse
If you ever need help with VisualBasic, private message me, I could help.
Sent from my Kindle Fire

Zombiepiratez said:
I no longer dissaprove of this application.
Click to expand...
Click to collapse
May I ask why you did before?
Zombiepiratez said:
I did not modify Amazon's code in anyway, nor did I redistribute it.
Click to expand...
Click to collapse
True.
Zombiepiratez said:
I prefer if people ask me before they redistribute my code, that's all.
Click to expand...
Click to collapse
Me or Him?
Thank You!

Chat_Ghosty said:
May I ask why you did before
Click to expand...
Click to collapse
Because you didn't ask him
Chat_Ghosty said:
Me or Him?
Click to expand...
Click to collapse
You

powerpoint45 said:
Because you didn't ask him
You
Click to expand...
Click to collapse
Never knew that the bootloader was opensource...

x10knight said:
Never knew that the bootloader was opensource...
Click to expand...
Click to collapse
From the coding that I looked at he did no modification of the boot loader. You just said what state it was to load in.
Example. Normal, Safe Mode, and Recovery for windows OS.
You never edited the Boot loader, you just picked how to load the OS.
Also, is Android OS not made from Ubuntu OS?
Please correct if wrong.
Also, does all Android OS have the same-ish boot loader? And Kindle just added the Kindle Fire Logo?
Also! Did anybody hear about the Next Kindle Fire? The Kindle Fire HD! (How Original!)

Android is not based on ubuntu, however it is based on the linux kernal ( 3.0 in ics and jellybean)

x10knight said:
Android is not based on ubuntu, however it is based on the linux kernal ( 3.0 in ics and jellybean)
Click to expand...
Click to collapse
I used a Program that came with CM9 and for some reason it said it ran Ubuntu Kernel. Oh Well.
It's the week end. I should be able to do some coding. I might have it finished this week end.

Will this work.
And I think this might work.
Code:
@echo off
Tools\adb kill-server
Tools\adb start-server
set adb="Unknown"
set tmp=""
set adbcomp="List of devices attached"
for /f "tokens=1-4" %%a in ( 'tools\adb devices ^2^> nul' ) do ( set tmp="%%a %%b %%c %%d" )
if /i %tmp% == %adbcomp% ( set adb=Offline)
if /i not %tmp% == %adbcomp% ( set adb=Online)
if "%adb%" == "Offline" (
tools\fastboot -i 0x1949 oem idme bootmode 4000
tools\fastboot -i 0x1949 reboot
end
) else (
tools\adb wait-for-device
tools\adb push files\nbmode /data/local/nbmode
tools\adb shell chmod 755 /data/local/nbmode
tools\adb shell /data/local/nbmode
tools\adb reboot
end
Can somebody test this?

Chat_Ghosty said:
And I think this might work.
Code:
@echo off
Tools\adb kill-server
Tools\adb start-server
set adb="Unknown"
set tmp=""
set adbcomp="List of devices attached"
for /f "tokens=1-4" %%a in ( 'tools\adb devices ^2^> nul' ) do ( set tmp="%%a %%b %%c %%d" )
if /i %tmp% == %adbcomp% ( set adb=Offline)
if /i not %tmp% == %adbcomp% ( set adb=Online)
if "%adb%" == "Offline" (
tools\fastboot -i 0x1949 oem idme bootmode 4000
tools\fastboot -i 0x1949 reboot
end
) else (
tools\adb wait-for-device
tools\adb push files\nbmode /data/local/nbmode
tools\adb shell chmod 755 /data/local/nbmode
tools\adb shell /data/local/nbmode
tools\adb reboot
end
Can somebody test this?
Click to expand...
Click to collapse
Oh Well. I updated the Program and now in BETA Phase. See Post one for details.

Related

[SGY] Openline & reNetLock [Revised] Updated [Tested] + ScreenShots

DONT COPY PASTE TO OTHER FORUM WITHOUT ASKING THE AUTHOR
I HATE NOOB LEECHERS
GIVE PROPER CREDITS TO THE DEV and OP
OPENLINE YOUR SGY
Thanks to sir DOKY73 for this adb shell script..
BY sir DOKY73
I explicitly warn again everyone,
If you do not really understand what you do inside the shell, then wait for some!
YOU CAN POTENTIALLY HARM YOUR DEVICE!
If you doing something wrong with bml15, you might cause unrecoverable issues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Code:
Requirements:
1: [URL="http://www.samsung.com/us/support/downloads"]SAMSUNG DRIVER[/URL] or [URL="http://www.samsung.com/us/kies/"]SAMSUNG KIES[/URL]
2: [URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html"]JAVA DEV KIT[/URL]
3: [URL="http://developer.android.com/sdk/index.html"]ANDROID SDK[/URL]
4: Root Your SGY [URL="visit me"]visit me[/URL] or [URL="http://forum.xda-developers.com/showthread.php?t=1534510"]visit me too[/URL]
Click to expand...
Click to collapse
STEPS:
1.>Connect your SGY to the PC, using the USB cable.
2.>Access the command prompt in your Windows computer. In order to do that, click on Start button, and in the search field, type ‘cmd.exe’. Once found, open it. In this window you need to head to the folder where Android SDK has been installed.
{
"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"
}
3.>enter this codes on cmd
[note: when typing commands,,please wait for the # to show in the cmd before typing another command]
[note: start and ADB shell session into your phone by 'ADB shell' in Windows, './adb shell' in linux then copy line by line the following. If you got error, then stop, and report the issue!]
Code:
ADB shell
su #<- Check phone screen to grant root access, and wait for # prompt in shell
mkdir /sdcard/SGYunlock #<-check if the folder has been created, and no error
stop #<-the phone will freeze, It's OK!
dd if=/dev/bml15 of=/sdcard/SGYunlock/bml15.img.SAVE #<- Do it ONLY ONCE!!!!
dd if=/dev/zero bs=1 count=16 of=/dev/bml15 seek=524360
dd if=/dev/zero bs=1 count=1 of=/dev/bml15 seek=525392
start #<-the phone will restart
exit #<- exit from root shell
exit #<- exit from shell
Click to expand...
Click to collapse
4.>restart your SGY if it did not restart automatically
TO reNetLock TO DEFAULT NETWORK PROVIDER
Code:
Requirements:
1: [URL="http://www.samsung.com/us/support/downloads"]SAMSUNG DRIVER[/URL] or [URL="http://www.samsung.com/us/kies/"]SAMSUNG KIES[/URL]
2: [URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html"]JAVA DEV KIT[/URL]
3: [URL="http://developer.android.com/sdk/index.html"]ANDROID SDK[/URL]
4: Root Your SGY [URL="visit me"]visit me[/URL] or [URL="http://forum.xda-developers.com/showthread.php?t=1534510"]visit me too[/URL]
5:
Click to expand...
Click to collapse
STEPS:
1.>Connect your SGY to the PC, using the USB cable.
2.>Access the command prompt in your Windows computer. In order to do that, click on Start button, and in the search field, type ‘cmd.exe’. Once found, open it. In this window you need to head to the folder where Android SDK has been installed.
3.>enter this codes on cmd
Code:
ADB shell
su #<- Check phone screen to grant root access, and wait for # prompt in shell
stop #<-the phone will freeze, It's OK!
dd if=/sdcard/SGYunlock/bml15.img.SAVE of=/dev/bml15
start #<-the phone will restart, put default SIM and use!
exit #<- exit from root shell
exit #<- exit from shell
Click to expand...
Click to collapse
4.>restart your SGY if it did not restart automatically
Credits to:
Doky713
Codeshark
Izghitu
ALbavizion
Mikstev
ORIGINAL DEV
OPENLINE SOURCE THREAD
DOWNOAD OLD THREAD HERE
To remove Network Subnet Lock by Mikstev
note: do this after openlining your SGY
back up the original bml15.img.SAVE or rename SGYunlock folder to SGYunlock1 before proceeding
Code:
cmd.exe
ADB shell
su #<- Check phone screen to grant root access, and wait for # prompt in shell
mkdir /mnt/sdcard/SGYunlock
cd /mnt/sdcard/SGYunlock
stop #<-the phone will freeze, It's OK!
dd if=/dev/bml15 of=bml15.img.SAVE #<- Do it ONLY ONCE!!!!
start #<-the phone will restart, put any SIM and use!
edit bml15.img.SAVE:
(0×80049 and 0×80450) change 01 to 00
save as bml15_unlocked.img.SAVE.
ADB shell
su
cd /mnt/sdcard/SGYunlock
stop #<-the phone will freeze, It's OK!
dd if=bml15_unlocked.img.SAVE of=/dev/bml15 copy back file
start #<-the phone will restart, put any SIM and use!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
DONT COPY PASTE TO OTHER FORUM WITHOUT ASKING THE AUTHOR
I HATE NOOB LEECHERS
GIVE PROPER CREDITS TO THE DEV and OP
Things (files) you will be needing to open line:
(1)Go to the link and choose your OS version (windows,mac or linux)
--->Android SDK
(2)If you don't have java installed
--> Java SDK
(3)Use (drivers) if pc doesn't recognize the device
--->Samsung drivers
(4)Rooted phone (for SU permissions)
---> Root
(5)Usb cable
(6)Guts!!
New update:
Guys!!! try mr. Doky73's ---> network unlock app
if you liked it, consider donating
or
Press their thanks button!!
Credits to:
devion14
Doky73
contributors:
izghitu
codeshark
dont wanna try cause there is a possibility that my CP will brick
eReNz said:
dont wanna try cause there is a possibility that my CP will brick
Click to expand...
Click to collapse
that is why it is not for noob andd fainthearted...youll brick it?then restore it..so simple...
will delete soon....seems like its not important
devion14 said:
will delete soon....seems like its not important
Click to expand...
Click to collapse
please do understand that not all people here are adept when it comes to "techy stuff" and not all are willing to take risks so don't feel sad if your thread seems to be underrated.
Facebook Page
just getting board......have you done this?
can you give me screen shots on pc?
OP thanks for the info, i was able to change my provider to another one.
did anybody found a code which accepts all the different sims?
its tedious to edit bml15 every time i want to swap a sim.
maybe we could ask openline phones to upload their bbml15.bin so i can compare the strings on the addresses...they would be on same address
leodasal2 said:
please do understand that not all people here are adept when it comes to "techy stuff" and not all are willing to take risks so don't feel sad if your thread seems to be underrated.
Click to expand...
Click to collapse
techie stuff
s5360user said:
OP thanks for the info, i was able to change my provider to another one.
did anybody found a code which accepts all the different sims?
its tedious to edit bml15 every time i want to swap a sim.
Click to expand...
Click to collapse
Create a script to automate the process (theory).
maybe you could make one?? but the important thing is the mcc mnc of an openlined bml15.bin
devion14 said:
maybe we could ask openline phones to upload their bbml15.bin so i can compare the strings on the addresses...they would be on same address
Click to expand...
Click to collapse
and you must post this thread on Android Development to gather some users bbml15.bin
already done that...maybe forum mods might want to move it there
An appeal to upload your "openline/unlocked" bml15.bin
guys, if anyone of you have an unlocked/openline phone, please upload your bml15.bin.. Seriously, this thread booms with potential. You can at last forget about going to a service center just to get your unit openlined.
@devion14
i'll be making a flashable zip if there is an openline bml15.bin uploaded. and i expect you will be the first daredevil to try and attest the validity of this thread
PS. I wonder if bmlunlock will work with this bml15.bin.
HCFroyd247 said:
guys, if anyone of you have an unlocked/openline phone, please upload your bml15.bin.. Seriously, this thread booms with potential. You can at last forget about going to a service center just to get your unit openlined.
@devion14
i'll be making a flashable zip if there is an openline bml15.bin uploaded. and i expect you will be the first daredevil to try and attest the validity of this thread
PS. I wonder if bmlunlock will work with this bml15.bin.
Click to expand...
Click to collapse
Agree. Perhaps in millions of SGYs shipped there is at least 1 who is factory unlocked?
HCFroyd247 said:
guys, if anyone of you have an unlocked/openline phone, please upload your bml15.bin.. Seriously, this thread booms with potential. You can at last forget about going to a service center just to get your unit openlined.
@devion14
i'll be making a flashable zip if there is an openline bml15.bin uploaded. and i expect you will be the first daredevil to try and attest the validity of this thread
PS. I wonder if bmlunlock will work with this bml15.bin.
Click to expand...
Click to collapse
i bet it wont work cause imei conflict..
CarlDeanCatabay said:
Agree. Perhaps in millions of SGYs shipped there is at least 1 who is factory unlocked?
Click to expand...
Click to collapse
i bet not one but depends on the order
CarlDeanCatabay said:
techie stuff
Click to expand...
Click to collapse
wow, i was clearly bothered by the exaggerated response (huge fonts) you had on my post. I'm glad you pointed that out (sarcastic).
WORKING!!

[REF]Terminal Emulator Commands ! (Android shell command reference)

Okay guys the following is a Documentation from 'Jackpal' for his awesome app terminal emulator which helped me a lot in learning various stuff so i thought i'd share it here for some of you who may find it use full !
All credits :Jackpal - See here
Android Shell Command Reference Page History
A "shell" is a program that listens to keyboard input from a user and performs actions as directed by the user. Android devices come with a simple shell program. This shell program is mostly undocumented. Since many people are curious about it I thought I'd write up some documentation for it.
Common problems
The built-in shell has very limited error handling. When you type a command name incorrectly it will say "permission denied", even though the real problem is that it couldn't find the command:
$ dir
Click to expand...
Click to collapse
dir: permission denied <---- this is a misleading error message, should say 'dir: not found'
$ ls
Click to expand...
Click to collapse
... listing of current directory
The PATH variable
The Android shell will run any program it finds in its PATH. The PATH is a list of directories. You can find out what your shell's PATH is set to by using the built-in echo command:
$ echo $PATH
/data/local/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
Click to expand...
Click to collapse
Depending upon your shell, you may see a different result.
Built in Commands
Every shell has a few built-in commands. Some common built-in commands are:
echo -- prints text to stdout.
set -- sets shell variables
export -- makes shell variables available to command-line programs
cd -- change the current directory.
pwd -- print name of the current directory.
Commands
To find out what commands you have available to you, use the "ls" command on each of the directories in the PATH variable.
Finding documentation for the Android commands.
Many of the Android commands are based on standard Linux (or bsd) commands. If you're curious about a command, you can sometimes learn how it works by using the "man" command on a desktop Linux or OSX (Apple Macintosh) computer. The Linux or OSX version of the command may be different in details, but much of the documentation will still apply to the Android version of the command.
Another source of documentation for people without a Linux or OSX machine handy is to use a web browser and use a web search engine to search for the text: "man Linux command-name".
List of commands
The following is a list of the commands that are present on a Nexus S phone running an Android 2.3.3 "user-debug" build. Many of these commands are not present on a "user" phone. (They are missing from a "user" phone because they are specific to developing or debugging the Android operating system.)
$ ls /data/local/bin
/data/local/bin: No such file or directory
Click to expand...
Click to collapse
Notice that by default there is no /data/local/bin directory. You can create this directory using the "mkdir" command if you like.
$ ls /sbin
Click to expand...
Click to collapse
opendir failed, Permission denied
The /sbin directory exists, but you don't have permission to access it. You need root access. If you have a developer phone, or otherwise have root access to your phone you can see what's in this directory.
$ su
# ls /sbin
ueventd
adbd
# exit
$
Click to expand...
Click to collapse
Notice that the shell prompt changes from a '$' to a '#' to indicate that you have root access.
Notice also that neither of the /sbin commands are useful to the shell -- the adb and ueventd files are 'daemon' programs used to implement the Android Debugger "adb" program that is used by developers.
$ ls /vendor/bin
gpsd
pvrsrvinit
Click to expand...
Click to collapse
Vendor/bin is where device vendors can put device-specific executables. These files are from a Nexus S.
$ ls /system/sbin
/system/sbin: No such file or directory
Click to expand...
Click to collapse
This directory does not exist on a Nexus S.
$ ls /system/bin
am
Click to expand...
Click to collapse
am is the Android Activity Manager. It's used to start and stop Android activities (e.g. applications) from the command line. Type am by itself to get a list of options.
amix
aplay
Click to expand...
Click to collapse
Command line audio file player.
app_process
applypatch
Click to expand...
Click to collapse
Used to apply patches to android files.
arec
Click to expand...
Click to collapse
Command line audio recorder.
audioloop
bluetoothd
Click to expand...
Click to collapse
BlueTooth daemon
bmgr
Click to expand...
Click to collapse
Backup manager - type command by itself to get documentation.
bootanimation
Click to expand...
Click to collapse
Draws the boot animation. You may have to reset your phone to get out of this.
brcm_patchram_plus
bugreport
cat
Click to expand...
Click to collapse
Copy the contents of a file to standard output.
chmod
Click to expand...
Click to collapse
Change the mode of a file (e.g. whether it can be read or written.)
chown
Click to expand...
Click to collapse
Change the owner of a file.
cmp
Click to expand...
Click to collapse
Compare two files byte-by-byte
dalvikvm
Click to expand...
Click to collapse
The dalvik virtual machine. (Used to run Android applications.)
date
Click to expand...
Click to collapse
Prints the current date and time
dbus-daemon
dd
Click to expand...
Click to collapse
Convert and copy a file. By default copies standard in to standard out.
debuggerd
dexopt
df
Click to expand...
Click to collapse
Shows how much space is free on different file systems on your device.
dhcpcd
dmesg
dnsmasq
dumpstate
dumpsys
dvz
fsck_msdos
gdbserver
getevent
getprop
gzip
hciattach
hd
id
ifconfig
Click to expand...
Click to collapse
Shows the current configuration of network interfaces (IP, MAC address etc)
iftop
Click to expand...
Click to collapse
Shows the current processes using the network interfaces (top, but for networks)
ime
input
insmod
installd
ioctl
ionice
iptables
Click to expand...
Click to collapse
Manage the firewall
keystore
keystore_cli
kill
Click to expand...
Click to collapse
Send signals to processes.
linker
ln
Click to expand...
Click to collapse
Used to set up a file system link.
log
logcat
Click to expand...
Click to collapse
Prints the Android runtime log.
logwrapper
ls
Click to expand...
Click to collapse
Lists files.
lsmod
lsof
make_ext4fs
mediaserver
mkdir
Click to expand...
Click to collapse
Make a directory.
monkey
Click to expand...
Click to collapse
A program that sends random events, used to test applications. (Like having a monkey playing with the device.)
mount
mtpd
mv
Click to expand...
Click to collapse
Move a file from one directory to another. (Only on the same file system. Use "cat a > b" to copy a file between file systems.
nandread
ndc
netcfg
netd
netstat
newfs_msdos
notify
omx_tests
pand
ping
pm
pppd
printenv
ps
Click to expand...
Click to collapse
List active processes.
qemu-props
qemud
racoon
radiooptions
reboot
Click to expand...
Click to collapse
Reboot the device.
record
renice
rild
rm
Click to expand...
Click to collapse
Remove a file.
rmdir
Click to expand...
Click to collapse
Remove a directory.
rmmod
route
rtp_test
run-as
schedtest
schedtop
sdcard
sdptool
sendevent
service
servicemanager
setconsole
setprop
setup_fs
sh
showlease
sleep
smd
stagefright
start
Click to expand...
Click to collapse
Starts the Android runtime.
stop
Click to expand...
Click to collapse
Stops the Android runtime.
surfaceflinger
svc
sync
system_server
tc
testid3
toolbox
top
Click to expand...
Click to collapse
Shows which processes are currently using the most CPU time.
umount
uptime
Click to expand...
Click to collapse
Prints how long your device has been running since it was last booted.
vdc
vmstat
vold
watchprops
wipe
wpa_cli
wpa_supplicant
$ ls /system/xbin
add-property-tag
btool
check-lost+found
dexdump
dhdutil
hcidump
latencytop
librank
opcontrol
oprofiled
procmem
procrank
rawbu
scp
Click to expand...
Click to collapse
Secure copy program. (Used to copy files over the network.)
showmap
showslab
sqlite3
Click to expand...
Click to collapse
Used to administer SQLite databases.
strace
Click to expand...
Click to collapse
System trace command - use to see what system calls a program makes.
su
Click to expand...
Click to collapse
Start a shell with root privileges.
One more thing if you find that this has been already posted here/is useless/unnecessary don't hate me just drop The_captain a PM and it'll be locked before you know it
nikufellow said:
One more thing if you find that this has been already posted here/is useless/unnecessary don't hate me just drop The_captain a PM and it'll be locked before you know it
Click to expand...
Click to collapse
Lol.. that was a good one.. I don't think this will go down.. nice find.. keep up the good work..:thumbup:
Sent from the MUST have app!
awesome guide,
should be included in the list of need-to-know guides for SGY,
These kind of guides make me feel that just why.???
Why i dont know linux....
I want to know it..
I want to learn it...
I want to do everything that i can do with linux...
Sent from my GT-S5360 using xda premium
menewtoroot said:
These kind of guides make me feel that just why.???
Why i dont know linux....
I want to know it..
I want to learn it...
I want to do everything that i can do with linux...
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
its easy mate just spend a few minutes reading stuff and you'll grab everything!
by the way try Ubuntu 12.04 if you haven't tried yet its the best as of now!
nikufellow said:
its easy mate just spend a few minutes reading stuff and you'll grab everything!
by the way try Ubuntu 12.04 if you haven't tried yet its the best as of now!
Click to expand...
Click to collapse
As i just said...
I am not from linux or ubuntu language...
However after reading this guide i had ask a friend of mine to give me linux disk...
But he is giving me a warning about some kind of hard disk partition...
Nd this is the first thing i dont know about computets ..
So totally
rooting is new for me...and i am noob to root...
Just read a guide on how to dual boot windows and Linux.. you will understand.. still partition.. bit risky for new users..
Sent from the MUST have app!
Hery nice ref ...... Good share..... Its really help all new user......
Sent from my GT-S6102 using Tapatalk 2
nitubhaskar said:
Just read a guide on how to dual boot windows and Linux.. you will understand.. still partition.. bit risky for new users..
Sent from the MUST have app!
Click to expand...
Click to collapse
Okay lets see...
rooting is new for me...and i am noob to root...
menewtoroot said:
Okay lets see...
rooting is new for me...and i am noob to root...
Click to expand...
Click to collapse
rooting is not difficult or dangerous!!! good luck!! :good:
---------- Post added at 11:14 AM ---------- Previous post was at 11:01 AM ----------
thanks for the commands.....they works pretty well!!! but i want to know about the busybox commands....:-/ help me!!
thanks for the thread!!! learned lot of things!
Nice thread
sent from my dream using cm10.1
hi, do you know how to stop a terminal process? I mean, for example if I run logcat, then how can I exit it? in linux I used to press CTRL + C, here in terminal emulator I have to close and reopen the terminal..
also, pressing UP arrow in linux terminals, you see the previous commands you run, is there something similar in android temrinal?
thanks a lot in advance!
moly82 said:
hi, do you know how to stop a terminal process? I mean, for example if I run logcat, then how can I exit it? in linux I used to press CTRL + C, here in terminal emulator I have to close and reopen the terminal..
also, pressing UP arrow in linux terminals, you see the previous commands you run, is there something similar in android temrinal?
thanks a lot in advance!
Click to expand...
Click to collapse
Click options.. special keys..
{
"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"
}
______________________________________
[APP][2.3+] SpecCheck - Compare Devices Side By Side
Deadly said:
Click options.. special keys..
View attachment 2023964
______________________________________
[APP][2.3+] SpecCheck - Compare Devices Side By Side
Click to expand...
Click to collapse
thanks, I tried already, but none of them seems to close the process running (like logcat).. I tried "ESC", "Delete" and "End".. :crying:
moly82 said:
thanks, I tried already, but none of them seems to close the process running (like logcat).. I tried "ESC", "Delete" and "End".. :crying:
Click to expand...
Click to collapse
You need to use ctrl+c
For that, see the combo. It must be "volume down+C"
It does works ^
I use it many times.
______________________________________
[APP][2.3+] SpecCheck - Compare Devices Side By Side
the problem is that I don't have VOL DW + C combo in special keys list!
thanks again and sorry for bothering.. :angel:
moly82 said:
the problem is that I don't have VOL DW + C combo in special keys list!
thanks again and sorry for bothering.. :angel:
Click to expand...
Click to collapse
Yours has a reverse combo to mine . Just use volume up+ C
See my screenshot and compare it yours. You will understand
______________________________________
[APP][2.3+] SpecCheck - Compare Devices Side By Side
how to list installed package from system app or user app.. tanx be4
Sent from my ZA987 using xda premium

[DEPRECATED][GUIDE][ROOT] Smartwatch 3 KNX01V

I removed download link due to this method not working on lollipop.
This guide is deprecated, please use TWRP Recovery from this thread to install root
DISCLAMER and WARNING: I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or the current economic crisis. Please do some research if you have any concerns about this app.
Click to expand...
Click to collapse
You have been warned!
Links:
Sony PC Companion
Download link removed while I will test for compatibility with 5.x, md5 summ: e2c34b07faa415a6cbb95943649c7eba
Step 1:
Code:
[URL="source.android.com/source/building-devices.html#unlocking-the-bootloader"]Unlocked bootloader[/URL]
1. Enable adb debug
2. adb reboot bootloader
3. fastboot oem unlock (twice if requested)
4. fastboot format cache
5. fastboot format userdata
6. fastboot getvar all (and verify that it is)
7. fastboot reboot
Step 2:
Code:
Updated to the latest KNX01V
[URL="http://www.sonymobile.com/us/tools/pc-companion/"]Install Sony PC Companion[/URL] and use Supports Zone -> Accessories software update -> Smartwatch 3
Step 3:
Code:
Have Flashboot (Sony s1 flash) drivers installed just in case (Install Sony PC Companion and do update as indicated in previous step)
Step 4:
Code:
[COLOR="red"]BOOT [/COLOR][COLOR="Red"](DO NOT EVER FLASH IT!!!)[/COLOR] rooting boot.img
1. Download rooting kernel image (SWR50-rootboot.img)
2. Reboot into bootloader (adb reboot bootloader)
3. fastboot boot SWR50-rootboot.img
4. Wait till device reboots or sits in black screen for a while (1 min+ then reboot it by holding power 10+sec)
Step 5:
Code:
Verify by:
1. adb shell
2. su
3. you should see [email protected]:/ #
Step 6:
Code:
1. Let me know!
2. Use it, dive into GPS investigation or customizations, etc.....
Special thanks:
1. Justin Case for LG G Watch rooting method using LGGW-rootboot.img
2. osm0sis for Android Image Kitchen
{
"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"
}
reserved
How it works:
1. Each boot.img packs zImage (real kernel) and ramdisk (special files for kernel use)
2. This one has all modifications from LGGW rootboot by Justin Case:
a. Adds su binary, superuser.sh install script, modified install-recovery.sh and additional step into init.rc file to invoke superuser.sh install script. Also modifications to mount system as rw and some disabled security.
3. So basically it mount system as rw and does following (cut from superuser.sh install script):
Code:
#!/system/bin/sh
/system/bin/mount -o remount,rw /system
/system/bin/sleep 2
/system/bin/cat /sbin/su > /system/xbin/su
/system/bin/cat /sbin/su > /system/xbin/daemonsu
/system/bin/cat /sbin/install-recovery.sh > /system/etc/install-recovery.sh
/system/bin/chown 0.0 /system/xbin/su
/system/bin/chown 0.0 /system/xbin/daemonsu
/system/bin/chown 0.0 /system/etc/install-recovery.sh
/system/bin/chmod 06755 /system/xbin/su
/system/bin/chmod 06755 /system/xbin/daemonsu
/system/bin/chmod 755 /system/etc/install-recovery.sh
/system/bin/sync
/system/bin/sleep 3
/system/bin/reboot
I have dumped the rom from my debug/test version and was wondering if you were able to give me a guide on how i could try and flash it with a retail version? I presume this root guide probably won't work for me
Well, if hardware and partitions are the same - I do not see why it will not work. However, it will not help to flash.
I might try to compile twrp, but will have to carefully read its docs first.
thanks @XorZone confirmed as working and a nice easy process too (I was already unlocked).
Out of curiosity, modded LGGW rootboot or just renamed?
iBuzman said:
thanks @XorZone confirmed as working and a nice easy process too (I was already unlocked).
Out of curiosity, modded LGGW rootboot or just renamed?
Click to expand...
Click to collapse
Thanks for letting me know!
I reverse engineered changes in LGGW by unpacking and comparing ramdisks from both rootboot and original lg kernel and then applied the same changes to our kernel extracted from PC Companion files.
great thinking and good job ?
btw, that pic confirmed su access to watch over bluetooth debug connection ?
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Kurotsuchi said:
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Click to expand...
Click to collapse
There is at least Wear Control app: https://play.google.com/store/apps/details?id=octathorp.wearcontrol
I plan to code density changer that will require access to adb, so either from rooted phone or rooted wear.
Kurotsuchi said:
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Click to expand...
Click to collapse
how to benefit?
root apps of course!!
(sry for bad pic, unlocked bootloader z3 in low light [emoji12]
XorZone said:
There is at least Wear Control app: https://play.google.com/store/apps/details?id=octathorp.wearcontrol
I plan to code density changer that will require access to adb, so either from rooted phone or rooted wear.
Click to expand...
Click to collapse
that's awesome man! will purchase mine next week, can't wait to root it. thanks for the answer.
Thanks for the root, XorZone. For anyone wondering, here's the dmesg of the watch
A few small observations from digging:
The main chipset seems to be the BCM23550
The CPU has 4 cores, 2 are disabled in software. Should be easy enough to reenable if you please
It definitely has WiFi hardware, but the firmware is currently missing from the image. If you mange to get a hold of compatible firmware and nvram, it should be simple enough to get WiFi up and running
The WiFi firmware message mentions a "43341". Which is odd because apparently the main chipset does have WiFi support built in. Searching for a Broadcom 43341 gives you this, but this might just be a red herring.
cb22 said:
Thanks for the root, XorZone. For anyone wondering, here's the dmesg of the watch
A few small observations from digging:
The main chipset seems to be the BCM23550
The CPU has 4 cores, 2 are disabled in software. Should be easy enough to reenable if you please
It definitely has WiFi hardware, but the firmware is currently missing from the image. If you mange to get a hold of compatible firmware and nvram, it should be simple enough to get WiFi up and running
The WiFi firmware message mentions a "43341". Which is odd because apparently the main chipset does have WiFi support built in. Searching for a Broadcom 43341 gives you this, but this might just be a red herring.
Click to expand...
Click to collapse
Yeah, I noticed the same about WiFi chip, it might be that they packed bcm43341 as part of the BCM23550 soc, like Invensense MPU9250 chip packs mpu6500 inside.
For the 43341 I'm finding it in the configs here: https://android.googlesource.com/kernel/tegra/+/bdde9f16131a5ac2039062d5ce22e3e153acbe68^!/
Looks like BCM43341 is BCM4334 + NFC chip, so we could try S3 I9300 files as per http://redmine.replicant.us/projects/replicant/wiki/GalaxyS3I9300Firmwares
how can i grant superuser permission to an app? i install es file explorer with sideload but i can't get superuser permission. the procedure is ok
Sorry admins for not putting in correct location....
Moved to Correct Area!
cdrshm said:
Sorry admins for not putting in correct location....
I can not get my device to show up in adb devices and its driving me crazy. Tried windows 7/8/server 2012R2 ..lol
Now I have done my fair share of custom roms and bootloaders.
OG Droid
Nexus
Nexus 10
Asus Memo Pad (came from alarm company, and could only load one app...now its a full running tablet)
I am sure its a silly thing I have done or am missing...
Thoughts....ideas?..need more info?
Click to expand...
Click to collapse
As usual, check if adb enabled in settings-about-developer options, if there are no developer options - it is as usual 7 times click on build number in about screen.
And please use Q&A thread for such questions
I've confirmed root survives the Lollipop update
Wow, I was out whole weekend, will have to catch up with the update

[GUIDE] Install Ubuntu on a Chromebook

[Size=+2] This method should allow you to switch between Chrome OS and Ubuntu by just pressing "Ctrl + Alt + forward" for intel based chromebooks or "Ctrl + Alt + Shift + Forward" for ARM based devices, to go back all you need do is repeat but replace forward with back.
[/Size]
{
"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"
}
[color=firebrick3] [Size=+3] Step One: Dev Mode [/size] [/color]
Before starting this process please note that doing this will wipe the data from your chromebook thankfully as your apps and drive are cloud based this shouldn't be too much of an issue
Whilst holding down refresh and esc press the power button, this will reboot your chromebook in to recovery mode
As soon as a yellow exclamation mark appears on screen press Ctrl+D. Press Enter
Your chromebook will now reboot again and enable developer mode, this should take about 10 minutes
upon the next reboot a red exclamation mark will be present, you may either wait 30 seconds for it to boot to desktop or you can press Ctrl+D
[color=firebrick3] [Size=+3] Step Two: Installation [/size] [/color]
To install
First download Crouton from here Github to your downloads folder
Enter the crosh terminal by pressing Ctrl + Alt + T
Enter the following
Code:
Shell
sudo sh -e ~/Downloads/crouton -t xfce
xWolf13 said:
I may also add.
You are not restricted to only XFCE. You can install other distributions by specifying it. In the command in step two, you are able to replace xfce with unity, gnome, kde, lxde, e17, and even XBMC. You are also able to change which version of Ubuntu you want to install. You use the same command in step two but you add a -r and specify which version. You can read all supported ones over here . You can also put crouton within a window. Example of installation with xfce and ubuntu 14.04 is : sudo sh ~/Downloads/crouton -t xfce,xiwi -r trusty
Click to expand...
Click to collapse
If the chromebook you are running has a touchscreen you may wish to change this second line to:
Code:
sudo sh -e ~/Downloads/crouton -t xfce,touch
It will now start installing Ubuntu, this can take anywhere between 10 and 30 minutes
Once installed it will request a user name and password for Ubuntu
following this you may start ubuntu up by entering:
Code:
sudo startxfce4
To access Ubuntu you need to press:
"Ctrl + Alt + forward" for intel based chromebooks followed by "Ctrl+Alt+Refresh",
or "Ctrl + Alt + Shift + Forward" for ARM based devices,
To return to chrome all you need do is press "Ctrl+Alt+Back" again adding shift for Arm devices
[color=firebrick3] [Size=+3] Step Three: What next? [/size] [/color]
To close Ubuntu all you need do is log out and return to chrome OS
To reboot Ubuntu enter the following again
Code:
sudo startxfce4
Initially not many apps will be installed however to install these you can use:
Code:
Sudo apt-get install
and to search the packages available you can use
Code:
Sudo apt-cache search (search terms)
The apps I advise you install in terminal first are:
Code:
Sudo apt-get install LibreOffice
Sudo apt-get install Chromium-browser
Sudo apt-get install firefox
Sudo apt-get install vlc
To remove Ubuntu from the device at the exclamation mark on boot up press space bar and you will reset the device
[color=firebrick3] [Size=+3] Step Four: Removing [/size] [/color]
To remove Ubuntu from your chromebook without powerwashing you can enter this in to the terminal shell
Code:
sudo delete-chroot -a
[Size=+2]
Hope this helps and if you have any questions drop a comment below
*Update* Thanks to Tomek Kondrat for writing an article on this post and getting this on the front page of XDA: you can read the article here [/Size]
Been known for awhile and they have even newer scripts to self install Linux http://chromeos-cr48.blogspot.com/2013/05/chrubuntu-one-script-to-rule-them-all_31.html?m=1
I may also add.
You are not restricted to only XFCE. You can install other distributions by specifying it. In the command in step two, you are able to replace xfce with unity, gnome, kde, lxde, e17, and even XBMC. You are also able to change which version of Ubuntu you want to install. You use the same command in step two but you add a -r and specify which version. You can read all supported ones over here . You can also put crouton within a window. Example of installation with xfce and ubuntu 14.04 is : sudo sh ~/Downloads/crouton -t xfce,xiwi -r trusty
---------- Post added at 10:31 PM ---------- Previous post was at 10:28 PM ----------
xXminiWHOOPERxX said:
Been known for awhile and they have even newer scripts to self install Linux http://chromeos-cr48.blogspot.com/2013/05/chrubuntu-one-script-to-rule-them-all_31.html?m=1
Click to expand...
Click to collapse
This is so you can dual boot Linux. Crouton is used within Chrome OS which is more like a VM. Chrubuntu may not support all Chromebooks including the one I am using, the Toshiba Chromebook 13. Missing touchpad drivers are the only problem for this chromebook and it is an easy fix. Crouton is 'new' and more stable with less usage of memory on the Chromebook.
Is there any need to somehow back-up the original OS/image using this method? Maybe I'm just used to Android, and it doesn't seem like it, but wanted to make sure any information such as my account/settings wouldn't be erased during this install. Thanks for the tutorial in any case; wanting to upgrade my laptop to something more current, would love the ability to use both Chrome OS and Linux on one laptop!
Joshmccullough said:
Is there any need to somehow back-up the original OS/image using this method? Maybe I'm just used to Android, and it doesn't seem like it, but wanted to make sure any information such as my account/settings wouldn't be erased during this install. Thanks for the tutorial in any case; wanting to upgrade my laptop to something more current, would love the ability to use both Chrome OS and Linux on one laptop!
Click to expand...
Click to collapse
There is, but it shouldn't be needed if you are installing Crouton. Uninstalling crouton is a simple delete command or a Powerwash of the Chromebook. Here is however how you recover your chromebook if anything goes wrong. https://support.google.com/chromebook/answer/1080595?hl=en
Was hoping for a new tutorial, but used this tut on other sites already..
If you're interested in going full linux + coreboot, check out this resource:
https://johnlewis.ie/custom-chromebook-firmware/rom-download/
And check out the boot speed!
And a screenshot of my c720 setup
http://a.pomf.se/jkfwzi.png
xWolf13 said:
There is, but it shouldn't be needed if you are installing Crouton. Uninstalling crouton is a simple delete command or a Powerwash of the Chromebook. Here is however how you recover your chromebook if anything goes wrong. https://support.google.com/chromebook/answer/1080595?hl=en
Click to expand...
Click to collapse
Thanks; I think I may have been thinking about tutorials showing how to upgrade the C720's SSD and the need to create a recovery image, but I appreciate the tip!
savoca said:
If you're interested in going full linux + coreboot, check out this resource:
https://johnlewis.ie/custom-chromebook-firmware/rom-download/
And check out the boot speed!
And a screenshot of my c720 setup
http://a.pomf.se/jkfwzi.png
Click to expand...
Click to collapse
I love our C720; we've got the 2GB/ARM model, is yours the 2GB/ARM or the 4GB/Intel?
EDIT: dur, just looked at your screenshot, nevermind How's ArchLinux run on just 2GB of RAM? I'm more used to Ubuntu/Kubuntu/Mint, which are more resource intensive, I think (Linux newbie here).
And if I recognize your name correctly, you did some work on the Evo 4G, didn't you? Great work, if I remember right......
Joshmccullough said:
I love our C720; we've got the 2GB/ARM model, is yours the 2GB/ARM or the 4GB/Intel?
EDIT: dur, just looked at your screenshot, nevermind How's ArchLinux run on just 2GB of RAM? I'm more used to Ubuntu/Kubuntu/Mint, which are more resource intensive, I think (Linux newbie here).
And if I recognize your name correctly, you did some work on the Evo 4G, didn't you? Great work, if I remember right......
Click to expand...
Click to collapse
Afaik the C720 doesnt have an ARM version? Arch runs just fine on 2GB but some of the AUR packages like google-ttf-fonts dig in so swap is necessary. EVO was a very long time ago accompanied by lots of noobishness!
savoca said:
If you're interested in going full linux + coreboot, check out this resource:
https://johnlewis.ie/custom-chromebook-firmware/rom-download/
And check out the boot speed!
And a screenshot of my c720 setup
http://a.pomf.se/jkfwzi.png
Click to expand...
Click to collapse
Reading through this, I still don't get what the script is doing? Is it installing a Linux? Also, how long did this whole process take you? I probably won't do it all today because break is now over. I'll try doing my next break.
Edit: Ohhhhhh now I get it. Will for sure do this to my chromebook. Thank God its supported lol. What distro are you running?
savoca said:
Afaik the C720 doesnt have an ARM version? Arch runs just fine on 2GB but some of the AUR packages like google-ttf-fonts dig in so swap is necessary. EVO was a very long time ago accompanied by lots of noobishness!
Click to expand...
Click to collapse
Man, I'm just on a 'type before looking' kick tonight; yeah, Intel processor for the C720. I'm in the process of trying to decide whether I want to upgrade my current laptop with a dual-boot Chromebook or shoot for the moon with a full 17" laptop, blow out the Windows 8 and go straight with a Linux build or two (or three, or....). I like the idea of the Chromebook, but I don't know if the smaller keyboard would put a hurt on my wrists with the Linux classes I'll be taking.
Anyways, outside the purview of this forum....thanks all for the input and the cool tutorial!
Sudo apt-get search (search terms)
Click to expand...
Click to collapse
i think it should be apt-cache instead
In terms of available drive space once Ubuntu's loaded, and suggested applications like Libre Office are installed, how are people finding the available SSD/internal memory space once all's said and done? I suppose getting SD cards to store stuff on would be a cheaper option than upgrading the internal memory, using Google Drive for basic office suite stuff, too.
Joshmccullough said:
In terms of available drive space once Ubuntu's loaded, and suggested applications like Libre Office are installed, how are people finding the available SSD/internal memory space once all's said and done? I suppose getting SD cards to store stuff on would be a cheaper option than upgrading the internal memory, using Google Drive for basic office suite stuff, too.
Click to expand...
Click to collapse
Usually, after a new installation of Ubuntu, I update everything then start uninstalling not needed things. I usually uninstall Libre Office as I use Google Drive as my office suite also.
Thanks to @savoca for telling us about the Coreboot! Without that, I wouldn't have known that we were able to put "full on" Linux on a Chromebook
See this link for a screenshot of Elementary OS on a Chromebook
xWolf13 said:
I may also add.
You are not restricted to only XFCE. You can install other distributions by specifying it. In the command in step two, you are able to replace xfce with unity, gnome, kde, lxde, e17, and even XBMC. You are also able to change which version of Ubuntu you want to install. You use the same command in step two but you add a -r and specify which version. You can read all supported ones over here . You can also put crouton within a window. Example of installation with xfce and ubuntu 14.04 is : sudo sh ~/Downloads/crouton -t xfce,xiwi -r trusty
Click to expand...
Click to collapse
Aye was trying to keep it simple, but shall ad this later
exge said:
i think it should be apt-cache instead
Click to expand...
Click to collapse
fixed! cheers for that, should really start proof reading posts before submitting
xWolf13 said:
I may also add.
You are not restricted to only XFCE. You can install other distributions by specifying it. In the command in step two, you are able to replace xfce with unity, gnome, kde, lxde, e17, and even XBMC. You are also able to change which version of Ubuntu you want to install. You use the same command in step two but you add a -r and specify which version. You can read all supported ones over here . You can also put crouton within a window. Example of installation with xfce and ubuntu 14.04 is : sudo sh ~/Downloads/crouton -t xfce,xiwi -r trusty
Click to expand...
Click to collapse
ahhh good point slipped my mind, I've updated the guide to include your quote so you get credit. Cheers
Has anyone installed Kali with crouton?
Sent from my HTC One_M8 using XDA Free mobile app
fourhundredandtwenty said:
Has anyone installed Kali with crouton?
Click to expand...
Click to collapse
Kali should work fine using this method

[GUIDE] Installing Archlinux on Asus t100ta and probably other baytrail tablets

I have spent the past month or so dealing with installing Archlinux (my favorite distro) on my t100ta. I have just about everything working (wifi, suspend, audio, touchscreen, battery stats, and I haven't tested Bluetooth but it is apparently supported)
I have posted it on my site HERE but am sharing it here as well.
I might try to make an Archlinux ISO similar in fashion to the Ubuntu Magic Stick that would streamline this process a little bit but finding time to do that around midterms is kinda rough.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Information about archlinux​Arch Linux is a Linux distro that is based on a Keep It Simple Stupid philosophy (KISS). It comes packaged as bare as you can imagine to still be able to provide basic functionality in order to build a system in which you have control over what is installed. It is the distro that I keep finding myself using because I love to keep everything simple and as small as I can. I will walk you through the basic installation steps that I used in order to get Arch installed on my Asus t100.
A note of warning, if you have no understanding of Linux in general, you might want to look here. This is a good solution for Linux on the machine that does not require too much in terms of knowledge.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Installing the System​
First some background info. The t100 is a 32bit tablet that comes with a full version of Windows 8.1. It runs Windows pretty good as it contains the atom-based baytrail cpu. The battery is decent and overall use of this machine is a streamlined and remarkable experience.
As you may know, the machine ships with UEFI instead of BIOS. Generally this is not a problem with Linux however, most ISOs you find for a distro that are UEFI compatible are 64bit (x86_64). The 32bit (x86) ISOs are usually not UEFI enabled because it is not the norm to see or use UEFI on 32 bit machines.
In order to skip the building of a custom ArchLinux ISO, I decided to use the Ubuntu Magic-Stick from the guys at Asus T100 Ubuntu. All I needed was to boot into a live session, I could do the rest by the command line. You can alternatively choose to make an ArchLinux ISO but be sure to package it with grub-efi-i386. The tablet will not boot otherwise.
Once you get all the secure boot and bitlocker disabled on windows, you should be able to boot the USB just like any other Linux ISO. You will be greeted with Ubuntu’s familiar Unity desktop and some default applications that might be needed like gparted. You can find info on disabling bitlocker and secure boot here
What I did, since I didn’t have the need for Windows anymore, I erased the entire storage device and decided to install Arch singularly. If you want to do something else, that is okay. 10gb should be good enough to install arch and have plenty of space left over for testing. Here are the steps I did from this point.
I used curl to download the arch-bootstrap image:
Code:
$ curl -O http://mirrors.kernel.org/archlinux/iso/2015.09.01/archlinux-bootstrap-2015.09.01-i686.tar.gz
this will get you a basic setup environment so that you can do the rest from a chroot
Mount the partition you want to install Arch onto somewhere and extract the tar archive.
Code:
$ sudo su
# mount /dev/mmcblk0p4 /mnt/ ##of course, change the 0p4 to the partition you chose
# cd /mnt/
# tar -zxf <path/to/tar>.tar.gz
# mv root.i686/* .
# rm -r root.i686/
Now that we got the everything extracted and moved around to a logical place, we need to edit a few files before we chroot into the installation because the chroot environment does not have a text editor installed.
Code:
# nano etc/pacman.d/mirrorlist
We will need to uncomment a mirror closest to you in order to download packages and install the system.
Its time to chroot and start installing your ArchLinux
Code:
# bin/arch-chroot .
You will notice the bash prompt change, this means you are now in arch
The next few commands will setup the pacman keys so that you can download and isntall packages
Code:
# pacman-key --init
# pacman-key --populate archlinux
Note: This step would not work with me even though the Archwiki advised to install haveged and try several times. I’m impatient so I exited the chroot and edited the etc/pacman.conf again to set the signature to “Never”. You can fix it once Arch is installed and booted.
Click to expand...
Click to collapse
Now we can actually install the base packages and anything else you want.
Code:
# pacman -Syyu #Sync and update packages
# pacman -S base base-devel nano
Everything else is basic for an archlinux install, install the packages, configure the system and install bootloader. You can find all of those directions here.
Installing the bootloader is going to be a little different than usual. You will need to do it basically the same as the archwiki describes (including setting up ESP) however, for the actual command, use:
Code:
# grub-install --target=i386-efi --efi-directory=$esp --bootloader-id=grub --recheck
# grub-mkconfig -o /boot/grub/grub.cfg
Once this is installed, you should be able to reboot to Archlinux
Note: The first time I did this, I was greeted with a kernel panic and it fail to boot. I had to chroot back into the archlinux installation and rebuild the initfs with ‘# mkinitcpio -p linux’ and regenerate the grub.cfg with ‘# grub-mkconfig -o /boot/grub/grub.cfg’ I did not have to do it the second time I installed it so I don’t know if was just a fluke or a necessary step.
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Getting Wifi, Battery, and Sound to Work​
Apparently there is a kernel that was compiled by Luka Karinja that has support for Wifi, Battery, and Sound working. It does have battery and backlight working but I had no luck with wifi or sound. You can grab the kernel and test for your liking here: http://bazdara.com/arch (you could put this in your pacman.conf so that you can receive updates upon release)
Wifi: The guys at T100 Ubuntu did some amazing work and got wifi nearly perfect in my experiences. I’ve seen some reports of signal drop which need a reboot to fix but I haven’t had any issues with it.
Download the files from here
Code:
$ wget http://ftp2.halpanet.org/source/_dev/linux-firmware.git/brcm/brcmfmac43241b4-sdio.bin
$ wget https://raw.github.com/jfwells/linux-asus-t100ta/master/nvram/lib/firmware/brcm/brcmfmac43241b4-sdio.txt
Move the files into the proper directory
Code:
$ sudo cp brcmfmac43241b4-sdio.bin /lib/firmware/brcm/
$ sudo cp brcmfmac43241b4-sdio.txt /lib/firmware/brcm/
Open the .txt and remove all the characters before ‘#’ in the very fist line.
Code:
$ sudo nano /lib/firmware/brcm/brcmfmac43241b4-sdio.txt
Rebuild the initfs
Code:
$ sudo mkinitcpio -p linux
Rebuild grub config
Code:
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Sound: One of the guys at Asus T100 Ubuntu, Kirill Belyaev, posted a sound fix that works exceptional for me. You can find the post here
Download the firmware and the t100_B.state from the “new ####” folder here
Extract the archive into the /lib/firmware/intel/ directory
Code:
$ sudo tar zxf linux-firmware-master-intel.tar.gz -C /lib/firmware/intel
Move the .state into the /var/lib/alsa dir as asound.state
Code:
$ sudo cp t100_B.state /var/lib/alsa/asound.state
Reload the alsa configuration
Code:
$ sudo alsactl --file /var/lib/alsa/asound.state restore
Reboot and enjoy WiFi and sound working. It should be noted that even though everything should be good at this point, you may have to change some of the configuration for status information.
The battery information is found at: /sys/class/power_supply/BATC
The backlight (if using t100 kernel from bazdara) is at: /sys/class/backlight/intel_backlight
The volume is not the usual MASTER. Is is the ‘Speaker’ control.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Final Thoughts and Information​
While this installation is not perfect by any means, It is perfectly usable. There is a chance for a random freeze of the kernel however, since I have started to use the T100 kernel, I’ve not had any. So many thanks to the person that compiled it.
I use awesomeWM on this install because I use mine as a laptop for school. I would recommend XFCE for anyone that wants a more robust desktop environment because it is light enough to work great on this tablet. It also detects the audio, battery, and backlight automatically. The choice is yours just be sure to configure it correctly.
Join #t100-linux on freenode for any questions or if you need help installing. If Im active I will walk you through it.
I would like to say thanks to a few communities and people for helping me get Archlinux on this machine in a mostly stable state.
The Asus T100 Ubuntu community for the LiveUSB and configuration files: Google+ Page
Linux North for information about all the test he had ran. Also information for disabling bitlocker and secureboot. LinuxNorth Page
Archlinux Forum thread with a few tips and tricks like the T100 kernel. Thread
User LambdaComplex in #archlinux and #manjaro on freenode for support and ideas.
Hello again! So you did make a thread about this.. I'm going to try this!
Thanks
edit: Is there any different about the guide between here and on ur website?
hello again, I realize that you use all the ssd for arch? will it be possible to use the drive on keyboard for arch? I'm on unencrypting process right now. free space on ssd is only 10gb now
so on yours, you can use arch with tablet mode? (screen detached)
dokie80 said:
hello again, I realize that you use all the ssd for arch? will it be possible to use the drive on keyboard for arch? I'm on unencrypting process right now. free space on ssd is only 10gb now
so on yours, you can use arch with tablet mode? (screen detached)
Click to expand...
Click to collapse
Sorry apparently I didn't have notifications enabled on this. There shouldn't be a problem using the keyboard drive for this. Just define the partition correctly.
Also, this guide is the same on my site. I am just trying to share with people like me who like other distros more than Ubuntu
@dodgejcr ur guide is to install 32-bit of, right?
i686 means 32bit?
Can I use magic stick to install arch 64 bit?
I'm stuck on entering Choot,
Code:
chroot: failed to run command '/bin/sh' : Exec format error
Research says that that error normally happen when using different type of architecture
Sent from my Nexus 5 using Tapatalk
@dodgejcr Your guide is mentioned on xda development article and Google plus. Congrats
Sent from my Nexus 5 using Tapatalk
dokie80 said:
@dodgejcr ur guide is to install 32-bit of, right?
i686 means 32bit?
Can I use magic stick to install arch 64 bit?
I'm stuck on entering Choot,
Code:
chroot: failed to run command '/bin/sh' : Exec format error
Research says that that error normally happen when using different type of architecture
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yeah this is 32bit. Are you sure you are doing the chroot process correctly? you are wanting to call the /bin/arch-chroot binary from your mount point (/mnt).
For example, to chroot from / on ubuntu you will want to use:
Code:
# /mnt/bin/arch-chroot /mnt/
To chroot into the arch partition.
If you need help, You can usually find me in #manjaro on freenode
dokie80 said:
@dodgejcr Your guide is mentioned on xda development article and Google plus. Congrats
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Interesting, got links for this?
@dodgejcr quite sure, but i will try again later when I have the time.
link to g+ : https://plus.google.com/+xda/posts/NvPzTa3GYhy
link to xda - http://www.xda-developers.com/xda-external-link/install-archlinux-on-asus-t100ta-tablet/
Thanks for the post dodge! I'll have to try this as I've been frustrated that only Ubuntu is available for the T100. Also, didn't think I'd ever see your username again, after abandoning the Moment
HA! that was a looonnnnnggggg time ago. Good to see other people here from way back in the day.
dokie80 said:
@dodgejcr quite sure, but i will try again later when I have the time.
link to g+ : https://plus.google.com/+xda/posts/NvPzTa3GYhy
link to xda - http://www.xda-developers.com/xda-external-link/install-archlinux-on-asus-t100ta-tablet/
Click to expand...
Click to collapse
Very interesting, thanks for letting me know this info is being spread. I just did it for my own benefit and a few people said to share it.
Well, if you cant get it next time hop on to that irc channel, hopefully you can catch me in-between school and family time. Ill be glad to walk you through it
Appreciate it. But tell me, do u mind if I just post it here, or you prefer to be contacted via irc? It's probably better to post here for others reference. Unless you actually prefer to be contacted via irc
Sent from my Nexus 5 using Tapatalk
{
"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"
}
Still got the error. I probably just install 32bit version
Sent from my Nexus 5 using Tapatalk
dokie80 said:
View attachment 3519137
Still got the error. I probably just install 32bit version
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
That is my fault, I didn't realize you were attempting to install 64bit archlinux from your previous post (I dont always read properly ) I would just stick with 32bit as there is no actual benefit of running 64bit on this machine.
It is possible to get it to work through emulation of a 64bit host system but the amount of work necessary does not outweigh the benefits. Do a quick google search about chrooting across archetecture for some more info.
Also, I dont mind if you post here at all. I just have alot of thing going on so I can't promise you that I will be super attenative to this thread all the time.
Have you had any issues with the T100 specific kernel? I was able to used sound and wifi with the standard kernel from testing, but when I tried the T100 dev kernel the tablet doesn't even boot. Really would like that backlight
4512jth said:
Have you had any issues with the T100 specific kernel? I was able to used sound and wifi with the standard kernel from testing, but when I tried the T100 dev kernel the tablet doesn't even boot. Really would like that backlight
Click to expand...
Click to collapse
Funny you should ask, I literally just tried the latest and it didnt boot either. I went back to using 4.3rc3 which was the most stable for me.
I havent tried the bazdara stable kernel but I can tell you 4.2 t100 and 4.1 t100 worked for me during all my testing
Note: This step would not work with me even though the Archwiki advised to install haveged and try several times. I’m impatient so I exited the chroot and edited the etc/pacman.conf again to set the signature to “Never”. You can fix it once Arch is installed and booted.
Click to expand...
Click to collapse
which step did you mean about this?
That was the pacman keyring, it can be disabled to install and re-enabled once you get it booted.
Hiya Dodge! haha. I'm about to attempt this on my Atom Tablet (the Quantum Suppliers Quantum View). I'll post here if I have any issues.
Shiggity said:
Hiya Dodge! haha. I'm about to attempt this on my Atom Tablet (the Quantum Suppliers Quantum View). I'll post here if I have any issues.
Click to expand...
Click to collapse
Most definitely. Id like a to know how many baytrails can run archlinux.
I wouldnt recommend the t100 kernel for you. Its made with patches for the t100 specifically but the default i686 kernel should get you booted. The rest can be figured out upon configuration. Good luck

Categories

Resources