LUCKNOW, India — Salim Shah was cooking egg and chicken rolls on a dusty side street here when India’s most controversial national politician flew to a nearby park in a red helicopter and addressed hundreds of thousands of screaming supporters.
Mr. Shah said that he and his 12-year-old son, who sliced boiled eggs by Mr. Shah’s side, were too busy to attend the rally. But when asked how he intended to vote in what many observers believe is the most consequential Indian election since 1977, Mr. Shah gave a brief shrug.
“I’m inclined to support Mr. Modi,” Mr. Shah said quietly. “It looks like he’s going to win, and why waste your vote by voting for someone who is not going to win?”
Mr. Modi’s trip to Lucknow on Sunday was the final major event of the pre-election season. India’s Election Commission is expected to announce this week the date for national elections, which will be held in April and May.
Polls show that Mr. Modi is the nation’s most popular politician, but that may not be enough for him to win because political power in India is split among a vast collection of regional parties.
If Mr. Modi’s party can win here in Uttar Pradesh, India’s most populous state, he will be likely to have the mandate he needs to become prime minister and undertake the wrenching economic overhauls he has said India must undergo to return to the fast economic growth that at one point poised the country as a democratic rival to China. He has already visited the state eight times, and he installed his closest aide to oversee his operation here.
There is an old political saying in India that the way to Delhi goes through Lucknow, the capital of Uttar Pradesh. From an American point of view, Uttar Pradesh has it all: the electoral heft of a California-Ohio-Michigan combination, the uncertainty of a Florida recount, the political tricks of a South Carolina primary and the stark community divisions of Mississippi.
Disgust with the present government and disappointment with the Gandhi political dynasty are so widespread that Mr. Modi comes to the election with a huge advantage. But the scale of his success depends in part on whether he can persuade Muslims like Mr. Shah to support his candidacy, a difficult challenge. Muslims make up about 14 percent of the country’s population, and they have been a crucial part of the support base of the governing party, Indian National Congress, for years.
Mr. Modi was the chief minister of Gujarat State in 2002 when a fire killed 58 Hindu pilgrims on a train that had been attacked by a Muslim mob. Hindu mobs then attacked Muslim neighborhoods over several days.
More than 1,000 people died, mostly Muslims, and women were raped and children burned alive as the police stood by. Mr. Modi was never charged in connection with the riots, but some of his close associates were convicted of inciting violence.
He has been linked with a police assassination squad that mostly targeted Muslims. And he spent much of his career rising through the ranks of a right-wing Hindu social organization tied to deadly attacks on Muslims.
Given this history, many Muslim leaders in India say they will neither forgive nor forget Mr. Modi’s role in the 2002 Gujarat riots. Shakeel Ahmad, chairman of the Islamic Relief Committee of Gujarat, said that Mr. Modi’s political success resulted from demonizing Muslims.
“Modi survives on hatred,” Mr. Ahmad said in an interview last year.
Syed Husain Afsar, editor of a Muslim-oriented news website in Lucknow, said that few Muslims in Uttar Pradesh would vote for Mr. Modi.
“This is an election tactic,” Mr. Afsar said. “Everyone knows he’s not secular.”
But Mr. Modi has presided over an economy in Gujarat that is among the strongest in India, and he has promised to bring to the rest of the country his economic expertise. Few political observers believe he will win over many Muslims, but his outreach could persuade vital regional leaders, who themselves have large Muslim constituencies, that he is an acceptable partner.
“Modi’s campaign has been strikingly devoid of anti-Muslim rhetoric,” Ashutosh Varshney, a professor of international studies at Brown University, wrote in an emailed response to questions. “Whether that is a sign of ideological evolution remains unclear, but at the very least it is part of a considered strategic decision.”
Top Bharatiya Janata Party officials have even suggested that the party could apologize to Muslims for past actions. In his speech Sunday, Mr. Modi pointed out that Gujarati Muslims are so much more prosperous than those in Uttar Pradesh that a far greater share in Gujarat apply to undertake the hajj, the pilgrimage to Mecca, an important tenet of the Islamic faith.
“For the B.J.P.,” Mr. Modi said of his party, “secularism is an article of faith. It is to unite people and bring development.”
Mr. Modi has become so confident about his overall prospects that he all but ignored his chief national rival, Rahul Gandhi. Instead, he looked out upon a sea of mostly male party enthusiasts clad in orange, a color associated with Hinduism, at a park here. He slyly mocked Mulayam Singh Yadav, a local political leader who has long been a favorite of Muslims. “Neta Ji,” he said in a teasing, singsong voice, using a widely used nickname for Mr. Yadav. Where is your state’s electricity, Mr. Modi asked, or its desperately needed jobs?
Mohammad Jaffar Ali, a 27-year-old stockbroker who lives in a Muslim enclave in Lucknow, acknowledged hours after the rally that Mr. Modi seemed to be a good leader.
“But I think being a good human being is far more important than being a good leader,” Mr. Ali said. “I’m not voting for him.”
A crowd soon gathered around Mr. Ali, a common occurrence when politics are discussed here. Among the young men was Karim Jafar, a 25-year-old medical product wholesaler and Muslim, who made a point of saying that he was a “an Indian first and a Muslim second.”
Mr. Jafar said: “I’m young. I don’t know much about the past, but I’m hopeful for a good future and I think Mr. Modi could help bring that. No leader is perfect. I’m going to vote for Modi and see.”
Two-thirds of India’s population is under 35, and half is younger than 25. Mr. Modi’s efforts to remake his party into one friendlier toward Muslims could pay dividends with young voters, many of whom were children when the Bharatiya Janata Party undertook some of its most religiously divisive actions.
Mr. Modi’s call for a more business-friendly government could also lure younger voters, many of whom are leaving school with few job prospects. India’s economy must create more than 115 million additional jobs over the next 10 years to accommodate the country’s youthful flood, a rate of growth its economy is far from achieving.
Mohammad Shakeel, 44, said he remembered the past too well to support Mr. Modi. Standing in front of about 70 caged chickens with fresh chicken blood brightening his shop floor, Mr. Shakeel said that he voted in the past for Congress, but this time would vote for a regional party.
“There’s some concern, even some fear, about what Mr. Modi will do to Muslims if he becomes prime minister,” Mr. Shakeel said. “We don’t forget.”
An earlier version of this article overstated what is known about the 2002 train fire in Gujarat State. While the Gujarat government concluded that the fire was a Muslim attack, that finding has been disputed by a central government investigation, which concluded that the fire was an accident.