[Huawei] [Kirin 960/970] Stock Camera app for Treble ROMs - Treble-Enabled Device Development A/AB ROMS

Here is the stock camera app for Huawei devices, for Treble ROMs.
DISCLAIMER: Warning. This might brick your device, use with caution.
You must own a Huawei device to have the right to use this application
Build script:
https://github.com/phhusson/huawei_camera_aosp
Versions:
v1 (2018-01-15):
- Based on Mate 9's Oreo
Download
How to install:
You'll need a root file manager.
Install the apk in /system/priv-app/HwCamera2/HwCamera2.apk
Troubleshooting:
- The application crashes on start
> Did you actually install the APK to /system/priv-app/HwCamera2/HwCamera2.apk?
>> If you didn't, well tough luck. you'll need to factory reset.
>> If you did, well give me logs of the crash.

Omg! U are god!
Wysłane z mojego G8342 przy użyciu Tapatalka

Hi @phhusson,
Firstly thanks for your work on treble (running v9 su and gapps on my p10 plus)
Created the folder and placed the apk as advised (folder permissions set to 755, apk to 644) rebooted but can't launch the app.
logcat attached

phhusson said:
Here is the stock camera app for Huawei devices, for Treble ROMs.
DISCLAIMER: Warning. This might brick your device, use with caution.
You must own a Huawei device to have the right to use this application
Build script:
https://github.com/phhusson/huawei_camera_aosp
Versions:
v1 (2018-01-15):
- Based on Mate 9's Oreo
Download
How to install:
You'll need a root file manager.
Install the apk in /system/priv-app/HwCamera2/HwCamera2.apk
Troubleshooting:
- The application crashes on start
> Did you actually install the APK to /system/priv-app/HwCamera2/HwCamera2.apk?
>> If you didn't, well tough luck. you'll need to factory reset.
>> If you did, well give me logs of the crash.
Click to expand...
Click to collapse
Mate, tried the app (installed in /system/priv-app/HwCamera) but it crash. So I try to find the problem and i got that libHwPostCamera_jni.so in /vendor/lib64 is missing. So i extracted the missing file in stock emui rom and the camera is working now.
Btw, I used p10 plus. I attached the missing file.
If someone want to try, just copy to /vendor/lib64 and set to 644 permission
Also thank you mate. Your awesome :good:

v0ne said:
Mate, tried the app (installed in /system/priv-app/HwCamera) but it crash. So I try to find the problem and i got that libHwPostCamera_jni.so in /vendor/lib64 is missing. So i extracted the missing file in stock emui rom and the camera is working now.
Btw, I used p10 plus. I attached the missing file.
If someone want to try, just copy to /vendor/lib64 and set to 644 permission
Also thank you mate. Your awesome :good:
Click to expand...
Click to collapse
Works!

v0ne said:
Mate, tried the app (installed in /system/priv-app/HwCamera) but it crash. So I try to find the problem and i got that libHwPostCamera_jni.so in /vendor/lib64 is missing. So i extracted the missing file in stock emui rom and the camera is working now.
Btw, I used p10 plus. I attached the missing file.
If someone want to try, just copy to /vendor/lib64 and set to 644 permission
Also thank you mate. Your awesome :good:
Click to expand...
Click to collapse
baddesthad said:
Works!
Click to expand...
Click to collapse
How did you guys do it? I downloaded a Root Browser, made the folder HwCamera2 in system/priv-app/ but it fails when copying the .apk what root browser did you guys use?

IOmega666 said:
How did you guys do it? I downloaded a Root Browser, made the folder HwCamera2 in system/priv-app/ but it fails when copying the .apk what root browser did you guys use?
Click to expand...
Click to collapse
You'll need to free up some space in /system or resize system image

Those who are facing any problem while using any root browser, the best option will be Mixplorer, which is available in our XDA forum, no need to set permission, just copy the file, permission gets set automatically.

v0ne said:
Mate, tried the app (installed in /system/priv-app/HwCamera) but it crash. So I try to find the problem and i got that libHwPostCamera_jni.so in /vendor/lib64 is missing. So i extracted the missing file in stock emui rom and the camera is working now.
Btw, I used p10 plus. I attached the missing file.
If someone want to try, just copy to /vendor/lib64 and set to 644 permission
Also thank you mate. Your awesome :good:
Click to expand...
Click to collapse
Thanks, your fix works on my Honor 9
And also huge thanks to Phh for the port!

Rommco05 said:
Which rom u using?
Phhusson thanks for ported stock camera
Click to expand...
Click to collapse
I'm using the Phh-Treble rom

Rommco05 said:
If u take picture is possible to open it directly from camera app?
Click to expand...
Click to collapse
No, I get a black screen, I have to open the gallery from the app drawer to see photos

tried to copy apk to new folder and not enough space. using mixplorer what am I doing wrong?

chamilun said:
tried to copy apk to new folder and not enough space. using mixplorer what am I doing wrong?
Click to expand...
Click to collapse
You gotta free space up. I deleted the apps that Google provides, Dialer, Contacts, Chrome and then installed the APK, and those I deleted I downloaded them from Play Store. Did everything with Mixplorer.

After installing camera quality is the same as stock rom? Both cameras working? (P10)

v0ne said:
Mate, tried the app (installed in /system/priv-app/HwCamera) but it crash. So I try to find the problem and i got that libHwPostCamera_jni.so in /vendor/lib64 is missing. So i extracted the missing file in stock emui rom and the camera is working now.
Btw, I used p10 plus. I attached the missing file.
If someone want to try, just copy to /vendor/lib64 and set to 644 permission
Also thank you mate. Your awesome :good:
Click to expand...
Click to collapse
Just want to say that using your file from p10 plus, it also worked on my mate 10 pro.

How's the quality? Does it compare with the stock ROM?

AravindhStanley said:
How's the quality? Does it compare with the stock ROM?
Click to expand...
Click to collapse
It's pretty good 2x 20 MP photos attached (not the best subject matter though ?

Rommco05 said:
can u upload more photos a if u can zips with full size image. thx
Click to expand...
Click to collapse
Here you go, another 2 photos colour and monochrome at 20mp

baddesthad said:
It's pretty good 2x 20 MP photos attached (not the best subject matter though
Click to expand...
Click to collapse
Thanks mate. I'm really confused about my buying decision. If this treble thing works out great, I might get a honor v10 and save some bucks rather than getting a op5t

AravindhStanley said:
Thanks mate. I'm really confused about my buying decision. If this treble thing works out great, I might get a honor v10 and save some bucks rather than getting a op5t
Click to expand...
Click to collapse
You're right, it is a tough choice.

Related

Latest Sony Music 9.0 isn't installing in Cyanogen 12.0

Hi,
I'm facing problem of installing latest Sony Music 9.0.0.A.0.1 apk manually. The last version Walkman 8.5.A.3.2 installed correctly. But no higher version is being install after that version. Is there any restrictions Sony implemented in their latest Sony Music apk builds? Same problem also arises in Sony Album too. I have tried to install apk from this link http://forum.xda-developers.com/showthread.php?t=2728110&page=31. But no luck.
How to install the Sony Music 9.0.0.A.0.1 apk in yureka devices with lollipop version 5.0? Thanks in advance.
Answered
Download the apk 9.0+ version and push it to root/system/apps, then set the permission
X-X- -
X- - -
X- - -
Click to expand...
Click to collapse
i'm using it, and its working fine :good:
If helped Hit The Thanks Button :good:
me too
help me if u found the solution
why it is close when i removed from recent app
anup34 said:
Download the apk 9.0+ version and push it to root/system/apps, then set the permission
i'm using it, and its working fine :good:
If helped Hit The Thanks Button :good:
Click to expand...
Click to collapse
Pls help me when i swiped it from recent app it get closed please help me i am very frustrated from these
anup34 said:
Download the apk 9.0+ version and push it to root/system/apps, then set the permission
i'm using it, and its working fine :good:
If helped Hit The Thanks Button :good:
Click to expand...
Click to collapse
Moved to the Root/System/app with 0644 permission. But its not installing.
anup34 said:
Download the apk 9.0+ version and push it to root/system/apps, then set the permission
i'm using it, and its working fine :good:
If helped Hit The Thanks Button :good:
Click to expand...
Click to collapse
Hey, I have seen a wired thing. I told you previously I tried to install as system apps and it said the app is not installed. But when I rebooted my device, I found the Sony Music app in my menu. And its working properly. Thanks by the way.
i did not have any directories inside /root .. so i created one . But when i copied the apk to that folder , it gets corrupted . Shows package error.. please help
Bazilbycom said:
i did not have any directories inside /root .. so i created one . But when i copied the apk to that folder , it gets corrupted . Shows package error.. please help
Click to expand...
Click to collapse
You should not create directories. Are you using any app like root explorer to navigate inside root folder?
das.palash89 said:
You should not create directories. Are you using any app like root explorer to navigate inside root folder?
Click to expand...
Click to collapse
Ive tried both root browser and ES ..
Blissrom 6.0.1 ..
Sent from my YU5510 using Tapatalk

[Testers] Moto Display "breathing"

Hello,
I'm coming from moto z threads and I'm trying to find a solution as regards as the MotoDisplay breathing issue (display fades in and out so you 're always in the know) . I changed the script of our common Moto_Display_06.071.4_.apk update in order to enable the option of breathing mode. So, I need some root testers to install the link's .apk. At the below link you will find my modded .apk file.
Moto Z's thread post #3 : https://forum.xda-developers.com/showpost.php?p=78271831&postcount=3
Thanks
Don`t work with Moto X4 stock Android Pie.
St.Noigel said:
Don`t work with Moto X4 stock Android Pie.
Click to expand...
Click to collapse
Did you install it or it was corrupted while installing?
Are you rooted?
tsoump said:
Did you install it or it was corrupted while installing?
Are you rooted?
Click to expand...
Click to collapse
I didn't try to install it. I'm rooted, so I put it to priv-app, like you write here
St.Noigel said:
I didn't try to install it. I'm rooted, so I put it to priv-app, like you write here
Click to expand...
Click to collapse
Thank you for the try. I upload two more files. I would appreciate to check them by replacing the root .apk as you did.
tsoump said:
Thank you for the try. I upload two more files. I would appreciate to check them by replacing the root .apk as you did.
Click to expand...
Click to collapse
It don`t work at all. I think it`s because my system odexed. I delete OAT folder. but Moto display still won`t work (
Can you make odex files for your mods?
St.Noigel said:
It don`t work at all. I think it`s because my system odexed. I delete OAT folder. but Moto display still won`t work (
Can you make odex files for your mods?
Click to expand...
Click to collapse
I see. I need to read first about odex roms etc. Thank you for helping, though!

MIUI Stock Launcher for Poco

Hello there y'all,
I don't quite enjoy the POCO launcher, I am very much used to the stock MIUI Launcher. Downloading from apkmirror doesn't work because it needs to be ported to our device. Does anyone know if it's available somewhere or if it can be ported?
Also can anyone post here Mi 9 theme called SpaceWalk? I was searching everywhere but had no luck.
Thanks.
DaveCZ said:
Hello there y'all,
I don't quite enjoy the POCO launcher, I am very much used to the stock MIUI Launcher. Downloading from apkmirror doesn't work because it needs to be ported to our device. Does anyone know if it's available somewhere or if it can be ported?
Also can anyone post here Mi 9 theme called SpaceWalk? I was searching everywhere but had no luck.
Thanks.
Click to expand...
Click to collapse
try this
mikussj3 said:
try this
Click to expand...
Click to collapse
Thanks! Can it be done without flashing tho? I really don't like flashing.
DaveCZ said:
Thanks! Can it be done without flashing tho? I really don't like flashing.
Click to expand...
Click to collapse
you can unzip, copy and paste to the right folder and set permisions
mikussj3 said:
you can unzip, copy and paste to the right folder and set permisions
Click to expand...
Click to collapse
Which is the right folder and how to set which permissions?
DaveCZ said:
Which is the right folder and how to set which permissions?
Click to expand...
Click to collapse
use 'MIXplorer.apk' (search in xda), copy folder 'MiuiHome' to system/priv-app, reboot. (mixplorer set permission automaticly)
mikussj3 said:
use 'MIXplorer.apk' (search in xda), copy folder 'MiuiHome' to system/priv-app, reboot. (mixplorer set permission automaticly)
Click to expand...
Click to collapse
That requires root right? I don't have that.
DaveCZ said:
That requires root right? I don't have that.
Click to expand...
Click to collapse
yes, only with root

Honor 8 StereoSound MOD [OREO]

Hey guys,
first of all that is not my work. The StereoSound MOD for Nougat is from this thread (https://forum.xda-developers.com/android/development/mod-dual-speaker-soundmod-devices-root-t3735280). It is also fully working in Oreo.
Just flash modded zip in twrp or in magisk manager or copy the xml file to /odm/etc/audio/hi6402 manually .
Download
https://mega.nz/#F!3yRCxAJS!GYQeiGgIy-rMbjIEQE2PGw
Hello,
Confirmed working on my FRD-AL00 with Oreo.
Thanks for sharing it!
Micdu70 said:
Hello,
Confirmed working on my FRD-AL00 with Oreo.
Thanks for sharing it!
Click to expand...
Click to collapse
Nice. The mod should work for all Honor 8. Look at the headphone sound mod in https://forum.xda-developers.com/honor-8/themes/extra-features-frd-lx9c432b562-t3912686. It's also an awesome mod.
Nice one, thanks)
Any chance someone has the oem files on this? I have an frd-l04 and I no longer have sound on my phone. Please help!
p3tr0s said:
Any chance someone has the oem files on this? I have an frd-l04 and I no longer have sound on my phone. Please help!
Click to expand...
Click to collapse
The zip makes a backup automatically. Just use an root browser like mixplorer and and go to /odm/etc/audio/hi6402. There should be two bak files. Rename the xxx.bak file to xxx.zip.
Sujanth said:
The zip makes a backup automatically. Just use an root browser like mixplorer and and go to /odm/etc/audio/hi6402. There should be two bak files. Rename the xxx.bak file to xxx.zip.
Click to expand...
Click to collapse
That's really good thinking honestly.... But I didn't flash it, I extracted the 2 files and overwrote them using mixplorer unfortunately. Is there any way you could upload your bak files?
Works for Pie too!
Sujanth said:
Nice. The mod should work for all Honor 8. Look at the headphone sound mod in https://forum.xda-developers.com/honor-8/themes/extra-features-frd-lx9c432b562-t3912686. It's also an awesome mod.
Click to expand...
Click to collapse
Works perfectly on my Honor 8 running android PIE treble rom!

MIUI System Launcher for POCO

Hello everyone,
Does anyone know how to install a stock MIUI launcher to POCO? I'm running MIUI 11 and with POCO launcher it's quite scuffed experience, as I am used to the original one.
PS: Maybe it can be ported?
PS2: I don't have TWRP or root.
Thanks for any reply!
actually i also had the same question, i want the miui 11 launcher.
omkarmahananda said:
actually i also had the same question, i want the miui 11 launcher.
Click to expand...
Click to collapse
Exactly, I couldn't find it anywhere.
Copy the MiuiHome.apk from attachments to /system/priv-app. It's taken from the Mi8 ROM, supports the Google Feed and has the cool new MIUI 11 unlock animation. I'm using it and it's working great. Unfortunately I have no idea how to install it if you're non rooted and don't have TWRP so maybe someone else will help you with that.
mario123m said:
Copy the MiuiHome.apk from attachments to /system/priv-app. It's taken from the Mi8 ROM, supports the Google Feed and has the cool new MIUI 11 unlock animation. I'm using it and it's working great. Unfortunately I have no idea how to install it if you're non rooted and don't have TWRP so maybe someone else will help you with that.
Click to expand...
Click to collapse
could u explain the installation process in details
pusansen99 said:
could u explain the installation process in details
Click to expand...
Click to collapse
I don't know how I'm supposed to explain that in more details but I'll try.
1. Download the file.
2. Open any file explorer with root privileges.
3. Copy the downloaded file.
4. Open the root directory.
5. Go to system/priv-app and paste the file there.
6. Reboot and enjoy the MIUI 11 Launcher.
How to get the keyboard app and the added screenshot app from mi8 ?
mario123m said:
I don't know how I'm supposed to explain that in more details but I'll try.
1. Download the file.
2. Open any file explorer with root privileges.
3. Copy the downloaded file.
4. Open the root directory.
5. Go to system/priv-app and paste the file there.
6. Reboot and enjoy the MIUI 11 Launcher.
Click to expand...
Click to collapse
don't know why but it did't work for me.
---------- Post added at 04:00 AM ---------- Previous post was at 03:20 AM ----------
omkarmahananda said:
don't know why but it did't work for me.
Click to expand...
Click to collapse
It worked after i
1. Copied the .apk to system>priv-app>MiLauncherGlobal
2. Deleted the poco launcher
3. Set the permission to -rw-r--r--
4. Reboot
But i think this apk is the old one,not that one which comes with miui 11 of mi 8.
omkarmahananda said:
don't know why but it did't work for me.
---------- Post added at 04:00 AM ---------- Previous post was at 03:20 AM ----------
It worked after i
1. Copied the .apk to system>priv-app>MiLauncherGlobal
2. Deleted the poco launcher
3. Set the permission to -rw-r--r--
4. Reboot
But i think this apk is the old one,not that one which comes with miui 11 of mi 8.
Click to expand...
Click to collapse
Try just updating it from apkmirror
mario123m said:
Copy the MiuiHome.apk from attachments to /system/priv-app. It's taken from the Mi8 ROM, supports the Google Feed and has the cool new MIUI 11 unlock animation. I'm using it and it's working great. Unfortunately I have no idea how to install it if you're non rooted and don't have TWRP so maybe someone else will help you with that.
Click to expand...
Click to collapse
Is this flashable zip? If yes can I simply boot into TWRP (without permanently installing it) flash it and reboot?
Hello, I tried but nothing happened. with a Root browser, the application does not stick in the folder. I do not understand .... a shame.
miniskull said:
Hello, I tried but nothing happened. with a Root browser, the application does not stick in the folder. I do not understand .... a shame.
Click to expand...
Click to collapse
Yeah, a flashable zip would be nice. Unfortunately, there aren't many people who also like MIUI 11s launcher.
Install the two apk below.
Move them from /data/app to /system/priv-app.
Reboot, and you'll be able to use the MIUI Launcher.
(though I prefer POCO Launcher with app shortcut feature...)
https://www.apkmirror.com/apk/xiaomi-inc/miui-launcher/
https://www.apkmirror.com/apk/xiaomi-inc/miui-smart-assistant/
liyuweiying said:
Install the two apk below.
Move them from /data/app to /system/priv-app.
Reboot, and you'll be able to use the MIUI Launcher.
(though I prefer POCO Launcher with app shortcut feature...)
https://www.apkmirror.com/apk/xiaomi-inc/miui-launcher/
https://www.apkmirror.com/apk/xiaomi-inc/miui-smart-assistant/
Click to expand...
Click to collapse
App vault cannot be installed. And I don't have root. It's there any other rootless way to do it?
DaveCZ said:
App vault cannot be installed. And I don't have root. It's there any other rootless way to do it?
Click to expand...
Click to collapse
Well root is must needed to install app vault and launcher systemly.
I think the only way is rooting your device.
liyuweiying said:
Well root is must needed to install app vault and launcher systemly.
I think the only way is rooting your device.
Click to expand...
Click to collapse
There isn't any flashable zip out there? What a shame
mario123m said:
Copy the MiuiHome.apk from attachments to /system/priv-app. It's taken from the Mi8 ROM, supports the Google Feed and has the cool new MIUI 11 unlock animation. I'm using it and it's working great. Unfortunately I have no idea how to install it if you're non rooted and don't have TWRP so maybe someone else will help you with that.
Click to expand...
Click to collapse
Hi and sorry for replying to this old post.
This launcher works great but does anyone know how to get the latest version of this system launcher port from mi 8?
Actually I found it if anyone's interested. I extracted the apk from the latest miui eu for mi 8 from a thread here in xda and just placed the apk in the directory as @mario123m said above. It works great and also has the option to use the google feed in the left screen if you want that instead of app vault.
Here's the apk if anyone wants it:
https://www117.zippyshare.com/v/McAOr24l/file.html
mario123m said:
I don't know how I'm supposed to explain that in more details but I'll try.
1. Download the file.
2. Open any file explorer with root privileges.
3. Copy the downloaded file.
4. Open the root directory.
5. Go to system/priv-app and paste the file there.
6. Reboot and enjoy the MIUI 11 Launcher.
Click to expand...
Click to collapse
When I tried to copy the launcher apk to system/priv-app it shows "No space left in root directory" and also it shows "read-only system partition". I'm using miui 12 based on Android 10 can anyone help me
srinivasshankar2105 said:
When I tried to copy the launcher apk to system/priv-app it shows "No space left in root directory" and also it shows "read-only system partition". I'm using miui 12 based on Android 10 can anyone help me
Click to expand...
Click to collapse
Root is a must to modify system apps folder.. So root your phone first then give root access to the file explorer you use
Sent from my POCOPHONE F1 using Tapatalk

Categories

Resources