yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] Harfainx:
PCLink Binary and Manager have been removed from the ROM. That's why it doesn't work as intended. I'm actually looking to remove it completely so it doesn't even come up when plugged in, but it's in some libs and such that I haven't gotten to yet.

Your initial question just noted that you were on .18, without mentioning that you were on this ROM. And it seemed like you were asking about how to use it, rather than if it would work on the ROM.

I added in a flashable zip for .22 that enables PCLink. So feel free to update to the latest and then just flash that zip in TWRP immediately after updating. You'll be all set with PCLink working.
[ZenFone 2 Android Development] thoughtlesskyle:
Those issues have been resolved, also it's more so in the development thread asking for a step by step on how to use PC link isn't for this thread
[ZenFone 2 Android Development] gh0st-:
Yeah about the .18 thingy, its really all good. I'll try to figure it out when I get the time. Thanks for uploading the pclink zip file man.

EDIT / UPDATE:

PC Link is now working as intended. thanks alot!

---------- Post added at 11:28 PM ---------- Previous post was at 11:16 PM ----------

I won't argue, you guys make this work. haha.

my bad since I didn't really give the specifics and for asking to be spoon-fed. Anyhow, You misunderstood the question I initially asked,

I'm having issues with the pclink thingy, i mean i can see the mirror on the desktop but I can't access anything, via mouse and stuff.

-- I was asking for the pc link fix, which was answered afterwards.

Also, I'm still on 2.19.20.18, afraid to mess up and I don't have the "time" right now to reconfigure what I already have.

what's the best apporach, what to do? how to do it?

a step by step guide would for sure be appreaciated.

More Power and thanks!

This is to rephrase it.

I was on 40.18 and Dirty fflashed 40.20, i ended up with a bootloop so then I reverted with a backup.

-> now my question was, would someone help or give me a step by step guide on HOW to update to 40.22 from 40.18 with the least chances of a bootloop like what to do or what not.

I'm not asking for a step by step guide on how to make PC link work. I was asking for a step by step guide on how to update this ROM correctly.
[ZenFone 2 Android Development] Harfainx:
Bootloop has been fixed when going to .22 (I think that was fixed in 1.2.2 or something like that). Make a backup, dirty flash R4 or 6 (if using SVN), and then flash the PCLink zip. Reboot to system and all your stuff should be there, with PCLink ready to go.

Doesn't matter if you're rooted, it should dirty flash fine since it formats /system.
[ZenFone 2 Android Development] Harfainx:
Updated to R7, both in SVN and Google download.

Just a few small tweaks:

Update to Roam

Black Splashscreen actually flashes now (my fault)

Added some cleanup to flash script
[ZenFone 2 Android Development] Veselchak787:
Can I install this ROM using TWIRP recovery, over

oficial ROM 2.19.40.18 rooted?
[ZenFone 2 Android Development] Harfainx:
As long as your bootloader is unlocked, it doesn't matter which stock build you're running.
[ZenFone 2 Android Development] aziz07:
Excellent Rom, the boot screen is much nicer than Asus's lol
[ZenFone 2 Android Development] Harfainx:
This would probably be better asked in a kernel thread. Or in Q&A.
[ZenFone 2 Android Development] Game Hustla:
Awesome job mate, ZE550ML owner flashed 1.2.2 and R4 worked with some bugs like no rotation and screen dpi a little effy also I needed to wipe data, could you please clean up the rom of ze550? mhp1995 provide pre-rooted roms but with all the junk https://mega.co.nz/#F!k4MHiAgL%21dVuOKeH3eokcwPSNI79ffw
[ZenFone 2 Android Development] IW4N93:
Mr [MENTION=2491106]Harfainx[/MENTION] and Mr [MENTION=1373751]thoughtlesskyle[/MENTION] ...

thank you very much, your rom works like a charm for me, clean and free from bloatware, that makes my phone's battery last longer, I choosed 2.19.40.20 because I think it is more stable than 22, and I will stay with it while waiting asus realeses android 5.1 or 5.1.1

once again thank you very much brothers :)
[ZenFone 2 Android Development] jokerthelegend:
I`m on 2.19.40.22 now do I need to unlock bootloder first to flash R7 version ?
[ZenFone 2 Android Development] Harfainx:
Yes, you must be unlocked to flash the ROM.
[ZenFone 2 Android Development] thoughtlesskyle:
You should put that in OP ;)
[ZenFone 2 Android Development] Harfainx:
Yeah yeah, I had it in there before, but took it out during some change to the OP. It's back now. :eek:
[ZenFone 2 Android Development] thoughtlesskyle:
Oh I was just being a jerk, didn't realize it was actually missing
[ZenFone 2 Android Development] cieffe54:
Work perfectly om 550

Changed in the zip droidboot, boot, ifwi, sl_vmm.bin taken from the ROM 550, flashed on 550 everything works perfectly (even the proximity sensor). The only thing that does not work is the bootanimatiom: too big! But the 550 becomes 551 :D:D:D
[ZenFone 2 Android Development] Jhdoubleoseven:
How long should it take? I wiped /system, rebooted back to TWRP and am trying to flash but it's getting stuck at "Format System"... is the install script not properly executing since /system is already wiped? Any idea why it may not be passing this step? Thanks!
[ZenFone 2 Android Development] Harfainx:
Takes a long time. That's in the OP.

It's because of how TWRP is, nothing to do with the ROM or the script.
[ZenFone 2 Android Development] Jhdoubleoseven:
Sorry bout that, just wasn't sure if it was the Flashing System step that took a long time or if the formatting system part would too. Thanks for the quick reply, was actually about to remove that cause I reread the OP :silly:
[ZenFone 2 Android Development] Harfainx:
Unfortunately both formatting system and extracting system take a while.

I suppose I could format the same way TWRP does and speed up the format. That's something that I can look into.
[ZenFone 2 Android Development] Jhdoubleoseven:
Yeah, that's why I was concerned about the "Format System" step taking so long since TWRP usually does it so quickly
[ZenFone 2 Android Development] thoughtlesskyle:
I'm okay with it taking a bit, it beats where we were before, which was not flashing at all
[ZenFone 2 Android Development] base_band5:
I flashed SuperZen R7 last night, took about 3 mins to format /system, /data, /cache and /dalvik cache under Advanced in RWRP. The R7 fw to 8 mins took flash. Must say thank you to Harfainx for releasing this slim version. I ended up freezing some more apps after the flash, then ran Antutu - got an amazing score of 49,007 but I forgot to switch wifi on before running the benchmark! It was going on about the score was unverified. I never got a score like that again, it was around 48,799! I read the conditions have got to be right for the benchmark. Still happy to know that the Zenfine 2 can reach a score of 49,000 +.
[ZenFone 2 Android Development] Harfainx:
May I ask what more you froze? I'm still cleaning things up as I go.
[ZenFone 2 Android Development] thoughtlesskyle:
Try updating your twrp, the newest one formats system much faster
[ZenFone 2 Android Development] base_band5:
I froze the following apps:

Asus MyFrame

Audio Wizard 1.1.0.150203

Audio Wizard Service

Bug Reporter

Cover View

Email (I use Mailwise - caters for a variety of email providers)

File Manager (I use Root Explorer)

FOTA Service

Gmail

Google+

Graffiti Board

Maps

Print Spooler

Street View

Tags 1.1

YouTube (I use another similar app)

There were a few more Apps that I just uninstalled as I would never use them. Can't recall their names.

Total number of Apps I have installed is 67.

---------- Post added at 09:26 PM ---------- Previous post was at 09:22 PM ----------

I'm on the latest TWRP v2.8.7.0 - I thought I was doing well with 3 minutes as I went to Advance Wipe and selected all 4 areas rather than do it separately! I timed the Stock Recovery in formatting Cache and that took 10 minutes alone!!!
[ZenFone 2 Android Development] Harfainx:
R8 is up on SVN, and Google link is available for full ROM in second post.

Changelog:

Long System Format issue resolved - Thanks to [MENTION=2388665]TheSSJ[/MENTION] for the info.

PCLink Pop-up removed on PC Connection (still shows a CD drive, but no pop-up. Tried to fix it and I broke boot)

Removed adb notification

New PCLink.22 flashable zip uploaded (you will need this if you flash R8 and want PCLink)

-----

Next to do is removing "Do Not Disturb" notification when on silent.

I figure I should actually get to the External Storage notification too.

Those are my next two projects.
[ZenFone 2 Android Development] rlaw:
I've frozen:

ASUS As

ASUS Demo

ASUS keyboard

ASUS Launcher

ASUS myframe

ASUS mywater

ASUS services

ASUS support

ASUS system webview (have one from playstore)

ASUS ZenUI PC suite

ASUS ZenUI services

ASUS boost

ASUS audio wizard

ASUS audio wizard service

Backup

Browser

Burst shot viewer

Calendar

com.asus.fmservice

com.asus.keyboard

com.asus.linkrimservice

com.asus.quickmemoservice

com.asus.quicksearch (this is related to quick memo function)

Digital Media Service

DMClient

Do It Later

Downloads (the file viewer not downloads manager)

Easy mode

Email

Felbridge font

File manager

FM Radio

Fresh Green

Gallery

Gmail (Inbox ftw)

Google play Newsstand

Graffiti board

Kids mode

Live demo service

Location

Lovely pink

Messaging

Minimovie

Mirror

Music

MyASUS

Party link

PC link

Photocollage

Photoframe

Quickmemo

Remote link

Setup wizard (ASUS version)

Share link

SIM toolkit

SMMI test

Supernote

Syndor flip font

Talk back

What's next

Zencircle

Zen talk
[ZenFone 2 Android Development] Harfainx:
Can you put that in code so it isn't massive?

Also, a good portion of that is already removed from the rom. :confused:
[ZenFone 2 Android Development] soto2080:
[MENTION=2491106]Harfainx[/MENTION]

May U remove Gapps? And then we can flash a custom pack gapps.

Stock pack are too many junk in it.
[ZenFone 2 Android Development] gh0st-:
Was able to make it work. Woot woot.
[ZenFone 2 Android Development] aziz07:
Are the sd card drivers and ext4 ntfs support integrated in the kernel or OS?

Fixed my slow sd card speeds. The thread is in Q&A.
[ZenFone 2 Android Development] luisarriaga:
I still didn't get it, I know it's possible to flash the Same rom on 550, but Is it necessary to make chances in order to have all the sensors up and running? Im Looking forward to flash this thing :D
[ZenFone 2 Android Development] cangcan:
wait.. so if 550 can use 551 rom, maybe 551 also can use 550 rom, who knows it may reduce down the android OS drain for temporary as we wait for ASUS to update it to 5.1.1. anyone 551 users tested this yet?
[ZenFone 2 Android Development] cieffe54:
you have to replace boot.img and all files build.prop
[ZenFone 2 Android Development] quadeur06:
hello everyone :) i want say THANKS for the rom and all the developpers ;) but ...i want know something please :) Why when twrp flash the rom the "extract system please wait" is sooooooooo long?? I've wait 15-20 minutes for this word ^^ Thank you for the answer :)
[ZenFone 2 Android Development] luisarriaga:
From the stock rom ?
[ZenFone 2 Android Development] thoughtlesskyle:
Because it does, the extract commands we are using are the same as any other device so its unfortunately how it is
[ZenFone 2 Android Development] cieffe54:
Yes

Inviato dal mio ASUS_Z008D con Tapatalk 2
[ZenFone 2 Android Development] TheSSJ:
I think a way to greatly speed this up would be to mount system not as ext4, but as emmc device (like boot or recovery):

/system_image emmc /dev/block/by-name/system

I could add this line to recovery.fstab, but you would require to produce a system.img and pack it into a flashable zip instead of adding every single file in the zip (@Harfainx). Flashing would work with package_extract_file or manually issuing dd comand using run_program.

Could speed up the process by a tremendous amount (saw this in other device forums at xda)

You wanna try? Drop me a PM and I will present you a testbuild with system_image partition mounted as emmc

Cheers
[ZenFone 2 Android Development] cieffe54:
Yes
[ZenFone 2 Android Development] Okazakee:
How much i have to wait until unlock bl and mod the phone? I've received it the 9/7 so, i have to wait some days or i can do all stuff now?
[ZenFone 2 Android Development] chubby65:
You can do it whenever you want to as long as you know what you are doing
[ZenFone 2 Android Development] Okazakee:
I am afraid for the warranty...
[ZenFone 2 Android Development] chubby65:
Well if you don't want to lose warranty keep it as stock and don't modify it

Warranty is usually either 12 or 24 months
[ZenFone 2 Android Development] kriegschluesser:
R8

What is new in R8??
[ZenFone 2 Android Development] luisarriaga:
Ok, sooo after flashing, I dont have screen rotation working and splash screen is showing nothing but black. That I can fix, but the screen rotation issue unfortunately i can't.
[ZenFone 2 Android Development] MironV:
I've seen this issue @ here, but I am also experiencing it after the latest update. My phone gets stuck very often on the boot animation.

Some info:

1. Had the pre-rooted 2.19.40.18 (pre-rooted by Shakalaka). I've unlocked the bootloader. I have installed TWRP.

2. Flashed 2.19.40.18 from here via TWRP & FM Radio. I only experienced the boot hanging a few times. I am also using Xposed Framework.

3. Updated the ROM after each new release (now running R8).

4. Using the latest TWRP, latest Xposed Framework and latest Project-T custom kernel.

My device keeps hanging on the boot animation (pretty often). Also, each time I am entering the OS...an "Android is upgrading" message appears. Each time. And I think this happened after flashing the latest PC-Link.

Tried to wipe the cache and dalvik, but the issue's still there..

Is this a common behavior?

Thanks.
[ZenFone 2 Android Development] cieffe54:
For splashscreen you can flash the splshscreen for 550, as far as the rotation of the screen, I had not noticed. I believe that the libraries of 550 and 551 are different but do'nt know which files need to be changed.

Perhaps it can be solved by changing the entire lib folder.

I try
[ZenFone 2 Android Development] mrobo:
can i flash it on 2.19.40.18 rooted and unlocked bootloader
[ZenFone 2 Android Development] cieffe54:
Don't work..:crying:
[ZenFone 2 Android Development] TheSSJ:
Can you try with the stock kernel to see if it is kernel related?
[ZenFone 2 Android Development] MironV:
I'll give it a try. I know I had the issue with the stock kernel as well...but it happened very rare.

Is there any way I could only flash the stock kernel? Should the boot.img from 2.19.40.22 (uploaded by shakalaka) should do the trick? Hmm...I guess not, as it's not unlocked there (but I could unlock it afterwards, I guess)
[ZenFone 2 Android Development] TheSSJ:
Bootloader doesn't lock only by flashing stock boot.img (there is no method at all to re-lock the BL, once unlocked there is no going back for the moment at least :D ). So you can use shakalaca's boot.img without fearing to lock your phone ;)
[ZenFone 2 Android Development] zipperklooder:
Just flashed the latest version (R8) through TWRP today. I had the bootloader unlocked and on the default white screen, so when I flashed this it turned it black and I did get the boot splash screen that's in the screenshots, but I still have all the Asus bloatware installed. I flashed this over a rooted stock 2.19.40.22 ROM. It also told me that it was optimizing 2 apps and upgrading android when I first booted. I hope I can get this working because a bloatware free ZF2 is insanely appealing!
[ZenFone 2 Android Development] markwebb:
I suggest a clean flash instead of a dirty flash which sounds like what you did. ;)
[ZenFone 2 Android Development] zipperklooder:
Good point :o sorry for being a complete noob! By that do you mean I should wipe my /data or do a factory reset?
[ZenFone 2 Android Development] Harfainx:
Sounds like you're using a 550. This is documented by others here in this thread.

Sounds kernel related. Haven't heard anything about that happening in this ROM.

Splash and boot animation worked, but system didn't wipe? I did just change the system format method, but I haven't heard of any issues with it failing so far.

I'll look into it and make sure there isn't something flaking out.
[ZenFone 2 Android Development] Harfainx:
http://xdaforums.com/showpost.php?p=61796527&postcount=216

I think you may have missed something. :rolleyes:
[ZenFone 2 Android Development] luisarriaga:
Do you think it's possible to remove all the stuff that you removed and reflash or applying the same technique for the 550 fw? I know you don't have one to test, but the thing should be the same, I don't know. I just want to get rid of all this bloatware cause the 2 gb ram sometimes are not enough, even though it's probably not correlated, but still important I guess.

---------- Post added at 02:03 PM ---------- Previous post was at 02:00 PM ----------

So you just need to replace those files?

---------- Post added at 02:04 PM ---------- Previous post was at 02:03 PM ----------

Crap, didn't saw that... Thanks
[ZenFone 2 Android Development] Harfainx:
Just went back and dirty flashed mine over an older restore. It isn't wiping system properly.

My apologies. I'll fix it as soon as I can.

Edit: System is fine, Asus updates in /data/app are the culprit.
[ZenFone 2 Android Development] cieffe54:
I tried using the same updater script, but I had a bootloop. I tried to restore the backup nandroid and I got that indicated that was not present any sim. I had to do a data factory reset (and the sim has reappeared) and after I could do a restore from backup nandroid. I do not know why he went to bootloop. The flash procedure is completed regularly.:crying: WHY??
[ZenFone 2 Android Development] zipperklooder:
Great that you found it, let me know when you've got it fixed so I can test it out again.
[ZenFone 2 Android Development] thoughtlesskyle:
With the way Asus handles boot animations you should be able to put in any boot animation at 720p and have it work, or if you delete the boot animation in the zip you should get the aosp one.

I haven't followed the thread heavily because I've been busy but how is this working out for you?
[ZenFone 2 Android Development] cieffe54:
It works fine the only thing that does not work is the screen rotation. I do not know what libraries that should be changed. For bootanimation just take one of the 550.

I have created, from the original ROM of 550 (40.23), a ROM without bloatware, and using the same update script, of the SUPERZEN. The flash procedure is successful without any errors, but then I had a bootloop.

I need help ...
[ZenFone 2 Android Development] thoughtlesskyle:
I'm pretty sure there is a firmware folder in libs that would need to be swapped with the 550.

However i am unsure, since we don't have a 550 in front of us to test with
[ZenFone 2 Android Development] cieffe54:
I transferred the entire lib folder of 550 in the ROM but not working. I do not understand what it may be. With an app from market rotates the screen perfectly (but not automatic) may be the rotation sensor?
[ZenFone 2 Android Development] Harfainx:
Oh it just gets better...

So the /system is being formatted properly.

The problem is that if you've booted once with all the junk in, most of it is now in /data/app. So I'm going to go through and have it attempt to delete all of the folders there that are made from the apps that are removed.

Going to clean install .22, boot to system, then go through and document all of the data/app folders that shouldn't be there. :mad:

Sorry folks, bear with me a bit longer and all the bloat should be removed whether you clean flash or dirty flash, both from an upgrade of this ROM or from stock.

(Really I should have done that before... Just slipped my mind to actually verify the /data stuff)

Edit: Ugh, they aren't populated on boot. Maybe when there's an update to them? This is annoying
[ZenFone 2 Android Development] zipperklooder:
Ouch, hope you can work it out. :good:
[ZenFone 2 Android Development] Okazakee:
why when i flash the rom it wipes system and i have to reflash original rom from sideload?
[ZenFone 2 Android Development] Harfainx:
It wipes system, but it writes everything in (including system) after. There should be no sideloading happening.
[ZenFone 2 Android Development] Okazakee:
when i flash the rom via twrp, after reboot the phone goes in stock recovery 'cause system is wiped, and for boot up the phone i have to flash stock rom via sideload...
[ZenFone 2 Android Development] Harfainx:
Is your bootloader unlocked? It has to be for this.

Sounds like you're using tethered TWRP with a locked bootloader.

(Please address that in the TWRP thread & the bootloader unlock thread)
[ZenFone 2 Android Development] Okazakee:
when i unlocked the bootloader it has the black splashscreen, and after i flashed the final splashscreen, is that a problem?
[ZenFone 2 Android Development] Harfainx:
Please refer to the bootloader unlock thread. It should have a white splash screen when you unlock. Your bootloader isn't unlocked. It would flash properly if it was unlocked.
[ZenFone 2 Android Development] thoughtlesskyle:
System being wiped wouldn't mess with your recovery partition. That would be like going blind from breaking your foot
[ZenFone 2 Android Development] Okazakee:
i've tryied to unlock it in *.22 version, do i have to unlock it in *.20?
[ZenFone 2 Android Development] Harfainx:
Please refer to the bootloader thread.
[ZenFone 2 Android Development] thoughtlesskyle:
My next move would be to get stock rom / system images for the 551 and 550 and diff them to see if it shows what's different
[ZenFone 2 Android Development] Harfainx:
So I decided that I won't be deleting the bloat apps out of /data/app for those that have updated Asus apps in the Play Store.

If you're coming from a stock build, you need to clean flash the first time you switch over. Dirty flashing over other builds of this ROM is fine though.

I do this because I don't want to delete apps that people actually use. Even though I get rid of the bloat, I don't want to be wiping people's stuff each time they update. For example, if someone downloads ZenCircle on purpose, it's going to go to their data folder. If I wipe that specific app out on each update, they have to go re-download it.

I don't want to be removing apps that people have downloaded. Just the built-in stuff. That way it will have the least impact on the user with each update.

-----

R9 is live on SVN. Removed a few more things, and slightly tweaked the updater, but nothing big. Apps removed are: AsusAs, AsusBoost, AudioWizard, AudioWizardView, DataTransfor, MyFrame, WidiInputService, XT9IME, and LogUploader
[ZenFone 2 Android Development] zipperklooder:
Should I use the "Wipe" option in TWRP and then flash the ROM to do a clean flash, or is something less/more strong required?
[ZenFone 2 Android Development] Harfainx:
Wipe system, data, cache, and dalvik in TWRP
[ZenFone 2 Android Development] zipperklooder:
Cool, making sure I have everything backed up and I'll let you know the results.
[ZenFone 2 Android Development] zipperklooder:
Welp, I flashed R8 after a wipe and I went through the setup but I still had all the Asus bloatware installed. Should I do another clean install, but with R9?
[ZenFone 2 Android Development] soto2080:
＠Harfainx Could you add busybox in next version?
[ZenFone 2 Android Development] MironV:
Yes, I think it was the kernel :). It reboots/boots normal now...but I think I am going to do a clean install, though :P Thanks

---------- Post added at 09:41 AM ---------- Previous post was at 09:39 AM ----------

Yes, regarding the boot stuck, it was kernel related. Thanks.
[ZenFone 2 Android Development] markwebb:
What does that really provide?
[ZenFone 2 Android Development] cieffe54:
I am in "WAITING FOR" status!!!:p:p
[ZenFone 2 Android Development] zipperklooder:
Why not use a BusyBox Installer?
[ZenFone 2 Android Development] cieffe54:
Finally work! 55o without bloatware!!:)