Post your TWRP Recovery folders here!!! - Huawei Ascend Mate 2

Share your TWRP recover folders here so we can keep this phone alive. There is limited development for this phone. No KK so we have to do something.
Make sure to include to include the boot section to change the consumer cellular phones to regulars.
Use Recover files at your own risk. Do research before flashing your phone.
Phone must be bootloader unlocked and have twrp installed.
You can get the bootloader code from huawei - even for the consumer cellular versions.
Support XDA!!!

I finally found a TWRP Complete backup with no data. I installed it this morning and it add the hotspot to my consumer cellular and it is up to date and rooted. You cannot install a regular update package if you have modified system files, removed stock apps, etc. It would fail everytime. I could not find which ones where missing so this was my only resort to get the hotspot feature. If I can get to some fast internet to upload I'll get it up on google drive.

So you don't need my backup then?
Sent from my MT2L03

Consumer Cellular Twrp Recover 132 to 148
Consumer Cellular Twrp Recover 132 to 148 With Toggles and hotspot.
I add the animation from the china firmware.
I changed my boot splash screen. The instructions for that are on the last page of of the consumer variant post.
I have xposed installed with transparency and Kitkat Status icons and nav icons
I deleted the huawei locker. No after market locker here. I added the nexus 7 oem locker.
Hotspot is enabled, There is no toggle for it, I could not figure that out, There was a already a widget on the phone from the strart
Twrp desktop and numerous pieces of software.
My boy coffee Coffee inspired me to do the research and study the restores he had to find out how to disassemble this stuff.
Can't Push the chinese software.img file because it is over 1gb.
Here are the images of the firmware. Sorry for the double post but I got a lot of emails for this.
1. in the zip is the twrp files. Copy and paste the that directory with the files in it into your twrp directory
2. in the zip there is a cust folder. inside cust folder there is a consumercellular folder.
use es explorer on your phone and enable write permissions and rename your consumercellular folder in your cust folder in the root of your phone to consumercellular1
3. copy and paste the other consumercellular folder into that directory.
4. restart into twrp recovery and install the new image with the recovery if you want to it does not make a difference.
restart. and reset up your phone.
5. If it does not boot just clear the cache and dalvik in the recovery.
6. Use google now launcher and setup your shortcuts the way you want and setup the rest the way you want and you good to go.
Link
https://drive.google.com/file/d/0BwnSk8BOQp3wV0JMWnJGc3RBTzQ/view?usp=sharing
Restore might show failed but it will work. Reinstall xposed and Everything else should be good. Post Problems.

YOU ARE THE MAN!!! This completely convert my Consumer Cellular Mate 2 to a stock mate 2. Thanks for putting in the effort.

very good and fast update men but i try take a picture with de front cam with panoramic option but it gone some fix or something for this problem ?

ddrface said:
very good and fast update men but i try take a picture with de front cam with panoramic option but it gone some fix or something for this problem ?
Click to expand...
Click to collapse
It is two camera apps installed on the phone. Check the app drawer to see if it is there. If not I can upload the right camera. You would just need to replace the app in your system app folder " the apk file along with the odex file."

mtyler7807 said:
It is two camera apps installed on the phone. Check the app drawer to see if it is there. If not I can upload the right camera. You would just need to replace the app in your system app folder " the apk file along with the odex file."
Click to expand...
Click to collapse
hi !!i check it on system/app but here i only get " Camera-FV-5-v2.0.1-patched-tablet-apps.ru.apk " only it no .odex ni the other cam

ddrface said:
hi !!i check it on system/app but here i only get " Camera-FV-5-v2.0.1-patched-tablet-apps.ru.apk " only it no .odex ni the other cam
Click to expand...
Click to collapse
I'll post the other camera. what is the exact anem of the camera in the app folder. Ill name it. all you would have to is delete the apk and odex and paste new ones in the place of them. These would be the ones that came with the phone. THe one in there now is for a nexus and is only 8mp, sorry about that.

thx so much again !!! and last question about the toggles ? u dont have a fix for that men ?

ddrface said:
thx so much again !!! and last question about the toggles ? u dont have a fix for that men ?
Click to expand...
Click to collapse
Sure I do. I unpacked the 132 firmware from the other post to get the system.img file. It is less than 1gb so it ok to fastboot.
I had to restore the phone back to 132 with system.img before I could do a restore with the 132 complete restore firmware because the 132 will not install onto a phone with 128 which is what came on the plain ham2 phones. The guy that posted those images was our salvation.
Reinstall factory recovery
This will restore your phone to factory
1. Download the 132
2. Use huaweiupdateextractor - search google for it
3. open the firmware (update.app) in the program and right click on system.img and extract to a folder
4.Put at the base of a drive. ex(c:\system.img)
5.Put your adb and fastboot files at the base to.
6. open command prompt
7. change drive letter to that drive ex c:
8. Put your phone in bootloader mode
9. Back to the command prompt and - fastboot flash system system.img
10. wait for it to finish.
11. restart your phone. and copy the dload folder with update.app to your memory card.
12. go to system update in your settings and select local update.
13. let it finish and you are back to factory.
14. reinstall twrp recovry and restore the twrp image and you good to go.

u are really awesome !! working like charm !!

New camera app
mtyler7807 said:
I'll post the other camera. what is the exact anem of the camera in the app folder. Ill name it. all you would have to is delete the apk and odex and paste new ones in the place of them. These would be the ones that came with the phone. THe one in there now is for a nexus and is only 8mp, sorry about that.
Click to expand...
Click to collapse
Have you had time to upload the original camera app? That 13mp can make quite a difference. Thanks.

illek46 said:
Have you had time to upload the original camera app? That 13mp can make quite a difference. Thanks.
Click to expand...
Click to collapse
I doubt its the camera app.. Its the drivers from the 8mp camera. You will probably have to do some file editing and file transfers to get the 13 mp back.

mtyler7807 said:
Sure I do. I unpacked the 132 firmware from the other post to get the system.img file. It is less than 1gb so it ok to fastboot.
I had to restore the phone back to 132 with system.img before I could do a restore with the 132 complete restore firmware because the 132 will not install onto a phone with 128 which is what came on the plain ham2 phones. The guy that posted those images was our salvation.
Reinstall factory recovery
This will restore your phone to factory
1. Download the 132
2. Use huaweiupdateextractor - search google for it
3. open the firmware (update.app) in the program and right click on system.img and extract to a folder
4.Put at the base of a drive. ex(c:\system.img)
5.Put your adb and fastboot files at the base to.
6. open command prompt
7. change drive letter to that drive ex c:
8. Put your phone in bootloader mode
9. Back to the command prompt and - fastboot flash system system.img
10. wait for it to finish.
11. restart your phone. and copy the dload folder with update.app to your memory card.
12. go to system update in your settings and select local update.
13. let it finish and you are back to factory.
14. reinstall twrp recovry and restore the twrp image and you good to go.
Click to expand...
Click to collapse
We may be getting some help.
http://forum.cyanogenmod.org/topic/...evice-request/page__gopid__497024#entry497024

mtyler7807 said:
I'll post the other camera. what is the exact anem of the camera in the app folder. Ill name it. all you would have to is delete the apk and odex and paste new ones in the place of them. These would be the ones that came with the phone. THe one in there now is for a nexus and is only 8mp, sorry about that.
Click to expand...
Click to collapse
Did you ever get the camera back to 13 mp?

Here is the camera. https://docs.google.com/file/d/0BwnSk8BOQp3wcXB0cVJNWHhJRWM/edit?usp=docslist_api
Sent from my MT2L03 using XDA Premium 4 mobile app

It was was backed up with root uninstaller. I use camera kk from the market. It is the same as the google camera but it takes pictures in 13mp. The above file in the previous post is the original camera that came with the phone.
Sent from my MT2L03 using XDA Premium 4 mobile app

mtyler7807 said:
It was was backed up with root uninstaller. I use camera kk from the market. It is the same as the google camera but it takes pictures in 13mp. The above file in the previous post is the original camera that came with the phone.
Sent from my MT2L03 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks. Trying to figure out why his didn't work correctly. Got Ubuntu up and running after not having updated it in years. Lol gonna try 4.3 from source. Hopefully without killing my mate 2..

mtyler7807 said:
It was was backed up with root uninstaller. I use camera kk from the market. It is the same as the google camera but it takes pictures in 13mp. The above file in the previous post is the original camera that came with the phone.
Sent from my MT2L03 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Was the "imprisonments" in 148 actually improvements? Camera quality in low light etc.

Related

[Q]Help with GingerBlur v2.0 text messaging program[Fixed]

Hey all i just wanted to ask is there any way 2 get the old text messaging program back instead of the one thats installed with this one i liked the stock Antrix one. And i know before u could say yes or no to install it but he changed the install methed and could not do that no more so if any one could help me please do so thanks <3
Well i fixed it i found this
jeffc said:
For those like me who need corporate sync and like the blur universal inbox you can install just that portion of the moto bloatware instead of all of it.
** EDIT ** I'm adding a couple more applications now. Please, others jump in to do other applications because I'm out of time working on my Atrix for this week!
** WARNING ** I'm not an android dev and this process has only been tested on my phone. USE AT YOUR OWN RISK!
There are 3 files attached.
messaging.zip - restores original blur messagine apps, including corporate sync, txt messaging with balloon conversation mode, and the universal inbox. It does not have the messaging widget.
taskman.zip - if you liked moto's Task Manager app, this will restore it for you so you can kill tasks and uninstall like before GB.
gallery.zip - restores the moto Medial Gallery application. Note the GB version of Gallery will still exist and both will work.
Quick instructions:
* You will need CWM Recovery for this
* Follow CWM instructions exactly - especially the part about plugging into the AC adapter or it won't work!
**NOTE** this will also install the original blur txt messaging interface with the conversation balloon mode. Its all one application so no way around it that I know of.
1) copy one of the zip files (attached) to your sdcard root directory
2) run CWM according to instructions in its thread
3) after reboot into CWM select "Install zip from SDCARD"
4) select "Choose zip from internal sdcard"
5) scroll down to the zip file name (ex: messaging.zip)
6) select the file (power button) and run the update
7) go back to main menu and select "Reboot system now"
A few steps but doesn't take long. I just pulled these out of the gingerblur-bloatware.zip and figured out what file structure you have to leave in place for it to function.
Hope this will save people some time.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=12701405&postcount=3398
I think there's a bloatware restorer on the greyblur site. Try that.
Will that install it all back tho or will i be able to pic
well ill look at it and see if it can do only one thing
thanks i forgot about that
Alright so i found them in the files there how do i delete the new one and get this old one back on there? im so confused help!
Still have not figured it out some one help?
http://www.droidxforums.com/forum/d...-reinstall-deleted-system-apps-bloatware.html
That thread helped me how 2 install the files but i cant install them it tells me
Application not installed any clue how 2 fix this and remove the old one some thing? any one?
You need to download the messaging bloatware zip, reboot into recoverymode and use CWM to install that zip file... It's the same process as installing grey/gingerblur.
Well if i new where the messaging bloatware zip was i would try 2 get that
i know they have the full one with everything but is there one with only the messaging part? or some thing like that?
Well i tryed 2 just install the messager part and i soft bricked my phone just fixed that but still dont have the old messaging system
Go to the android development section and find the gingerblur thread (it shouldn't be difficult). Then go to the gingerblur website given in the thread and download the bloatware.zip. you will also need tenfars cwm recovery which is in the development section also. Then just flash the zip file using the cwm recovery guide. Make sure your phone is plugged into a wall outlet charger when you do this (not a computer USB port) or it won't work.
Sent from my MB860 using XDA Premium App
krad54 said:
Go to the android development section and find the gingerblur thread (it shouldn't be difficult). Then go to the gingerblur website given in the thread and download the bloatware.zip. you will also need tenfars cwm recovery which is in the development section also. Then just flash the zip file using the cwm recovery guide. Make sure your phone is plugged into a wall outlet charger when you do this (not a computer USB port) or it won't work.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
See i did that but i dont want all the other stuff in there i just want only the message part not all the other junk and when i deleted the other crap my phone got soft bricked so idk what to do about that =/
Search the gingerblur thread very well. I know someone has already addressed that very issue
Sent from my MB860 using XDA Premium App
read this post. It explains how to do the opposite of what you want.
Summary:
-rename mms.apk to mms.apk.bak
-rename conversations.apk.bak back to converstaions.apk
holtenc said:
read this post. It explains how to do the opposite of what you want.
Summary:
-rename mms.apk to mms.apk.bak
-rename conversations.apk.bak back to converstaions.apk
Click to expand...
Click to collapse
hmm so whats the main messenger app for Antrix so i can add that 2 there would it be mms.apk or ? what i tryed the messenger.apk but when i try 2 install it its just tells me cant be installed
mckibbon17 said:
yea all i see is some people like me not likeing the messenger but no way 2 get the old one back on there =/
Click to expand...
Click to collapse
You must not have read my previous post. Using Root Explorer, navigate to /system/app and do the following:
-rename mms.apk to mms.apk.bak
-rename conversations.apk.bak back to converstaions.apk
holtenc said:
You must not have read my previous post. Using Root Explorer, navigate to /system/app and do the following:
-rename mms.apk to mms.apk.bak
-rename conversations.apk.bak back to converstaions.apk
Click to expand...
Click to collapse
well lets see i changed the mms.apk to mms.apk.bak
but then i dont see conversations.apk.bak in my files in there so idk if that same methed will work
but when i changed mms.apk to what i did it did remove the messenger just need 2 get the old one back in there now
I mean i have the back old messenger back in the files but when i try 2 run it and install it it says application not installed =/ so im not sure how 2 fix that
Well i fixed it i found this
jeffc said:
For those like me who need corporate sync and like the blur universal inbox you can install just that portion of the moto bloatware instead of all of it.
** EDIT ** I'm adding a couple more applications now. Please, others jump in to do other applications because I'm out of time working on my Atrix for this week!
** WARNING ** I'm not an android dev and this process has only been tested on my phone. USE AT YOUR OWN RISK!
There are 3 files attached.
messaging.zip - restores original blur messagine apps, including corporate sync, txt messaging with balloon conversation mode, and the universal inbox. It does not have the messaging widget.
taskman.zip - if you liked moto's Task Manager app, this will restore it for you so you can kill tasks and uninstall like before GB.
gallery.zip - restores the moto Medial Gallery application. Note the GB version of Gallery will still exist and both will work.
Quick instructions:
* You will need CWM Recovery for this
* Follow CWM instructions exactly - especially the part about plugging into the AC adapter or it won't work!
**NOTE** this will also install the original blur txt messaging interface with the conversation balloon mode. Its all one application so no way around it that I know of.
1) copy one of the zip files (attached) to your sdcard root directory
2) run CWM according to instructions in its thread
3) after reboot into CWM select "Install zip from SDCARD"
4) select "Choose zip from internal sdcard"
5) scroll down to the zip file name (ex: messaging.zip)
6) select the file (power button) and run the update
7) go back to main menu and select "Reboot system now"
A few steps but doesn't take long. I just pulled these out of the gingerblur-bloatware.zip and figured out what file structure you have to leave in place for it to function.
Hope this will save people some time.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=12701405&postcount=3398

[MOD]Remove facebook images in gallery

Hi, new mod by Riyal!
With this modded gallery you don't have any photos by FB!
Is a clean Gallery!
ONLY DE - ODEX ROM.
Installation:
Method 1:
Download and flash the GalleryPatch (mirror)​
Method 2:
- Download the apk from here or here, or extract it from zip
- Put into you fastboot/adb folder (you can download it from here)
- Connect the phone at pc with debug usb enabled
- Open a cmd or terminal and move to the folder (cd dir_of_folder)
- Type:
Code:
adb push HTCAlbum.apk system/app
- Open the gallery
- Done!​
Don't forget to press thanks to Riyal!
Galary gone
Pls help,
After I flash the GalaryPatch, my galary icon is gone, pls help me go get it back
Thank you
tihon76 said:
Pls help,
After I flash the GalaryPatch, my galary icon is gone, pls help me go get it back
Thank you
Click to expand...
Click to collapse
Push the linked apk
This mod was suppose to be for deodexed custom ROMs only. I'll make another patch for odex ROM and post an update.
If anyone can deodex it right now and give me a link I'll appreciate it as I don't have the tools right now to make one.
Or maybe try removing the /system/app/HTCAlbum.odex file and see if it will work.
Guich said:
Push the linked apk
Click to expand...
Click to collapse
I push that but it doesnt work, the error is device not found. I did check the usb and everything good
Thanks
So if i flash the zip file i'd still have to push the apk thru ADB?
tihon76 said:
I push that but it doesnt work, the error is device not found. I did check the usb and everything good
Thanks
Click to expand...
Click to collapse
If device is not found is because you don't have /system in r-w...
Are you on stock rom?
babymatteo said:
So if i flash the zip file i'd still have to push the apk thru ADB?
Click to expand...
Click to collapse
If you flash the zip, you don't need push the apk.
But flash it ONLY if you're on de-odex rom.
For the ppl having issues with the mod, you could just freeze Facebook engines with titanium backup or uninstall, disable Facebook from system apps, and reinstall. This way u will still have Facebook but not in gallery or blinkfeed.
Does this mod only remove facebook or the entire online services square?
Hi guys! I have made an update for this mod. Please refer to the main thread at the moment
http://forum.xda-developers.com/showthread.php?p=41424874
It should address the issues with those that have odexed ROMs and if it fails I also provided a flashable zip to restore back the original gallery app.
@denisesballs
It removes only the facebook & picasa friends images on the main window of the gallery. The online services folder is still there because if you click it you would have the option to view the photo's that was suppose to be shown on the main gallery window.
To make it plain and simple this mod removes the cluttered pictures of facebook & picasa on your gallery not remove the social plugin of the gallery. Although I'm planning on making a mod that totally removes it soon.
For the people that just want to hide the pictures from gallery.
Sent from the Sexiest Android Device (HTC One)
Used it on CleanRom and it works perfectly. Downloaded and installed with twrp
Thank you so much.
Sent from my HTC One using xda premium
I don't know which is responsible. But the Facebook images don't show in the gallery of my HTC one.
Sent from my HTC One using Tapatalk 2

[12/20/2013] Updater Script / How to for flashing aroma based roms

Updated 12/20/2013
I have had some people ask about how to use an aroma based rom with our safe strap recovery. I have attached a zip file to the post that contains the "meta-inf" folder that goes into the archive of your rom. In theory, this should work on any SM-9005 rom or T-Mobile rom.
Prerequisites: Root - Busy Box - Safe Strap Recovery
Choose your Rom Slot and prepare it before starting ( build the system.img and userdata.img ) Instructions are HERE
Wipe system and data from recovery. Data is optional. If you wipe date, you will have to change your APN settings, network mode, time and region settings,etc....
1. Open your "Rom".zip with 7zip. Do not extract, only open!
2. Delete the "meta-inf" folder from the archive.
3. Take any apps in the aroma (maybe called something different i.e. xnote) folder that you want to keep and move them to the system/app folder in the archive.
4. Delete aroma folder from archive when finished.
5 extract the attached zip that contains the new "meta-inf" folder. File is here The extracted zip folder is named the same as the folder within the zip. You need the folder "meta-inf" folder INSIDE the zip, not the extracted folder that was just created. I know this is confusing!
6. Copy this folder to the rom with 7zip.
7. You should now only have 2 folders ( system and meta-inf ) inside the archive. Close archive and copy to phone to flash.
8. Download this file to phone. This is the second file to flash. It fixes all current issues in one package.
9. Flash Rom.zip first and then flash file from step 8. No need to reboot between flashes.
10. Reboot and let rom load.
Everything I have tested now works including NFC, WiFi, BT, All SPen functions including snote, screen write, and action memo. Bluetooth Tethering with Gear is working. Also corrected the music bug and Video chat on hangouts. By not wiping data, proper APNs are saved. If you need to wipe due to problems, you will need to load your APN settings manually.
Help Section
Xnote Transformer app not working? Fix is here
No Samsung email app? Flash this Zip
Something needs changed or not working? Let me know! :highfive:
Be sure to thank these guys for their hard work at making our phones BETTER!
Credits:
@Hashcode for his wonderful SafeStrap recovery!
@drakeymcmb for the zip file containing the fixes for NFC , WIFI , and BT
@wally3614 Check out his awesome Air command Themes!
Just for verification...
Sent from my SM-N9005 using Tapatalk
So in the case of using x-note 6.0 which folders would i actually keep from the x-note folder? Im assuming i dont need the recovery and kernal folders but im not sure about the others. Hope this isnt a stupid question.
redalertlb said:
So in the case of using x-note 6.0 which folders would i actually keep from the x-note folder? Im assuming i dont need the recovery and kernal folders but im not sure about the others. Hope this isnt a stupid question.
Click to expand...
Click to collapse
When you're done you will have only the meta-inf folder from this post and the system folder. The xnote folder is for aroma. You will need to take what you want out of there and move to the system/app folder.
Sent from my SM-N9005 using Tapatalk
Sorry I probably should have clarified alittke better. Say I wanted to keep all of the aroma features which one do I save out of the folder. I don't actually see a folder titled "aroma".
Sent from my SAMSUNG-SM-N900A using Tapatalk
redalertlb said:
Sorry I probably should have clarified alittke better. Say I wanted to keep all of the aroma features which one do I save out of the folder. I don't actually see a folder titled "aroma".
Sent from my SAMSUNG-SM-N900A using Tapatalk
Click to expand...
Click to collapse
It is the "xnote" folder
Sent from my SM-N9005 using Tapatalk
bri315317 said:
Just for verification...
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Try this, when you pull your pen out - it shows the little pie menu for things you can do. The first one is the action memo thing I believe.
Make the note come up and write a number down. Then click on the action button, "the one that selects whatever you wrote" then try to message that to a contact, If your Spen apps are working, you wont get stuck on "Recognizing" forever..Does that work for you?
LuckyColdJohnson said:
Try this, when you pull your pen out - it shows the little pie menu for things you can do. The first one is the action memo thing I believe.
Make the note come up and write a number down. Then click on the action button, "the one that selects whatever you wrote" then try to message that to a contact, If your Spen apps are working, you wont get stuck on "Recognizing" forever..Does that work for you?
Click to expand...
Click to collapse
I have the same problem. Perhaps a bug? Quick Google search showed this thread with same problem not related to this rom.
http://forum.xda-developers.com/showthread.php?t=2489819
Sent from my SM-N9005 using Tapatalk
bri315317 said:
I have the same problem. Perhaps a bug? Quick Google search showed this thread with same problem not related to this rom.
http://forum.xda-developers.com/showthread.php?t=2489819
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
I use that function all the time and can't when on X Note v6. Sucks...Still trying to flash a damn theme using SS.
Sent from my SAMSUNG-SM-N900A using Tapatalk
LuckyColdJohnson said:
I use that function all the time and can't when on X Note v6. Sucks...Still trying to flash a damn theme using SS.
Sent from my SAMSUNG-SM-N900A using Tapatalk
Click to expand...
Click to collapse
Was able to fix this issue on x note 6.0
Handwriting Recognition works now
The en_US folder was missing from the VODB folder which is the language settings for handwriting recognition.
Extract the zip attached and copy the en_US folder to :system/VODB
Set permissions same as other folders and reboot.
Sent from my SM-N9005 using Tapatalk
bri315317 said:
Was able to fix this issue on x note 6.0
Handwriting Recognition works now
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Well I'm jealous.
Sent from my SAMSUNG-SM-N900A using Tapatalk
Installing Xnote 6.0
Here is how i installed Xnote 6.0 using SS by @Hashcode
Make a back up of stock rom before starting. These files will be flashed to the stock rom partition.
I recommend starting from a fresh odin with root and safe strap installed.
Wipe system from recovery but do not wipe data. this will retain your APN settings, etc....
1. Open your Xnote6.0.zip with 7zip. Do not extract, only open!
2. Delete the "meta-inf" folder from the archive.
3. Take any apps in the aroma (maybe called something different ie: xnote) folder that you want to keep and move them to the system/app folder in the archive.
4. delete aroma folder,It is called Xnote.
5 extract the attached zip that contains the new "meta-inf" folder. File is here
6. Copy this folder to the rom with 7zip.
7. Open system/VODB and copy the folder "en_US" from this zip file.
8. Close archive and copy to phone to flash.
9 Download this file to phone. This is the second file to flash.
10. Flash Xnoterom.zip and then flash file from step 9. no need to reboot between flashes.
11. Reboot and let rom load. go to xnote settings and then to update and download the fix for music and games from the dropbox link in the update app.
12. reboot and go to safestrap recovery. Install the downloaded fix file.
Reboot and profit!
Dont think i missed any steps, if something is not right, please let me know!
bri315317 said:
Here is how i installed Xnote 6.0 using SS by @Hashcode
Make a back up of stock rom before starting. These files will be flashed to the stock rom partition.
I recommend starting from a fresh odin with root and safe strap installed.
Wipe system from recovery but do not wipe data. this will retain your APN settings, etc....
1. Open your Xnote6.0.zip with 7zip. Do not extract, only open!
2. Delete the "meta-inf" folder from the archive.
3. Take any apps in the aroma (maybe called something different ie: xnote) folder that you want to keep and move them to the system/app folder in the archive.
4. delete aroma folder,It is called Xnote.
5 extract the attached zip that contains the new "meta-inf" folder. File is here
6. Copy this folder to the rom with 7zip.
7. Open system/VODB and copy the folder "en_US" from this zip file.
8. Close archive and copy to phone to flash.
9 Download this file to phone. This is the second file to flash.
10. Flash Xnoterom.zip and then flash file from step 9. no need to reboot between flashes.
11. Reboot and let rom load. go to xnote settings and then to update and download the fix for music and games from the dropbox link in the update app.
12. reboot and go to safestrap recovery. Install the downloaded fix file.
Reboot and profit!
Dont think i missed any steps, if something is not right, please let me know!
Click to expand...
Click to collapse
Thank you so much bri315317 !!!! I will hit thanks tomorrow cause I've reached my 8 a day already.
As soon as I get home, I will try your method. I know it will work for us. YOU DA MAN !!!!!
I bet your battery life is insane on that ROM......Thanks again
LuckyColdJohnson said:
Thank you so much bri315317 !!!! I will hit thanks tomorrow cause I've reached my 8 a day already.
As soon as I get home, I will try your method. I know it will work for us. YOU DA MAN !!!!!
I bet your battery life is insane on that ROM......Thanks again
Click to expand...
Click to collapse
No problem, if something is not working right just let me know and i will troubleshoot it for you. Ive been through it a couple times and seems pretty stable for me. Flashing to the stock rom partition is the way i always did it in the past on every other device, so just back up and flash away as far as i am concerned. :laugh:
Glad to see this is working for you, what about language and settings?? Does screen write with the spen actually save a picture how its supposed to and not FC?
s2kpdx said:
Glad to see this is working for you, what about language and settings?? Does screen write with the spen actually save a picture how its supposed to and not FC?
Click to expand...
Click to collapse
All works fine
Sent from my SM-N9005 using Tapatalk
Alrighty then. I'm home and about to do this this
Sent from my SAMSUNG-SM-N900A using Tapatalk
Confirmed, everything works perfect doing this method. I tried earlier with an Updater script from an international stock rom, and that did not go well...
Anyone want to put it all together and have a download link? I won't be home till Saturday and would love to flash x note much sooner lol. Doesn't hurt to ask, right?
Stickied with my post-it-note 3
Does everything work? Ex. Language and input settings?
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app

Extracting Stock Camera

I am trying to figure out how to extract the camera app from the stock ROM to use in the CM13 ROM. Partly because I would like to use it for slow-motion video and to experiment with it, but also because I would like to turn this into a learning experience. I've been following instructions to flash ROMs for a few years now, but haven't gone farther than that.
So here has been my experience so far:
- Backed up CM13, flashed stock (rooted), and converted the app to user app in order to back it up.
- I noticed that it would crash on startup as a user app, so I converted it back to a system app as an experiment. It still would crash on startup.
- I decided to try going another route and extracted the stock ROM in SuperR's Kitchen. Got the apk, flashed it in CM13. Same situation: crash on startup as user or system app.
I am unsure where to go from here. Any help is greatly appreciated. Thanks in advance.
Side note: I know there is a questions sub-forum too, but I figured it fit here better as it is about extracting an app to mod the ROM. If I was mistaken, please just move the thread over to the appropriate sub-forum.
Masterjuggler said:
I am trying to figure out how to extract the camera app from the stock ROM to use in the CM13 ROM. Partly because I would like to use it for slow-motion video and to experiment with it, but also because I would like to turn this into a learning experience. I've been following instructions to flash ROMs for a few years now, but haven't gone farther than that.
So here has been my experience so far:
- Backed up CM13, flashed stock (rooted), and converted the app to user app in order to back it up.
- I noticed that it would crash on startup as a user app, so I converted it back to a system app as an experiment. It still would crash on startup.
- I decided to try going another route and extracted the stock ROM in SuperR's Kitchen. Got the apk, flashed it in CM13. Same situation: crash on startup as user or system app.
I am unsure where to go from here. Any help is greatly appreciated. Thanks in advance.
Side note: I know there is a questions sub-forum too, but I figured it fit here better as it is about extracting an app to mod the ROM. If I was mistaken, please just move the thread over to the appropriate sub-forum.
Click to expand...
Click to collapse
Did the logcat give any pointers as to why it might have crashed?
It's a camera app, for MiFavor, and only for MiFavor. It's probably depending on something else from the stock ROM, and that's why it's crashing in CM.
I like this idea. I might even look into modifying the app itself, to see if we can get it working outside of MiFavor.
I don't think I worded it clearly enough, the first time I converted it to a user app and back to system, it was still in the stock ROM. Something about the conversion screwed things up. I'll have to flash stock again at some point and grab logcats while it's working and after I screw it up.
In the meantime, I attached a logcat for everything containing "camera" after it was converted to a system app in cm13. It's kind of harsh to look at it in pure text format, but I used the matlog app with its color coding to record it.
To be honest, I'm not quite sure what I'm looking at with this, or if I went about this in the right way.
EDIT: I have no idea why the logcat is not attaching correctly. I'll need to find some other way of doing it.
It works fine under CM according to a friend. You just need the libs to go along with the app.
Here is the WHOLE folder of ZTE camera, he just put this inside the /system/priv-app/ folder and apparently it's working just fine after a reboot.
https://my.mixtape.moe/znyabg.7z
Remember to press thanks and buy me a beer.
It's still not working properly for me, but here are a few things I noticed:
- When I extracted the app from the ROM using SuperR's Kitchen, that folder did exist in /system/priv-app/ZTE_Camera/. However, the directory was completely empty, unlike your download.
- When I installed the app in CM13 and converted it to a system app, it moved to /system/priv-app/ rather than /system/priv-app/ZTE_Camera/.
- I copied the lib folder to /system/priv-app/, didn't work. I then created the folder ZTE_Camera and copied both lib and the apk into it. Didn't change anything. Of course rebooting with each change. I didn't think this would work in the first place, as the application shortcut on my home screen points to /system/priv-app/.
Definitely thanks though for helping me out. Beer... that's another matter. Nasty stuff that is. I can just hear people yelling at me behind their screens lol.
Was it a deodexed ROM? Might need to try it with the odex files? When I check /system/priv-app/ZTE_Camera, there's also an "oat" folder with odex files since this hasn't been deodexed...
Or maybe SuperR's kitchen was trying to automatically deodex while you were extracting.
To be honest, I never understood odex, just throwing ideas out at this point.
Masterjuggler said:
It's still not working properly for me, but here are a few things I noticed:
- When I extracted the app from the ROM using SuperR's Kitchen, that folder did exist in /system/priv-app/ZTE_Camera/. However, the directory was completely empty, unlike your download.
- When I installed the app in CM13 and converted it to a system app, it moved to /system/priv-app/ rather than /system/priv-app/ZTE_Camera/.
- I copied the lib folder to /system/priv-app/, didn't work. I then created the folder ZTE_Camera and copied both lib and the apk into it. Didn't change anything. Of course rebooting with each change. I didn't think this would work in the first place, as the application shortcut on my home screen points to /system/priv-app/.
Definitely thanks though for helping me out. Beer... that's another matter. Nasty stuff that is. I can just hear people yelling at me behind their screens lol.
Click to expand...
Click to collapse
I'm sure it works, friend confirmed it works on CM13 and I'm using it on BrokenOS. To clear it up.
It should be /system/priv_app/ZTE_Camera. And inside that folder should be the apk along with the lib. If you just extract the zip I gave you into priv_app it should just work. I have no idea why it doesn't work for you. Everything about the camera works. Slomo, video h265, the works.
You can try making a backup of the stock camera app using titanium backup then install it on your phone after flashing CyanogenMod. What I would do is flash zad miix then back up the stock camera app with titanium backup. Then transfer the back up to your PC. Then flash CyanogenMod and reinstall the camera app with titanium backup.
as already I will have this phone I start doing this mods
if anyone can search the file this and tell me if an entry is interesting?
I'm currently using LOS 14.1, and the method suggested does not work - File Manager throws an error about R/W, TWRP claims /system is empty, and ADB push says "Successful" but isn't.
NadavCE said:
I'm currently using LOS 14.1, and the method suggested does not work - File Manager throws an error about R/W, TWRP claims /system is empty, and ADB push says "Successful" but isn't.
Click to expand...
Click to collapse
It is working for me, just copied the files with root explorer to priv-app, restarted and it is up and running.
Thanks @BlazingBullets for providing the files!
PS. the only problem so far is that you can't access the pictures right through the app, i think we need the zte gallery for that.
lian00 said:
It is working for me, just copied the files with root explorer to priv-app, restarted and it is up and running.
Thanks @BlazingBullets for providing the files!
PS. the only problem so far is that you can't access the pictures right through the app, i think we need the zte gallery for that.
Click to expand...
Click to collapse
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
NadavCE said:
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
Click to expand...
Click to collapse
Used SuperSU 2.79SR3.
I can confirm using the files provided works. I have the stock MM camera working with all of it's shooting modes !
Any body have the files in a .zip they can upload? I have no computer access and the few apps I tried on my phone seem to corrupt the files.
First app I tried extracted the 7zip file just fine.
NadavCE said:
Root Explorer doesn't work for me either. Did you root with SuperSU or with the Lineage root zip?
Click to expand...
Click to collapse
You have to disable the write-protect on the system partition: in a terminal emulator, preferably in TWRP, type out:
Code:
reboot disemmcwp
Erahgon said:
You have to disable the write-protect on the system partition: in a terminal emulator, preferably in TWRP, type out:
Code:
reboot disemmcwp
Click to expand...
Click to collapse
Thanks, that did it. Copied successfully to /system/priv_app, but it doesn't show up after a reboot. When I accessed the folder and tapped the APK, I got "there is a problem parsing the package."
NadavCE said:
Thanks, that did it. Copied successfully to /system/priv_app, but it doesn't show up after a reboot. When I accessed the folder and tapped the APK, I got "there is a problem parsing the package."
Click to expand...
Click to collapse
Maybe the app permissions are wrong?
Erahgon said:
Maybe the app permissions are wrong?
Click to expand...
Click to collapse
Should I give it full permissions then?
---------------------------------------------------------------------------------------------------------------------------
Update: After giving everything (ZTE_Camera folder, the APK, the lib folder, the arm folder, and all the libs) full permissions, the app works. However resolution is limited to 8Mp 4:3 (3200 x 2400). Can anyone else confirm this?

Flashing ZIP Folder Containing APK's via TWRP Recovery

Hi
I've started around three other threads here on XDA but I never seem*to get anyone answering my questions for something that should be so simple.
Anyway I've been trying to flash a ZIP folder containing third party APK files via TWRP to go alongside my fresh install of Lineage OS. All of the user apps install perfectly fine to the '/data/app' directory, however, system apps that are installing to the '/system/app' directory are only getting half installed. Basically when I boot into the ROM I can see all of the system apps in the app launcher, and even navigating through the phone with a root explorer I can see that I can see the correctly copied folder and file from inside the ZIP folder. For example the Google Snapseed app is stored as the following:-
/system/app/com.niksoftware.snapseed
>niksoftware.snapseed.apk
What's weird is that if I open the apk file and install it with the Package Installer*successfully*installs it but with a '1' suffixed to the end and two folders and a re-named apk file
/data/app/com.niksoftware.snapseed-1
> lib
> oat
> base.apk
For a little test I moved the 'niksoftware.snapseed-1' folder from '/data/app' to '/system/app', deleted the original 'niksoftware.snapseed'*folder and rebooted my phone. As expected the app continued to work perfectly fine with no force crashes.
If you're wondering why I'm installing the apps under a system app, it's because the user(s) I'll be passing the phone onto will be non-technical Android users. When the user needs to do a factory reset, the apps I pre-installed will survive if they're installed as system apps compared user apps that will get wiped.
There is literally nothing on any forums anywhere explaining how to flash system apps via recovery taking the more recent Android the OS' that have been released in the last few years. Could someone please help me out here?
Many thanks
Will
willowen100 said:
Hi
...
Will
Click to expand...
Click to collapse
Personally I never tried to install third party apps like that , but it could be interesting to test this out .
But I think you've made a mistake while trying to create the system folder :
You created this :
/system/app/com/niksoftware.snapseed
But the /com is not needed , I mean it maybe the reason of you issue .
So try to remove the /com :
/system/app/niksoftware.snapseed
Let me know if it worked
RaiZProduction said:
Personally I never tried to install third party apps like that , but it could be interesting to test this out .
But I think you've made a mistake while trying to create the system folder :
You created this :
/system/app/com/niksoftware.snapseed
But the /com is not needed , I mean it maybe the reason of you issue .
So try to remove the /com :
/system/app/niksoftware.snapseed
Let me know if it worked
Click to expand...
Click to collapse
Hi
Thank you for your reply. I've only just realised there is a typo in the directory. The 'com/' should be 'com.' However, I will give removing 'com' altogether to see if that makes any difference.
willowen100 said:
Hi
Thank you for your reply. I've only just realised there is a typo in the directory. The 'com/' should be 'com.' However, I will give removing 'com' altogether to see if that makes any difference.
Click to expand...
Click to collapse
Let me know if it worked , happy to see I helped :highfive:
RaiZProduction said:
Let me know if it worked , happy to see I helped :highfive:
Click to expand...
Click to collapse
I renamed all of the folders inside the zip folder so there is no '.' (dots) in the folder and file names and unfortunately the apps still crash. It's a shame there is no command that extracts the .APK files into their correct directories. I'd love to know how the OpenGApps package works because that basically does the same thing as my ZIP folder.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I renamed all of the folders inside the zip folder so there is no '.' (dots) in the folder and file names and unfortunately the apps still crash. It's a shame there is no command that extracts the .APK files into their correct directories. I'd love to know how the OpenGApps package works because that basically does the same thing as my ZIP folder.
Click to expand...
Click to collapse
GApps does the same thing .
Basically it's a zip file with a script that copy all the file and the directories to the root directory of your phone.
I think the problem is the signature used bybthe third party apps. But that's just an hypothesis , I could be wrong I'll let you search more deep on that subject with Google , hope this helped a bit
:highfive:
RaiZProduction said:
GApps does the same thing .
Basically it's a zip file with a script that copy all the file and the directories to the root directory of your phone.
I think the problem is the signature used bybthe third party apps. But that's just an hypothesis , I could be wrong I'll let you search more deep on that subject with Google , hope this helped a bit
:highfive:
Click to expand...
Click to collapse
I've found a couple of APK/ZIP folder signing utilities but unfortunately they've made no difference.
The part that's going wrong somewhere is the folders that should be created alongside the APK files are not being created.
Sent from my LG-H930 using Tapatalk
I made some videos explaining the situation.
The first video shows the app crashing on launch. The APK file is installed at
Code:
/system/app/Snapseed
I then proceed to install it which is successful and installs itself as a user app found at
Code:
/data/app/com.niksoftware.snapseed-1
Next I rename it and move it to system directory and delete the original directory so there isn't a clash of identical apps. Finally I reboot the phone.
https://youtu.be/mL6ePOMnDQw
The second video I show that it opens up perfectly fine. To show that the two folders inside the
Code:
/system/app/com.niksoftware.snapseed
directory are important, I move them to the internal storage Downloads folder and then relaunch the app. It now crashes. I restore the folders and then app once again works again.
https://youtu.be/hL60APHTV7Q
Will
willowen100 said:
I made some videos explaining the situation.
...
Will
Click to expand...
Click to collapse
Hi , the videos you made made me understand better your issue , but I've a question , when you moved the oat and lib folders to the system , you opened the Snapseed app successfully without any bugs isn't it ?
And because the installation folders are in the system , the factory reset won't affect them .
So is your problem solved ?
RaiZProduction said:
Hi , the videos you made made me understand better your issue , but I've a question , when you moved the oat and lib folders to the system , you opened the Snapseed app successfully without any bugs isn't it ?
And because the installation folders are in the system , the factory reset won't affect them .
So is your problem solved ?
Click to expand...
Click to collapse
Yes you could say I have solved the problem but it's not the solution I'm looking for. I want to be able to install the apps in bulk during the flashing stage using a custom recovery like TWRP I'm using. The order I would flash would be:-
1) Flash Lineage OS
2) Flash OpenGApps
3) Flash additional apps (essentially third party apps from the Google Play Store)
Sent from my LG-H930 using Tapatalk
willowen100 said:
Yes you could say I have solved the problem but it's not the solution I'm looking for. I want to be able to install the apps in bulk during the flashing stage using a custom recovery like TWRP I'm using. The order I would flash would be:-
1) Flash Lineage OS
2) Flash OpenGApps
3) Flash additional apps (essentially third party apps from the Google Play Store)
Click to expand...
Click to collapse
Ok , now flashable zips are field so I can help you
If you want me to do it for you , just upload those files to Google drive and send me the link , I'll make your flashable zip and upload it to Dropbox so you can download it :good:.
The files you should upload :
• Libs folder of every third party apps you want to install
• Oat Folder of every third party apps you want to install
• Base.apk file of every third party apps you want to install
If you want to do it yourself , I'll make you a guide on how to do it ( you require a PC to do it with RAR and Notepad++ or another text editor installed on it )
RaiZProduction said:
Ok , now flashable zips are field so I can help you
If you want me to do it for you , just upload those files to Google drive and send me the link , I'll make your flashable zip and upload it to Dropbox so you can download it :good:.
The files you should upload :
• Libs folder of every third party apps you want to install
• Oat Folder of every third party apps you want to install
• Base.apk file of every third party apps you want to install
If you want to do it yourself , I'll make you a guide on how to do it ( you require a PC to do it with RAR and Notepad++ or another text editor installed on it )
Click to expand...
Click to collapse
I'd rather do it myself please if that's okay with you creating a guide, as I would like to learn how to do it for future reference? I use Notepad++ quite frequently and I use 7-zip to archive everything so I'm all setup there.
This is going to sound stupid but where do I get the Libs and Oat folders from except for copying them from Android? I am aware you can open the APK files themselves but I've never seen the Oat folders inside.
Many thanks again for your help so far.
Will
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'd rather do it myself
...
Will
Click to expand...
Click to collapse
I meant I need the Content of this folder for each apps you want to install as system apps:
/data/app/com.niksoftware.snapseed-1
> lib
> oat
> base.apk
Click to expand...
Click to collapse
You will need this to make the flashable zip.
Copy and paste those files to your download folder ( Internal storage ) , then transfer those folders (and the APK file to your PC in order to use it .
I'm preparing the guide and I'll post it in around 10 min , don't forget to press the thank button on the posts
willowen100 said:
I'd rather do it myself please if that's okay with you creating a guide
...
Sent from my LG-H930 using Tapatalk
Click to expand...
Click to collapse
So , let's start with what you need :
- The folder /data/app/com.niksoftware.snapseed-1 and its content on your desktop
Now what you should do :
1) Extract the 2 folders in the template I made you
2) Open the system folder and create a folder called "app" into it
3) Copy the com.niksoftware.snapseed-1 folder (with the content inside it) and paste it into the app folder newly created
4) Repeate the step above for each and every app you want to install as system app
5) Exit the folders
6) Select the META-INF folder and the system folder and compress them with 7-Zip
7) You are ready to flash the zip to your phone !
My Advice is to do this in your Desktop in first place, because it's more easy to see what you're doing.
When you get used to this, you may do it everywhere (even on your phone).
Don't forget to disable signature verification in TWRP ( if there is the option , I don't remember well)
And make a backup of your phone before every modification , we never know what can happen (but in this case, it'll be okay since we're modifying nothing)
Hope this helped you , don't forget to press the thank button
RaiZProduction said:
I meant I need the Content of this folder for each apps you want to install as system apps:
You will need this to make the flashable zip.
Copy and paste those files to your download folder ( Internal storage ) , then transfer those folders (and the APK file to your PC in order to use it .
I'm preparing the guide and I'll post it in around 10 min , don't forget to press the thank button on the posts
Click to expand...
Click to collapse
I'm just trying to find out if there a more time saving tool that will extract the the lib, oat and base.apk from the containing .apk file so I can do it in bulk on a PC.
The problem I have is that I have about 20+ APK's that will be flashed additionally on top of the Lineage OS ROM and OpenGApps. Thinking how long it took to do one installing it as a user app, renaming it, moving it to the system partition, I would have to do that for everyone. Even if I was to do this method the contents I extracted for one Android architecture (CPU chipset type) used on one device may be completely incompatible on another.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'm just trying to find out if there a more time saving tool that will extract the the
...
on one device may be completely incompatible on another.
Click to expand...
Click to collapse
Unfortunately I don't know any tool able to do that.
And for the architecture , that's not really a problem
Because there are only 4 architecture :
x86 (rare)
x86_64 (very rare , mostly used on emulators)
arm (most common)
arm64 (common)
And the arm APKs work for arm64 devices , so you just have to do this for arm APKs and it'll be okay for almost every Android device . (Edit 1 : Not really sure of this info, should be good but I can't certify it 100%)
And I know myself that doing that takes time , but if you really want to do that , that's the only way I can suggest.
Do as you feel it , I hope my answers were clear and useful for you.
Let me know what's your decision,
Have a nice day
RaiZProduction said:
Unfortunately I don't know any tool able to do that.
And for the architecture , that's not really a problem
Because there are only 4 architecture :
x86 (rare)
x86_64 (very rare , mostly used on emulators)
arm (most common)
arm64 (common)
And the arm APKs work for arm64 devices , so you just have to do this for arm APKs and it'll be okay for almost every Android device . (Edit 1 : Not really sure of this info, should be good but I can't certify it 100%)
And I know myself that doing that takes time , but if you really want to do that , that's the only way I can suggest.
Do as you feel it , I hope my answers were clear and useful for you.
Let me know what's your decision,
Have a nice day
Click to expand...
Click to collapse
I'm going to go ahead with it. Like you said ARM will work for ARM64. Even if the apps become slightly outdated if I were to flash my ZIP onto future devices, as soon as the Play Store is installed it will hopefully update anyway.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'm going to go ahead with it. Like you said ARM will work for ARM64. Even if the apps become slightly outdated if I were to flash my ZIP onto future devices, as soon as the Play Store is installed it will hopefully update anyway.
Click to expand...
Click to collapse
Good luck my friend

Categories

Resources