• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root TWRP - Spectrum

Neph81

Android Expert
I got bored and did more reading. Thanks to TDM and D2A, I'm actually able to compile stuff on my own. Here is the fruit of that info.

*Link removed. Use .zip updater as it contains the corrected graphics version.*

The graphics colors are off and I'm still working on fixing that part, but everything else appears to work. Once I have a functional copy with the correct colors, I will post an update.zip file for people to use.

If any brave souls want to test it out and give me feed back, please feel free to do so.

EDIT:

The file is now in a .zip format that you can flash from CWM. As stated elsewhere in the thread, once you get into TWRP, go to Settings -> and put a check on "Use rm -rf instead of formating". This is just a safety precaution until I can do more testing on formatting.

As it stands, ADB fully works, but "mount USB" does not. Changing the init settings did not fix this problem, so I am going to assume what D2A is true about the lun and this will not be a problem I can fix.

If anyone runs into issues, please let me know, and I will see what I can come up with.

Http://androidfiles.massivefilehost.com/twrp/Spectrum_TWRP.zip
 
Thanks so much for this! I tried building this on my own and it was confusing and I usually figure these thing out but guess not, great job! Will test later tonight
 
I got bored and did more reading. Thanks to TDM and D2A, I'm actually able to compile stuff on my own. Here is the fruit of that info.

http://androidfiles.massivefilehost.com/twrp/spec_twrp_adb_badgfx.img

The graphics colors are off and I'm still working on fixing that part, but everything else appears to work. Once I have a functional copy with the correct colors, I will post an update.zip file for people to use.

If any brave souls want to test it out and give me feed back, please feel free to do so.

Including USB mass storage? Not a huge deal but it's really convenient. :D
 
Including USB mass storage? Not a huge deal but it's really convenient. :D
USB Mass storage does not seem to work at this point. This is most likely just an init script issue. Once I tackle the color issue, I will look into the mass storage issue. TWRP does allow for charging while in it, which is a major plus for anyone doing work with backups/recovering.
 
awesome neph! nice to have another choice besides cwm. Now if we could just get a neph81 rom we'd be good :]
 
USB Mass storage does not seem to work at this point. This is most likely just an init script issue. Once I tackle the color issue, I will look into the mass storage issue. TWRP does allow for charging while in it, which is a major plus for anyone doing work with backups/recovering.
does USB mass storage even work in CWM?
 
+1

That's why it'd be a great change for the better, at least for me, if it was working in this recovery. :)
I've had this issue on other phones that I maintained recovery images for. When a device has multiple USB modes available, and are switchable, at least on LG devices, it seems the lun file which is what the recovery uses for USB Mass Storage is only present when the device is in USB Mass Storage mode, and then rebooted into recovery. I never found a fix. I'm not sure if there is one.
 
Just a heads up. Until I can confirm or deny it, you may want to change the settings to use "RM -rf" . I have some /data corruption after a recent restore in TWRP and I'm not sure if it's from formating or something else I did. Again, this is just a heads up.
 
I f***ing love twrp. Being able to name backups before you start and being able to stack flash zips is awesome.
 
I f***ing love twrp. Being able to name backups before you start and being able to stack flash zips is awesome.

fwiw, you could do this through ROM Manager premium as well. Been an option for ages, you just need to enable "advanced options" in settings for the app.

...but yeah, TWRP made it a heck of a lot easier and I suppose the "free" bit is attractive to many. I'll likely switch to it myself once the issues are ironed out. I do like that it can be themed...just wish there were more themes available.
 
Yea but rom manager is really useless unless you buy premium. If rom manager were the recovery program, it would be a fair comparison, but it's an add on app.
 
Finally got it to download. Refused to work over 3G for some reason. Running great:-)

are you running a host file on your phone? I had the host file from rom toolbox pro and pimp my rom running on my phone and it was blocking me from being able to download certain files.
 
are you running a host file on your phone? I had the host file from rom toolbox pro and pimp my rom running on my phone and it was blocking me from being able to download certain files.

Yes actually. I just check and that's exactly what it was. Thanks:-)
 
thank you for this neph. I started running it yesterday and I like it much more than CWM. I'll never go back to CWM unless I have to.
 
This is my first android device... CWM is all I've used. This will definitely grow on me, especially being able to name the backups. Thanks Neph!!
 
Ok, so, I've done the impossible and gotten mass storage to work in TWRP. The problem is that you need adb and to access "setprop" on the /system partition to get it to work. I tried moving toolbox and setprop to the recovery partition, but they still come up as file not found. If any devs want to give me a hand here, it would be appreciated. I need a way to change "persist.sys.usb.config=" from adb to mass_storage,adb and I don't want to set it in build.prop as that would auto mount the device any time you went into recovery and could potentially lead to SDcard corruption. Any thoughts would be appreciated.
 
I'm going to be gone for most of the weekend, so I'm leaving this hear in case someone wants to work on it.

http://androidfiles.massivefilehost.com/twrp/spec_twrp_mswip.img

Flash this to your phone, boot into twrp and do the following two adb command from your computer:

adb shell mount system
adb shell "/system/bin/setprop persist.sys.usb.config mass_storage,adb"

This will mount your phone as a USB drive. There is no good way to turn it off without rebooting. Remember to eject the drive in windows BEFORE rebooting your phone or even attempting to do a backup/restore. Two things writing/reading your sdcard at the same time could lead to corruption of the card. You have been warned.
 
I'm going to be gone for most of the weekend, so I'm leaving this hear in case someone wants to work on it.

http://androidfiles.massivefilehost.com/twrp/spec_twrp_mswip.img

Flash this to your phone, boot into twrp and do the following two adb command from your computer:

adb shell mount system
adb shell "/system/bin/setprop persist.sys.usb.config mass_storage,adb"

This will mount your phone as a USB drive. There is no good way to turn it off without rebooting. Remember to eject the drive in windows BEFORE rebooting your phone or even attempting to do a backup/restore. Two things writing/reading your sdcard at the same time could lead to corruption of the card. You have been warned.
I'll try to take a look at the code later see if I can get something working with the gui
 
Back
Top Bottom