ok thankyou , i am downloading the spflashtool original stock mm , exept i have some valuable data on them nandroid backups Anyway to use them again , could I possibly use the data partiton from the nandroid backup only that and flash it over the new spflashtool(d) rom? EDIT: btw , i also wrote that long post to troubleshoot the error , even if i fixed my device because i like to learn about this stuff
If you made your data backup on 5.0 (LP) then restore it on LP only.
Otherwise strange errors can and do occur in my experience.
When you use SPFlashTool to restore your device your /data (Interenal sdcard) will be fully wiped using "firmware upgrade" so ensure your TWRP backup is on your external sdcard or copied to your PC.
You can only restore your data with TWRP if it was made with TWRP.
SPFashtool uses images where as TWRP uses tar for backing up ext4 partitions, this saves space by backing up only files and folders instead of the whole partition which would be approx 13GB for /data
EG: Lets say you have 2GB of files and folders on your /data partition SPFlashTool will copy the entire /data partition so 11GB of that backup will be empty space.
Use Google and this forum to educate yourself as I do. My knowledge is far from complete since I work full time and I do not work with in this type of industry it's just a hobby for me and others are better qualified than me.