[Root] Root and TWRP for R

shabbypenguin

Inactive Recognized Developer
May 30, 2010
4,896
5,362
263
33
I came here my fellow round brothers because the TWRP port i did for the 360 faced a lot of UI issues, got a few people working on it and here is our current progress:




Someone mind flashing this in TWRP and seeing how it looks for you guys? https://mega.co.nz/#!xVoSmDYK!fTZkpyzKD1UG1JvK-yZgdM4xSk-FRGmzdVvm4Weo6rA just a quick pic. id like to make a round twrp theme that works on both watches ideally, things may look odd because of teh 360's flat tire and thus cant use that screen space.
 

tonu42

Senior Member
Nov 14, 2010
1,145
439
0
I came here my fellow round brothers because the TWRP port i did for the 360 faced a lot of UI issues, got a few people working on it and here is our current progress:




Someone mind flashing this in TWRP and seeing how it looks for you guys? https://mega.co.nz/#!xVoSmDYK!fTZkpyzKD1UG1JvK-yZgdM4xSk-FRGmzdVvm4Weo6rA just a quick pic. id like to make a round twrp theme that works on both watches ideally, things may look odd because of teh 360's flat tire and thus cant use that screen space.
Doesn't flash at all.
 

tonu42

Senior Member
Nov 14, 2010
1,145
439
0
What? it flashes just fine on my note 4 and my 360. can you give me a copy of teh recovery.log? or at least what the output was in teh console?
I'm not sure if our version of TWRP supports theme zips. I just took out the files in the UI folder and recompiled TWRP but its all messed up in menus. Text is hidden behind button objects. The back button though is easier to hit though, might figure that bit out and change it.



 

shabbypenguin

Inactive Recognized Developer
May 30, 2010
4,896
5,362
263
33
TWRP supports theme.zip's, good to know it isnt a direct 1:1 copy but there is still work to be done as shown in my original image, i just wanted to get a feel for if it would be a benefit for you guys over here or not.

What did you set teh resolution to when you compiled it? or did you just swap out the 320x320 folder?
 
Last edited:

tonu42

Senior Member
Nov 14, 2010
1,145
439
0
TWRP supports theme.zip's, good to know it isnt a direct 1:1 copy but there is still work to be done as shown in my original image, i just wanted to get a feel for if it would be a benefit for you guys over here or not.

What did you set teh resolution to when you compiled it? or did you just swap out the 320x320 folder?
Just put in what you gave us directly in didn't touch anything.
 

shabbypenguin

Inactive Recognized Developer
May 30, 2010
4,896
5,362
263
33
Just put in what you gave us directly in didn't touch anything.
Right but where did you put it? when you recompiled it in order to get my ui you had to put the ui files in one of the devices folders , i assumed this device was using 320x320 because it lacked the flat tire
 

tonu42

Senior Member
Nov 14, 2010
1,145
439
0
Right but where did you put it? when you recompiled it in order to get my ui you had to put the ui files in one of the devices folders , i assumed this device was using 320x320 because it lacked the flat tire
I uncompiled TWRP and dropped it in RES. I tried changed the res to 320 by 320 and it was still messed up.
 

shabbypenguin

Inactive Recognized Developer
May 30, 2010
4,896
5,362
263
33
I uncompiled TWRP and dropped it in RES. I tried changed the res to 320 by 320 and it was still messed up.
oh, when you said recompiled i thought you were talking about recompiling it all not just unpacking/repacking the ramdisk.

Well i still have work to do on the theme, ill post it again when im done to see if any of it applies to you guys. is that the only zip that has failed in twrp for you? cuz id like to have it working universally but i dont know what caused it to fail :(
 

tonu42

Senior Member
Nov 14, 2010
1,145
439
0
oh, when you said recompiled i thought you were talking about recompiling it all not just unpacking/repacking the ramdisk.

Well i still have work to do on the theme, ill post it again when im done to see if any of it applies to you guys. is that the only zip that has failed in twrp for you? cuz id like to have it working universally but i dont know what caused it to fail :(
Idk, debug it on your end?
 

kashortiexda

Senior Member
Jan 12, 2011
1,367
875
143
@tonu42 if I load twrp recovery after stock recovery, I have got it to boot up okay.

But, if I then try and TWRP flash SuperSu again, I get bootloops
Any ideas ? (do we need to modify something eg the kernel/ramdisk/zImage of the dory TWRP to lenok / 5.01 compatible )
 
Last edited:

tonu42

Senior Member
Nov 14, 2010
1,145
439
0
@tonu42 if I load twrp recovery after stock recovery, I have got it to boot up okay.

But, if I then try and TWRP flash SuperSu again, I get bootloops
Any ideas ? (do we need to modify something eg the kernel/ramdisk/zImage of the dory TWRP to lenok / 5.01 compatible )
Perhaps. I'm in my dorm room right nks trying to head home, an hour and a half away maybe I'll work on it later.


Sent from my A0001 using XDA Free mobile app
 
  • Like
Reactions: kashortiexda

gusano38

Member
Nov 21, 2013
40
41
0
Grenoble
Do not forget to do a "setenforce 0" as root, if you want to send things to (or to read from) /sdcard/
It took me a while to realize that with lollipop SElinux is even more squeamish.

I guess doing "setenforce 1" after modding would not be a bad idea.
 

tonu42

Senior Member
Nov 14, 2010
1,145
439
0
Do not forget to do a "setenforce 0" as root, if you want to send things to (or to read from) /sdcard/
It took me a while to realize that with lollipop SElinux is even more squeamish.

I guess doing "setenforce 1" after modding would not be a bad idea.
Another way is to write to the emulated disk instead of sdcard directly. Permissions on /emulated/0/ are easier to work with. Took me a while to figure that out. I am going to try to touch as little as possible.
 

gusano38

Member
Nov 21, 2013
40
41
0
Grenoble
I tried adb pushing something from my mac to the GWR and I'm almost sure I tried with that one and I was getting permission denied. The best thing to avoid changing permissions is to temporarily disable selinux and do not forget to put it back.

One question I had the other day, and excuse my ignorance, but now that I have a working su in my smartwatch but not the supersu app running to deny or accept su request, what is stopping an app to do bad things on my back???