TECHNOLOGY FOCUS - ENVIRONMENT - Preferred Method: The solid waste material includes all organic waste material generated at home or municipalities. The organic solid waste includes mainly the lignocellulosic materials. The cellulosic materials include hemicellulose and lignin materials. The solid waste also includes the food waste from homes and restaurants. The lignocellulosic materials are treated with a solution of acid or alkali compounds. The chemical solution comprises sulfuric acid (2-4 production/volume%) to hydrolyze the cellulosic materials. The chemical solution includes sodium hydroxide or calcium hydroxide (1-6 production/volume%) to hydrolyze the recalcitrant cellulosic materials. The hydrolysis process is increases by increasing the temperatures from 25-100 degrees C. The method operates in batch, semi-continuously, or continuously. The pre-treat process takes place in system having at least one agitated tank reactor or a tubular recirculated reactor. The pre-treated system obtains acid hydrolyzed waste having pH of 1-3, or alkali hydrolyzed waste having pH of 9-11. The method further involves separating the hydrolyzed biomass using sieve or strainer after the treatment when the pH is acid or alkaline. The hydrolyzed material together with the soft food waste is stoked in a deposit tank. The method further involves restoring the neutral pH in the deposit tank containing the available carbon source to feed the biosynthetic reactors. The method further involves feeding back the solid not hydrolyzed waste for new pre-treatment process. The synthesis of bio fuels takes place in at least one anaerobic reactor. The anaerobic reactor is a heterogeneous bioreactor for production of methane. The anaerobic bioreactor is upflow anaerobic sludge blanket (UASB) reactor or expanded granular sludge bed (EGSB) reactor. The anaerobic bioreactor is a heterogeneous bioreactor for the production of ethanol, butanol, or methanol. The biofuel synthesis takes place in at least one photosynthesis bioreactor. The photosynthesis bioreactor is a heterogeneous bioreactor having algae or micro-algae cells forming biofilms. The photosynthetic organisms are supported by effluent carbon dioxide from the anaerobic bioreactor. The microorganisms capable of producing the biofuel or bioenergy product as given in table 1 provided in the patent specification, such as Saccharomyces sp., Zymomonas sp., Clostridium sp., Methanolobus sp., Methanopyrus sp., Chlorella sp., Gloebacter sp., Methylomonas sp. or Methylosinus sp.. When the biofuel or bioenergy product is methane, the microorganism is methanogenic microorganisms including Methanosarcina sp., Methanosaeta sp. and/or Methanothrix sp.. When the biofuel or bioenergy product is alcohol, the microorganisms are Zymomonas sp. and/or Saccharomyces sp.. When the biofuel or bioenergy product is butanol, the fermentative microorganism is Clostridium sp.. The photosynthesis bioreactor includes one or a consortium of Botrycoccus sp., Gloebacter sp., Synechococcus sp., Chlorella sp., Synechocystis sp., Nitzchia sp., and/or Schizochytriu sp.. The total process is performed at home in a micro-refinery scale. The method is performed at pilot or industrial scale. The method further involves recovering the biofuel or bioenergy products. The biofuel or bioenergy product is ethanol, methanol, and/or butanol, and the product is recovered from liquid material by a molecular sieve or distillation. The biogas containing hydrogen and/or methane is drawn off from the system as pipeline gas. The hydrogen and methane are purified from biogas. Preferred System: The pre-treat reactor has an inlet for influent solid waste materials. The pre-treated system contains a first outlet for flowing hydrolyzed materials to a deposit tank. The pre-treated system comprises agitated tank reactor. The agitated tank reactor for cellulose treatment is followed by a deposit tank for hydrolyzing food waste. The anaerobic bioreactor is UASB reactor or EGSB reactor. The anaerobic bioreactor is a heterogeneous bioreactor containing fermentative or methanogenic microbes forming biofilms. The anaerobic bioreactor has an inlet for treating waste from the pre-treat system. The anaerobic bioreactor has an in-series connection to transport gas effluent from the anaerobic reactor to the photo bioreactor. The photo bioreactor contains an inlet for liquid media. The anaerobic bioreactor further has an outlet for transporting the biofuels and bioenergy products. The integrated system further has a feedback connection between the biosynthetic bioreactors to the pre-treating reactor. The integrated system further has system of pumps and/or valves operably connecting with inlets and outlets. The working volume of a home micro-refinery system is 10-100 gallons. The working volume of the pilot and industrial system is 100-100000 gallons. EXAMPLE - No suitable example given.