N7Root - Nexus 7 Simple Root Tool
by @Complex360 (cyr0s on XDA-Developers)
{
"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"
}
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Description:
I saw people complaining earlier on XDA-Developers about a lack of Linux N7 rooting tools, so I made one.
This tool will unlock the Nexus 7 bootloader, transfer SuperSU, and flash either TWRP or ClockWorkMod recovery images
Features:
Easy to follow instructions
Unlocks the Nexus7 bootloader
Flashes either ClockWorkMod or TWRP
Roots the Nexus 7 and installs SuperSU
Uses either bundled binaries or ones found in /usr/bin/
Changelog:
Code:
V1.5 - Minor changes to adb/fastboot selection code
V1.4 - Added "build.sh" build script for configuring from git repo
V1.4 - Added support for custom adb/fastboot paths
V1.3 - Changed expected TWRP image to "twrp.img" for future-proofing
V1.2 - Discontinued Windows binary
V1.2 - Merged brando's improvements into script
V1.2 - Added platform detections
V1.2 - Added FAQ PDF
V1.1 - Fixed file permission error in Linux package (Thanks to Mark Lord)
V1.0 - Fixed Windows version (included driver bridge libraries)
V1.0 - Linux version rewrote.
Feeling generous?
Thanks:
Code:
Mark Lord - Permissions fix
Bug reports: [email protected]
DOWNLOAD || GITHUB
EDIT: FIXED ERRORS
EDIT: N7Root Linux now just uses a bash script. Far easier.
Just realised there may be a bug on Windows. Will be fixed today
Sent from my Nexus 7 using xda app-developers app
Kool stuff man should make it easier for new people
And for Linux users
Sent from my Nexus 7 using xda premium
armyboy11b said:
Kool stuff man should make it easier for new people
And for Linux users
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Thanks man!
I rectified the permissions... it should work properly now.
On Linux, gonna try this later today when my replacement arrives
loaded bootloader but never asked to unlock
Looking at the script, it doesn't look like it does a wipe, but i wanted to confirm..This leaves everything intact, correct?
Sent from my Nexus 7 using Tapatalk 2
---------- Post added at 08:14 PM ---------- Previous post was at 07:42 PM ----------
shawn.ferris said:
Looking at the script, it doesn't look like it does a wipe, but i wanted to confirm..This leaves everything intact, correct?
Click to expand...
Click to collapse
Nm.. question withdrawn.. looks like by virtue of unlocking, it does a wipe.
Sent from my Nexus 7 using Tapatalk 2
jewnersey said:
loaded bootloader but never asked to unlock
Click to expand...
Click to collapse
Same thing happened to me. It restarted and went into the bootloader screen but it just stayed there.
Attictron said:
Same thing happened to me. It restarted and went into the bootloader screen but it just stayed there.
Click to expand...
Click to collapse
You must run the script as root on your Linux machine.
Code:
sudo sh n7root.sh
ianonavy said:
You must run the script as root on your Linux machine.
Code:
sudo sh n7root.sh
Click to expand...
Click to collapse
I've run the script as root but nothing happens on the Nexus 7.
It says...
Code:
./n7root.sh: 18: ./n7root.sh: ./files/adb: not found
But the file is there.
ianonavy said:
You must run the script as root on your Linux machine.
Code:
sudo sh n7root.sh
Click to expand...
Click to collapse
Thanks, this worked for me.
ant_thomas said:
I've run the script as root but nothing happens on the Nexus 7.
It says...
Code:
./n7root.sh: 18: ./n7root.sh: ./files/adb: not found
But the file is there.
Click to expand...
Click to collapse
You may also get that error if you are on a 64-Bit system without 32-Bit compatibility libs installed.
Use:
Code:
sudo apt-get install ia32-libs
to install them on Ubuntu amd64
steevp said:
You may also get that error if you are on a 64-Bit system without 32-Bit compatibility libs installed.
Use:
Code:
sudo apt-get install ia32-libs
to install them on Ubuntu amd64
Click to expand...
Click to collapse
Thanks for posting this, I completely overlooked the fact that this could be an issue.
Updated original post.
Hey I expanded upon your script to check for root rights, check to see if adb and fast boot are installed (if not it uses the included binaries), give the user the choice on whether or not they want to unlock their device, and to give them the choice of flashing the version of CWM that you installed or TWRP v2.1.2.15. Here's the link: http://www.mediafire.com/?yqt2du8uv3am1dp
Rooting the device is pretty simple, you don't need to use all this stuff, it can be really tough for beginners..!
Check this out!
http://tutznet.com/nexus-7-toolkit-root-backup-install-recovery-lot.html
Just found this website using Google. Pretty nice toolkit to Root and Install Recovery.
Utkarsh.bhatt12 said:
Rooting the device is pretty simple, you don't need to use all this stuff, it can be really tough for beginners..!
Check this out!
http://tutznet.com/nexus-7-toolkit-root-backup-install-recovery-lot.html
Just found this website using Google. Pretty nice toolkit to Root and Install Recovery.
Click to expand...
Click to collapse
Looks like this solution ONLY works on windows. Lots of linux users wants something simple and easy to use like the one in this thread.
ferossan said:
Looks like this solution ONLY works on windows. Lots of linux users wants something simple and easy to use like the one in this thread.
Click to expand...
Click to collapse
Yeah, that's right!
The script has been updated to incorporate brando's improvements, and also a few other things.
Download link updated, script slightly improved.
Also released n7ui, check it out in my signature.
THANK YOU!!!!
cyr0s said:
Download link updated, script slightly improved.
Also released n7ui, check it out in my signature.
Click to expand...
Click to collapse
Didn't work for me, hung up on looking for the device. After attempting 5-6 times, I did it the good old fashioned way - manually using adb. It was a heck of a lot faster than trying this over and over.
Related
This is Ubuntu Touch Developer Preview for ace brought to you by Mustaavalkosta and TeamCodefire.
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Click to expand...
Click to collapse
Touch Developer Preview Release Notes
General:
This is very alpha version of Ubuntu Touch. IT'S NOT READY FOR DAILY DRIVER. This is mainly for those curious souls like me to see how it runs on this relatively old device. There are and will be bugs.
Thanks and credits:
Andromadus (for msm7x30 support)
Canonical
CodeAuroraForum
CyanogenMod
BananaGranola
Epic Beard Men
eXistZ
Flemmard
Flinny
Juansheng
KangBangKreations
synergye
TeamCodefire (for hosting, priceless)
Flow-Wolf
All the rest that have helped to construct these builds and develop software for ace directly or indirectly in the past.
Gits:
http://phablet.ubuntu.com
local manifest
Changelogs:
None
Not working:
Apparently calls work in some degree
Data/3G
Camera
Screen on/off is a bit buggy (there's no timeout etc.)
Sound
If you plan to install more apps, space is a bit limited as it's using phone's internal memory instead of sdcard ext4 partition hack. There's approx. 200MB free in /data after extracting Ubuntu's rootfs.
Everything that I forgot / haven't noticed.
Prerequisites:
Have at least 1GB free on your sdcard prior flashing.
Have some experience at tinkering with your device. I won't be giving further step-by-step guidance as this is experimental thing, be a little experimental yourself.
7Zip and notepad++ (or equivalents) for updates from Ubuntu's mirror
Fresh installation instructions:
Want latest rootfs? Go to update instructions.
Download quantal-preinstalled-armel-ace-20130303.zip
Download quantal-preinstalled-phablet-armhf-20130303.zip
Download ubuntu-ppi-ace.zip
Put the files on sdcard.
Check that you meet the sdcard free space requirements.
Reboot to recovery.
Do factory reset (ie. format /data, /cache, /sd-ext and /sdcard/.android_secure)
Flash quantal-preinstalled-armel-ace-20130303.zip
Flash quantal-preinstalled-phablet-armhf-20130303.zip (this will take a while due two large extracting tasks)
Flash ubuntu-ppi-ace.zip
Reboot and enjoy.
Update installation instructions:
Download latest quantal-preinstalled-armel-ace-XXXXXXXX.zip (optional if you are just updating Ubuntu rootfs)
Download latest quantal-preinstalled-phablet-armhf.zip
Download ubuntu-ppi-ace.zip
Open quantal-preinstalled-phablet-armhf.zip with 7zip and go to META-INF\com\google\android\
Right-click updater-script and click Edit (make sure you have proper editor set as default, e.g. notepad++).
Do these changes to the script file: https://gist.github.com/Mustaavalkosta/5123952 (make sure you have correct timestamp instead of leaving XXXXXXXX in it) and save the file.
Close the editor and 7zip should ask you if you want to update the file in the zip. Of course select yes.
Put the files on sdcard.
Check that you meet the sdcard free space requirements.
Reboot to recovery.
Flash quantal-preinstalled-armel-ace-XXXXXXXX.zip (optional if you are just updating Ubuntu rootfs)
Flash quantal-preinstalled-phablet-armhf.zip (this will take a while due two large extracting tasks)
Flash ubuntu-ppi-ace.zip
Reboot and enjoy.
Removal instructions:
Reboot to recovery
Restore nandroid or do factory reset and flash whatever you want.
Contact:
My Google+
My twitter
#codefireX @ freenode
Donations:
codefi.re (use the donation button at the bottom of the page)
Mustaavalkosta
(codefi.re donations are used to cover the server costs, my donations will be used to increase my beard growth in a way or another)
Q&A:
Q: Can I flash KangBang perfomance kernel or some other kernel?
A: No, unless it includes required kernel changes.
Q: How can I build Ubuntu Touch myself?
A: Follow Ubuntu's guide and apply my local_manifest. Then just fix quantal-preinstalled-phablet-armhf.zip's updater-script (see update instructions above) and you are good to go.
Q: How do I shutdown the device?
A: Pressing power button continuously for couple of seconds seems to switch it off but since there's zero userspace feedback about this happening I prefer the options below from Ubuntu's wiki.
Currently the power button does not work with recent kernels, so one of the following options must be run:
remove the battery and replace it
run adb reboot (will obviously reboot, not shutdown)
run "reboot -p" from the adb shell
Code:
adb root
*unplug the cable and replug it*
adb shell reboot -p
Q: Something about something something something.
A: Ask the guy/gal next to you.
i just tried thison my HTC One X+ and it looks and feels really good. Fast and responsive! I hope that the same goes for my baby (DHD/I4G).
I look forward to to try it! Thaaaaanks!
Re: [ROM][DEV] Ubuntu Touch Developer Preview [2013-03-03]
Will try it. Thak you for the effort you make for us DHD users. I hope this will become daily driver some day.
Sent from my Desire HD using xda app-developers app
I keep getting "404 not found" for the first file download.
GREAT!!!!!!SUPERB!!!!!!! will look forward......thx for now...
superbeast_87 said:
I keep getting "404 file not found" for the first file download.
Click to expand...
Click to collapse
Yeah, sorry about that. I forgot webserver didn't like + signs in filenames. Fixed now.
Yeeeesssssss! I download, and test!
Thanks!
And here is a little gift, for the topic, or users, or developers!
{
"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 just got wifi to work. You can add /system/etc/init.d/21bcmdhd script with something like "modprobe bcmdhd" in it or wait for me to upload updated build on top of the current one and reflash. I'll add edit to this post when it's available for download.
Edit: Re-upload done on quantal-preinstalled-armel-ace-20130303.zip. Just reflash it and you should have working wifi.
I do not believe it, but it works!
It is true that slow, slipped on the keyboard, but it works!
Although yet to issue a sound: D
Can I see a screen shots and some videos of this ROM
This is a dev preview so you'll get limited features, no music player, lack of customization of some widgets/apps etc.
wow seems promising.... reserved for the future
Wow!
Really nice!
Good to try
Re: [ROM][DEV] Ubuntu Touch Developer Preview [2013-03-03]
Never thought this would be comming
Wow! Thanks to the devs for porting this to our device! Now we just have to wait for the usable version/release in a "couple of weeks"... :fingers-crossed:
Well... I tested it. There seems to be a lot that's not working, but the basic interface works just fine. Nice to be able to try out the gestures and interface.
ayanamirei33 said:
Wow! Thanks to the devs for porting this to our device! Now we just have to wait for the usable version/release in a "couple of weeks"... :fingers-crossed:
Click to expand...
Click to collapse
Try more like a couple of months since that is the time that the devs of the Ubuntu said it would take to get it fully working and then the devs for our DHD can have a go at it. Until then this is just a dev preview.
Also, very nice to see this OS ported to our device in such an early stage. Thanks Mustaavalkosta, hope you assemble a good team once this OS is out of development stage and I wish you have success in getting it to work on the DHD. :good::fingers-crossed:
i really want to see this on one s... -=D
{
"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"
}
Code:
_ __ __ _____
/ \\ \ / // /
/ \\ \ / // ___/
/ \\ \/ //___ /
/__/\__//__/\__\\____/
Code:
/*
* This is a custom script designed to run on the US version
* of the Samsung Galaxy S3. Other phones are currently not
* supported. Follow the instructions carefully and do not cry
* to me about damaged devices. You are choosing to use the
* script and therefore accept the responsibilities
* of modifying your device.
*/
This script was originally written for use on the AxisM ROM, but I have modified it so that it works on all ROMs - both TouchWiz and AOSP. However, due to the robust error-checking in the script, only the US versions of the Samsung Galaxy SIII are supported. While the script does work perfectly well on the US SGS3, it may not fully work on all ROMs. This is partly due to some ROMs having an extreme amount of mods in the framework that inadvertently break the integrity of the files. Note that app integrity is not always a bad thing, it just means that apps and scripts that require framework integrity simply will not work. Currently there is no way to fix the integrity of a file by use of a script, so if you have a broken app, there is nothing I can do at this point. The next step would be for you to contact the developer of your ROM and have them correctly modify the apps and jar files to ensure capability.
NOTE: AxisM users, do not flash this script. The one included in the ROM has more features that are ROM specific. This script is just for anyone else to use on any other ROM.
The available choices in this script are as follows (this list will be updated with every release):
Clean cache (RAM boost)
Enable zRAM
Clean SQlite database files
Zipalign applications
Fix permissions
Odex
A quick note about zRAM
zRAM is a Linux kernel module that basically allows for real-time compression of memory objects that are in RAM/memory. This essentially makes it possible for the RAM to hold more apps in memory which may potentially == greater performance. Unfortunately, no known kernel on the US SGS3 currently supports zRAM, but when one pops up, this script will be available to initialize and optimize the feature.
STEPS TO INSTALL
Download one of the attached Axis_Shell packages and move it to your SD card
Boot into recovery
Flash the Axis_Shell package
Reboot
STEPS TO USE
You can use this script either from within your phone or via ADB Shell. To use the script from your phone you must have a terminal emulator app in which you will type the following lines one by one:
Code:
su
axis
If using ADB Shell just type:
Code:
adb shell
axis
Thanks
Tommytomatoe
CyanogenMod
Let me know what else you would like to see in future releases.
Hero said:
Let me know what else you would like to see in future releases.
Click to expand...
Click to collapse
Excellente Chris, Thanks for this!
is this inculdeed in your rom or do i have to flash this
Hero said:
NOTE: AxisM users, do not flash this script. The one included in the ROM has more features that are ROM specific. This script is just for anyone else to use on any other ROM.
Click to expand...
Click to collapse
phoenixaldana01 said:
is this inculdeed in your rom or do i have to flash this
Click to expand...
Click to collapse
It's in the first post.
I know tried to delete post but didn't let me
Sent from my SCH-I535 using xda app-developers app
Failed install for me on stock rooted, tried to manually move everything over and set permissions...still no go. Says I'm missing grep and cut. Any thoughts?
B3L13V3 said:
Failed install for me on stock rooted, tried to manually move everything over and set permissions...still no go. Says I'm missing grep and cut. Any thoughts?
Click to expand...
Click to collapse
same issue here on MOAR w/ CWM touch
B3L13V3 said:
Failed install for me on stock rooted, tried to manually move everything over and set permissions...still no go. Says I'm missing grep and cut. Any thoughts?
Click to expand...
Click to collapse
Fails to flash the zip. I am using TWRP 2.5.0.0.
Sent from my SCH-I535 using Tapatalk 2
Sorry guys, I just uploaded a new version to the OP. I tested it and it works
Just a note, I did remove odex for the time being because I discovered an error within the script. It will be re-added when I work out the kinks.
Hero said:
Sorry guys, I just uploaded a new version to the OP. I tested it and it works
Just a note, I did remove odex for the time being because I discovered an error within the script. It will be re-added when I work out the kinks.
Click to expand...
Click to collapse
Damn that's exactly what I wanted lol oh well guess it's time to flash axis 19
I don't know if this is a bug in the script but when I'm done using the script and want to go back to the terminal (using terminal emulator app btw) I type "e" for exit like it says but it doesn't exit the script and go back to the terminal, it just starts the script over.
Sent from my SCH-I535 using xda app-developers app
{
"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"
}
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
WARNING : This ROM is a "Work In Progress" : this ROM is experimental, Only tested in xt1032 ,flash it only if you know what you are doing
Downloads
Ubuntu Touch
How to install
First if your data partition is F2FS you must change it to EXT4
Also i recommanded to use TWRP.
Flash on you device,
1. Download boot.img, system.zip (extract it), rootstock-ng-master.zip and device_falcon_devel.tar.xz
2. Reboot the device into fastboot mode
3. Flash boot.img
Code :
Code:
fastboot flash boot boot.img
4. Boot the device back to recovery
5. Wait until adb has started (use "adb devices" to check if it has started)
6. Wipe system, cache and data partition
7. Flash ubuntu root system and system.img using rootstock installer
Code:
Code:
./rootstock-touch-install ubports-touch.rootfs-armhf.tar.gz system.img --custom device_falcon_devel.tar.xz
8. After that it may boot ubuntu.
How change data partition
1. Reboot your phone to recovery mode
2. use TWRP to change data partition
3. To be sure that your partion is changed install any custom rom
If you want use Ubuntu Touch with android, then just install any custom rom without wipe data partition, and just run this command in fastboot mode to start ubuntu
Code:
fastboot boot boot.img
Sim is detected but no carrier, so no calls and data.
No Sound and its very laggy because of low ram, hopefully it will be more smooth using https://halium.org.
Thanks to walidham who made it run on moto titan.
XDA:DevDB Information
Ubuntu Touch, ROM for the Moto G
Contributors
sub77
Source Code: https://github.com/sub77/android_device_falcon/tree/ubp-5.1
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2017-06-04
Last Updated 2017-06-05
Reserved
I Can install on Peregrine ?
Sent from my XT1072 using XDA-Developers Legacy app
How can it be used as a dual boot?
prime3sdro said:
How can it be used as a dual boot?
Click to expand...
Click to collapse
multirom or efidroid, little busy right now, will provide multiboot soon.
no peregrin, just falcon.
thanks
sub77 said:
multirom or efidroid, little busy right now, will provide multiboot soon.
no peregrin, just falcon.
Click to expand...
Click to collapse
Hi sub77,
I need your help installing Ubuntu in my Moto G xt1033 I read many information about that and tutorials but I can't make it done. can you please explain me. When will it be for everyday use? Sim detected with calls, data and sounds
Thank you so much for your hard work. sorry for my english coz is bad. :$
COL
today's build is running quite nice without lagging. 3g data is working, also calls are doing but no sound at all because libhybris building messed up by my arch env.
Next build I will do with Debian.
Really good project i will follow it.
Good Work!
Ps. just a question: after i install it, can i come back to lineageos (for example) without problem? Can yuo post a guide to do it?
Best Regards
Take a twp backup if you need to come back, anyway this rom is not stable yet.
ILCAMPIONE said:
Really good project i will follow it.
Good Work!
Ps. just a question: after i install it, can i come back to lineageos (for example) without problem? Can yuo post a guide to do it?
Best Regards
Click to expand...
Click to collapse
ILCAMPIONE said:
Really good project i will follow it.
Good Work!
Ps. just a question: after i install it, can i come back to lineageos (for example) without problem? Can yuo post a guide to do it?
Best Regards
Click to expand...
Click to collapse
Just do a rom install without wiping data on top of ubport.
fastbooting the ubport kernel should bring you back to linux while normal boot is loading android.
sub77 said:
Just do a rom install without wiping data on top of ubport.
fastbooting the ubport kernel should bring you back to linux while normal boot is loading android.
Click to expand...
Click to collapse
Could you upload a guide of the steps made and some catches? Also like back to lineageOS in case something goes wrong please. Did you manage to test Debian like you did?
Thank you so much buddy
Hello bro, I like Ubuntu very much and I really want to use it, can you confirm some things for me, please.
call and message working? (both incoming and outgoing)
dual sim working?
wifi working?
that's all I need.......
anyone installed this or dev, please confirm above.
Thanks.
sub77 said:
today's build is running quite nice without lagging. 3g data is working, also calls are doing but no sound at all because libhybris building messed up by my arch env.
Next build I will do with Debian.
Click to expand...
Click to collapse
Hello bro, I like Ubuntu very much and I really want to use it, can you confirm some things for me, please.
call and message working? (both incoming and outgoing)
dual sim working?
wifi working?
that's all I need.......
anyone installed this or dev, please confirm above.
Thanks.
Hi @sub77
I am a coder and an android and Linux fan. I wanted to port Ubuntu touch to falcon since long but there were no tutorials for android versions >4.4.
I have a moto g and own a moto g4 plus too. I would like to port this Ubuntu touch to Moto g4 plus with your help and hopefully learn a lot.
Can you help me and point me to relevant tutorials to get me started?
Thanks!
Are you using halium?
Help meeeeeeeeeee
Hi sub77,
Can I have your help in this step please, when you say ( ./ ) you mean it must be done from Linux like Ubuntu? Or can I install it from Windows?
7. Flash ubuntu root system and system.img using rootstock installer
Code:
Code:
./rootstock-touch-install ubports-touch.rootfs-armhf.tar.gz system.img --custom device_falcon_devel.tar.xz
Any guide or tutorial for complete this work
Thank you so much
Installation steps
Hey guys,
Can anyone post the installation steps for Ubuntu touch? That'd would great.:angel:
will there be a multirom installer?
sub77 said:
multirom or efidroid, little busy right now, will provide multiboot soon.
no peregrin, just falcon.
Click to expand...
Click to collapse
yes
this project is dead?
15 Seconds ADB Installer Reborn V2.0
{
"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"
}
Introduction:
We can all agree with the fact that the Android Debug Bridge (ADB) is one of the most important tools when it comes to developing for android, uninstalling bloatware, flashing recoveries, flashing custom roms, and changing the way our Android devices work entirely. However, if you want ADB you have to download the entire SDK just to use a few files. Well this tool solves this issue. Entirely based on and inspired by Snoop05's 15 Seconds ADB Installer, this tool includes a few features he was planning on adding but never got around to adding. This is the 15 Seconds ADB Installer Reborn!
Features:
Built-in Updater - A powerful and stable built-in updater insures you with the latest updates for ADB/Fastboot, the installer itself, and Google Drivers.
Compact and Light - Coming in at only 10MB the installer is light, portable, reliable, and powerful!
Unique UI - Instead of being text based the UI is interactive via buttons.
Safe and Reliable - Programmed in pure batch, and being open source you can view the code at anytime!
Downloads:
Version 1.0 - Download - Mirror #1 - Mirror #2
Version 2.0 - Download - Mirror #1 - Mirror #2
Installation instructions:
To install download the latest version from the links below and launch it (You will need Administrative rights to install). From here all you have to do is follow the instructions given by the installer to install ADB/Fastboot, and Google Drivers.
Changelog:
Version 2.0
Merged updater with main script.
Improved updates UI.
Improved update speed.
Improved main menu UI.
Added the option to skip installing ADB if you want to install drivers only.
Added toast notifications to update UI.
Fixed bug that caused installing adb to hang.
Added an "About" page.
Fixed an issue where the XDA Forum button was redirecting to the wrong forum.
Reserved.
reserved for future edit.
Thanks a lot!
Sander9847 said:
Thanks a lot!
Click to expand...
Click to collapse
No problem! Hope you enjoy the new tool! Have a fantastic day friend!
So a while back I installed minimal adb, worked great for about 10 min because the program I was using at the time wouldn't work with that adb library. So began a journey of getting different versions of adb and in doing so my %PATH% was starting to get a little embarrassing. So one day I decided to clean it up by misclicking and deleting the entire entry... Since that day I was unable to get ADB/Fastboot working 100%. It worked but would just give errors all over saying stupid things like ADB not found and such even though all the commands worked. I tried multiple installers, cleaners and spend hours adding entries to my user and system environment settings... I just happened to see this today and figured what the heck, it can't get much worse so ill try it... seconds later I can now use ADB without having to write extra command line crap to ignore/silence errors. The funny part though is everything this does I had done manually but somehow it worked with this....
Thanks I appreciate it
Great tool and packaging.
Actually very clever usage of batch features, I didn't know buttons could be emulated in that way.
Is this installer available also on github?
Mr.Gamer said:
Great tool and packaging.
Actually very clever usage of batch features, I didn't know buttons could be emulated in that way.
Is this installer available also on github?
Click to expand...
Click to collapse
Thanks! The button aspect actually isn't a native batch feature, the buttons are injected into cmd through the use of C# and a few hybrid batch files.
Unfortunately, the installer isn't available on Github... but I can add it if you'd like.
Koncrete said:
So a while back I installed minimal adb, worked great for about 10 min because the program I was using at the time wouldn't work with that adb library. So began a journey of getting different versions of adb and in doing so my %PATH% was starting to get a little embarrassing. So one day I decided to clean it up by misclicking and deleting the entire entry... Since that day I was unable to get ADB/Fastboot working 100%. It worked but would just give errors all over saying stupid things like ADB not found and such even though all the commands worked. I tried multiple installers, cleaners and spend hours adding entries to my user and system environment settings... I just happened to see this today and figured what the heck, it can't get much worse so ill try it... seconds later I can now use ADB without having to write extra command line crap to ignore/silence errors. The funny part though is everything this does I had done manually but somehow it worked with this....
Thanks, I appreciate it
Click to expand...
Click to collapse
Dang, sounds like one heck of a journey! If that happened to me I don't know what I would of done! It would have driven me up the wall!
Anyways, I'm so glad I was able to help you out and bring some sanity back!
Mac version?
doesnt this tool supposed to download latest adb drivers ?
Datastream33 said:
Thanks! The button aspect actually isn't a native batch feature, the buttons are injected into cmd through the use of C# and a few hybrid batch files.
Unfortunately, the installer isn't available on Github... but I can add it if you'd like.
Click to expand...
Click to collapse
yes, please do! thank you!
Er. Aditya said:
doesnt this tool supposed to download latest adb drivers ?
Click to expand...
Click to collapse
it's supposed too, but I'm not sure if it does. So I made an updated version (current as of 9/244
codenation said:
it's supposed too, but I'm not sure if it does. So I made an updated version (current as of 9/244
Click to expand...
Click to collapse
where is the source for this 2.1 bro ?
Er. Aditya said:
where is the source for this 2.1 bro ?
Click to expand...
Click to collapse
I just took the 2.0 installer, and updated it with the latest drivers/adb/fastboot and repackaged it, and added 2.1 to keep track of changes.
codenation said:
I just took the 2.0 installer, and updated it with the latest drivers/adb/fastboot and repackaged it, and added 2.1 to keep track of changes.
Click to expand...
Click to collapse
ohhh understood , still would have been good if this app auto updated drives on installation
Er. Aditya said:
ohhh understood , still would have been good if this app auto updated drives on installation
Click to expand...
Click to collapse
agreed, but that may be hard, because Google doesn't give direct links, you have to accept ToS before downloading. So manually is the next best option.
codenation said:
agreed, but that may be hard, because Google doesn't give direct links, you have to accept ToS before downloading. So manually is the next best option.
Click to expand...
Click to collapse
There was a script that surely does that but i lost it while pc format
Er. Aditya said:
There was a script that surely does that but i lost it while pc format
Click to expand...
Click to collapse
Well the installer is a script basically, it pulls files from gdrives but I don't think those are current. I'm sure there is a way to download the latest from google direcly and install it, but my scripting skills haven't reached that stage as yet.
codenation said:
Well the installer is a script basically, it pulls files from gdrives but I don't think those are current. I'm sure there is a way to download the latest from google direcly and install it, but my scripting skills haven't reached that stage as yet.
Click to expand...
Click to collapse
I am sure you will do it someday bro , till then il just use ur updated version , once u do please make a thread and point ne to it
May I know how to uninstall?
Thank you.
{
"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"
}
Ubuntu Touch
First things first, this rom is not android based and this build is in pre-alpha stage, in short it's not meant to be your daily driver, you may face many bugs..
Ubuntu Touch (also known as Ubuntu Phone) is a mobile version of the Ubuntu operating system that was originally developed by Canonical Ltd. and is now being developed by the UBports community.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications and if
* you point the finger at us for messing up your device, we will laugh at you. Hard & a lot.
*
*/
Features
[URL] https://github.com/ubports/porting-notes/wiki/Xiaomi-Redmi-Note-4(X)-(xiaomi-mido)[/URL]
Credits
In the beginning I would like to thank:
Ubports community
LineageOS community
Canonical
@Herrie82
@Flohack
@Shakendo
@walid
@notkit
@RealDanct2
Team
@gopikrishnanrmg(Win32_downdadup)
Downloads
Pre-Alpha Release Version 1.0
Download link: https://www.mediafire.com/file/w6qccgtubcc7uq5/Ubuntu-Touch-mido(Pre-Alpha).zip/file
Pre-Alpha Release Version 1.1
Download link: http://www.mediafire.com/file/cgyqxk6wgy60yhz/Ubuntu-Touch-mido%28Pre-Alpha_V1.1%29.zip/file
Alpha Release Version 1.0
Download link: http://www.mediafire.com/file/dj68d53sg0loprz/Ubuntu-Touch-mido%28Alpha_V1.0%29.zip/file
Alpha Release Version 1.1
Download link: https://www.mediafire.com/file/52vgjns7dktx7if/Ubuntu-Touch-mido(Alpha_V1.1).zip/file
Changelogs
[Pre-alpha]V1.0
WIFI is fixed
Bluetooth is fixed
Tethering is fixed
GPS is fixed
Media sound is fixed
[Pre-alpha]V1.1
Calls issue is fixed
Scaling is fixed
Power button bug fixed
[Alpha]V1.0
Camera is fixed (only snapshots no video)
Anbox is fixed (Instructions https://github.com/ubports-mido/android_kernel_xiaomi_msm8953/pull/2)
Alarm is fixed
Loudspeaker in calls bug is fixed
Time keeping between reboots is fixed
And many more ....
[Alpha]V1.1
Temporary Fix for torch
Media decoding for videoplay (To fix this, open terminal and run : sudo mount -o remount,rw / and then
enter password, default it is "a" without quotes. Now run sudo apt update and
finally run sudo apt install gstreamer1.0-libav, enter Y upon prompt. Reboot and
open video from mediaplayer app)
More fixes and versions upcoming
Upcoming Fixes And Features
Fixes
Screenshots
I couldn't add the screens directly as there were some scaling issues, please bear with me
https://www.mediafire.com/convkey/2048/e9azzbg0ehqm9ohzg.jpg
http://www.mediafire.com/view/at76fk07w913exz/IMG_20200320_181101.jpg
https://www.mediafire.com/view/gnp05qiyrbu8kw3/IMG_20200330_190516.jpg
https://www.mediafire.com/view/pfysyoi84gzx2bc/1.png
https://www.mediafire.com/view/9qyfjgtx24csr66/4.png
https://www.mediafire.com/view/j3rz14v85r920bl/2.png
https://www.mediafire.com/view/da9eytfeat1pixo/6.png
https://www.mediafire.com/view/sszaqxtby49zwkd/5.png
Issues
https://github.com/ubports/porting-notes/wiki/Xiaomi-Redmi-Note-4(X)-(xiaomi-mido)
Note: The reason I didn't fix these and post the ROM was because of demand by some users to try out the ROM, these issues will be fixed in the later builds
Instructions
It is STRONGLY recommended to fully wipe your device before flashing and please avoid restoring system apps and system data with Titanium Backup (or with any backup/restore app) as this can cause stability issues that are very hard to debug, restoring regular apps is fine though.
If you believe you know what you're doing - then fine, go ahead, but please don't complain if you experience any strange behavior.
How to flash for the first time:
(Again: Don't do it if you don't know!)
1. Boot to recovery (TWRP recommended).
2. Wipe the System, Cache, and Data (and format the data partition!).
3. Download the ROM and transfer it to your device.
4. Flash the ROM Zipfile.
5. Reboot your device.
6. A password prompt may come once its started and the password is "a" , you can change the password using the terminal, typing "passwd" and change the password (as in any Linux system)
Sources
https://github.com/ubports/porting-notes/wiki/Xiaomi-Redmi-Note-4(X)-(xiaomi-mido)
[Sources link at the bottom of the above page]
XDA:DevDB Information
Ubports-Mido, ROM for the Xiaomi Redmi Note 4
Contributors
gopikrishnanrmg, jodev
Source Code: https://github.com/ubports-mido
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.1.x
Based On: Lineage OS
Version Information
Status: Alpha
Created 2020-03-20
Last Updated 2020-06-20
great. screenshots please
xcosby said:
great. screenshots please
Click to expand...
Click to collapse
There was a scaling issue it seems, so i could only upload the links to the images, sorry for that
Fantastic. Will be keeping my eye on this one. This project and PureOS are a refreshing break from the Android ecosystem.
Just installed. Everything seems to work besides listed issues.
cidxtc said:
Just installed. Everything seems to work besides listed issues.
Click to expand...
Click to collapse
Thanks for testing
Mycroft2046 said:
Fantastic. Will be keeping my eye on this one. This project and PureOS are a refreshing break from the Android ecosystem.
Click to expand...
Click to collapse
Thank you
Mycroft2046 said:
Fantastic. Will be keeping my eye on this one. This project and PureOS are a refreshing break from the Android ecosystem.
Click to expand...
Click to collapse
Me too. Thanks OP for this!
FMAranda said:
Me too. Thanks OP for this!
Click to expand...
Click to collapse
Thank you too
try to install. but get error on mounting data partition even seems its mounted . try official latest TWRP,redmwolf and orange fox. same problem.
any advices?
btw, im comig from PE android 10. now device unable too boot. only twrp and fastboot
kayrowl91 said:
try to install. but get error on mounting data partition even seems its mounted . try official latest TWRP,redmwolf and orange fox. same problem.
any advices?
btw, im comig from PE android 10. now device unable too boot. only twrp and fastboot
Click to expand...
Click to collapse
It will show the error about data partition and also show no OS installed, did you try to reboot after flashing? Also do format and wipe system, data, dalvik and cache (not just wipe). I used twrp. The errors are normal, It should boot to Ubuntu touch
want to install but i dont have wifi at home XD next time maybe dev
ty before
DiamondxUnicorn said:
want to install but i dont have wifi at home XD next time maybe dev
ty before
Click to expand...
Click to collapse
Welcome
Great news to be able to use ubuntu touch in mido I will try to see how it goes although I know it is a pre-alpha version
Nice! Everything works good a part from listed issue! This is so good, do you think I can use it with DualBootPatcher?
Thanks! Works fine for me.
sterzo7 said:
Nice! Everything works good a part from listed issue! This is so good, do you think I can use it with DualBootPatcher?
Click to expand...
Click to collapse
Didn't try it yet... There are lot more perfections to be made
Dean27 said:
Great news to be able to use ubuntu touch in mido I will try to see how it goes although I know it is a pre-alpha version
Click to expand...
Click to collapse
Thank you
Juby210 said:
Thanks! Works fine for me.
Click to expand...
Click to collapse
Happy to know
Thanks for the port bro! It works well!
However, when i compiled your code from 'ubports-mido' (Dev Branch). I am not able to boot. It crashes once and then on reboot, it gets stuck at ubuntu loading logo. May I kindly know which branch you use for device, kernel and vendor? Any other specific instructions to build?
I would love to contribute!
In between, the device gets mis-recognized as desktop, instead of handset. Because a configuration file in '/etc/ubuntu-touch-session.d/mido.conf' is missing. Creating it with following values:
GRID_UNIT_PX=22
QTWEBKIT_DPR=2.3
NATIVE_ORIENTATION=portrait
FORM_FACTOR=handset
Click to expand...
Click to collapse
fixes the display scaling issues.
You can also integrate this in the ubuntu folder in device tree itself to fix the issue. Maybe I can create a pull request?
Last, Where can we create issue and track them? It would be nice if you could enable Github Issues for this project 'ubports-mido/android_device_xiaomi_mido' maybe?
Thanks!