Saturday, December 22, 2018

Recover non booting, blank Nubia Z9 Mini or probably other Nubia models

I created this post when my Nubia Z9 Mini was stuck at Nubia logo. How my phone got bricked?

NOTEs: At end of page i have pasted links which may get outdated. Use Google in that case. Also write IMEI of device somewhere because it has to be put back to device. This page doesn't handle IMEI process. Kindly take help on XDA platform for same in detail. This page is for quicker help.


I tried installing superuser.zip from Nubia's internal stock recovery options and after that whenever Nubia booted it showed "Android is updating 3 of 3". This always occurred may be because package was for TWPR and i used Nubia stock recovery. But after that i used "Nubia Z9 Mini Recovery Tool V4.0" and installed TWRP custom recovery. Phone ran fine for many days and suddenly it stopped at "Android is updating 3 of 3". After this phone stopping booting after Nubia logo.

Before i proceed with recovery process here is quick information of system. Android devices have internal memory with multiple partitions. These partitions are for various purposes. If you have studied Linux you will know what they are for. For these partitions there are files. Below are most important files -

boot.img, recovery.img.

As the name says boot.img is boot image and recovery.img is for recovery. Any non booting phone must FIRST be fixed to contain VALID boot.img and recovery.img files. This can be done by flash tools made for the devices. Lets fix them for Nubia Z9 mini.


Download below files using Google search as i cannot post links as they keep changing.

  • Download & Install "Nubia Tool Studio V4.7.04" ~30-35MB.
  • "Nubia_Restore_Tool_V1.0.5" its around 185MB. Its 185 MB because it contains many stock rom images of multiple devices. 1 device ROM files may be around 50MB or less.
  • Download Official ROM from Nubia website. For Z9 Mini Indian version its NX511J_INCommon_V4.0.4. Zip file NX511J-update.zip is 898MB.


Time for real work. Connect Phone to PC because even if battery is down it will keep charging. Press POWER + VOLUME DOWN + VOLUME UP. This will restart phone in FLASH mode to edit its partitions. Run Nubia Tool Studio and Select phone model. In my case it was NX511J_V3.


  • Double click "Firehose Download". It will start showing Port, USB number etc information.
  • Go to location where Nubia Restore Tool was installed. Its generally installed in "C:\Program Files (x86)\nubia\BackupRecoveryTool".
  • Locate Recovery folder and inside it you will find phone models and inside the desired model recovery.img and boot.img files. Create a folder and copy these files there.
  • TRICK:  Here is the real trick which works. Unzip the Nubia Official Stock ROM and copy boot.img and recovery.img files and paste inside the Recovery folder of device in BackupRecoveryTool above. This will replace the old img files with new img files.
  • Its time to start updating partitions. In Tool Studio click browse button in Firehose Download tab. Select the folder where we just paste img files from Stock ROM. Press START.

Tool Studio will show messages like this :


[00001]18:58:25:808 [COM3] Starting...
[00002]18:58:28:121 [COM3] Start to download...
[00003]18:58:28:293 [COM3] Downloading prog_emmc_firehose_8936.mbn...
[00004]18:58:28:590 [COM3] Waiting for firehose mode...
[00005]18:58:31:981 [COM3] Start to download...
[00006]18:58:32:059 [COM3] Downloading boot.img...
[00007]18:58:35:106 [COM3] Downloading recovery.img...
[00008]18:58:38:466 [COM3] Downloading recovery.img...
[00009]18:58:41:826 [COM3] Downloading gpt_main0.bin...
[00010]18:58:41:889 [COM3] Calculating gpt_main0.bin MD5...
[00011]18:58:41:935 [COM3] Reading gpt_main0.bin back...
[00012]18:58:42:951 [COM3] Calculating 52425252_gpt_main0.bin MD5...
[00013]18:58:42:998 [COM3] Verify gpt_main0.bin succeed
[00014]18:58:42:998 [COM3] Downloading gpt_backup0.bin...
[00015]18:58:43:076 [COM3] Calculating gpt_backup0.bin MD5...
[00016]18:58:43:107 [COM3] Reading gpt_backup0.bin back...
[00017]18:58:44:123 [COM3] Calculating 52425252_gpt_backup0.bin MD5...
[00018]18:58:44:170 [COM3] Verify gpt_backup0.bin succeed
[00019]18:58:44:545 [COM3] Resetting...
[00020]18:58:44:623 COM3[USB6] disconnected
[00021]18:58:54:689 [COM3] Reset failed


In my case "Reset Failed" but even after that phone was fixed. The phone is NOT fixed yet.

Now keep pressed these buttons POWER+VOLUME DOWN. This will boot into recently flash recovery.img. Copy our downloaded NX511J-update.zip into SDCARD. Now put SDCARD into phone. Goto option update from EXTERNAL SDCARD. Select NX511J-update.zip and start. It will take time. Again restart phone. If phone boots well then fine otherwise keep POWER+VOLUME DOWN pressed and WIPE Cache, data etc i.e. factory reset. Now restart phone and it must boot. If it takes many minutes at "Be yourself" or other boot animation let it stay there. After these phone will boot.


In this post you must have known that boot.img and recovery.img must be FIXED first. If you are done phone can then be fixed. I hope this will help not just for Nubia but others also. Kindly use Google to download all relevant files. However below are some links.

Tool Studio etc: Use the versions i have used.



Wednesday, April 18, 2018

Ayurvedic/Herbal/Natural way for killing worms in stomach, intestine.

From childhood i had habit of eating lots of sugar. I used to remain weak, unhealthy even after teenage. Got medications for worms in childhood. But i always doubted i still have worms but doctor never agreed. I used to get strange thoughts which i cannot describe and always felt like i am not fully healthy. I saw a documentary on Discovery channel about parasites, worms and how they can affect thoughts of host. This made me worried because i also knew of my relative who was diagnosed with worms whose eggs reached his brain and got calcified.


Even after visiting doctors and they ruled out all possibility of worms. I decided to follow Ayurveda. I have been studying ancient knowledge and have come to conclusion they are mostly right. Will write about this on other posts. I bought a booklet "Aushad Darshan" by Acharya Balkrishn published by Patanjali ISBN: 81-89235-04-4. On Page-60 there i found cure for Helminthiasis. Below is the method in the booklet which i followed -

  • Crush few leaves of peaches (Aadu, आड़ू in Hindi) to make juice about 1 tablespoon. Every morning just after waking up this has to be consumed for 4-5 days. I followed this method.
  • Or use leaves of Marua plant. Looks like Tulsi plant but has lots of fragrance. Mix it with 1 gram Kabila powder. Consume same way as above.


After doing 1 i suffered loose motion with lots of yellow fluid on same day. There were lots of small particles in it. It was mostly fluid not even anything semi solid. It happened 1st day and never occurred again. From 2nd day i got mucous in stool for 3-4 days. Then it also stopped. Then came a surprise. The strange thoughts and other such things stopped!. I used to get stomach issues which reduced by a major factor. Ayurveda demands faith in medication.


I used some of biology knowledge to guess what could have happened by the cure. This is just my guess and might not be fully correct but i am sharing it. The worms hook their body parts on intestine walls. To my guess the worms were killed by peach leaves and when they detached from the walls mucous was also released later. Blood was not seen in stool in any day so may be it was only little bit which got mixed with other things.


I also used the same method on my dog but with more natural way. Whenever i have to give my dog or (even myself) some dose of herbs etc, whose dosage i am not sure of, i put the leaves for example in bowl of water and let the leaves stay in it for day(s). Its like boiling but it takes long time and dosage is very small. Dog cannot easily recognize there is something in water :-D. I have done this for years and used Aadu leaves for dog also. My dog has not been administered with worm tablets in past many years. She is 10.0+ years age now.


Since this information is based on Ayurveda i nowhere claim it to be invented/discovered by me. You can ask Ayurveda experts and they will give many more ways to kill worms in stomach, From Garlic to Pumpkin seeds etc. Don't loose your faith in nature and always believe nature has cure for everything. No problem in universe appears without solution. Ayurveda demands lots of faith, patience and discipline.



NOTE / DISCLAIMER:

The only purpose of this post was to share my experience with nature and natural methods. Don't do anything without knowledge and proper study. Faith on nature is must but that doesn't mean eat anything in front of us. Internet is full of lots of wrong information also. Spread by pirate kind of business doers. Read about anything before applying it.


Don't randomly apply the information i just shared here. Everyone's body and mind state are different. Its as simple as knowing "a diabetic should not eat more sugar than required". Ask experts to be sure. Don't believe something strong said by 1 doctor. Until more than 1 random doctors say same don't take it. Just like there are many low skilled engineers even after completing their courses so is the case with doctors. Just an opinion.





Something everyone should think


Many researches just take Ayurveda like ancient knowledge and work on it. Once they found the key chemical(s) inside it they make isomers of it. Because they cannot patent NATURE they make derivatives and patent it for doing business. This is most profiting way for them and other side many even try to prove that natural way is harmful. World is full of politics and it demands people with knowledge to understand this devil game.

Think yourself even after proved harms for many fast foods they are being sold massively BUT Ayurveda is a PSEUDO-SCIENCE and many of its methods are BANNED. Many fast food have millions of chemicals in it. No one knows full chemistry of it but its OK to sell. Many medicines like Mintop where even those who invented/discovered it don't know how it grows hairs but is available over the counter. This type of medical business with cost a huge price to this planet.



Saturday, January 27, 2018

Solution for repeated popups (window or dialog) in windows

Many of us encounter apps which repeatedly show some UI on top of desktop. Internet Download Accelerator free version shows active download in a small dialog window. Total dialog depends upon how many active downloads are there. I am getting 3 downloading windows. IDA is one of best download manager i have used. But this thing irritated me. I am a Linux user and don't use windows much so wanted a free solution. Below is the solution to get rid of such situation.


Notes:

This method was tested on Windows 8.1 Pro and worked without issues. I cannot assume or assure it will work forever.



Solution:

Enable Multiple desktops in Windows and run all those apps who's UI repeatedly get on top to secondary desktops. Simplest multiple desktop app called Desktops (61KB) is provided my Microsoft here https://docs.microsoft.com/en-us/sysinternals/downloads/desktops. Download this app and below is the screenshot of this app which runs on main Desktop i.e. desktop 1. Another multiple desktop app is Dexpot
























In screenshot i have assigned Alt+Ctrl+Function keys to switch to desktops. Don't forget to enable Run at logon option.


Exit all apps which you want to switch to Desktop 2 or above. Switch to desktop 2 by pressing Atl+Ctrl+Fn 2. Now a new desktop is started looking like fresh logon. Now start any app here. Below screenshot shows IDA running in Desktop 2.







Probably another solution or simply suggestion. There are window killer apps which can detect a window by monitoring all desktop windows and kill them on basis of our set criteria. Hooks on windows allow such things. I will not involve much into this but i can say i have used such apps which are made by rare developers.


This solves the irritating IDA active download popups whenever new download starts. A free solution for IDA repeated popups.