FORUMS
Remove All Ads from XDA

[Touch Interface kexec Bootloader/Installer] nsboot aka NinjaSwag Bootloader beta

211 posts
Thanks Meter: 340
 
Post Reply Email Thread
nsboot - NinjaSwag Bootloader/Installer
WILL REPLACE smackme2 and kexecboot!

Source: https://github.com/willcast/nsboot
Kernel source: https://github.com/willcast/ubuntu-k...oin/tree/kexec (kexec branch, not Ubuntu)
Binary: https://docs.google.com/file/d/0B4WU...it?usp=sharing

I have been working on this for about 2 weeks...

Features
  • Touch screen based interface
  • Able to boot kexec kernels
  • Able to install Android and Native Linux OSes, kexec tar files, and uImage kernels
  • Able to back up entire volumes as .tar.gz (with permissions & ownership)
  • Directly compatible with smackme and kexecboot config files
  • Can replace moboot entirely with the touch of a button.
  • Integrated file browser
  • Software touch keyboard available
  • Haptic feedback
  • uImage is < 4 MiB
  • Loads 3x faster than kexecboot
  • Has integrated ADB server so you can push and pull files from any mounted FS, or run a local shell.

Known issues so at this time
  • Colors are messed up in included TWRP recoveries

Things still to be tested
  • nothing as of now

kexec images for reference
webOS 3.0.5: https://docs.google.com/file/d/0B4WU...it?usp=sharing

Arch Linux ARM: https://docs.google.com/file/d/0B4WU...it?usp=sharing
Ubuntu: https://docs.google.com/file/d/0B4WU...it?usp=sharing
Slackware: https://docs.google.com/file/d/0B4WU...it?usp=sharing
Fedora untested: https://docs.google.com/file/d/0B4WU...it?usp=sharing

Android 2.2 Froyo: https://docs.google.com/file/d/0B4WU...it?usp=sharing
Android 2.3 Gingerbread: https://docs.google.com/file/d/0B4WU...it?usp=sharing
Android 4.0 Ice Cream Sandwich: https://docs.google.com/file/d/0B4WU...it?usp=sharing
Android 4.1 Jelly Bean: https://docs.google.com/file/d/0B4WU...it?usp=sharing
Android 4.2 Jelly Bean: https://docs.google.com/file/d/0B4WU...it?usp=sharing

How to test
Code:
novacom boot mem:// < uImage.nsboot
To install, copy it to /boot (/dev/mmcblk0p13). It can also install itself if you put a copy of it on the SD card, and go Installer menu -> install uImage and navigate to it.

Screenshots are attached.
YouTube demo of a earlier version with only the boot working and a simpler menu: http://www.youtube.com/watch?v=0oQhSa4sqPU

Updates:

All OSes now boot (At least on my TP.)
Those which have had their kexec archives revised on GDrive since the first post are in italic.
  • Android 4.2
  • Android 4.1
  • Android 4.0
  • Android 2.3
  • Android 2.2
  • Android Recovery (included with all Android kexec archives)*
  • webOS
  • Ubuntu
  • Slackware
  • Arch Linux
  • Fedora
* The colors are still out of whack in recovery. It's mostly unneeded at this point with Built-In ADB support and zip installation, but I included it for those who want its more obscure or advanced features, or are more comfortable with its UI. Testing it specifically is appreciated because I don't have any plans to develop a test suite for it.

Compatibility list
Android ROMs
4.2
There is currently an issue with installing later Android 4.2 ROMs. The following 4.2 ROMs will install and boot:
  • Evervolv nightly 05-15-2013
The following 4.2 ROMs get stuck in a fairly serious bootloop (logcat shows at least surfaceflinger, mediaserver, and zygote segfaulting). I have tried different kernels.
  • CM 10.1 unofficial nightly 06-02-2013
  • Schzoid 2.0 nightly 04-23-2013
Other 4.2 ROMs are untested.

4.1
The following Android 4.1 ROMs have been tested and work:
  • JCSullins' CM 10 preview, 12-16-2012
  • Schzoid 1.2, 03-06-2013

4.0
The following Android 4.0 ROMs have been tested and work: CM 9 nightly, 01-06-2013

2.3
The following Android 2.3 ROMs have been tested: CM 7 Alpha 3.5
Issue: When the screen is woken up in CM7, nothing shows up on the display. The backlight does turn on.

2.2
The following Android 2.2 ROMs have been tested and work: my Froyo kang, version 0.4 and 0.3 (0.4 is on google drive on top of 0.3)


Native Linux
Ubuntu
The following Ubuntu releases have been tested and work: Ubuntu 13.04 final, Ubuntu 12.10 final.
Others are welcome to be tested, but I will probably not take issue with anything before 12.10 beta not working.

Arch Linux
Arch Linux boots, and seems to work. Wi-Fi has not been tested.

Slackware
Slackware boots and seems to work. Wi-Fi and Bluetooth have not been tested.

Debian/Bodhi
I am unable to locate any tar.gz archives to test for this distribution, nor a kernel of any sort. If anyone wishes to step up and send one to me or even host it, I would be grateful and also I'd probably get it booting within a day.

Fedora
These haven't yet been tested. They are theorerically installable with the new "tar.gz to custom LV" feature, but I would need to find a way to free more space on my TP to install them (my media partition is currently about 10 GB, 6 GB used for music, and 2.5 GB used for testing files.
Attached Thumbnails
Click image for larger version

Name:	CameraZOOM-20130720073602368.jpg
Views:	689
Size:	245.0 KB
ID:	2130463   Click image for larger version

Name:	CameraZOOM-20130720073531128.jpg
Views:	561
Size:	250.3 KB
ID:	2130464   Click image for larger version

Name:	CameraZOOM-20130720073445313.jpg
Views:	466
Size:	257.0 KB
ID:	2130465   Click image for larger version

Name:	CameraZOOM-20130720073404349.jpg
Views:	421
Size:	254.0 KB
ID:	2130466   Click image for larger version

Name:	CameraZOOM-20130720073348235.jpg
Views:	382
Size:	246.7 KB
ID:	2130467   Click image for larger version

Name:	CameraZOOM-20130720073324587.jpg
Views:	407
Size:	250.6 KB
ID:	2130468  
The Following 14 Users Say Thank You to castrwilliam For This Useful Post: [ View ] Gift castrwilliam Ad-Free
 
 
28th May 2013, 04:43 PM |#2  
Junior Member
Thanks Meter: 2
 
More
Thank you
Good Job! I will test it tomorrow.I have been looking forward to ArchLinuxArm for a long time.Thank you.
The Following User Says Thank You to Hard2PickOneName For This Useful Post: [ View ] Gift Hard2PickOneName Ad-Free
28th May 2013, 08:50 PM |#3  
Senior Member
Thanks Meter: 12
 
More
Looks really good, I'll give it a spin.
29th May 2013, 10:07 AM |#4  
Member
Thanks Meter: 6
 
More
Nice thing. But how Do I add my existing cm Installation to it? And how to add the cwm recovery in bootlist?
I repaced moboot with this and now i Can only Access Ubuntu
Sent from my GT-I9300 using xda app-developers app
29th May 2013, 02:16 PM |#5  
superboy123's Avatar
Senior Member
Flag Chennai
Thanks Meter: 59
 
More
Sir, I downloaded this, installed it, installed kexec-webos.
I rebooted
in boot menu section, i selected HP WebOS 3.0.5
Waited for 10 secs in Starting new kernel.
nothing only reboots
thinking to use webOSDoctor
But it is not going to webOS recovery mode.
What to do?
29th May 2013, 02:52 PM |#6  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by superboy123

Sir, I downloaded this, installed it, installed kexec-webos.
I rebooted
in boot menu section, i selected HP WebOS 3.0.5
Waited for 10 secs in Starting new kernel.
nothing only reboots
thinking to use webOSDoctor
But it is not going to webOS recovery mode.
What to do?

Same here! But i Can Access Ubuntu

Sent from my GT-I9300 using xda app-developers app
29th May 2013, 03:15 PM |#7  
Quote:
Originally Posted by superboy123

Sir, I downloaded this, installed it, installed kexec-webos.
I rebooted
in boot menu section, i selected HP WebOS 3.0.5
Waited for 10 secs in Starting new kernel.
nothing only reboots
thinking to use webOSDoctor
But it is not going to webOS recovery mode.
What to do?

After I made the webOS image, I noticed that it's a bit... finicky. Just reboot from nsboot main menu. Then try loading webOS again.
If you need to get to recovery mode, the way to do it is to reboot like that, holding down VOLUME UP.
29th May 2013, 03:20 PM |#8  
Quote:
Originally Posted by imapjonny

Nice thing. But how Do I add my existing cm Installation to it? And how to add the cwm recovery in bootlist?
I repaced moboot with this and now i Can only Access Ubuntu
Sent from my GT-I9300 using xda app-developers app

If you installed CM to the logical volumes named /dev/store/cm-*, you need to back up and reinstall it from nsboot. As for booting CM recovery from nsboot, if you haven't done that yet, a feature I put in already lets you make .tar.gz archives from volumes (including Android ones.) I just enabled the extraction of them to Android volumes (used to only allow others), so you could use that to "move" your Android.

Minimum System Sizes to use for android partitions:
2.2 (froyo): 256MB
2.3 (gingerbread): 320MB
4.0 (ics): 320MB
4.1 (jellybean): 450MB
4.2 (jb mr1): 480MB

Step by step instructions:
  1. Upgrade nsboot. Just released a new one. Either scp/adb it from a running OS or redo the install procedure except for the replace moboot part, after downloading it again.
  2. Get the kexec tarchive for your android version onto the SD card. You could scp or adb push it. If needs be, find your old Android recovery image, and boot it via novacom:
    Code:
    novacom boot mem:// < uImage.ClockworkMod
  3. Boot nsboot.
  4. Go to Utilities - create volume tarchive.
  5. Select "cm-system". Name the backup "System".
  6. Repeat last two steps for "cm-data" if you want to keep your data partition. I don't recommend backing up "cache".
  7. Go to Utilities - create volume set.
  8. Name the new Volume Set depending on your Android/CM release: Use the names "android22", "android23", "android40", "android41", or "android42".
  9. Format the new volume set: go to Utilites->format volume set, and select it. Click Confirm/OK.
  10. After the set is created, go to Installer menu -> install .tar.gz to existing volume. Navigte to /mnt/media/nsboot/backups. You will find your two backups. Select "System" to restore to "androidXX-system", depending on the version you just created. Make sure you use a big enough size - see above table.
  11. Repeat the last step for data, if you made such a backup.
  12. You now need to find the kexec archive you copied to your SD card (it's mounted in /mnt/media.) Install it. If you chose the right volume set name, it will work.
  13. Reboot or rescan boot items and you should see the Android version in your boot menu. Tell me if it doesn't work.
  14. If it does work, go to utility menu -> delete volume set and select "cm" as your set. This will remove the old cm set, and leave the new androidXX one.
  15. After that, if it did work, go to utility menu -> reclaim media space to get back any lost space for your media/sdcard partition.
29th May 2013, 07:55 PM |#9  
Member
Thanks Meter: 6
 
More
Thank s it worked well. But i didnt get webos to run. I installed the webos kexec tar via install kexec tar to existing volume and of i wann Boot it, it hangs up and reboots nsbootloader

Sent from my GT-I9300 using xda app-developers app
29th May 2013, 08:01 PM |#10  
Quote:
Originally Posted by imapjonny

Thank s it worked well. But i didnt get webos to run. I installed the webos kexec tar via install kexec tar to existing volume and of i wann Boot it, it hangs up and reboots nsbootloader

Sent from my GT-I9300 using xda app-developers app

So when you guys who are having trouble with webOS try launching it, do you get to the screen that says 'please wait, booting...' or the HP logo that pulsates? Where does it reboot? I'm thinking I might have uploaded an old, non-workable tar file for that OS.

FYI: After testing every boot option, I discovered a problem with Android 4.1 (only 4.1). I'm looking into it.

EDIT: just uploaded a new kexec-webos.tar. I have things set up so the link remains the same. Redownload the new tarfile, and see if it works, it works on my end. Still working on fixing 4.1 - it's the only thing left, but most of you are probably using it (trying to.)
30th May 2013, 08:10 AM |#11  
superboy123's Avatar
Senior Member
Flag Chennai
Thanks Meter: 59
 
More
Sir,
Thanks for your reply.
But, I cannot get into recovery mode
I rebooted pressed POWER+VOLUME UP, nothing just going into nsboot.
I also tried pressing POWER+HOME+VOLUME UP, that is also the same.
please help.
I also replaced moboot with nsboot.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes