How do I reset the Ubuntu Touch?

I have been trying to reset the Ubuntu Touch so that all the apps I added get removed. Perhaps I can get better battery performance and it can detect a Sim card if it goes back to the original settings? There is an option in Settings called Reset that when selected warns that it will erase & reset all-

all documents, saved games, settings, and other items will be permanently deleted from this device.

I have tried this many times but it doesn’t erase anything. It just reboots.

The recovery partition got flashed while installing this. When I push the power button and volume up while powered down, I am presented with an option for Recovery, Fastboot, and Normal. I don’t know if any of these work anymore as it seems that only Normal does anything.

So how would I wipe this of any of my changes?

The reset option that UT gives u doesn’t ask for a password-maybe it’s an authentication error that if done in the terminal I could use sudo. I have no idea if this is possible in the terminal, though.

The duckduckgo AI says something about permissions , you could do something with sudo but you need to know what commands and services are run, get a dmesg with --follow to try to see, the kernel also saves the last log before rebooting somewhere but I don’t remember where.

Have a look into /var/log

Well, I got a file in /var/log called wtmp with the right time stamp but it does not seem to be a text file that nano can open without showing gibberish. Should I be able to read temporary logs in a text editor? I can usually see them in nano.

EDIT:

I did find another file that was in a folder there called lomiri which is what the desktop is called. It made a .logfile in there that is just text. I didn’t see anything about the reset command, though.

Maybe this will work. Power off the phone and boot into fastboot mode with power and volume up keys. Then reissue the final commands I used to install Ubuntu Touch:

fastboot -w
fastboot format:ext4 userdata
fastboot reboot

fastboot still works on the BraX3 with Ubuntu Touch. I just got it to reboot that way. Now for the wipe and format!

I got it reset. It wouldn’t format to ext4 again but I got an OK with fastboot -w and it boots fine and looks like it reset. This is what happened:

fastboot -w
Erasing 'userdata'                                 OKAY [  2.859s]
/usr/lib/android-sdk/platform-tools/make_f2fs failed with status 1
fastboot: error: Cannot generate image for userdata
1 Like

All looks good in UT and all the programs I installed are gone. I enabled developer mode first in Ubuntu Touch before shutting down and going into fastboot mode to wipe the phablet.

Battery seems long lasting agaon like it was in iodé!:nerd_face:

I’ll mess around today with my Sim card and dmesg. Other recent reviewers of UT on YouTube are still making phone calls!

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.