yashsingh1/xdaforums huggingface dataset:
[LG G Watch R] Skin1980:
Hi guys, my personal war against squashfs FS continue and for this I converted the new 2.0 Rom for the LG Urbane into a writeable, not-compressed and more comfortable EXT4 FS.

Lately, [MENTION=622139]stevep113[/MENTION] joined our telegram group asking if is possible to port the ROM also for the G Watch R.

So I made a first build that he reported working well.

FEATURES:

- Ext4 FS ---> writeable and faster then stock compressed squashFS;

- 4 Cores unlocked with Ondemand governor and max freq set to 998 Mhz;

UPDATE:

After you have installed the ROM, flash the attached kernel that will add:

- root ( will be enabled at first reboot );

- busybox;

- mpdecision Hotplug!!! ( switch the cores on / off basing on the amount of works );

- init.d;

UPDATE 2:

- tnx to [MENTION=622139]stevep113[/MENTION] root has been fixed;

IMPORTANT: In this new version the original size of the ROM is > 350mB and the only possible way I found was to resize system and cache partitions. By the way I'll not ask you to do anything, the installation script will do all by itself so flash and enjoy.

DOWNLOAD

IMPORTANT 2: push the zip to scard and install from there

IMPORTANT 3: I don't own the device!
[LG G Watch R] Skin1980:
If you factory reset the watch with the TWRP recovery installed, maybe you can enter in a recovery bootloop ( watch keeps rebooting in recovery ). If this happens flash the attached recovery_bootloop_fix.
[LG G Watch R] jordirpz:
[MENTION=2174433]Skin1980[/MENTION]

What recovery i need for flash the zip? Official twrp or twrp+squashfs? Thank you
[LG G Watch R] Skin1980:
3.1 would be ok too, doesn't matter if supports squashfs or not
[LG G Watch R] vkmaxx:
If I'm running stock what I need to do? Install TWRP and the flash the ZIP?
[LG G Watch R] Skin1980:
Yes exactly
[LG G Watch R] -iNSiGhT-:
Hi,

First, thanks for your work !

There's nothing more to do than flashing the zip to install your EXT4 ROM, but if we want/have to go back on stock, will we have something to do since you modified partitions size?

Thanks.
[LG G Watch R] Skin1980:
I'll build in the next days a restore zip but you can flash the stock image without issue also with the partition changed. You might have issue with big update but if you flash system and boot with fastboot there will be no issue
[LG G Watch R] -iNSiGhT-:
Ok, I will give it a try...

How can I put the zip file in the Watch ? (ADB push in Recovery ?)
[LG G Watch R] Tiger22:
Yes ... i have made it like this ...

All boots good up...

Let´s see how it works...

---------- Post added at 01:44 ---------- Previous post was at 01:42 ----------

EDIT: Not in Recovery Mode ... push it in Bootloader Mode
[LG G Watch R] -iNSiGhT-:
Just tried, and at first boot, boot animation stay forever (almost 10 minutes), can't access Recovery (the original) after this flash (black screen after seeing the droid with exclamation point).

Will try again...

EDIT : Seems there's a problem...

I got the different steps in Recovery : unmounting cache and system, removing old partitions, creating partitions, reformatting partitions, then Extracting stuff and the Watch reboot on TWRP before it ends.

If i look in Watch data through TWRP file manager, i can see a system.img in /sdcard (where i put the zip)...

Sideloading the zip, i got an error at 47%

C:\Android\android-sdk\platform-tools>adb sideload EXT4ALL_LGWATCH_R_1.0.zip
serving: 'EXT4ALL_LGWATCH_R_1.0.zip' (~47%) * failed to read command: No error

---------- Post added at 02:27 AM ---------- Previous post was at 01:58 AM ----------

It seems good now...

I formatted cache, system and userdata via fastboot then sideload the zip again and it flashes the system at 47% of sideloading (think there was a problem mounting system partition).

Script prompt me to reboot and enjoy EXT4... Seems OK.
[LG G Watch R] Niels78:
Thanks for the release, just flashed and setup the watch again

Verstuurd vanaf mijn SM-G935F met Tapatalk
[LG G Watch R] Skin1980:
UPDATE:

After you have installed the ROM, flash the attached kernel that will add:

- root ( will be enabled at first reboot );

- busybox;

- mpdecision Hotplug!!! ( switch the cores on / off basing on the amount of works );

- init.d;
[LG G Watch R] stevep113:
Working well here on the new kernel. Great thanks ?
[LG G Watch R] -iNSiGhT-:
Already Hotplug !!!! Yeah !!!

Flashing time !

Thanks a lot !
[LG G Watch R] Tiger22:
I will test Kernel now ;)
[LG G Watch R] jordirpz:
Where is the kernel please?
[LG G Watch R] Tiger22:
Kernel is in first post...
[LG G Watch R] firegoblin:
so this kennel can't be flashed on stock squash? What are my primary benefits of going to ext4?
[LG G Watch R] stevep113:
Can someone verify they are getting root with a full clean install?
[LG G Watch R] Niels78:
Thanks for the update!! First impression of the original 4 cores kernel was very battery consuming will try the new kernel.

Verstuurd vanaf mijn SM-G935F met Tapatalk
[LG G Watch R] JanSchotsmans:
Installing this now.

You already deserve a gigantic thumbs up for having a clock on the boot screen!

EDIT: Question, is it normal that if you didn't reset your phone that all your settings, screens and apps remained? (Verifying to know if the flash actually worked)

With new kernel and likely rom, watch boots 100x faster too!
[LG G Watch R] -iNSiGhT-:
Just verified (i don't use root on my Watch) with su command in adb shell and answer is : "su not found"...

I didn't flash the kernel with a clean install but the next day I clean installed this ROM.

---------- Post added at 11:27 PM ---------- Previous post was at 10:52 PM ----------

Clock on boot screen is AW2.0 feature, not only this ROM.

Seems anormal to me that you keep all your stuff since the script erase your partitions and recreate new ones before installation...

Were you already on AW 2.0 before flashing this ROM ?
[LG G Watch R] JanSchotsmans:
Yes, I got the OTA update.

Then tested the two 2-core/4-core kernels that are on the forum now, then thought, hrm, got this thing since day one, so it's likely past warranty by now, so lets go full ham.

Dunno if there is a way to verify if the updated rom is used, I checked the about section in the settings, but nothing caught my eye there.

If the rom redoes system and cash, the way Android works, it could be that all user partitions remain the same and it drops in transparantly.

Just don't know for sure it flashed (although it said it worked in TWRP), Kernel is obviously working, watch boots much much faster then before.

Also, for the clock, with stock rom it did not show that clock, so even if it's a 2.0 feature, LG opted to not enable it by default, OP did.
[LG G Watch R] -iNSiGhT-:
Yes, as you said, we can't know ii we're running this Ext4 ROM.

But if TWRP said all was fine...

About the clock on boot screen, i had it already with stock 2.0.

OP will surely enlighten us.
[LG G Watch R] Skin1980:
Installation script doesn't factory reset and destroy and create only system and cache so userdata are untouched.

Maybe something in kernel doesn't work properly if su doesn't work. Will investigate tomorrow.
[LG G Watch R] JanSchotsmans:
Thanks!

I'm still amazed LG, like with the Nexus 5, is doing such long upkeep on a device like this.

I can't say I know of any other Android brand that does such long upkeep and updates for their devices.

Granted, it's not like there's a lot of LG Watches yet (and especially not many with very different hardware), but still.

EDIT: I just checked the other question about root.

I also get su: not found, when I adb shell into the watch.
[LG G Watch R] saint_cow:
I've managed to figure out how to boot a modified kernel from another thread, is the process the same for this? Or do I need TWRP?
[LG G Watch R] Niels78:
Tested new kernel for about a half day now, already noticed that the battery life is much better. For the SU I can't tell had already rooted using systemless root by flashing supersu 2.78 SR1. Root is working for me. (Using advanced settings on the watch)

Rom is much more smoother than original and batterylife is acceptable. Keep up the good work!!!

Thanks again for this great rom and kernel!

Verstuurd vanaf mijn SM-G935F met Tapatalk
[LG G Watch R] dertester123:
Hey, how Does it handle cores in ambient mode?

It's generally very good, but with apps like sleep as android it has very high consumption compared to Stock or wear 1.5.

I see up to 10%/h when sleep tracking.
[LG G Watch R] JanSchotsmans:
I suspect for an app like that it would be best to setup some sort of specific profile that makes it play nice. SLA's CPU consumption gets better and worse from release to release too, so the current version may just be a tad on the bad side.

I switched to using SLA only with a heartrate monitor and my phone docked and charging, because some nights SLA would use 10% all night, others it would drain my watch completely.
[LG G Watch R] starbase64:
[MENTION=2174433]Skin1980[/MENTION]

flash from sdcard works fine, no problems
[LG G Watch R] stefal639:
Flashed with sideload from twrp.

Despite ADB say error during sideload, the rom is flashed.

I did, before the flash, a full wipe of all the partition.

There is any method to know if I flashed correct the rom?
[LG G Watch R] -iNSiGhT-:
If you only want to boot one time, it's the same command in fastboot mode :

fastboot boot file_name.img

---------- Post added at 07:47 AM ---------- Previous post was at 07:45 AM ----------

If you wiped the system partition and booted well after the flash, you're on this Ext4 ROM for sure.
[LG G Watch R] starbase64:
[MENTION=3430367]stefal639[/MENTION]

this is my way:

1. flash twrp in fastboot > fastboot flash recovery twrp-3.1.0-0-lenok.img

2. flash boot in fastboot > fastboot flash boot Ext4All_lenok_kernel_1.0.img

3. boot twrp

4. format all in twrp > erase > advanced

5. push rom to sdcard > adb push EXT4ALL_LGWATCH_R_1.0.zip /sdcard

6. install zip via twrp

7. boot system
[LG G Watch R] stefal639:
I use sideload and the process, despite end with error, flash correctly the rom.

I noticed that the Rom is the new one because the vibration for notifies and "ok Google" is stronger than the original one.
[LG G Watch R] dertester123:
From my ubderstanding your kernel Update will be overwritten by the Stock kernel from the rom package. And if you deleted all memory you also delete the kernel you just flashed.

I flashed twrp via fast boot, installed rom from twrp and after first boot updated kernel from fastboot again.

1.oem unlock

2.flash twrp from fastboot

(2.1 maybe do a full wipe)

3.flash Rom from fastboot or twrp

4.flash kernel (directly or after first boot)
[LG G Watch R] stevep113:
Battery life looking good today, :)
[LG G Watch R] saint_cow:
How do you get the rom and kernel onto the watch to flash with TWRP? Or just flash them via fastboot after flashing TWRP?
[LG G Watch R] dertester123:
I Flash the kernel via fastboot, the Kerbel is on my PC in the same folder. "fastboot Flash Boot file.img"

Where file.img is your kernel file

The file can be transfered via " adb push Filename.zip /sdcard". Also file in same folder as adb or you use relative / absolute path
[LG G Watch R] stevep113:
CPU frequency i do for the last 3 hrs or so
[LG G Watch R] Skin1980:
I need testers to fix the kernel, if someone is interested contact me on hangouts or on the Lg Urbane telegram chat. I need also to use teamviewer.

https://telegram.me/lg_urbane

Thanks in advance.
[LG G Watch R] vegeta340:
no errors from twrp, everything seems to be ok after flashing but I don't have root (kerner adiutor and advanced system settings not working). kernel was installed also without issues.
[LG G Watch R] Niels78:
Flash supersu from twrp, for me working fine.

Verstuurd vanaf mijn SM-G935F met Tapatalk
[LG G Watch R] Skin1980:
UPDATE:

New kernel version 1.1

Changelog:

- [MENTION=622139]stevep113[/MENTION] fixed the root script, after the first reboot root is working;
[LG G Watch R] stevep113:
Remember to delete the su.img file in data before you flash it
[LG G Watch R] JanSchotsmans:
This is strange.

I reflashed the ROM, the boot and no root (not in shell or reported by Kernel Adiutor.

I reflashed the ROM, SuperSU (let it patch the boot in the image), no root.

I reflashed the ROM, SuperSU and the boot image (1.0 and 1.1) and no root.

Scratching my head here.

EDIT: Retrying nor removing that su.img.
[LG G Watch R] stevep113:
Did you delete the su.img from data first? And then reboot after the first boot?
[LG G Watch R] JanSchotsmans:
Ok, works now it seems!

Removing the su.img and rebooting another time after install did the trick!
[LG G Watch R] firegoblin:
how do you remove su.img from data?
[LG G Watch R] stevep113:
Boot into recovery (twrp) open files and goto data, scroll to the bottom, click on su.img, click delete

Reboot then once it started up reboot

Check root works on second boot
[LG G Watch R] firegoblin:
It's there any visible way for me to tell if the rom even flashed? I don't have busybox or supersu in my app drawer.
[LG G Watch R] saint_cow:
I really want to to try this but the whole process for getting TWRP, removing parts of the img and people unsure if it's even flashed has me concerned I'm going to fry my watch as it seems a bit disjointed? No offence, I probably just need to do more research.
[LG G Watch R] firegoblin:
I was thinking the same yesterday. I tried this morning and everything was much easier than expected.
[LG G Watch R] saint_cow:
Where did you get TWRP for the watch and what process did you use? I've seen a thread specific to the G Watch R so should I use that?
[LG G Watch R] firegoblin:
https://dl.twrp.me/lenok/twrp-3.1.0-0-lenok.img.html

I flashed recovery

Full wipe

ADB push rom to sdcard

Flash rom

Reboot bootloader with ADB

Flash kernel

Boot rom

Setup

Reboot recovery

Remove su.img from /data
[LG G Watch R] -iNSiGhT-:
[MENTION=2568283]firegoblin[/MENTION] , i think you need to delete su.img only if you flashed the kernel in its 1.0 version (which has a problem in root script). And you need to erase it before to flash v1.1, not after.

If you're flashing this Ext4All ROM from scratch (from stock), then directly the kernel (v 1.1), you don't need to erase the su.img (it should not be there anyway). Just flash the ROM, then the kernel and reboot (and reboot again to gain root).

The better way to know that the ROM has been flashed is to wipe /system before to flash. If it boots, you're on Ext4All.
[LG G Watch R] firegoblin:
I had the SU.img still after reboot.
[LG G Watch R] -iNSiGhT-:
This is normal.

You need to delete su.img file only if you flashed the v1.0 of the kernel.

From what you wrote earlier, you flashed the ROM then immediately the kernel in v1.1, so you don't need to erase su.img .

su.img is part of the root process, you don't have to erase it.
[LG G Watch R] stevep113:
All_black_v2 modified for LG g watch r, flash in twrp, changes the system menus, app selector and notifications to a black background.

Credits to [MENTION=1944846]Udzi[/MENTION] and [MENTION=2174433]Skin1980[/MENTION] for the mod

https://drive.google.com/file/d/0Bw_GZtVzYpmZeHlIdGo3S2U4UGM/view?usp=drivesdk

Always have a backup before you flash anything new [emoji12]
[LG G Watch R] firegoblin:
Love it!
[LG G Watch R] -iNSiGhT-:
Like when you wish something and it comes true...

Thanks guys !!
[LG G Watch R] saint_cow:
So I've flashed TWRP successfully, flashed the ROM and Kernel after pushing them to the watch and now it won't boot, it just shows the LG logo then straight back into TWRP. Tried wiping and reflashing a heap of times and does the same thing every time. Oops just seen the recovery boot loop zip, will try that. Boot now:o
[LG G Watch R] Rebel2k:
Did you try to flash the bootloop fix included in the #2 post?
[LG G Watch R] etmnidj1:
Random shutdowns

Hello,

Installed the rom succesfully but it shuts down regularly. It says that it is shutting down, so no a hard crash, but a '' normal '' shutdown...

Any suggestions anyone how to solve this??

Regards Niels
[LG G Watch R] stevep113:
Is it getting too hot?

---------- Post added at 02:03 PM ---------- Previous post was at 01:59 PM ----------

Did a full wipe this morning, format system, data, boot. Flashed ROM and allbackv2 zip then when completed flashed kernel image.

Rebooted, set everything up let it sit a while to sync everything over. Working great.

Try doing that and see if it works. Also make sure it's not getting to hot i.e. charging and installing using it, i once had a shutdown due to over heat protection but only at first install. Not had it since
[LG G Watch R] drewcu:
How does the battery life compare on this (with the black theme) to stock?

Assume this can only be used with the Ext4All rom? I am still on stock AW 2.0 with unlocked 1-core kernel and am looking for a compelling reason to switch. Not really sure why I should yet but better battery life with the black theme would convince me. Still want to use an unlocked 1-core processor though because 2+ cores drain the battery too much for the speed increase to justify. Unlocked 1-core is the best of both worlds in my opinion.

Thanks.
[LG G Watch R] Bunsenbrenner:
Can write a Install manual ? after LG Logo will no Starting the system later as 30min no startup ?

my Install:

1. flash twrp in fastboot > fastboot flash recovery twrp-3.1.0-0-lenok.img --> or (twrp-3.0.0-0-lenok+squashfs.img) --->Both tried

2. boot twrp

3. format all in twrp > erase > advanced

5. push rom to sdcard > adb push EXT4ALL_LGWATCH_R_1.0.zip /sdcard

6. push zip to sdcard > adb push Ext4All_lenok_kernel_1.1.img /sdcard

7. push zip to sdcard > adb push recovery_bootloop_fix.zip /sdcard

8. install zip via twrp

9. boot system
[LG G Watch R] stevep113:
Try re-downloading the ROM and kernel zips perhaps they are corrupted. Try just wipe all then, flashing the ROM only and reboot

Try

fastboot format userdata

fastboot format cache

fastboot format system

Then the above

---------- Post added at 07:52 PM ---------- Previous post was at 07:50 PM ----------

Battery life is excellent for me, 2.8% per hour at the moment. I'm finding it better than the multicore kernels without mpdecision, hotplug. Hows everyone elses battery life?
[LG G Watch R] -iNSiGhT-:
Latest kernel makes the Watch as smooth as 4 cores kernel i tried on Stock, but with less battery drain (not a huge gain but it is noticeable).

With mpdecision, the CPU runs on one core most of the time (Watch in Ambiant if always on or Screen off). But battery life should naturely be slightly better with only one active core.

I'm running black theme since this morning, so can't say if it really helps for battery.
[LG G Watch R] Rebel2k:
Flashed the rom today, had some problems of bootloop until I formatted userdata, cache and system in fastboot and reflashed in TWRP.

It's so much faster than stock... Thanks a lot!

Envoyé de mon Nexus 6P en utilisant Tapatalk
[LG G Watch R] Bunsenbrenner:
stevep113

THX works fine but come Update search and goes not continue... can switch off or bypass?
[LG G Watch R] drewcu:
Decided to take the plunge today and so far so good with black theme. Cannot comment on battery life yet because I had all the draining updates to do after setup; we'll see how it goes during the week.

Kernel with root I'm sure is working but see no evidence in System/Apps of SU or Busybox. Benchmark app gives score of ~2800 (which is about what I got with unlocked 1-core and 2x stock). Hopefully battery life is equal or better to what I had before with that kernel which was 3.33% per hour (screen always on, wrist gestures ON, Wifi ON).

Thanks!
[LG G Watch R] -iNSiGhT-:
To verify if you have root, make this in adb mode :

adb shell
su

If the $ turns into a #, you have root access.
[LG G Watch R] stevep113:
I don't understand what you mean?
[LG G Watch R] saint_cow:
Something very odd happening since I flashed this, nearly every time I open assistant​ it searches for or thinks it hears Perth. Even if it does understand me Perth or something to do with Perth flashes up first then the words I spoke. What would cause this? Wasn't an issue on stock.
[LG G Watch R] stevep113:
Ever wonder why it takes a few days for your battery life to settle down?

Google play services syncing syncing - pics day 1 install & day 2, wonder what day 3 will bring...
[LG G Watch R] -iNSiGhT-:
Mine is still at 28Mb for days...
[LG G Watch R] etmnidj1:
Watch is running now for a day without shutdowns, did a complete fresh install. Looked like the install wasn't complete. Regards Niels
[LG G Watch R] firegoblin:
Does the watch face selector screen show properly for you?
[LG G Watch R] stevep113:
No it's a feature the background is transparent
[LG G Watch R] firegoblin:
Would it be possible to make it solid black?
[LG G Watch R] stevep113:
I believe it was being investigated by skin1980
[LG G Watch R] stevep113:
Things look to have settled down now...
[LG G Watch R] Rebel2k:
Yes I agree having the background transparent looks more like a bug than a feature... It's pretty hard to see something properly this way... ;) Hope it is going to be changed, the rest is superb.

Envoyé de mon Nexus 6P en utilisant Tapatalk
[LG G Watch R] miffymiffy:
There are so many people having this issue. Everyone keeps saying it is battery related. I dont think it is... Seems too coincidental that all of this is happening following the AW2 update. I have done everything... Ive wiped everything, gone through all stock, restored twrp backups etc. Nothing has worked... I am still within warranty so I am sending it back. Id be curious to know if everyones issues started following updating to this version. Thats the moment mine died. (Not saying it did, just curious.)
[LG G Watch R] DarkFlasher:
Yeah I was playing with flashing this new AW2 zip that was posted and the issues started after that. My current theory is that it thinks battery is at 0 so it shuts off, so I want to bring it close to 0 in TWRP and see if it makes a difference when I charge it in AW.

EDIT: It might have fixed itself somehow. I initially was able to use "fastboot boot NXG47C_boot.img" and afterwards I took it off the cradle and it loaded into the system. Afterwards I erased the boot partition and reflashed the ext4all zip and I'm currently waiting for it to boot up for the first time.
[LG G Watch R] stevep113:
I had battery issues following aw2 update, managed to fix it rigging the battery up directly to a charger, temp fix. New battery fixed it for good

https://xdaforums.com/showthread.php?t=3589193
[LG G Watch R] miffymiffy:
So yours only started after the update? I think thats where everyones has started. I am wondering if it was after updating to this build caused it? I had no issues prior to flashing this version then instantly had issues. Its not a battery problem, it will sit on bootloader or recovery for days.
[LG G Watch R] stevep113:
No mine occured after the aw2.0 stock update
[LG G Watch R] stevep113:
Last night's battery life using sleep app and today's battery life (WiFi disabled, tilt to wake disabled, screen always on enabled). Get the feeling some app is causing a battery drain/lag so have to investigate that
[LG G Watch R] Bunsenbrenner:
I mean i stuck in "UPDATE" i Install all --> AppWear... and goes not continue. If flash M1D65H with same method work all fin and i can update to 2.0 Stock without issues.

I can not flash 2.0 Stock or AW 2.0 without stuck in "UPDATE"do you understand me now ?
[LG G Watch R] bmangia1:
While a fresh battery cured my issues as well, I did notice the behavior on 1.5. Certainly didn't get any better on 2.0. Based on stevep113's observations, thanks for sharing that, I just ordered up a fresh cell and went with that. Since replacement its been golden so far.
[LG G Watch R] Bunsenbrenner:
I also thought new battery today ordered, running time with stock 1.day, let's see i hope gets better
[LG G Watch R] saint_cow:
Anyone having problems with updating apps on the watch? Mine just hang forever at download pending. Can't install new apps either.