Related
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.
I was going to just use this tool for my own personal use but i figured you guys would need some help with the new people comming. sooooooo here you go.
Downloads:
5.1.5 Old
5.1.6 Old
5.1.7 Fastboot Flash-All Old
5.1.7 Gsi Installer Old
5.1.8 Fastboot Flash-All New
5.1.8 Gsi Installer New
Steps to get this to work.
1. Download file
2. Extract file
3. Download a GSI of choice.
4. Rename said GSI to "system.img"
5. Place system.img in the root of the extracted folder you downloaded.
6. Run flash-allbothslots.bat
7. If it doesnt boot please add it to the compatibility list included in the zip and post it here
Steps for my flash all
1. extract the zip
2. run the flashall.bat
3. follow prompts.
4. it will tell you at the end to reboot to recovery and format data. THIS IS A MUST
*NEW*
Steps for other roms with different boot image
1. Rename custom boot image to boot.img and if a custom vbmeta is there rename that to vbmeta
2. Over write the old stock files with the new.
3. Flash like normal!
Wow . Awesome job
Sent from my ONEPLUS A6000 using Tapatalk
????????
Guuaauu ... sounds very good .. thank you very much for sharing
Awesome thank you
dgunn said:
What does GSI mean?
Click to expand...
Click to collapse
Generic System Image aka Treble Roms
where do u get them at?
That‘s awesome!Thanks!
Bradl79 said:
where do u get them at?
Click to expand...
Click to collapse
From the Treble development thread
joemossjr said:
From the Treble development thread
Click to expand...
Click to collapse
May I ask if your running a treble? Which one? ? Thanks man this is big!
Thanks
Thanks for the TOOL..
btw how we restore if the ROM doesn't boot?..
Thanks for this tool makes life easier! Maybe offtopic but in an other thread I saw a screenshot of you running cosmic-os on the OnePlus 6? If so, is it already released?
Puksom said:
Thanks for this tool makes life easier! Maybe offtopic but in an other thread I saw a screenshot of you running cosmic-os on the OnePlus 6? If so, is it already released?
Click to expand...
Click to collapse
it isn't hard to look.
all GSI's are located here
dex2grigg said:
May I ask if your running a treble? Which one? ? Thanks man this is big!
Click to expand...
Click to collapse
I'm running stock ATM but when I was it was the lineage one
cultofluna said:
Thanks for the TOOL..
btw how we restore if the ROM doesn't boot?..
Click to expand...
Click to collapse
Using a fastboot recovery
I'll add my fastboot files I have for getting back to stock. It's a pretty simple script.
AdbWinApI.dll is mising in the folder
Maibol said:
AdbWinApI.dll is mising in the folder
Click to expand...
Click to collapse
Gotcha will fix
joemossjr said:
Gotcha will fix
Click to expand...
Click to collapse
also i have some issues with fastboot i did use the new version because it didnt want to run with the one in the zip but everything else works perfect
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!
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
deleted
#reserved
OMG so fast ?
Does this have the libsecure fix?
PHP:
Erwandu83200 said:
OMG so fast ?
Click to expand...
Click to collapse
yeah for you all community
50% up.
charackthe said:
Does this have the libsecure fix?
Click to expand...
Click to collapse
nope.. its everything use stock one
ridwan.sn said:
PHP:
yeah for you all community
50% up.
nope.. its everything use stock one
Click to expand...
Click to collapse
Thanx for your work and for tell the % of uploading :fingers-crossed:
ridwan.sn said:
PHP:
yeah for you all community
50% up.
nope.. its everything use stock one
Click to expand...
Click to collapse
Hmm. So it loses all the paired Bluetooth devices on reboot since it is rooted, sucks that we have to wait for a fix.
charackthe said:
Hmm. So it loses all the paired Bluetooth devices on reboot since it is rooted, sucks that we have to wait for a fix.
Click to expand...
Click to collapse
so modded pie libsecure_storage.so and libsecure_storage_jni.so and editing in build.prop to ro.securestorage.support=false
dosent work anymore? on early pie builds that was the fix b4 magisk modules cameout to fix it
so for fun copy the libs manually from within the zip module to system and edit the prop:
https://github.com/Magisk-Modules-Repo/libsecure_storage/archive/libsecure_storage-v1.8.zip
Erwandu83200 said:
Thanx for your work and for tell the % of uploading :fingers-crossed:
Click to expand...
Click to collapse
link updated ...
charackthe said:
Hmm. So it loses all the paired Bluetooth devices on reboot since it is rooted, sucks that we have to wait for a fix.
Click to expand...
Click to collapse
nope work fine here mate..
bober10113 said:
so modded pie libsecure_storage.so and libsecure_storage_jni.so and editing in build.prop to ro.securestorage.support=false
dosent work anymore? on early pie builds that was the fix b4 magisk modules cameout to fix it
so for fun copy the libs manually from within the zip module to system and edit the prop:
https://github.com/Magisk-Modules-Repo/libsecure_storage/archive/libsecure_storage-v1.8.zip
Click to expand...
Click to collapse
i always added that tweak on build.prop and default prop.
and i work fine here .. lib_secure storage is needed for custom kernel build to fix wifi and bluetooth in my old S7. and i think its same too with N9.
just test rom u will know :fingers-crossed:
ridwan.sn said:
link updated ...
nope work fine here mate..
i always added that tweak on build.prop and default prop.
and i work fine here .. lib_secure storage is needed for custom kernel build to fix wifi and bluetooth in my old S7. and i think its same too with N9.
just test rom u will know :fingers-crossed:
Click to expand...
Click to collapse
Thanx you a lot I downloading it I tell you if any bug
Erwandu83200 said:
Thanx you a lot I downloading it I tell you if any bug
Click to expand...
Click to collapse
cheers.. just tell me at here and welcome
Thanks for your work, flashed the rom and all seems just fine. However root seems to be a bit messed up, I can't seem to delete any apps or folders due to the lack of the right permissions and there seems to be no way to change them.
I've tried removing chrome from system/app using root explorer and it fails. Any idea how to fix this?
patensas said:
Thanks for your work, flashed the rom and all seems just fine. However root seems to be a bit messed up, I can't seem to delete any apps or folders due to the lack of the right permissions and there seems to be no way to change them.
I've tried removing chrome from system/app using root explorer and it fails. Any idea how to fix this?
Click to expand...
Click to collapse
i believe that if you unroot and re root using topjohnwoos installer zip in recovery it will fix it. but the side effect might be broken bluetooth pairings on reboot.
bober10113 said:
i believe that if you unroot and re root using topjohnwoos installer zip in recovery it will fix it. but the side effect might be broken bluetooth pairings on reboot.
Click to expand...
Click to collapse
Would you mind pointing a lazy user toward that topjohnwoos installer?
patensas said:
Would you mind pointing a lazy user toward that topjohnwoos installer?
Click to expand...
Click to collapse
hes the magisk's dev:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
lol i dont know why I didn't just say magisk
bober10113 said:
hes the magisk's dev:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
lol i dont know why I didn't just say magisk
Click to expand...
Click to collapse
Ah that makes sense, I'm tired and didn't link topjohnwoos to John Wu lol thanks anyway
patensas said:
Thanks for your work, flashed the rom and all seems just fine. However root seems to be a bit messed up, I can't seem to delete any apps or folders due to the lack of the right permissions and there seems to be no way to change them.
I've tried removing chrome from system/app using root explorer and it fails. Any idea how to fix this?
Click to expand...
Click to collapse
did you tried other app and lastest? i havent tested it but im sure its wont mount system as i gues.
bober10113 said:
i believe that if you unroot and re root using topjohnwoos installer zip in recovery it will fix it. but the side effect might be broken bluetooth pairings on reboot.
Click to expand...
Click to collapse
bober10113 said:
hes the magisk's dev:
its has prerooted with magisk
patensas said:
Ah that makes sense, I'm tired and didn't link topjohnwoos to John Wu lol thanks anyway
Click to expand...
Click to collapse
yeah lol ..
Click to expand...
Click to collapse
ridwan.sn said:
did you tried other app and lastest? i havent tested it but im sure its wont mount system as i gues.
bober10113 said:
hes the magisk's dev:
its has prerooted with magisk
yeah lol ..
Click to expand...
Click to collapse
but i think the issue he was explaining is between sustem root and magisk manager. thats why i suggested to reinstall.
or maybe just update magisk manager to a canary build?
anyways im on a n960n so i cant flash the roms system.img due to the fact that partition system size is a bit smaller on n960n compared to n960f
Click to expand...
Click to collapse
bober10113 said:
so modded pie libsecure_storage.so and libsecure_storage_jni.so and editing in build.prop to ro.securestorage.support=false
dosent work anymore? on early pie builds that was the fix b4 magisk modules cameout to fix it
so for fun copy the libs manually from within the zip module to system and edit the prop:
https://github.com/Magisk-Modules-Repo/libsecure_storage/archive/libsecure_storage-v1.8.zip
Click to expand...
Click to collapse
I manually moved the files and edited the build.prop
Firstly, there is no jni files in lib or lib64 folders. Secondly, I replaced the files both in vendor and system and modified the build.prop, went into the system and found a start secure_storage command I replaced it with stop but nothing worked.
Any other link?