yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4i] yourSAS:
Hey guys,

We had plenty of sweet surprises for Mi 4i recently, especially considering the Nougat ROMs. This also implies that you'll be busy in flashing a plenty of times.

You should also have noticed by now that when you flash a new ROM, you can't entirely Skip the network connection requirement after the first boot. This annoyed me so much because I have a slow, conservative bandwidth.

Fortunately, I have found a solution; but make no mistake, I'm NOT the author of this solution. This method was originally for Nexus 7 by organophosphate. I'm just extending this amazing trick to Mi 4i.

If you want, you can read the original post.

What do you need?

PC

Your phone

TWRP recovery

ADB on PC

Have them all before proceeding.

Procedure :

1. After installing your ROM through TWRP, mount system partition(Advanced>Mount>check system).

2. Connect your phone to PC via USB. Let the phone be in recovery. All the work is to be done in the same.

3. Launch ADB. Just ensure proper connection by first using adb usb and then adb devices commands. It should then show your phone connected in recovery mode.

4. Now, the important part.

If you want to skip only the WiFi setup part but not the rest of initial setup, execute adb shell sed -i 's/ro.setupwizard.wifi_required=true/ro.setupwizard.wifi_required=false/g' /system/build.prop

If you want to skip entire setup and directly goto home screen, launch Shell by executing adb shell and then execute the command echo "ro.setupwizard.mode=DISABLED" >> /system/build.prop.

5. Reboot your phone, either by using adb reboot (or just reboot in Shell) or using Reboot option in recovery.

6. Now, you should see a Skip button in WiFi setup page or Home screen depending on your choice in step 4.

7. Enjoy/explore your new OS :)

Few personal notes:

1. Entire procedure should happen while your phone is in recovery mode.

2. Skipping the setup wizard entirely has more working chance(almost every time) than skipping just WiFi setup. Skipping WiFi setup rarely worked for me. So, I'd recommend the former option.

3. Skipping initial setup entirely won't cause any trouble as it just for collecting the very basic information. Those details can be set manually later.

5. This method won't cause any trouble usually. That said, I'm not responsible for bootloops(although I haven't encountered it yet). This is not to discourage you but to let you know of worst case scenario. Should this happen, please refer to original article mentioned earlier.

Credits :

organophosphate for this amazing hack.

I(yourSAS) may/may not deserve credit for extending the method and sharing, depending on your result:confused:;)
[Xiaomi Mi 4i] faizauthar12:
or extractt he flashable zip

edit the build.prop

re pack it again and flash?
[Xiaomi Mi 4i] yourSAS:
I guess that would work. But it'll be lengthy and tedious.

If devs test and do that before releasing the ROM, this problem will be no more.
[Xiaomi Mi 4i] elonmusk:
In that case what lines should I delete/edit ?
[Xiaomi Mi 4i] faizauthar12:
oopss, we don't need to do this trick anymore

lineage already fix ( patch ) the setup wizard, it will ask a Wi-Fi connection..

so make sure you're an up-to date build :)
[Xiaomi Mi 4i] elonmusk:
Yes! I'm on the latest version.. was just curious..:mad:
[Xiaomi Mi 4i] stiw47:
It is already explained in first post. Those two are basic Linux commands:

- echo - is a simple command line text files editor/creator

echo "ro.setupwizard.mode=DISABLED" >> /system/build.prop

It mean: append text string "ro.setupwizard.mode=DISABLED" to the end of text file "/system/build.prop" , so if you want to do manually these unpack/repack acrobation, just paste "ro.setupwizard.mode=DISABLED" in build .prop

- sed - is advanced command line text editor, you can change already existing text in text file with your desired, using exact match or regex, etc.

sed -i 's/ro.setupwizard.wifi_required=true/ro.setupwizard.wifi_required=false/g' /system/build.prop

It mean: Get text file "/system/build.prop" , find in file following text string "ro.setupwizard.wifi_required=true" and change it to "ro.setupwizard.wifi_required=false", so if you want to do manually unpack/repack acrobations, just change true to false in mentioned text string, in build.prop.

Anyway, thanks to [MENTION=7593769]yourSAS[/MENTION] for sharing idea :)
[Xiaomi Mi 4i] fritolays:
Skip WiFi Setup / Setup Wizard On Fresh Boot

Figured I would leave my notes here as this where google dropped me off...

Yes ro.setupwizard.wifi_required doesn't work as expected most of the time as it was replaced with ro.setupwizard.require_network.

That being said one should be using it to skip WiFi setup:

None the less here is a little breakdown of the process with a few suggestions:
[P3600 General] earl00:
If you didn't see your favorite rom on the list please shout out below what you like and maybe give us your top 3. O-yeah. :)

http://wiki.xda-developers.com/index.php?pagename=Trinity_Upgrades
[P3600 General] earl00:
74 views, why aren't those people voting?
[P3600 General] ozsmac:
I've always used the standard ROM on my 3600i, never thought to use anything else.

This threat gets me thinking & takes me back to the times when i needed other ROMs to do basic things....
[P3600 General] tuksedra:
Karmba_a ?...
[P3600 General] giap85:
:) :p udk :p :)
[P3600 General] bbobeckyj:
a3xl,

for the best battery life except the official roms (which I would use, but they don't have the improved email setup or decent dialers/comm manner)
[P3600 General] alyaner:
How about Famman???

Why is Famman not included?
[P3600 General] taiseer999:
Why did you limit the ROM's to some ROMs cookers and excluded guys like Karemba and others :rolleyes:
[P3600 General] earl00:
Poll is limited to 10, so I made an executive decision - English and WM6 only, and ones that are listed in wiki... hence my post at the top...

" If you didn't see your favorite rom on the list please shout out below what you like and maybe give us your top 3. O-yeah. :) "
[Samsung Gear 2] MoRG25:
Can I used gear S2 to for any go pro model. Thanks
[Galaxy Note 4 Q&A, Help & Troubleshooting] timoat:
Note 4 wont turn on, "cannot boot normal" and "downlaoding target, dont turn off"

Its a Note 4 SM-N910F, Android 6.0.1, BB N910FXXU1DPE2, kernel 3.10.40-7733605 dpi@SWDD6721 #1

i feel I have tried everything... History:

Phone has been working fine for a year, upgraded to 6.0.1 no problems about 2 or 3 months ago. no new apps installed. Last week it started getting very laggy, keyboard strokes took for ever to register. I thought, ok, time to to a factory reset to blow out any old cobwebs. Did it via the menu. However the phone froze midway thought. I left it for an hour and then pulled out the battery. I popped it back in and it performed the reset without me having to press anything. Cool, thats good I thought.

Now I was going to change the battery, so I powered off as normal and put my other 2 week old original samsung battery in, and it would not power on. After a few reinsertions it powered back on. I though i have to do another reset. So I tried, and it would not reset. It just died. I cant restart the phone, it dies. If I shut it down normally. it wont turn on back on, I have to take out and reinsert the battery multiple times, holding down the powerbutton between to discharge. this can take up to 10 tries now. Sometimes it will go th the unable to bot in normal mode and "downloading , do not turn of target, but it will stay there for ever, more than an hour.

Every 15-20 tries it would turn on, let me get in via pin, only to start freezing up within a min, and then die again. Somewhere I read that a guy hada similar problem, and he used wakelock and that worked, on level 4. I managed to download that and used it, and hey presto, it works!

Now I had to power down the phone for a reason, and it took me about 30 min of battery and powerbuttonholding before it managed to boot up, and I was quick enough to start wakelock on level 4.

It wont boot in to safe mode, it wont boot in to recovery mode, it wont boot in to the factory reset mode. Its the same with either battery, and different cables.

Any ideas what i can do here, or what could be wrong? I havent gotten it wet or banged it.
[Galaxy Note 4 Q&A, Help & Troubleshooting] mymigi:
I am having the same exact issue on a N910A. Phone was functioning correctly and in December it started getting really laggy. Performed various resets, purchased new battery. Still laggy. Up until two weeks ago the phone was slow but now it will not power on . The phone will not charge as well.
[Galaxy Note 4 Q&A, Help & Troubleshooting] armstrongracer:
Mine did same, 6 months old, not rooted stock firmware. Locked up yesterday, couldn't do anything. Pulled battery and restarted. Samsung logo comes on screen goes black for android boot then it hangs with blue led flashing. Nothing I do gets it past that point. Tried safe boot but it doesn't fully launch with correct button combo and volume up. In the end I re-installed firmware using Keis. All went well, everything as per youtube tutorial. Except one thing, at end of download phone didn't re-start. Still can't get it to boot, any ideas?

Edit: Lock up didn't coincide with any new apps being loaded or updates of existing. Only change was a week ago which was an automatic update of the stock firmware (Lollipop)
[Galaxy Note 4 Q&A, Help & Troubleshooting] timoat:
are you still under warranty? i sent mine to a samsung center, the guy recognized the problem as the motherboard, said I wasnt the first. That was 3 weeks ago, they are STILL waiting for the parts. They say the Samsung factory are way behind with repair parts, etc etc. I am hoping it will go under warranty. Ill update when I know!
[Galaxy Note 4 Q&A, Help & Troubleshooting] neils0911:
I've been having the same problem that started yesterday morning. I've tried a few different solutions but nothings worked, I get the feeling that my phone is dead and I'm not in warranty either. I'm going to approach Samsung but my guess is they will want more than the phone is worth to repair it. I've read about so many people having the same issues, its horrendous engineering on Samsungs part considering how much their phones cost to start with
[Galaxy Note 4 Q&A, Help & Troubleshooting] bonfilet:
Your guess is probably correct and I totally agree with you. I seriously think manufacturers do not want their devices to be problem free for more than two years. Probably why they have stopped making phones with batteries that simply pop out.
[Galaxy Note 4 Q&A, Help & Troubleshooting] neils0911:
Definitely...surely it couldn't have been that hard to make a device with a battery that was still removable on the newer phones. It's frightening how many forum posts I've found with people having their phones just brick out of nowhere (and that's just the note 4). I've given up trying to fix mine, I've tried every method I could find and nothings worked. I can only assume that this problem is simply the motherboard of the phone not working anymore. I'm not even sure what phone to buy now but it certainly won't be a Samsung.
[Galaxy Note 4 Q&A, Help & Troubleshooting] bonfilet:
If you do not care about the camera thera are a lot of rather affordable options which can be tossed in the bin when they start malfunctioning and if their warranty has run out. If you care about the camera being as good as the Note 4's than the range of phones you can buy is quite limited.
[Galaxy Note 4 Q&A, Help & Troubleshooting] Gaurav k21:
If you are able to boot it into Download Mode then you should Download Stock Rom file for Galaxy Note 4 from Sammobile and Flash it through Odin..

Everything will be OK... ?
[Galaxy Note 4 Q&A, Help & Troubleshooting] mymigi:
Unfortunately, SAMMOBILE does not have the SM-N910A firmware.
[Galaxy Note 4 Q&A, Help & Troubleshooting] usmanmalik:
You can find here firmware for N910A , 5.1.1 and 6.0.1 : https://simunlockremote.com/firmware-support/
[Galaxy Note 4 Q&A, Help & Troubleshooting] timoat:
I think the camera on the note 4 is absolutley terrible. I might even go so far as to say the pictures are unusable. the applied noise reduction renders everything splotchy, colors are off and its not sharp at all. and Im not talking dark conditions here.

Anyway, my phone was repaired under warranty and is back to working as it should. It was indeed the motherboard, so if you have the same troubles I had, those are your best bets.
[Galaxy Note 4 Q&A, Help & Troubleshooting] mymigi:
I don't think replacement via warranty will be available. I will attempt to power into download mode and verify if I can get it back up and running. If not, a good ole paperweight.
[Galaxy Note 4 Q&A, Help & Troubleshooting] Gaurav k21:
You can download the Firmware from here ..

https://www.androidfilehost.com/?fid=24459283995298017

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

You can download the Firmware from here. .

https://www.androidfilehost.com/?fid=24459283995298017
[Galaxy Note 4 Q&A, Help & Troubleshooting] onno72:
Sounds like the problems I have: with my first N910F: started with lagging apps / freezing, then random reboots now and then, eventually giving error messages when booting. Finally, now it will only start after the battery has been out for at least 30 minutes, but hangs on error message. When pulling battery out and putting back in it, wont give a single sign of life. Since I was just out of warranty it has been lying around, and I bought a second hand N910F for replacement, sadly its starting to give the same errors too and is just out of warranty too (its currently still working, but with freezes / reboots / and already a event with boot error).

I read It could be memory chips or some power chip on the motherboard, appears to be a common problem. So.... Last month I bought a new motherboard on ebay (chinese delivery, 80€). Received it last week and put it back in; phone is back to life. (putting it in is a very simple task, with iFixit teardown / guide)

Anyway, I love the Note 4 for performance / size / looks, and have been Samsung fan for a while, but this recent breakdowns and information that it is fairly common, has diminished being a fan fairly quickly and I guess the Note 4 will be the last Samsung device for a while after this new motherboard breaks down as well
[Galaxy Note 4 Q&A, Help & Troubleshooting] Gaurav k21:
My phone is also random Rebooting :confused:

It also shuts down at 25% of battery remaining, Have you also faced similar issue?
[Galaxy Note 4 Q&A, Help & Troubleshooting] flnman:
Download the app "Wake Lock" and run the Partial Wake Lock option. Apparently the updated software impacts the CPU. For the restarting issue, put it in the freezer for a couple minutes. You may have to take the battery out once, but it has worked for me every time.
[Galaxy Note 4 Q&A, Help & Troubleshooting] wetsleet:
This looks very much like the issue reported here:

https://xdaforums.com/note-4-tmobil...-error-fix-t3434335/post72944466#post72944466

There are temporary fixes (wakelock), but ultimately this is a harware issue, and the fix is a new motherboard.

I think that underlying it is a problem with heat affecting the eMMC chip or its connection to the motherboard.

See also:

https://us.community.samsung.com/t5...ePhones/thread-id/12183/highlight/true/page/1

http://www.classlawdc.com/2017/04/25/investigation-samsung-galaxy-note-4-mmc_read-failed-defect/
[Galaxy Note 4 Q&A, Help & Troubleshooting] kalyanlove:
Hey can u pls get me the stock firmware for n910gddu1dpb4
[Galaxy Note 4 Q&A, Help & Troubleshooting] pete3000:
You might find this interesting. Since I couldn't get mine to power up at all, I called Samsung tech and they quoted me $75 to fix it and they would pay for shipping. I figured it was better then getting another phone off Swappa. 2-3 weeks later i get an email that they are repairing it under warranty at no cost to me. I got a refurbished phone since i know my IEMI number was different. they didn't explain why. Anyway, I got lucky i guess.
[Galaxy Note 4 Q&A, Help & Troubleshooting] SimonSP:
Hi, Im having the same problem. Wakelock works fine (but unable to reboot without pulling the battery).

I refuse to believe it a hardware error with so many people having the same problem in such a short timespan.

Like someone else wrote - Samsung wants to sell some new phones (well do that - but don't destroy phones we already paid a bunch of money for)

Sendt fra min SM-P905 med Tapatalk
[Galaxy Note 4 Q&A, Help & Troubleshooting] eeeraghavan:
Yes u r correct , after spending rs.40000 on note 4

This is unacceptable. ..me also have the same issue it frezes and lags and die...but after wake lock app it works fine....don't know software or hardware problem....but I need to know...what exact problem arise without wake lock app....is this motherboard or software problem
[Galaxy Note 4 Q&A, Help & Troubleshooting] IamMrHart:
I had the same thing happen to my Note 4, and I too did the factory reset which also froze during the process. In the end my Note 4 is completely bricked for no apparent reason, this is the 3rd, and final Samsung device to do this to me. Like another poster on here, I will no longer be buying a Samsung phone for the foreseeable future. The phone I ended replacing the Note 4 with is a OnePlus 5T, and I couldn't be happier. I would be interested in fixing my Note so I can sell it, and get some money back. Unfortunately I didn't buy my Note new, I purchased it second hand, it was newish worked well for about a year, I had the same thing happen to me with a Note 10.1 tablet. That piece of crap bricked it self too, right after the warranty period. Also an S3 that died when I plugged in an OTG USB cable. So yeah no more Samsung for me
[Galaxy Note 4 Q&A, Help & Troubleshooting] :
You can downgrade to Lollipop or Kitkat.
[Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot] locarno:
What do you think about this guys ?

It happens rarely when I'm unlock phone. But after next lock/unlock it disappear.
[Sprint Samsung Galaxy S7 Questions & Answers] archlord112:
Pls help me to unlock s7 sprint g930p. Sry for my english,i have bought sprint s7 at US during vacation.

Then moved to Ukraine and sim locked.Box and documentation were thrown to not pay taxes at Ukr(was bad move:rolleyes:)Called to samsung and they offered me unlock for free but i have to show buyer receipt or buyer chek. The paper that proves i have bought it,as i said sry for mistakes.

Appreciate for help.
[Sprint Samsung Galaxy S7 Questions & Answers] laofan:
ebay or any third party would have the unlock service.

From my knowledge, samsung won't sim unlock phones.
[Sprint Samsung Galaxy S7 Questions & Answers] archlord112:
In Ukraine its free to unlock when u got photo or paper that proves its your phone,i need just photo of cash memo of s7 sprint. Pls viber or whatsup me +380668152915. Appreciate for the help.
[OnePlus X General] BrokenBee:
Hey guys,

Looking to find the best setup for battery life. What ROMs/apps/kernels have got you the best battery life? Thanks!
[OnePlus X General] Fap4k:
I don't understand why people create useless thread before searching...the thread already exist about the same topic search before posting.

http://xdaforums.com/oneplus-x/general/oneplus-x-battery-life-discussion-thread-t3238108
[OnePlus X General] BrokenBee:
really dude? Thats a really old thread.
[OnePlus X General] Fap4k:
Old? It doesn't make any sense to create new just post your query there the post will be seen on top.isn't it a good thing?
[OnePlus X General] BrokenBee:
half the kernels in that thread dont exist anymore.
[OnePlus X General] Stephen:
Moderator Information,

Thread closed, please use existing threads before creating new ones.
[Android Apps and Games] TigerCourage:
I present to you guys, our beloved Moto Gallery for all devices that don't have it included already!

Probably one of the best gallery apps out there, clean, fast and functional.

​

Compatibility:

All devices that don't have it included already

Installation:

Enable Unknown Sources from Settings > Security

Download APK

Install APK

Enjoy! :D

Download link:

https://www.dropbox.com/s/sxp8qwelf23m5yy/Moto Gallery.apk?dl=0

Updated with the latest version editted by me, it's fully working now (Android 6, 7) with no bugs. Highlights reels and face detection only show up on Moto X series. If any other dev could help me find the line to edit this restriction, I would be grateful.

Tested on:

Moto G4, Moto Z Play, Moto Z Force, Moto E2 with CyanogenMod, OnePlus 3, Samsung Galaxy S7 Edge.

Credits:

Motorola Mobility LLC

Me
[Android Apps and Games] iRKMacintosh:
Thank you. But I want to know how can you play with an APK

I am learning to develop Android Apps , but I don't understand how you guys can do such kind of modification to an APK. I really appreciate your work. There are many gallery apps but all they are either having ads or very slow. Can you tell me how to modify an apk(because you do not have source files of the apk so how is that possible )
[Android Apps and Games] naifaharsy:
Try soon..thx
[Android Apps and Games] EvlSkillz:
Thank you for this :)
[Android Apps and Games] fooby_sjz:
Moto z play , it's good ！it works very well,i like this .thank you !
[Android Apps and Games] jordant2:
I can't edit photos on the Moto Z Play. The edit options are blank.
[Android Apps and Games] leandro931:
Thanks for the app.

Indeed the edit options don't work, but I still use this app as my main gallery - I use snapseed anyway.
[Android Apps and Games] hocuspocus69:
Finally no more crash on boot nexus 5 dirty unicorns 11...

thanx

PS. edit photo don't work... but nevermind thanx
[Android Apps and Games] jorgeenriqueruizflorez:
Hi.

Something is not working on my Moto G 2015. It doesn't delete files that are located in my MicroSD. I gave it all permissions as it's intended, but when I delete pictures directly from the gallery, it doesn't in my albums anymore as it should be, but the files are still there, in the SD card, so when I reboot the phone or just close the app and open it again, the pictures are shown again in the albums.

If someone knows how to fix it, I'll be grateful.

Thanks!
[Android Apps and Games] sumanth594:
tnQ u Soo muchhh:good:
[Android Apps and Games] @LPthePRGRMR:
Thank you Soo much.!! I needed this app for the Droid Z Force.!! #LifeSaver~!
[Android Apps and Games] Benfll:
Thank you! I have upgraded from the Moto G 4G (1st gen.) to a Wileyfox Swift 2+ and was surprised by the lack of edit options in their gallery app and the Google Photos app (no mirror images or draw options). This app works perfectly on it, I don't know if your adding devices tested by users rather than you to the list but you can add the Swift 2+ to it if you want.
[Android Apps and Games] PoseidonKing:
[MENTION=3227293]TigerCourage[/MENTION]

Great work dude! Can you please do XDA a favour and port Moto Camera for all devices too?

Regards

PoseidonKing
[Android Apps and Games] evileye6984:
Thanks.. will try on my s8
[Android Apps and Games] Athakuri700:
Nice work, would be happy if you provide moto camera too ✌️
[Android Apps and Games] coldfusion167:
Working great on my S8+. Thanks!
[Android Apps and Games] MorandaMedia:
Works on Samsung j7 prex Boost mobile version sm-j724
[Android Apps and Games] YevJenko:
Works well on one plus 3 (edit buttons included). Good work
[Android Apps and Games] Boskoel03:
Can not install it on Htc 10,wont hit install button,maybe support for arm64 is missing,not sure...
[Android Apps and Games] sarang7798:
Helped a lot!

was missing this gallery since my last Moto g4, glad to have it again in my Oneplus 3t. Thank you so much :*

---------- Post added at 04:06 PM ---------- Previous post was at 03:43 PM ----------

It seems to be gleechy sometimes, say whenever I want get back from any folder it takes time, and it shows raw files preview too which means its will obviously make the app somewhere slow. It is already very good but need some attention on final icing. Thanks for such wonderful app. :D