yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] jhunee9090:
1. Flash lastest build realese

2. Flash Gapps,SU,Xposed

3. Backup system

4. Restore system (first process restore get shutdown. "i dont know this happen to me, but for my data back [emoji12] im skip this for nothing. And mybe this happen 2 times. Try back to recovery. test again restore sytem)

5. Restore data ("again... first process restore come shutdown. U should Go back to recovery and restore again ur data")

6. Done [emoji14]

This methode i use to back my data on lastest build. Here im just to help everyone to solve issue and this step works to me and im not post here if my step not works. Thanks
[Zenfone 5 Android Development] kuranzi:
[MENTION=5875920]tank0412[/MENTION] im gona clean flash 2.1... what should i flash, rom+boot or just rom only ? now im running on cm13.. thx before
[Zenfone 5 Android Development] tank0412:
Are you seriously?

If he backup and restore system partiton, he will get a old Stable1.4.
[Zenfone 5 Android Development] tank0412:
Rom only.
[Zenfone 5 Android Development] kuranzi:
how about the kernel ? is cm13 kernel compatible ?
[Zenfone 5 Android Development] tank0412:
Yeah.

But do not forget about rom :)
[Zenfone 5 Android Development] kuranzi:
thanks sir, ill gona try itu :D
[Zenfone 5 Android Development] milano88:
How to upgrade system without losing data

1. ) Reboot to TWRP

2. ) Backup > Config + Data

3. ) Copy your backup in Internal Storage>TWRP folder to your computer

4. ) Wipe ALL partition

5. ) Put ROM + Gapps to your phone ( Internal Storage ) and Flash

6. ) Wipe Cache + Dalvik Cache + Data + Internal Storage

7. ) Reboot to Recovery

8. ) Connect to your device via USB and put your backup to TWRP folder in Internal Storage

9. ) Go to Restore and restore your Config + Data

10.) Delete Backup folder in TWRP ( Internal Storage>TWRP>Backup ) folder

11.) Reboot System
[Zenfone 5 Android Development] tank0412:
OK but i think that wipe of internal storage is not needed.

You can backup Config + Data to Internal storage, wipe all partitions apart Internal storage, flash rom + gapps and restore Config + Data from Internal storage.
[Zenfone 5 Android Development] milano88:
yeah internal storage is not needed , I wipe all my partition for clean install , after that restore my Music,Wall etc... to my Internal Storage
[Zenfone 5 Android Development] jhunee9090:
Can u exlplain "how" if backup and then restore system get a old stable. But now im succes to try restore my data in ur lastest build.
[Zenfone 5 Android Development] aperture:
how's the gps performance? is the GPS fix accurate and fast?
[Zenfone 5 Android Development] mReisBR:
When I go to unlock the bootloader, this error occurs: "'fastboot' is not recognized as an internal or external command,

operable program or batch file." How to fix?
[Zenfone 5 Android Development] Eduardo Lopes:
I have problem, camera does work... please help me
[Zenfone 5 Android Development] satheeshilead:
But where is config??

In backup it shows only cache, system & data...
[Zenfone 5 Android Development] MarconiGRF:
Guys Remember to add file to "My drive" and then download it, you will get full internet speed on download and will not overload GDrive server. ;)
[Zenfone 5 Android Development] marlontravagli:
Awesome ROM, much better then stock. Thanks for your hard work for bring Android MM to Z5. Sorry bad english. Cheers ?
[Zenfone 5 Android Development] milano88:
flash twrp 3.0.2 MM
[Zenfone 5 Android Development] mfauzirahman:
[MENTION=5875920]tank0412[/MENTION]...3g stable so far...millions thanks for your hardwork....salute
[Zenfone 5 Android Development] emirfahimi:
soo version 2.1?is stable ..any bugs?..i've been wating for a very stable.read all the comment ..seems like this rom is kinda awesome
[Zenfone 5 Android Development] gibimba:
problems with led notification?
[Zenfone 5 Android Development] ChristopherXI:
You will never know if you wont try it yourself......
[Zenfone 5 Android Development] tank0412:
I think that there are no problems with it.
[Zenfone 5 Android Development] MarconiGRF:
Finish the dirty flash, stable 2.1, i'm not facing any bugs yet. Is GPS fixed? Because I turn on my 3G (the connection is very stable now) and GMaps gave me a location, 75m accurate... Or it's something related with Wi-Fi verification?

Screenshot below:
[Zenfone 5 Android Development] tank0412:
Only A-GPS is fixed. It works with Internet connection.
[Zenfone 5 Android Development] antanisv:
Dear tank0412, many thanks for this superb rom..........btw any changes of OTA being fixed? Actually, your upgrades are so fast that OTA would prove to be a boon for the users here..........

One more thing, I am on build 1.9 and it appears that battery drain is too heavy. Any solutions for this? Also, data connection always remain on - I mean, earlier (on asus stock rom of A501CG) I think it used to so happen that while the screen is off, data connection remained disconnected. It gets connected only when the screen is on..........

For this can an app like juice defender be used? Would it be worthwhile to do so?

Kindly advise and thanks again for this wonderful rom...........
[Zenfone 5 Android Development] tank0412:
Try to flash boot.img from Stable2.1.
[Zenfone 5 Android Development] bakasiemilyan100700:
What is Config on TWRP backup?
[Zenfone 5 Android Development] antanisv:
Thanks for the quick reply. But can I please request you to explain as to how to flash boot.img from stable 2.1? I am new to this particular flashing method.............:(( It would be great if you provide detailed process to do so. Thanks again.
[Zenfone 5 Android Development] tank0412:
I published in this topic link to flashable zip with boot.img from Stable2.1.

https://drive.google.com/file/d/0B-Fin8UxrD6PWHFtckFPU2ctNjA/view?pref=2&pli=1
[Zenfone 5 Android Development] antanisv:
Right sir, but I am unable to figure out as tow how only boot.img is to be flashed.........through twrp? Since I am unaware of this, it would be really really helpful if you explain the steps involved in flashing boot.img of 2.1 version.
[Zenfone 5 Android Development] smgdev:
fastboot flash boot boot.img

Or take a flashable boot zip, any kernel works, open it and replace the boot.img with yours then flash it with twrp
[Zenfone 5 Android Development] :
[MENTION=5875920]tank0412[/MENTION]

The device is locked when the call comes first unlock the screen. unlock not be answered from the call.

For example, I 'm using pattern lock. If I am asked to unlock the device before the call comes in while you are locked. But I can answer the call after the lock.

Please read my comments .
[Zenfone 5 Android Development] ozantankus@hotmail.com:
SYSTEM AND KERNEL İSSİSUE

When battery become %25 or 30, system freezing and shutting down.... when ı openning the phone

say low battery....2 mınute charging phone and battery %26 or 27....original kitkat (2.21.40.53) not be this......
[Zenfone 5 Android Development] ChristopherXI:
It's the RR Team's fault. Not Tank's fault. He can't do anything about this
[Zenfone 5 Android Development] :
Ok. So why RR team can not fix this problem?
[Zenfone 5 Android Development] antanisv:
Thanks sir, can I use an app called flashify (available on play store) which flashes recovery img and boot img? Will it be safe? I am sorry for asking too many questions on this.............
[Zenfone 5 Android Development] vigneshvikky:
Nope it will not work

Y u just flash it via fastboot just like u flashed recovery
[Zenfone 5 Android Development] ChristopherXI:
Maybe in rhe next source update. Who knows. Ask them instead of me genius...
[Zenfone 5 Android Development] antanisv:
OK. So that means from the rom zip file, I should extract boot.img file separately and put that file into adb folder and then in adb shell I should write fastboot boot boot.img........

Is this correct?
[Zenfone 5 Android Development] vigneshvikky:
Exactly [emoji106]
[Zenfone 5 Android Development] :
Ok. Thanks
[Zenfone 5 Android Development] antanisv:
Ookkkksss....thanks buddy....now sincerely last question.... Do I need to take any back up before doing all this?
[Zenfone 5 Android Development] vigneshvikky:
Nope just flash it [emoji2] [emoji3]
[Zenfone 5 Android Development] antanisv:
Good. Thanks a tonne. That means I have to first download the entire ROM zip and then extract boot.IMG separately.......whopping 456 mb again........BTW could this boot img file be available separately? I mean out of ROM zip file?
[Zenfone 5 Android Development] motiwyl:
why weather widget not show in lockscreen i turned on A-GPS already

sorry for weird english
[Zenfone 5 Android Development] vigneshvikky:
Beta 2.1 boot image only

https://drive.google.com/file/d/0B-Fin8UxrD6PWHFtckFPU2ctNjA/view?usp=drive_web
[Zenfone 5 Android Development] antanisv:
OMG......fantastic........many many thanks boss.
[Zenfone 5 Android Development] myrul:
Change weather source from yahoo weather to openweathermap in widget setting, easier way enter clock > 3 dot menu > widget setting. For some reason, yahoo weather doesn't work.
[Zenfone 5 Android Development] TongYabgu:
Bro why you dont give update from ota?

and which kernel is provide best battery performances? and provide faster uı?

---------- Post added at 12:12 PM ---------- Previous post was at 12:12 PM ----------

Bro why you dont give update from ota?

and which kernel is provide best battery performances? and provide faster uı?
[Zenfone 5 Android Development] NylSky:
Battery

The ROM is great, I use in my day to day without problems, but I felt that from version 2.0 the battery is draining faster.
[Zenfone 5 Android Development] vigneshvikky:
Use hotplug cpu governor for better battery performance but the camera will not work in hotplug governor
[Zenfone 5 Android Development] antanisv:
I just flashed the boot.img given by you but now it appears that I am stuck on asus logo........actually I did it through twrp............Now how do I resolve this?
[Zenfone 5 Android Development] ZeeJcG:
Please provide link for TWRP 3.0.2-0 because link in the forum cant be reached.
[Zenfone 5 Android Development] Edorewiel:
Tank0412

I am founded camera wrapper.

One plus one used IMX214.

Sources : https://github.com/CyanogenMod/android_device_oneplus_bacon/tree/cm-13.0/camera
[Zenfone 5 Android Development] tank0412:
I have already saw it. But camera module is different.

Anyway i will try it later.
[Zenfone 5 Android Development] quanganh2627:
yes, yes, u correct, sorry my friend[emoji12] [emoji12] [emoji12]

u misunderstood what I said. my meaning was our blobs use camera_hal2, so should focus on it only, unless anything else, i.e u write/or find a new src use camera_hal3 on both system and kernel, maybe requires a new firmware driver too. But, it's look like a new M:I6, right?[emoji1] [emoji1] [emoji1]
[Zenfone 5 Android Development] abhimanyu.singh:
That's all right dude.. That's the least I could do to help you guys. You guys are doing really awesome work.. Thank you and tank and dgdhela.
[Zenfone 5 Android Development] quanganh2627:
Oops, maybe im wrong, but i just downloaded ur newest, then i think i found out why camera not working. in framework folder, it's missing 3 jar files of Intel : camera.extension & 2 files of sepdriver. It's first step, maybe missing on libs & permissions too. and now I understand why my little trick is not effect on yours. This caused by your rom's odexed yet, thus even in case if missed jar files has been added, they can't work bcuz they haven't been preodex yet. This is also why i can't test before reply here. For this reason, i really want to recommend you remove "WITH_DEXPREOPT" flag in ur next build, and enable kernel-config file for easier debugging. ofc, u complete say it make boot process slower, but can do quick test anything, anytime for everyone, and i think it's a thing u need right now, more than boot speed. And if u're thinking hide to protect your work, prevent someone stealth it, then forget it immediately. Once released, nothing is yours private anymore, it's not too hard to port it to something else, it's my knowledge after last. For now, everyone care bout ZenFone5 also know u and [MENTION=6292495]dgadelha[/MENTION] are two first men who make dream come true, and kickoff Asus's face ONE MORE TIME[emoji94] [emoji109] [emoji95] [emoji122] [emoji122] [emoji122] [emoji122] [emoji123] [emoji123] [emoji123] [emoji123] !! Then let fair enough, people will fair enough too[emoji16] [emoji16] [emoji16]
[Zenfone 5 Android Development] Andre2015:
[MENTION=5875920]tank0412[/MENTION] the TWRP Recovery 3.0.0 has fixed the lag they had before?
[Zenfone 5 Android Development] tank0412:
Noted. Thx.
[Zenfone 5 Android Development] Huikhor99:
Great Work! Will try it when camera is fixed.
[Zenfone 5 Android Development] LuanHalaiko:
yes in the 3.0.2 version is fixed
[Zenfone 5 Android Development] dgadelha:
Intel Camera Extensions aren't needed, I tested building without it on CM12.1 and it worked. Looks like it is just some effects library for Intel Camera (which we don't even have)

Also, if disable odexing the first-boot time will be a lot slow, and phone gets heat, etc, so I added that flag to give a faster boot time and a good user experience.

And I opened the sources (https://bitbucket.org/zf5) because I'm replacing my Zenfone with a Motorola.
[Zenfone 5 Android Development] Edorewiel:
Tank0412

You following wrong way for ota updates.

https://github.com/tank0412/OTA/blob/master/T00F.xml

description="Download ResurrectionRemix builds">https://drive.google.com/file/d/0B-Fin8UxrD6POEVaT3dyQ0NXaG8/view</RomUrl>

Not google drive!

Direct downloadable links(basketbuild, etc)
[Zenfone 5 Android Development] quanganh2627:
Nope, PixelMaster for others chip i don't know. but on intel's chip, complete based on Intel camera + intel extra. Yes, ofc u can use camera without it, bcuz most of lollipop devices use CameraHal2, and certainly not enough functions. For now, MM change to Hal3 as mainline, then it can't support ours anymore, unless you have any lub shim/wrapper.....like others. BTW, not sure why cm team use camerauvc for ZenFone2, but afaik, camerauvc aka camera usb, often with pc, tv-internet...hence u defined reference to it but didn't provide src to build, it's become useless as Aosp&cm don't care about it much, but android-x86 & android-ia.

---------- Post added at 06:37 AM ---------- Previous post was at 06:27 AM ----------

yours heat because u disabled ituxd config and app - thermal mamager. do it then device becoming heater very fast, and reboot whenever it reach limit to save. and which better, boot time faster or a whole rom performance??
[Zenfone 5 Android Development] dgadelha:
Anh, I already tested libcamerauvc and it didn't work. Also, Zenfone 2 uses a wrapper + libshim.

I removed libshims because they don't work on AOSP, instead, I've coded a Patch file that adds the missing functions needed by the HAL to the framework: https://bitbucket.org/zf5/patches/s...frameworks/native/camera.patch?at=marshmallow It was the alternative because it works both with CM and AOSP, unlike libshim.

For the Camera, sincerely, I don't know what to do.

And the phone didn't heat. I removed ituxd because it was causing battery drain + stopping deep sleep + waking up phone. Phone runs very good without it.

Also, answering your last question, an ODEXED ROM has a Good Performance and a Faster Boot. A DEODEXED ROM has a slow boot and same performance.

If you check on my CM13, the Applications open so much fast and the ROM is so fast because of the odexing.

Thanks.
[Zenfone 5 Android Development] adamilmanns:
[MENTION=6425564]X AnwarMov[/MENTION] why did you not came help us ? As you told us that your CM13 ROM external not working. So its mean camera working. Why you share your ScreenShoot then keep silent..
[Zenfone 5 Android Development] tCarbon:
Offcial?
[Zenfone 5 Android Development] tank0412:
Yeah. i am official maintainer of RR MM rom for Zenfone 5.
[Zenfone 5 Android Development] Kyo.:
Even with the bugs Resurrection Remix can be official?
[Zenfone 5 Android Development] tank0412:
Yeah. But i working hard to fix this bugs.
[Zenfone 5 Android Development] Kyo.:
Yes, continue with your efforts. Only the bug in the camera that prevent me Marshmallow :'(
[Zenfone 5 Android Development] antanisv:
Now the recovery says.......NO OS installed........:(((...........I think I have bricked my phone. Can anybody help me here? Now, I think I need to reflash the entire rom again? Please help urgently.
[Zenfone 5 Android Development] vigneshvikky:
No you are not. Just tell me what u exactly did.

Cause flashing boot image doesnt corrupt system and data
[Zenfone 5 Android Development] tank0412:
I think that RR sources must be updated for OTA. The problem is i can not download fresh RR sources.

So i need someoine who will download it for me.
[Zenfone 5 Android Development] ZeeJcG:
What version of recovery is this ?

i cant copy my backup to computer because twrp cant recognize i am connected lols
[Zenfone 5 Android Development] antanisv:
what I did was copy the img file taken via your link.....beta boot.img for 2.1........extracted it onto phone's internal memory and then through twrp flashed the img file...........now, after selecting the img file, twrp prompted about system partition to which I said a yes...............and that's it....................I think that's where I made mistake..................Now what to do boss?
[Zenfone 5 Android Development] vigneshvikky:
http://www.mediafire.com/download/0bklton5q24l00l/TWRP3.0.2(xanwar).img

recovery image link

---------- Post added at 11:59 AM ---------- Previous post was at 11:55 AM ----------

y u did this!!!!!!

u just flash the boot image in the system partition.

no problem your data partition is still safe just flash rr rom.zip via recovey and reboot

---------- Post added at 12:01 PM ---------- Previous post was at 11:59 AM ----------

and dont flash gapps cause it will gives you error

if you want gapps then backup every apps

go to recovery

format system cache and data

then flash rr rom.zip then gapps
[Zenfone 5 Android Development] antanisv:
I am still able to access twrp.............now when I connect my phone to my pc, will PC recognise the device? Because I have to transfer rr rom zip file from pc to my phone storage...........
[Zenfone 5 Android Development] vigneshvikky:
in zenfone 5, twrp doesnt support mtp from the beginning.

may be recovery developer thinks that it is not much useful
[Zenfone 5 Android Development] antanisv:
That means almost the entire process which I did the first time when I installed RR rom for the first time - will have to be done.......am I right?
[Zenfone 5 Android Development] vigneshvikky:
no

you just copy zip on any sdcard via card reader

u cannot access internal storage on computer in recovery mode(MTP not Implemented)

---------- Post added at 12:11 PM ---------- Previous post was at 12:09 PM ----------

Correct
[Zenfone 5 Android Development] antanisv:
OMG...........I do not have a card reader.............:((((

---------- Post added at 05:43 PM ---------- Previous post was at 05:41 PM ----------

OK. Let me see if I can manage this via my wife's mobile and her sd card.............i.e. copying the rom zip and gapps zip from my pc to my wife's phone's sd card via usb cable..................:)) I think this should work.........
[Zenfone 5 Android Development] kuranzi:
Yesterday i got this problem too, but i dunno why when im connect usb in twrp my computer roconize my SD so im able to copy the file ... Have u try to connect it ?
[Zenfone 5 Android Development] adamilmanns:
Why u cant sync source ?
[Zenfone 5 Android Development] tank0412:
OMG

I can not use repo and i can not download sources from Google server because Google server does not work in my region.
[Zenfone 5 Android Development] zuhairi.:
wow, you fix it to fast bro, im on 1.9 now youre in stable 2.1 really quick good job [MENTION=5875920]tank0412[/MENTION] btw the link to donwload is eror
[Zenfone 5 Android Development] abw_bw:
I have some issues, notification light and playback control is not working here
[Zenfone 5 Android Development] kuranzi:
[MENTION=5875920]tank0412[/MENTION] is this safe if i remove system app like camera,browser ? Coz i wana use another browser and pixelaster camera.. Thx before
[Zenfone 5 Android Development] ZeeJcG:
How to fix the no weather services installed and dead cloud on the quick settings below the profile?
[Zenfone 5 Android Development] mReisBR:
Installed the ROM and was very good, have not found much bugs, the camera is on and the battery more lasting. Congratulations to the developers and to continue updating. I wonder how do I take a screenshot?
[Zenfone 5 Android Development] antanisv:
Dear Vigneshvikky, I think finally I have been able to successfully re-load rr rom and now the mobile is successfully on...........many thanks for your quick responses and help. ONe more thing, after flashing the rom and gapps, wiping data and cache is a must? I think I did not do this........could there be any issues?
[Zenfone 5 Android Development] vigneshvikky:
Then how did you get the source [emoji15] [emoji15]

Without google its really tough

Thanks for your hardwork
[Zenfone 5 Android Development] prashku89:
yes to avoid issues
[Zenfone 5 Android Development] antanisv:
Ok. But now that I have already forgotten to wipe cache and data before the first boot, can I do it after the first boot?
[Zenfone 5 Android Development] vigneshvikky:
If you wish to lost all your installed app just do it

That means DO NOT WIPE DATA may you can wipe cache
[Zenfone 5 Android Development] antanisv:
No way boss.............hard lessons have been learnt today..........:)))) I will only wipe cache now and hope that there are no further issues or errors. Thanks a tonne for all your help and guidance.
[Zenfone 5 Android Development] emirfahimi:
Hey otg usb is not supported right?i wanted to flash it on otg usb because i dont have enough space in my sd card...
[Zenfone 5 Android Development] tank0412:
OMG. Use search.

OTG is working fine on ES FIle Explorer app.
[Zenfone 5 Android Development] TrueMS:
Hi, if I have supported model and I exactly follow installation Steps for this rom, is it 100% sure, that it will work? (Like if it Fail or something during flashing)

I don't want to lose my phone by this...
[Zenfone 5 Android Development] tank0412:
All wile be OK. :D

The main danger is bootloader unlock.
[Zenfone 5 Android Development] TrueMS:
So everything good? Any bootloops, bricks?

I should have battery full ye?
[Zenfone 5 Android Development] satheeshilead:
Whether TWRP 3.0.2 has option to mount USB Storage like the previous build?..
[Zenfone 5 Android Development] Parliamert:
Hey [MENTION=5875920]tank0412[/MENTION]!

Are you planning adding SELinux on further releases? I wanna use Viper4Android but I need Permissive SELinux before that :/
[Zenfone 5 Android Development] tank0412:
First MM builds did not boot due to Enabled selinux.

So we disable it. If i enable selinux again, it will not boot.
[Zenfone 5 Android Development] milano88:
Use my mod for CM 13 work here:

https://db.tt/6InzOfpj
[Zenfone 5 Android Development] El Niño Jr.:
Just flash it via TWRP?
[Zenfone 5 Android Development] TrueMS:
Hi, do I have to unlock bootloader? I'm new :D

Can i ask how do I unlock it?
[Zenfone 5 Android Development] shobint7:
Not able download Rom due to overload. :(
[Zenfone 5 Android Development] MarconiGRF:
The guy flash boot.img in /system partition? Laughting out loud here sorry :laugh:
[Zenfone 5 Android Development] TrueMS:
Please, do I have to unlock bootloader (i dont know, im newbie at this), If yes, can you send some link?
[Zenfone 5 Android Development] El Niño Jr.:
Not working. Huhu
[Zenfone 5 Android Development] milano88:
install busybox from playstore first

https://play.google.com/store/apps/details?id=stericson.busybox

working tested in RR and CM13 by dgadelha
[Zenfone 5 Android Development] Parliamert:
Not working at all :/

EDIT: My bad, IT'S WORKING.

Thanks [MENTION=5289472]milano88[/MENTION]
[Zenfone 5 Android Development] El Niño Jr.:
I know. But still not working. Always install driver
[Zenfone 5 Android Development] milano88:
I sent to [MENTION=6292495]dgadelha[/MENTION] for test he said that work and work for me , my device a501cg