Chronicles of building Android-8.1.0_r15-G8342-Dual - Sony Xperia XZ1 Guides, News, & Discussion

Hello user space,
A couple days ago I decided to take a chance by building AOSP for my G8342 Dual, the experimentation was quite... let's call it adventurous. It all started by firing up my VM, which I currently use to build, unofficially, LineageOS for my Nexus 5. I'd set a side enough space for the VM to cover the LOS build, not remembering the amount space used I was oblivious. I then jumped on Sony dev site, just to find out the XZ1 had been added to the list of unlockable devices, sweet! I backed up my current XZ1 data not sure whether the bootloader unlock would wipe all data, after sweeping the web for more information, it was confirmed that data would be wiped. I should have known because my N5 did wipe data, which I take is a security measure.
Back on the VM, per Sony's dev site, I made sure the necessary packages were installed which was all of them minus maybe one that wasn't. After all this VM builds for another device so it should be 98% complete. With haste, I 'repo sync'd that bad boi, and 'repo_update'd and on to the 'make -j4'. Little did I know, I had space issues. Remember that space issue up there?^^ It came to haunt me later, like 78% building complete later. :/. #$%^&(* I created a new VM with more space for both N5 builds and Xperia. The build was completed successfully, 3.xx-hrs later.
AOSP was manageable on the N5 with Google proprietary vendor files, etc. But this XZ1 is just blah.. even with the sony binary(4.4). By the way, without the sony binary(fastboot flash oem *.img) the thing will not boot. I flashed an unofficial gapps package from back in Dec. 2017, which I believe is the only functional(per xda) one for Oreo. Needless to say, the gapps package works.
Here are my issues with the AOSP XZ1: Android-8.1.0_r15
-SIM2 is defunct. I selected option 48 from lunch menu. Option 48 was aosp-g8342-userdebug.
-The camera, I know, DRM is sorta still there, with limits :/.
a.) Noise reduction is nowhere to be found even under good light. This camera has a good f-stop.
b.) HDR? It's there but is it actually performing its best work? No.
c.) Camera focus at close range, under a foot? Problematic or mostly nada on screen tap.
-A minor change: screenshot capture is now Volume down + power button. Aosp style!
Non-issues:
-Its plain vanilla, flat as a soda that's been seating out open all day.
-Because I built a userdebug version, root is automagically embedded.
https://source.android.com/setup/building#choose-a-target
Code:
You take on the responsibility of your device. Backup your data because the images will wipe everything.
=============How to flash=============
Get a copy of the latest binary here: software-binaries-for-aosp-oreo-android-8-1-kernel-4-4-yoshino
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash userdata userdata.img
fastboot flash oem SW_binaries_for_Xperia_AOSP_O_MR0_4.4_<release version>_<platform>.img
====================================
===============8.1.0_r20==========================
-Grab a copy of this aosp-g8342_dual-userdebug:
AOSP_Android-8.1.0_r20_G8342_Dual.zip
-Grab a copy of this aosp-g8341_single-userdebug:
AOSP_Android-8.1.0_r20_G8341_Single.zip
===============8.1.0_r20==========================
Here are a few screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
perhaps it was a nice story to tell.... have a nice day xda.

Hello. Nice story. I have the single Sim version so I don t know if this will work, but have you had a chance to check the fingerprint sensor? Thanks

Can u build g8341 aosp?

emyjojo said:
Hello. Nice story. I have the single Sim version so I don t know if this will work, but have you had a chance to check the fingerprint sensor? Thanks
Click to expand...
Click to collapse
It will not work with single sim. Yes I have checked the fingerprint even registered two of them. I've attached some pictures for you to see.

dcrin3 said:
It will not work with single sim. Yes I have checked the fingerprint even registered two of them. I've attached some pictures for you to see.
Click to expand...
Click to collapse
That's great news, as it was not working in the previous builds. Would you have the time to build a version for the single SIM model? Would like do give it a shot.
Thank you.

AOSP_Android-8.1.0_r15_G8342_Single
emyjojo said:
That's great news, as it was not working in the previous builds. Would you have the time to build a version for the single SIM model? Would like do give it a shot.
Thank you.
Click to expand...
Click to collapse
You know I just realized that my Dual device is not listed on the Supported devices and functionality page.
The XZ Premium has a dual edition listed but not the XZ1, I wonder why.
Well that makes some sense now.
Code:
Please be aware that I've not tested this package as I do not have the device(You take on the responsibility). Backup your data because the images will wipe everything.
Here is the single version:AOSP_Android-8.1.0_r15_G8341_Single.zip
You let me know if its at least fingerprint and sim1 functional.
see ya.

dcrin3 said:
You know I just realized that my Dual device is not listed on the Supported devices and functionality page.
The XZ Premium has a dual edition listed but not the XZ1, I wonder why.
Well that makes some sense now.
Here is the single version:AOSP_Android-8.1.0_r15_G8342_Single.zip
You let me know if its at least fingerprint and sim1 functional.
see ya.
Click to expand...
Click to collapse
Hi fingerprint is working rom boots fine thank you

yoyoyed said:
Hi fingerprint is working rom boots fine thank you
Click to expand...
Click to collapse
What do you think of its vanilla-ness? its tooo plain no?

dcrin3 said:
What do you think of its vanilla-ness? its tooo plain no?
Click to expand...
Click to collapse
I like it for me perfect can you please support this and keep it updated in the future. Thanks

Hello, It works fine for me as well, but we still need to do the trick with Google Play, in order to get it to work. Will test drive this for a while. Thank you for your efforts.

I have a couple of questions.
1: Does the data activate immediately or does it take several minutes to become active upon booting?
2: Does "OK Google" work from any screen as it does on the stock ROM. (I attempted to run a previous build of AOSP on my 8341 and that feature wouldn't work properly and it drove me insane as i use it all the time.)
3: Is this package a flashable zip or do we have to install each file seperately via fastboot?
Thanks

N1ghtr08d said:
I have a couple of questions.
1: Does the data activate immediately or does it take several minutes to become active upon booting?
2: Does "OK Google" work from any screen as it does on the stock ROM. (I attempted to run a previous build of AOSP on my 8341 and that feature wouldn't work properly and it drove me insane as i use it all the time.)
3: Is this package a flashable zip or do we have to install each file seperately via fastboot?
Thanks
Click to expand...
Click to collapse
Hello,
The data activates immediately upon booting, i do not use google assistant so can't really help about the second point. It is not a flashable zip, you will need to flash each .img via fastboot.
A new thing that I've noticed, the fingerprint sensor is always on, it can unlock the device with the screen turned off.
Hope this helps.

N1ghtr08d said:
I have a couple of questions.
1: Does the data activate immediately or does it take several minutes to become active upon booting?
2: Does "OK Google" work from any screen as it does on the stock ROM. (I attempted to run a previous build of AOSP on my 8341 and that feature wouldn't work properly and it drove me insane as i use it all the time.)
3: Is this package a flashable zip or do we have to install each file seperately via fastboot?
Thanks
Click to expand...
Click to collapse
1 For me data working immidiately
2 ok google only on google app
3 package flash via fastboot
And instal gapps is no issue on this rom works fine

Thanks for the replies. The big issue for me is Google Assistant. If I can't use it from anywhere/with the screen off then it's a no go for me. I'm glad I asked this question before I flashed. Going back to stock is always time consuming.
---------- Post added at 12:08 PM ---------- Previous post was at 12:02 PM ----------
yoyoyed said:
1 For me data working immidiately
2 ok google only on google app
3 package flash via fastboot
And instal gapps is no issue on this rom works fine
Click to expand...
Click to collapse
Could you please try something for me? Delete your trained voice from the Google app then retrain it again but when saying the "ok Google" command, say each of the 3 commands from different distances from the microphone, for example the first really close to the phone, second about 1ft away, 3rd about 2ft away. After its retrained please answer back and let me know if there's any difference please.
I really rely on the Google Assistant so I'm hoping we can fix it somehow.
---------- Post added at 12:12 PM ---------- Previous post was at 12:08 PM ----------
I also found this via search...
I opened the Google App and went to Settings in main menu. Then "'OK Google' detection". Then I disabled all 3 OK Google settings ("Say 'OK Google' any time", "Trusted voice", and "While driving"). Then I re-enabled all 3 and it asked me to retrain by saying "OK Google" 3 times (which is weird because I never explicitly deleted the training data). Then "OK Google" seemed to work fine again after Oreo upgrade.
Could you try that if the first one didn't work?

It seems that it was a false positive with the fingerprint scanner, at least for me. After a Day of usage, it says no fingerprint hardware. It works briefly after a reboot, but it stops.

I figured out a partial fix for Google Assistant not working. The only caveat is that it won't work from a locked screen and unlock the phone, but it works from any screen while the screen is on.
This problem that u have can occur if the Google app is not installed as a system app .
So to fix this ,follow the next few steps -
1) Convert Google app into system app using apps like Titanium backup or anything of your preference. (I found that doing this caused a never ending process and it is fixed by simply going to Titanium Backup so permissions then force stop the app.)
2) Using any root Explorer navigate to Root > system > app and search for an app named similar to 'googlesearchbox' and cut the app from this folder.
3) Now Navigate to Root > system > priv-app and paste the app.
4) Reboot and now the problem will be gone
5) Finally go to the app permissions of the Google app then clear the cache and data then reboot.
The problem should be solved and you should be able to retrain the voice commands.

@yoyoyed
"I like it for me perfect can you please support this and keep it updated in the future. Thanks"
I will certainly entertain the idea. I need to start utilizing twrp backup now that the bootloader is unlocked.
It takes too much time to restore this beast to its working condition.
@emyjojo
"Hello, It works fine for me as well, but we still need to do the trick with Google Play, in order to get it to work. Will test drive this for a while. Thank you for your efforts."
I may have a dirty trick to pull that off. I need to spend more time in the android playground, experimenting. You're welcome @emyjojo
@N1ghtr08d
"2: Does "OK Google" work from any screen as it does on the stock ROM. (I attempted to run a previous build of AOSP on my 8341 and that feature wouldn't work properly and it drove me insane as i use it all the time.)"
That's a low possibility of it happening but along the same experimenting as above ^^^ it may come through. But I'm not promising.
"3: Is this package a flashable zip or do we have to install each file seperately via fastboot?"
That is possible with me spending more time in the playground.
@emyjojo
"It seems that it was a false positive with the fingerprint scanner, at least for me. After a Day of usage, it says no fingerprint hardware. It works briefly after a reboot, but it stops."
After testing out some of the ideas above I will opt to test the phone(AOSP) for a couple days. I want to see how the fingerprint handles on longer usage scenarios.
thank you all for testing it out.
see ya!

dcrin3 said:
@N1ghtr08d
"2: Does "OK Google" work from any screen as it does on the stock ROM. (I attempted to run a previous build of AOSP on my 8341 and that feature wouldn't work properly and it drove me insane as i use it all the time.)"
That's a low possibility of it happening but along the same experimenting as above ^^^ it may come through. But I'm not promising.
Click to expand...
Click to collapse
Bro, look at the post directly above yours. I solved the issue with Google assistant!

@dcrin3
I have a logcat of the fingerprint failure if it will help:
08:42:26.134 V/FingerprintService(952): request stop current client com.android.systemui
03-21 08:42:26.134 W/FingerprintService(952): stopAuthentication: already cancelled!
03-21 08:42:29.137 W/FingerprintService(952): Client com.android.systemui failed to respond to cancel, starting client com.android.systemui
03-21 08:42:29.138 V/FingerprintService(952): starting client AuthenticationClient(com.android.systemui), initiatedByClient = false)
03-21 08:42:29.164 W/FingerprintService(952): startAuthentication failed, result=1
03-21 08:42:29.780 E/KernelUidCpuTimeReader(952): Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
03-21 08:42:32.176 V/FingerprintService(952): stop client com.android.systemui
03-21 08:42:32.179 W/FingerprintService(952): client com.android.systemui is no longer authenticating
03-21 08:42:32.180 V/FingerprintService(952): startAuthentication(com.android.systemui)
03-21 08:42:32.182 V/FingerprintService(952): request stop current client com.android.systemui
03-21 08:42:32.182 W/FingerprintService(952): stopAuthentication: already cancelled!
03-21 08:42:35.185 W/FingerprintService(952): Client com.android.systemui failed to respond to cancel, starting client com.android.systemui
03-21 08:42:35.185 V/FingerprintService(952): starting client AuthenticationClient(com.android.systemui), initiatedByClient = false)
03-21 08:42:35.210 W/FingerprintService(952): startAuthentication failed, result=1
03-21 08:42:42.948 E/KernelUidCpuTimeReader(952): Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
03-21 08:42:48.287 E/KernelUidCpuTimeReader(952): Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
03-21 08:42:50.184 I/PowerManagerService(952): Waking up from sleep (uid=1000 reason=android.policyOWER)...
03-21 08:42:50.211 E/KernelUidCpuTimeReader(952): Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
03-21 08:42:50.218 V/FingerprintService(952): stop client com.android.systemui
03-21 08:42:50.218 I/DisplayPowerController(952): Blocking screen on until initial contents have been drawn.
03-21 08:42:50.220 W/FingerprintService(952): client com.android.systemui is no longer authenticating
03-21 08:42:50.221 V/FingerprintService(952): startAuthentication(com.android.systemui)
03-21 08:42:50.221 V/FingerprintService(952): request stop current client com.android.systemui
03-21 08:42:50.221 W/FingerprintService(952): stopAuthentication: already cancelled

Very good job, nice to see people caring about bringing stock android to the XZ1.
What about treble generic ROMs? Did u try?
Can't wait to have a official treble Ressurection Remix!

Related

[Q&A] [ROM][EXP] AOSP Lollipop 5.0 for Evo 3D - November 12

Q&A for [ROM][EXP] AOSP Lollipop 5.0 for Evo 3D - November 12
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM][EXP] AOSP Lollipop 5.0 for Evo 3D - November 12. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Good job! It's looked very sexy :fingers-crossed::fingers-crossed::fingers-crossed:
Awesome!!!
Gapps
Hi, I got a problem with gapps. I tried 4.4 gapps and cyanogenmod 12 gapps. Everytime I boot there is an error saying process *.wizard has failed. Basically all google services fail. So what gapps should I use. Thank you Hahaburger for this rom which works fine without gapps.
flashed
Hi, i flashed this rom earlier today and now I am stuck. when the phone turns on it tells me in a different language then english roughly translated "sorry but wizard application for settings has quit" and when i click OK the same message pops up. it just repeats. when I shut off and enter bootloader using the power and volume down buttons and try to go to recovery to restore the phone just shuts off which i can not turn back on without taking out the battery. HELP ME i am stuck. what can i do to fix this or restore back to a previous build
i did a full wipe, flashed this rom, then supersu.
after that i manually installed some apps via adb.
so far my experience has been very good considering this early stage of development!
its running smooth, no major problems so far, even the flashlight is working (although System-UI fcs when i activate it)
after a full day of light usage (no calls, no sms) only using wifi for chat/mail/browser and installing some apps, i still have over 80% left.
but when i try to call someone i just get an error saying something like "call not connected."
Here is a logcat: pastebin com /ZrbZTGtL
i think the error happens around these lines:
80. Telephony( 752): TelephonyConnectionService: Could not get subId from account: E
115. PhoneInterfaceManager( 752): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
+ some more like the last one
---------- Post added at 07:53 PM ---------- Previous post was at 07:31 PM ----------
here is a logcat of the flashlight crashing System-UI
pastebin com /tsusu00p
i think it has to do with the camera not working yet but here are some errors:
D/QualcommCameraHardware3D( 189): getBuffersAndStartPreview: setPreviewWindow(320 x 240), iTotalBufferCount 5, mIs3DModeOn: 0
E/ ( 133): unrecognized pixel format: 0xf0
E/ ( 133): Format 240
W/GraphicBufferAllocator( 133): alloc(115200, 76800, 240, 00000100, ...) failed -22 (Invalid argument)
E/ ( 133): GraphicBufferAlloc::createGraphicBuffer(w=115200, h=76800) failed (Invalid argument), handle=0x0
E/BufferQueueProducer( 1281): [unnamed-1281-1] dequeueBuffer: createGraphicBuffer failed
E/QualcommCameraHardware3D( 189): getBuffersAndStartPreview: dequeueBuffer failed for preview buffer. Error = FFFFFFEA
Click to expand...
Click to collapse
the funny thing is i can hear the camera making shutter noises, so it's at least doing something with the camera
echs said:
i did a full wipe, flashed this rom, then supersu.
after that i manually installed some apps via adb.
so far my experience has been very good considering this early stage of development!
its running smooth, no major problems so far, even the flashlight is working (although System-UI fcs when i activate it)
after a full day of light usage (no calls, no sms) only using wifi for chat/mail/browser and installing some apps, i still have over 80% left.
but when i try to call someone i just get an error saying something like "call not connected."
Here is a logcat: pastebin com /ZrbZTGtL
i think the error happens around these lines:
80. Telephony( 752): TelephonyConnectionService: Could not get subId from account: E
115. PhoneInterfaceManager( 752): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
+ some more like the last one
---------- Post added at 07:53 PM ---------- Previous post was at 07:31 PM ----------
here is a logcat of the flashlight crashing System-UI
pastebin com /tsusu00p
i think it has to do with the camera not working yet but here are some errors:
the funny thing is i can hear the camera making shutter noises, so it's at least doing something with the camera
Click to expand...
Click to collapse
@HaHaBuRGeR
echs said:
80. Telephony( 752): TelephonyConnectionService: Could not get subId from account: E
115. PhoneInterfaceManager( 752): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
+ some more like the last one
Click to expand...
Click to collapse
Thanks for detailed explanation and logcats . I'm aware of this erros.
I'm trying to debug rild to find problems. Also for camera it seems codec error.
I'll look at that too after mobile data. And I can make calls I don't really know why you can't.
Are you using usim? If you would like to test more please send me a PM.
@HaHaBuRGeR:
i don't know how to find out if i have an USIM. according to some older posts regarding my provider all newer sims should be USIM.
i found some code examples but in most cases CDMA was detected as a USIM and GPRS as SIM.
on the sim card i have the letters UJ, the U should be for a USIM card but i'm not sure.. i'd guess its an USIM.
sms are working fine (sending and receiving).
i could receive calls and they were working fine.
but i still cannot make outgoing calls. USSD codes also aren't working.
btw: i got almost 48hours of uptime with no major errors, it's gonna be a fine rom!
still waiting for data, atm thats more important to me.
oh and i cannot send PMs until i have 10 posts...
Google PlayStore problem
I really like your ROM, have used it for week...
I have the last release - working (call, sms, headphones) ok and fast, but I'm not able to install apss from store (I got unknown error code 972 ).
I used the GApps from here: https://s.basketbuild.com/gapps . Which GApps are recommended for you ROM?
cajda77 said:
I really like your ROM, have used it for week...
I have the last release - working (call, sms, headphones) ok and fast, but I'm not able to install apss from store (I got unknown error code 972 ).
I used the GApps from here: https://s.basketbuild.com/gapps . Which GApps are recommended for you ROM?
Click to expand...
Click to collapse
Weird, I'm using same GApps for testing. Have you wiped your data partition before installing the ROM?
HaHaBuRGeR said:
Weird, I'm using same GApps for testing. Have you wiped your data partition before installing the ROM?
Click to expand...
Click to collapse
Yes, I'did.
I'll try tommorow again (the whole flash process) just to be sure. I don't know how to provide you more info...I'll try to look in syslog.
cajda77 said:
Yes, I'did.
I'll try tommorow again (the whole flash process) just to be sure. I don't know how to provide you more info...I'll try to look in syslog.
Click to expand...
Click to collapse
You can install and use adb to give me logs about errors. Here is a tutorial about how to use it http://forum.xda-developers.com/showthread.php?t=1726238
Unfortunate that this a GSM ROM because I'm on CDMA so I could possibly help out
Sent from my Evo 3D CDMA
HaHaBuRGeR said:
You can install and use adb to give me logs about errors. Here is a tutorial about how to use it http://forum.xda-developers.com/showthread.php?t=1726238
Click to expand...
Click to collapse
Probably the problem was that I used old recovery for flashing (TWRT, CWM), I got some errors. Today I have used the PhilZ Touch from here: http://forum.xda-developers.com/showthread.php?t=2764698 and GooglePlay installing apps seems to be working.
Thanks
Interesting! Seeing I still use my HTC Evo 3D as my daily driver, I'm going to try to work on a L version for CDMA and probably start here.
This would be my first try doing anything ROM related in terms of development, so it'll be interesting for me. I wish you luck in getting this thing into a daily driver on this old device . At least we are not forgotten!
No_file contexts
No_file contexts everytime I try to install it? On latest build It just stays on installing update.. adn nothing happens latest CWM recovery I really want to istall it
When I try to install the SELinux-disabled kernel I get this message in the photo. Is it normal? Flashing finishes OK, but when I reboot I still have no su access. I must mention that I have installed this ROM in dual-boot, so recovery sees my primary ROM environment which is ICS.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Oppo Find 7a X9007 with rare/no GSM/3G reception
ergün
ergün kardeş bana face adresini versene sormam gereken şeyler varda.
dreccon said:
When I try to install the SELinux-disabled kernel I get this message in the photo. Is it normal? Flashing finishes OK, but when I reboot I still have no su access. I must mention that I have installed this ROM in dual-boot, so recovery sees my primary ROM environment which is ICS.
Sent from my Oppo Find 7a X9007 with rare/no GSM/3G reception
Click to expand...
Click to collapse
I have no idea for dual-boot but we don't need SELinux disabled kernel anymore for using su command. You can just flash superSU's latest version, it works well.

Clarity - Contact thumbnails you don't mind looking at.

Code:
Clarity is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Introduction
Clarity is an Xposed module and root Android application for increasing the size and quality of contact thumbnails in the Android contacts database. It's comprised of two components. An Xposed modification and a root-required Database Processor.
Clarity also increases the quality and size of locally stored album art.
Click to expand...
Click to collapse
Xposed Mod
Android stores two versions of contact images. The contact photo and the contact thumbnail. While both are downscaled appropriately from the original image, the two are very different in size. Contact photos clock in at around 720×720 pixels or so depending on the original image. Contact thumbnails are a measly 96×96 pixels. Contact photos are used in places where contact imagery is going to be distinctively large like the KitKat/Lollipop Phone app. Or when you receive an incoming call. Thumbnails are used for notifications, messaging applications, and other roles which the full contact photo is unnecessarily big. Unfortunately, as screen PPIs have skyrocketed since the 96×96 limit was put in place, contact thumbnails are now too small for their original purpose. Regardless, most applications continue to use contact thumbnails.
Clarity forces Android to use a user-defined size (defaulting to 256×256) when adding contact thumbnails to the database. While these new images are larger and look much better they will load slightly slower and increase memory requirements. For newer devices this should not be a problem. For reference, I have not witnessed any side effects on my Galaxy S4 using the default 256×256 setting. Since the size can be adjusted you can optimize it for your device.
In the name of simplicity, Clarity does not change the method Android uses to downscale contact thumbnails, just the final dimensions. However since Clarity allows you to increase the size of the thumbnail and consequently decrease the magnitude of the downscale, there will be noticeably fewer artifacts in your new thumbnails.
The Xposed module does not magically increase the quality of thumbnails already added in the database. It only affects newly added/updated contacts and images. To upgrade your entire contacts database either use the Database Processor detailed below or re-import the contacts. Re-importing may require you to deconnect/desync the account the contacts are associated with and then reconnect/resync the account. Some sync applications may have a force refresh option and that should work nicely. For instance, HaxSync has a Force redownload option under its contact settings.
When the Xposed module is activated, Clarity will also up the size of locally stored album art (for instance, MP3s on the external storage). Just like the contact thumbnail part of the module, existing album art is unaffected. To get Android to reprocess all the album art on your device you must delete all the files found in the albumthumbs directory. This is usually found somewhere on your external storage. Popular paths are /storage/emulated/legacy/Android/data/com.android.providers.media/albumthumbs and /storage/sdcard0/Android/data/com.android.providers.media/albumthumbs. Different devices and ROMs can have different paths but the last /Android/data/com.android.providers.media/albumthumbs bit should stay the same. Once that directory has been cleared out, higher quality album art will be regenerated by Android on demand (as they are needed). See Android issue 73635 for more information about the album art problem.
Click to expand...
Click to collapse
Database Processor
In addition to the Xposed-based modification described above, Clarity includes a Database Processor. This powerful feature forcibly updates every contact thumbnail in your database. It rips out the internal contacts database file, finds all your contacts with photos and puts in new thumbnails. It'll then replace the old database with the new one. It is highly recommended to immediately reboot after processing to avoid Android going berserk. It will if you don't.
While powerful, the Database Processor is also extremely dangerous. I am not responsible for any damage to your device as a result of using Clarity. It performs several operations as root and modifies core Android files that were never meant to be touched by anything other than Android itself. I highly recommend a full recovery-based backup of your device alongside the built-in backup feature. Please use the dry-run feature first (hell, multiple times even) to ensure the operation will succeed for your ROM. It is possible a successful dry-run could still fail when doing the real-deal so, as I mentioned before, backup your stuff. The built-in contact backups will be saved to a Clarity folder on your "primary" external storage. What primary means depends on your ROM and device. It could be your actual external SD card or it could be an internal storage location. Regardless, the current backup location will be noted, assuming backups are enabled, in the processor's log. As an added bonus, if the backup feature is on it will also save the log file alongside your backups!
The Database Processor has been tested on CM (CyanogenMod) 10 (based on Android 4.1.2), CM 11 (based on Android 4.4.4), CM 12 (based on Android 5.0.2), and CM 13 (based on Android 6.0.1). It should work on any AOSP-based ROM from Ice Cream Sandwich (4.0) to Marshmallow (6.0). For stock ROMs and anything created by carriers I have no idea. If it works for you please report back! If it doesn't, well, report that too.
Click to expand...
Click to collapse
Images
Settings
Database Processor
Raw Comparison
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Google Messages Comparison
Google Hangouts Comparison
Android Wear Comparison
More!
Click to expand...
Click to collapse
Features
Simple lightweight Xposed modification
Powerful database processor for forcibly updating contact thumbnails
Also clarifies locally stored album art
Should work on nearly any AOSP-based ROM like CyanogenMod
Free and open-source software. No nags. No data collection. No secrets.
Click to expand...
Click to collapse
Known Issues
Does not appear to work with Google-synced contact photos.
May not work with all devices and ROMs. See the following post.
Click to expand...
Click to collapse
Installation
Make certain you have Xposed installed before continuing.
Install the app by a) searching for it in the Xposed Installer or b) manually through the APK provided on GitHub or the Xposed website.
Configure the app in its settings panel. It can be accessed through the module section of the Xposed Installer or by the launcher shortcut.
Enable the module in the Xposed Installer.
Reboot.
Done!
The Xposed module will only update contact photos that are modified or added to the database after it is turned on. The database processor will attempt to update the contact photos in place and right away. To avoid using the database processor your contact photos must be manually refreshed. How/if this can be done and how easily is dependent on how you sync your contacts. For instance, if you use HaxSync you can update all your photos by going to Settings app -> Accounts -> HaxSync -> Advanced Settings -> Contact Settings -> Check Force redownload. Hit back twice. Select your account name at the top. Click Contacts to uncheck it. Recheck it and wait for sync to finish.
Click to expand...
Click to collapse
Changelog
See the GitHub repository for the definitive changelog.
Code:
v1.2-cfad189 - 03 Jul 2016 - Stable
------------
This release introduces the following improvements:
* Added a Spanish translation
(thanks to Jose Artuñedo @ XDA)
* Fix a SELinux-related issue with the Database Processor
on Marshmallow
* Support Marshmallow's new permission system
* Added some additional debugging info to the processor log
* Tested on CyanogenMod 13 (Android 6.0.1)
Code:
v1.1-93b7945 - 03 May 2015 - Stable
------------
This release introduces the following improvements:
* The database processor will no longer fail if contacts2.db-journal
cannot be found. It will note the absence of the journaling file
in the log and proceed as normal
* Will now increase the size and quality of locally stored album art.
Suggested by @Karamvir Singh. See [url=http://forum.xda-developers.com/showpost.php?p=60499753&postcount=55]this post[/url] for more
information.
* An XXXHDPI icon
* Updated donation links
* Minor log bug fix
* Better shell usage
* Less condescending toast notifications
Code:
v1.0-917d899 - 25 Mar 2015 - Stable
------------
Initial release. Make sure to see the README or XDA thread!
Click to expand...
Click to collapse
Downloads
MD5 checksums are available on the Xposed Repo and XDA.
Xposed Repo (APK)
XDA (APK)
GitHub (HTTPS APK)
GitHub (sources)
Click to expand...
Click to collapse
FAQ
Q: Something went horribly wrong! How do I restore from one of the backups?
A: Ouch! Clarity stores backups on your "external storage." Depending on your device and ROM this could be an actual SD card or internal. If your device has two check both. It will be in a directory named Clarity. In the Clarity backup directory there will be sub-directories with dates. Select the one before everything went to hell. You'll find up to three files: contacts2.db contacts2.db-journal, and dbprocessor.log The .db file(s) are the actual contacts databases. The dbprocessor.log is your log file and has lots of great information for us to use. Now that we have located everything we need let's get restoring.
Method #1 - By hand
If your device still boots and you can navigate around (even if things are crashing every few seconds) try this. If you have a custom recovery that supports adb then this will work as well if you boot into it.
Grab the adb command line tool. For Windows check here. For Linux and Mac see here.
Now put your device in debug mode. Go to the settings app. Tap About phone. Keep tapping Build number until it says you are a developer. Go back and select Developer options. Turn the development options "on" if needed. Under Debugging turn on Android debugging.
Now connect your device to your computer. It should say something about debugging being enabled in the status bar. Make certain your phone is unlocked. If it says something about allowing the computer debug access to your phone please accept it.
Open up a command line or terminal. On Linux I'm going to assume you know what to do. On Mac it's the Terminal app. On Windows it's C:Windowssystem32cmd.exe
Type adb version and hit enter. If your get something about it being not found then adb isn't installed in your PATH or you're not in the directory in which adb was extracted. You can navigate to that directory with the cd command. So to navigate to the system32 folder on Windows, for instance, I'd type cd C:Windowssystem32 and hit enter.
Type adb shell and hit enter. This will dump us into a shell instance directly on your device.
Type id and hit enter. If the first bit is not uid=0 then unlock your device and type su and hit enter. If your device prompts for superuser access please grant it.
Navigate to the directory in which your backups are stored on your device. For me this would be something like cd /storage/emulated/legacy/Clarity/2015-Something
You should now see the backup files if you type ls and hit enter. Great. Now to move these into place.
Open your dbprocessor.log file on your device through a file manager or move it onto your computer to read its contents. You can read it through the command line if you wish but it's much more convenient to be able to copy and paste if needed.
Note the Contacts UID and Contacts directory. Mine is 10006 and /data/data/com.android.providers.contacts respectively.
Execute cp contacts2.db /your/contacts/directory/databases/contacts2.db and hit enter. For me this full command is cp contacts2.db /data/data/com.android.providers.contacts/databases/contacts2.db
If you have a contacts2.db-journal file do the same except with that file. For me this is: cp contacts2.db-journal /data/data/com.android.providers.contacts/databases/contacts2.db-journal
Now to correct the permissions. Type chown +UID:+UID /your/contacts/directory/databases/contacts2.db* and hit enter. For me this is chown +10006:+10006 /data/data/com.android.providers.contacts/databases/contacts2.db*
Reboot immediately by typing reboot and hitting enter.
All done. Your contacts database has been restored.
Method #2 - Recovery
Took a backup with your custom recovery before processing? Just restore from the backup to get your device back to normal.
Click to expand...
Click to collapse
Credits
rovo89 - Xposed
Chainfire - libsuperuser
Click to expand...
Click to collapse
Licensing
Copyright © 2015-2016 Kevin Mark. Clarity is licensed under the GNU General Public License, Version 3, which can be found in LICENSE.md
Click to expand...
Click to collapse
Clarity is developed in my spare time and will always remain free and open-source software. If you find this application useful please feel free to donate.
XDA:DevDB Information
Clarity, Xposed for all devices (see above for details)
Contributors
Kevin M
Source Code: https://github.com/kmark/Clarity
Xposed Package Name: com.versobit.kmark.clarity
Version Information
Status: Stable
Current Stable Version: v1.2-cfad189
Stable Release Date: 2016-07-03
Created 2015-03-25
Last Updated 2016-07-23
Clarity
ROM Compatibility
Clarity should work with CyanogenMod and other closely AOSP-based ROMs. Other ROMs like the stock ones found on most popular Android devices may not work with Clarity. If you have a device or ROM that Clarity works or does not work with (and is not already on the below list) please tell me!
LG G2
CyanogenMod 12
LG G3
SkyDragon (Lollipop)
Motorola Droid X2
CyanogenMod 10
Nexus 6
Temasek
OnePlus One
BlissPop 2.2
Temasek 5.0.2
Samsung Galaxy Note II N7100
CyanogenModX 5.0.2
Samsung Galaxy Note 4
CyanogenMod 12 (3/24 nightly)
Stock (doesn't work? try this)
Samsung Galaxy S4
CyanogenMod 11
CyanogenMod 12
CyanogenMod 13
Xperia J
Xperia Revolution ROM
Click to expand...
Click to collapse
ROM Incompatibility
Moto X (2013)
Stock (Android 4.4)
Click to expand...
Click to collapse
Looks Promising !!!!
M3gAtR0N said:
Looks Promising !!!!
Click to expand...
Click to collapse
Thank you. The application is now available.
Kevin M said:
Thank you. The application is now available.
Click to expand...
Click to collapse
Works fabulously with BlissPop 2.2 OPO !
Excellent wok
Looking forward to this project!...?
Testing after a while on XPERIA!
This is awesome, especially for Android wear!! Does it help with WhatsApp too? I fear not since it has different pictures...which are ugly because of an 8bit definition worth of MS-DOS "prince of persia"!!
So, that said, which apps are affected in addition to messenger and hangouts? Textra maybe? Others?
Cheers and keep up the good work!!
N7100 - CyanogenModX 5.0.2 @240 dpi
I've been waiting for this my entire life haha, thank you!
Fantastic! Works great. All I had to do was uncheck Contacts in sync settings and recheck it.
M3gAtR0N said:
Works fabulously with BlissPop 2.2 OPO !
Excellent wok
Click to expand...
Click to collapse
Thanks! Both the DB processor and the Xposed mod seem to be working well?
cyberpunk627 said:
This is awesome, especially for Android wear!! Does it help with WhatsApp too? I fear not since it has different pictures...which are ugly because of an 8bit definition worth of MS-DOS "prince of persia"!!
So, that said, which apps are affected in addition to messenger and hangouts? Textra maybe? Others?
Cheers and keep up the good work!!
N7100 - CyanogenModX 5.0.2 @240 dpi
Click to expand...
Click to collapse
It will help with any application or system software that makes use of the contact thumbnail stored in the database. From my personal experience this is a majority of applications. It's also why Clarity fixes contact imagery on Android Wear apps/notifications. It will not work for any apps that use their own contact system instead of the built-in Android one. A good example is Google Hangouts which will use its own contact photos for your Google+ contacts. Luckily the Google+ photos tend to be pretty decent quality-wise. Hangouts will fall back to your contacts database if that person does not have a Google+ profile and so Clarity will help there.
Kevin M said:
Thanks! Both the DB processor and the Xposed mod seem to be working well?
/QUOTE]
yes both are working smoothly ! This is something that should be done by Google themselves !
Tested on BlissPop and Temasek 5.0.2 Lollipop for OnePlus One !
---------- Post added at 10:29 PM ---------- Previous post was at 10:27 PM ----------
Kevin M said:
Thanks! Both the DB processor and the Xposed mod seem to be working well?
Click to expand...
Click to collapse
Yes both are working seamlessly !
Tested on BlissPop and Temasek 5.0.2 Lollipop for OPO !
Click to expand...
Click to collapse
M3gAtR0N said:
Kevin M said:
Thanks! Both the DB processor and the Xposed mod seem to be working well?
/QUOTE]
yes both are working smoothly ! This is something that should be done by Google themselves !
Tested on BlissPop and Temasek 5.0.2 Lollipop for OnePlus One !
---------- Post added at 10:29 PM ---------- Previous post was at 10:27 PM ----------
Yes both are working seamlessly !
Tested on BlissPop and Temasek 5.0.2 Lollipop for OPO !
Click to expand...
Click to collapse
Great, thanks again. The Xposed modification that Clarity makes to Android can actually be done by ROM devs (or of course Google). I'm assuming at least someone out there does this.
If you're a ROM maintainer consider adding Clarity's simple modification to your ROM. Reference the XClarity.java file for implementation details.
Click to expand...
Click to collapse
I've always wondered what the hell is going on when I get a new phone and some contacts images are blurry when they never were before in the previous phone. Happens everytime. Downloading now.
app seemed to work great on TMO Note 4 with CM 3/24 nightly . . . . until I pushed the Home button. I am then asked which launcher I want to use as Home and I choose Nova (which I already chose before). Then I get message that says "Unfortunately Android System has stopped." This happens every time I hit the home button. It happens if I choose Google Now Launcher too. This problem happened immediately after installing the mod and hadn't happened before. Still happens if I disable mod and reinstall Nova. Any ideas?
EDIT: if I go to settings - home and choose launcher there, it fixes it. Not sure why that is necessary. You should be able to choose default launcher when it ask you if you always want to use that launcher....
mcdavid said:
app seemed to work great on TMO Note 4 with CM 3/24 nightly . . . . until I pushed the Home button. I am then asked which launcher I want to use as Home and I choose Nova (which I already chose before). Then I get message that says "Unfortunately Android System has stopped." This happens every time I hit the home button. It happens if I choose Google Now Launcher too. This problem happened immediately after installing the mod and hadn't happened before. Still happens if I disable mod and reinstall Nova. Any ideas?
EDIT: if I go to settings - home and choose launcher there, it fixes it. Not sure why that is necessary. You should be able to choose default launcher when it ask you if you always want to use that launcher....
Click to expand...
Click to collapse
Quite odd. Did you reboot after running the DB processor?
Kevin M said:
Quite odd. Did you reboot after running the DB processor?
Click to expand...
Click to collapse
Like an idiot, I didn't read the entire OP. So, I just installed it and rebooted and had the issues I mentioned. In other words, I hadn't even tried the DB Processor yet. I have since read the OP and ran the DB Processor and had no issues. All is well. Still not sure why what I described happened. As long as others know they might have to assign home launcher via settings, it's not a big deal. Thanks for your fast response.
So, in theory, would you be able to install this and run the DB processor to create hi-res thumbnails and then remove the app? I ask because Xposed is not stable on my device (it works, but causes random reboots), so running this and getting it setup then removing Xposed would be ideal for me. Or I can just try and modify my ROM to get it to work without Xposed (I haven't read the implementation details yet).
EDIT: To answer my own question - YES, this works Made a nandroid, got everything setup, removed Clairty and Xposed, and restored my /system partition. Good to go!
Doesnt work on Lollipop TouchWiz on the Note 4. Expected but o well
What size are y'all using? 256 or increased it?
---------- Post added at 09:53 AM ---------- Previous post was at 09:49 AM ----------
It refuses to change detect contacts
Out of all, it only finds 1 photo and claims it's not even square
Any help?
I don't see any differences. LG G2 with CM 12.
ok it works now.

[APP][Beta]Virtual Home Button for Android Wear 2.0 [v3][30/09/18]

First of all thanks to @ab123321 for porting Android Wear 2.0 to LG Watch G.
Note: I am not responsible for bricked devices, dead SD cards, or any problems that may arise from flashing this ROM.
Virtual Home Button for Android Wear 2.0​
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Description:
Today I have created a system app called Home Button which help us to simulate physical Home Button by tapping a virtual button.So we can use this virtual button to open a wear's default launcher and to complete the wear tutorial (After Reset / Fresh installation.No more paper clips). Also you can use this button on 3rd party app to simulate Home Button if its required.
Features:
Single Press to open android launcher.
Long Press to open Google Assistant.
Auto Start at Boot.
Screen position can be configured .
Transparency can be configured.
Installation:
System Image - App packed inside. This image is created using @ab123321's script. So same as ported rom with App packed inside.
Flash the system image provided below using fastboot.
Code:
fastboot flash system dory.img
Manual installation of APK: (Not necessary if you flashed system image using above method)
1. Create a folder called "HomeButton" under /system/app/
2. Copy the apk into the folder
3. Set permission to 644
4. Restart.
Download:
Version 3:
Note: If you are in version 2 and Google Assistant is working fine for you means you don't need this version. Only updated Google App to 8.20.13.25 and HomeButton to 3.0.0 in this version.
System Image: https://oload.win/f/9D-exXddqkQ/dory_v3.img
APK: https://oload.win/f/SbiakGiQaC8/HomeButton_v3.apk
http://www.mediafire.com/file/unhxocqbt6jbdhs/HomeButton_v3.apk/file
http://www.mediafire.com/file/2ccexhw8jdwr6c5/dory_v3.img/file
Version 2:
System Image: https://oload.win/f/2dvx9cn1Nyc/dory_v2.img
APK: https://oload.win/f/o2x4ZzBoK1Y/HomeButton_v2.apk
Mirrors:
http://www.mediafire.com/file/unhxocqbt6jbdhs/HomeButton_v3.apk/file
http://www.mediafire.com/file/2ccexhw8jdwr6c5/dory_v3.img/file
http://www.mediafire.com/file/35a6775f77d4y27/dory_v2.img
http://www.mediafire.com/file/3r8pz8z9xy2en24/HomeButton_v2.apk
Hash:
dory_v3.img
SHA1: 2FE8B8C23752F990DB1A83122014F92CC15C4E1F
HomeButton_v3.apk
SHA1: 50E3A6DACDD5B0DD7DE18CDE53718E16C5426C60
dory_v2.img
MD5: 84193D0600A5EA1A7C8BE0BE6D31F48C
SHA-1: B69062BF6B21160E42E687F6870DAE8F82F417B8
HomeButton_v2.apk
MD5: 039F379BF5E75000048E77FD5F6CFBB4
SHA-1: 1E6D15271F2551DAFB69E4755945C8C6F038B311
Oh! That's GREAT!
I flashed your system image, and it is working fantastically. Thank you. One word of warning for other users the first boot after flashing took around 10 minutes so don't panic just let it do it's thing.
Has anybody notice if they hold 2 fingers on the screen to turn it off it actualy triggers a command to open the app drawer. Maybe we could expand this built in feature.
---------- Post added at 10:20 PM ---------- Previous post was at 10:11 PM ----------
can anybody help my pc wont pick up my watch in fastboot mode after the wear 2.0 update
---------- Post added at 10:31 PM ---------- Previous post was at 10:20 PM ----------
finally got abd to work and fastboot devices lists my watch now but the home button img will not install it comes up uknown error data transfer failed? please help.
Finally fixed all the errors and it has installed correctly now but the ROM is very unstable, constantly crashing,freezing and jamming up and the button is often non responsive. The other port for this without home button runs flawlessly so maybe collaborate on the project and intergrate each other works into one project.
brostar2017 said:
Finally fixed all the errors and it has installed correctly now but the ROM is very unstable, constantly crashing,freezing and jamming up and the button is often non responsive. The other port for this without home button runs flawlessly so maybe collaborate on the project and intergrate each other works into one project.
Click to expand...
Click to collapse
Are you sure? Anyone else facing this issue?
I'm using this rom from last 7 days. I'm not facing any issue or any lagging.
FYI,I'm using this boot image. https://forum.xda-developers.com/showpost.php?p=73743155&postcount=511
Using the same image and the watch is barely usable with this image across multiple g watches. The other one without but is smooth and instant responds.
Updated.
Changelog:
New system image. (Unpacked @ab123321's latest system image and packed with apk)
Long press to open Google Assistant
brostar2017 said:
Using the same image and the watch is barely usable with this image across multiple g watches. The other one without but is smooth and instant responds.
Click to expand...
Click to collapse
Can you try new system image? Because this image is created by unpacking ab123321's original image and packed with apk.
install manual
How i install manual this program? i guess with minimal adb. i don't want to flash that file on my watch again. can someone do a tutorial? please!
the new system image is amazing, super fast and responsive now and it opens when you push on it and long press now works.
working. tnq
svprm said:
Can you try new system image? Because this image is created by unpacking ab123321's original image and packed with apk.
Click to expand...
Click to collapse
Same problem here. "adb install" yields:
Failed to install ...: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package couldn't be installed in /data/app/cyb.satheesh.homebutton-1: Package cyb.satheesh.homebutton has no signatures that match those in shared user android.uid.system; ignoring!]
adb push ...\HomeButton_v2.apk /system/app
adb: error: failed to copy '...\HomeButton_v2.apk' to '/system/app/HomeButton_v2.apk': couldn't create file: Read-only file system
(sorry for the newbie questions)
jreschke said:
Same problem here. "adb install" yields:
Failed to install ...: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package couldn't be installed in /data/app/cyb.satheesh.homebutton-1: Package cyb.satheesh.homebutton has no signatures that match those in shared user android.uid.system; ignoring!]
adb push ...\HomeButton_v2.apk /system/app
adb: error: failed to copy '...\HomeButton_v2.apk' to '/system/app/HomeButton_v2.apk': couldn't create file: Read-only file system
(sorry for the newbie questions)
Click to expand...
Click to collapse
Looks like you don't have permission to install it on /system.So you have to use system.img.
diabolik99 said:
How i install manual this program? i guess with minimal adb. i don't want to flash that file on my watch again. can someone do a tutorial? please!
Click to expand...
Click to collapse
If your watch is rooted and system can be mounted as RW, then you can follow the manual installation. But as of now, our AW 2.0 rom is using Squash filesystem. We can't mount system as RW in squash filesystem. So you have to flash this system.img over AW 2.0 rom to get this work.
svprm said:
If your watch is rooted and system can be mounted as RW, then you can follow the manual installation. But as of now, our AW 2.0 rom is using Squash filesystem. We can't mount system as RW in squash filesystem. So you have to flash this system.img over AW 2.0 rom to get this work.
Click to expand...
Click to collapse
Thanks for the explanation. I now installed just the new system image (without erasing anything), and rebooted (which only took little time). Home button is now there, thanks alot!
Flashed the img and it has been working great for over a week.
I experienced the same bootloop as the original aw 2.0 port, which was solved by following this guide: https://forum.xda-developers.com/g-watch/general/tutorial-avoid-bootloop-porting-wear-2-0-t3656825
So thought I would join in on this seeing as this community is all but dead, I have installed and this is the best thing ever to happen to this device. AW2 runs just fine on this device and adding this home button makes it a lot easier to bring up Google Assistant and the app drawer. This device is still perfect for reading off notifications or getting a quick weather update.
I really hope this community stays alive seeing as Android Oreo will be making its way to AW soon.
Thanks for the virtual home button, it's a must have.
Will the Dev continue to support this watch for wear Oreo?
brostar2017 said:
Will the Dev continue to support this watch for wear Oreo?
Click to expand...
Click to collapse
I don't know if there will be wear based on Oreo.
Hopefully I'm wrong.
The lenok2dory was port of Android Wear 2 for the G watch R, and it isn't getting Oreo.

[ROM][9.0][UNOFFICIAL] Pixel Experience Pie [trlte][tblte][trlteduos]

[ROM][9.0][UNOFFICIAL] Pixel Experience Pie [trlte][tblte][trlteduos]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PixelExperience for Note 4
What is this?
Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)
Our mission is to offer the maximum possible stability and security, along with essential features for the proper functioning of the device
Based on Android 9.0
Whats working?
Wifi
RIL
Mobile data
GPS
Camera
Flashlight
Camcorder
Bluetooth
Fingerprint reader
NFC
Lights
Sound / vibration
Known issues
SE Linux Permissive
DON'T FLASH GAPPS, ALREADY INCLUDED
Download here
Donate
Liked my work? Give me a beer
Translation
Help with project translation
Telegram channel
Stay tuned​
Android OS version: 9.0.0_r35
Security patch level: April 2019
Build author: Inkypen
Source code: https://github.com/PixelExperience
ROM Developer: jhenrique09
​
XDA:DevDB Information
Pixel Experience, ROM for the Samsung Galaxy Note 4
Contributors
Inkypen, tripLr, ripee
ROM OS Version: 9.x Pie
Version Information
Status: Testing
Created 2019-04-29
Last Updated 2019-04-29
Pity cant be downloaded
"Person sharing has exceeded their sharing limit, please try again later"
Onedrive....
73sydney said:
Pity cant be downloaded
"Person sharing has exceeded their sharing limit, please try again later"
Onedrive....
Click to expand...
Click to collapse
Try to ''import in my drive'' option
When file is imported in your drive space , there is no limit any more and you can download it
Oh! A brand new Note 4 ROM!
I just successfully flashed in on my Note 4 (SM-N910F).
I successfully set it up.
I've got some bugs though
Google Assistant keeps on crashing, no matter what
Home button doesn't work when phone locked, but works when on.
You said that fingerprints won't work but they actually do work well on the lock screen :laugh:
Camera works perfectly too. No any camera errors at all though
Anyways, thanks for this cool ROM. Can use it as a daily driver, but all of a sudden for a reason my phone rebooted.. Hmmm..
Here's a screenshot of what the ROM looks like when installed:
Cheers!
logosA said:
Try to ''import in my drive'' option
When file is imported in your drive space , there is no limit any more and you can download it
Click to expand...
Click to collapse
Add to my onedrive not an option when i access the folder.......hence why i posted unable to download
Found alternate download here: https://androidfilehost.com/?fid=1395089523397955904
Tested this ROM, and heres my thoughts/criticisms:
* Inclusion of some G-Apps, while others which are more critical (Gmail most notably) are missing....for the huge download this oversight is really hard to fathom. 748Mb and no Gmail included? Also missing Android Webview.....kind of important
Instead all the stuff i normally weed out by never selecting it in Aroma G-Apps or usign the debloat magisk module if its built into a ROM is included...Device Health/Digital Wellbeing, and the google search app among them...if i wanted active spyware, id install it....instant downvote
For such a massive download, i cant see anything that would make me bother downloading further builds.
I do appreciate the dev building the ROM but, please consider leaving G-Apps up to the user, and thereby reduce the massive download size....
Update: curiously, some of my magisk modules which work on literally every other ROM ive ever used, fail on this one.....bizarre
About to test the dev's other ROM.....
Update: decided not to, apparently it has some of the same issues. Hope the dev can fix them and test before releasing next time....both ROMS cost me nearly 1.2Gb and both buggy....please test thoroughly before uploading.....
Back to RR for me again....
since dev has chose to move his downloads to AFH there is no bandwidth limit anymore and we all can download it with no problem.
But keep in mind for future use that:
In Google drive, as in microsoft ONEDRIVE, when you are having these kind of problems ('' Person sharing has exceeded their sharing limit'')
logging in YOUR drive (ONE or Google) before trying to download, gives you the option to import to YOUR cloud/drive and the limit is not there any more.
Maybe the dev sometimes doesnt have the ability to upload to AFH.
logosA said:
since dev has chose to move his downloads to AFH there is no bandwidth limit anymore and we all can download it with no problem.
But keep in mind for future use that:
In Google drive, as in microsoft ONEDRIVE, when you are having these kind of problems ('' Person sharing has exceeded their sharing limit'')
logging in YOUR drive (ONE or Google) before trying to download, gives you the option to import to YOUR cloud/drive and the limit is not there any more.
Maybe the dev sometimes doesnt have the ability to upload to AFH.
Click to expand...
Click to collapse
And as mentioned earlier, the option to import to my drive was not available, so thats not a blanket statement you can make, because its obviously not true for everyone Just quietly....
I've noticed the battery charging is not as quick as other roms, is it worth installing kernel auditor to boost charging speed?
Thank the author!! This is N9100's second 9.0 ROM that works.
XYEforXinhui said:
Thank the author!! This is N9100's second 9.0 ROM that works.
Click to expand...
Click to collapse
Hi there...working 2 sims or only 1 sim?
only 1 sim。
Next, I'll test the stability of the system.
I found a problem temporarily.Regional time cannot be automatically corrected
Bluetooth crash notification on stuck on sreen
Hi
I keep receiving a notification signaling Bluetooth Crash.
Cannot remove it from sreen.
Any idea to solve it please ?
I have a Galaxy Note 4 (910/F) I flashed the trlte Rom of this Pixel Experience Pie
trlteduo folder is empty. Is it normal? Btw, can I flash trlte for my trlteduo if I'm planning to use duo sim anyway?
Wich KERVEL did you use to flash this ROM ?
Hi,
Can you please tell me wich KERNEL have you installed on your Note 4 for this ROM works nicely.
I flashed it but it keeps poping a bluetooth crash ans I cannot remove the popup when it appears.
I just supposed it's a KERNEL matter but if you know something about, can you please help me.
Thanks man
Sorry for my bad english (with google translate)
The best of the best, clean and fast. GOOOOD JOB
Disclaimer: all the steps I describe below work for me and can turn out differently for you, make sure you read everything correctly in the right context and especially read the post of other users after me, because I am a human being and not a BOT, a people can always make mistakes and will always be corrected in other posts
so read the other posts, read and be especially careful.
both XDA, the ROM maker, the ROM tweaker and or the users / hobbyists are not liable for anything, even when something is being told wrong or in the right context.
Because I always have little time to test and search for solutions, I always go for safety ... it will initially seem like a lot of work but believe me it saves a lot of trouble, this my plan of approach:
All of this below seems obvious but I will tell you anyway !!!
Do not install gapps, everything is already well built in here, only the gmail app is missing but you can install it yourself later. So again do not install any gapps because that will cause problems with this rom, unless the creator of this rom comes with an update later and or later give tips us with other tips.
my big thanks go to @Inkypen and @jhenrique09
Make sure your phone is charged to 70%, and while charging where can perform the actions below, this way you keep it charged and maybe even towards 100%
apps such as Whatsapp: go to settings, account, chats and press backup (online), then connect your phone and do your watsapp media etc. fully backed up.
Internet browser (s): saves all open tabs in cache.
Your smartphone and all apps: backup everything stored locally on your phone. the rest is still in the cloud or managed by social media companies.
Backup and format your SD card, then insert the rom and place it in your smartphone
Boot your divice to recovery (such as TWRP) and wipe Advanced Wipe, Select On (enable tick) for Dalvik / Art Cache, System, Data, Cache, except your SD card (which contains the rom) and then also wipe format data. both steps you do (proof of speech) 100 times, I do this 2 times and after each time a restart to the TWRP then install the rom, wait quietly until it is finished, and do a Wipe Cache / Dalvik reboot.
what strikes me is the first time it is wise not to quickly configure your phone, give m ample time and do not follow the steps in quick succession.
after setting up account, do not install anything from apps yet, wait very briefly 5min. ore more and do a restart, at startup wait 1min or more, then tweak your settings as you want and this without installing any apps, do a reboot, wait at startup again 1min. or more, first go to google playstore and go to your playstore library and first update the already installed apps through the rom (gmail app is not included which you can install later)
restart and wait 1min or more, go to google playstore and type in: "google LLC" this will get all the original google apps first at the top of each other and do some necessary installation (such as google gmail, authentication and keep, etc) ...........do this also with "Microsft corpiration) etc.
I always take a quiet moment to install and set up, this takes me over 2 hours including the placement of media and other files, each person is different in use and the amount of media .... so can be take shorter or longer time.
PLEASE NOTE:
with other ROMs it is important that you install the Google Gapps immediately after the ROM as follows:
the aforementioned steps and step of:
1: rom install wait until it is ready and do not reboot and first install the Gapps and wait until it is ready and not yet reboot, first:
2: Wipe Cache / Dalvik
3: only now can you reboot.
4: do everything calmly and not too quickly set up and install as mentioned above.
PS: things like fingerprint sometimes don't seem to work, but after installing it it turned out that it still work, I have also experienced that I had to reinstall a ROM without changing anything and yet everything worked flawlessly afterwards.
GOOD LUCK and PEACE
XYEforXinhui said:
Thank the author!! This is N9100's second 9.0 ROM that works.
Click to expand...
Click to collapse
does it support dual sim?
I had to cancel assert line from META-INF\com\google\android\updater-script because I was not allowed to install trlte file on N910F. Then I tried to install and everything worked but it iddn't recognize my SIM card! I guess my EFS folder was deleted. What do you recommend to do? Any suggestion?
Edit: I updated TWRP and after flashing the rom I flashed the Bootloader, then it worked fine?
This ROM really deserves more praise than it gets.
Installed it on my Canadian Note 4 (SM-N910W8) after having issues with a couple of other ROMs (won't mention names) which had issues with the data connection resetting itself constantly. Needless to say this ROM worked just fine even though initially it was reporting the signal as "H" or "H+" but eventually settled down with LTE.
I for one appreciate having the ROM already include GApps with niceties such as the Gboard already built in as well as other Google apps. As previously mentioned there isn't much in the form of tweaking options (besides being able to switch to a darker theme) such as button programming but sideloading a button mapper application took care of that. Thanks you to the developer(s) for such a wonderful ROM!
Very fast custom rom of 9 os based,and I mean fast as double all of the others,thanks.,only one small problem,3.30 hours and minutes still charging,any solution?Thank you again.

Themes / Apps / Mods [DEV] Kernel Flasher

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel Flasher is an Android app to flash, backup, and restore kernels.
Features
Flash partition images and AK3 kernel zips
Backup and Restore kernel partitions
Mount, Map, and Resize vendor_dlkm
Save dmesg, logcat, and ramoops
Check for kernel updates
Notes
When making a backup of the active slot, to save time, it is assumed that the kernel on disk is the same as the running kernel. The Check Kernel Version button can retrieve it from disk prior to backup.
Depending on the method used, the updated contents of vendor_dlkm may not be immediately available for backup after flash or restore. This can be resolved by unmounting, unmapping, then remapping it.
AK3 helper modules are not backed up.
Credits
@osm0sis for AK3, feedback, and general guidance
@eng.stk & @Freak07 for feedback, advice, and encouragement
@phhusson for lptools
@topjohnwu for Magisk and libsu
Latest Update
2023-02-20 v1.0.0-alpha13
Hi, great app!
Can you please leave the kernel installation log opened after the process ends with an error? Currently it's impossible to see what went wrong since the log disappears instantly and is being replaced by an error screen.
Nezorflame said:
Can you please leave the kernel installation log opened after the process ends with an error? Currently it's impossible to see what went wrong since the log disappears instantly and is being replaced by an error screen.
Click to expand...
Click to collapse
That is already done in my own personal test version of the app, but I haven't had a chance to clean it up and get it released. I'll make an effort to get that done this evening.
I've got several other enhancements planned, but most of my focus has been on Hashtree Patcher lately, though I think that is nearly wrapped up. I'll try to get the installation log issue fixed asap, then I'll work on the rest over the next few days.
I pushed a new build that resolves the installation log issue. Here is the full changelog:
added option to backup AK3 zips
disabled flash and restore on inactive slot
added save ramoops button
added stderr to AK3 logs
added .log file extension to log files
filtered ui_print and progress in AK3 logs
sorted backups
Click to expand...
Click to collapse
I also added a list of planned and potential features to the OP. If you've got some interest in seeing any of them or anything I may have missed in a future build, feel free to note it here. If the list gets to be too big of a pain to maintain here, I may request that they go to the issue tracker, instead. Note that I don't currently plan to add kernel tweaks to the app.
Edit: There was a bug in the v1.0.0-alpha03 build that caused it to crash frequently. This has been fixed in v1.0.0-alpha04.
Alpha 4 seems like a bad upload? I have downloaded it a couple times but Android just reports "There was a problem parsing the package"
osm0sis said:
Alpha 4 seems like a bad upload? I have downloaded it a couple times but Android just reports "There was a problem parsing the package"
Click to expand...
Click to collapse
Hum installed fine on mine, maybe github acting up?
md5:
KernelFlasher-v1.0.0-alpha04.apk 94a1b66b29e95e23c918b054b9b3b1d6
eng.stk said:
Hum installed fine on mine, maybe github acting up?
md5:
KernelFlasher-v1.0.0-alpha04.apk 94a1b66b29e95e23c918b054b9b3b1d6
Click to expand...
Click to collapse
I have that checksum too but it's not working, maybe it's minimum Android 12?
Edit: Yep! Can the minimum API be lowered to support Android 11?
osm0sis said:
Alpha 4 seems like a bad upload? I have downloaded it a couple times but Android just reports "There was a problem parsing the package"
Click to expand...
Click to collapse
osm0sis said:
I have that checksum too but it's not working, maybe it's minimum Android 12?
Click to expand...
Click to collapse
Yes, I was playing with the new Splashscreen API, which requires Android 12, and I don't have an Android 11 device to test on, so I just set minSdk to 31. I'll see if I can get it to build against something lower.
I pushed a new build that will hopefully work on Android 11. Here are the changes:
lowered minSdk to 30
added vbmeta to raw partition backups
fixed vendor_dlkm map and mount
Click to expand...
Click to collapse
Note: With verity enabled, you may have to unmap vendor_dlkm twice, once for the verity device and again for the actual partition. The partition is remounted without verity, though I'm not sure there's a scenario where it's necessary to remount it at all.
capntrips said:
I pushed a new build that will hopefully work on Android 11. Here are the changes:
Note: With verity enabled, you may have to unmap vendor_dlkm twice, once for the verity device and again for the actual partition. The partition is remounted without verity, though I'm not sure there's a scenario where it's necessary to remount it at all.
Click to expand...
Click to collapse
Thanks! Crashes after the splash screen on my OP8T on OOS11, not seeing anything in the logcat however..
osm0sis said:
Thanks! Crashes after the splash screen on my OP8T on OOS11, not seeing anything in the logcat however..
Click to expand...
Click to collapse
I pushed a new build that hopefully fixes the issue. It now makes it to the point where it requires root to continue on an Android 11 AVD. I assume if it makes it to that point, the rest will work as expected. Anything beyond that, and I'll have to root the AVD to test it (though I did see an article about that a few weeks back, and it seemed simple enough).
Now works on lineage 18.1 Sony xz2 slot a/b device
A few random thoughts/ideas while testing on my 8T :
Got some errors trying to backup on my 8T since there's no vendor_boot, so I guess some logic will be needed for whether they exist.
Probably the feature should be like "backup slot" and save init_boot, boot, vendor_boot, dtbo, recovery, vendor_dlkm and vbmeta from the chosen slot if any of them exist.
If vendor_dlkm doesn't exist on an older device it doesn't make sense to show "Not Found" all over the place, nor offer to allow me to map it, it should hide those messages/buttons and just only show boot or whatever other partitions exist on the device.
If the reboot button had a ... to reveal an advanced reboot menu (menu items like the Magisk app) that would be excellent!
Magisk/RebootEvent.kt at master · topjohnwu/Magisk
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
Magisk/XSU.kt at master · topjohnwu/Magisk
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
Overall looking really good! Exciting to see a well written free alternative.
osm0sis said:
A few random thoughts/ideas while testing on my 8T
Click to expand...
Click to collapse
All good ideas. Probably good enough to check by path for the existence of a partition, rather than finding and parsing fstab. My next two weeks are brutal, but I'll see if I find some time to fiddle with it in there.
When you have time to work on the next update, would it be possible to make boot image flashing possible (External ones, not just saved backups), as well as zips?
shoey63 said:
When you have time to work on the next update, would it be possible to make boot image flashing possible (External ones, not just saved backups), as well as zips?
Click to expand...
Click to collapse
The backup format is very basic. You could easily drop the image you want into the backup folder and create the properties file. I'll take a look at adding something to simplify direct flashing in the next few revisions. I'm out of pocket through the weekend and will probably need a few days of catch-up when I get back.
----- posted in error ------
can I flash an uncompressed boot.img file with this app? the github only mentions flashing an AK3 zip file, so I was curious
sorry, I see the other reply. I'm hoping this app gets this feature in a future update soon. making a video about this app right now
Doesn't open up on Pixel 6. Anyone has a similar problem?
radekmazur said:
Doesn't open up on Pixel 6. Anyone has a similar problem?
Click to expand...
Click to collapse
Does it throw an error message? If not, is there anything in the logcat?

Categories

Resources